Junior Member
Posts: 9
Karma: 2582
Join Date: Aug 2013
Device: Kobo Mini
|
Quote:
Originally Posted by MarekGibek
I don't have Kobo Mini but I'm sure it is possible after replacing uboot and hw config in the image.
|
I've replaced uboot and hwconfig section with the original mini ones, but it does not work, it stucks with this message:
Code:
Waiting for root device /dev/mmcblk0p1...
I've also tried to change bSysPartType in HW CONFIG section from type3 (the kobo one) to type8 (the one used in your image) but nothing change. For more info you can look in board/freescale/mx50_rdp/ntx_hwconfig.c (line 123) in uboot sources.
I think that the kernel parameters are hard coded in the bootloader, but I have no idea how to change them from sources.
This is the complete serial log:
Spoiler:
Code:
U-Boot 2009.08-dirty-svn ( 8æ 29 2012 - 11:15:18)
CPU: Freescale i.MX50 family 1.1V at 800 MHz
mx50 pll1: 800MHz
mx50 pll2: 400MHz
mx50 pll3: 216MHz
ipg clock : 66666666Hz
ipg per clock : 66666666Hz
uart clock : 24000000Hz
ahb clock : 133333333Hz
axi_a clock : 400000000Hz
axi_b clock : 200000000Hz
weim_clock : 100000000Hz
ddr clock : 200000000Hz
esdhc1 clock : 80000000Hz
esdhc2 clock : 80000000Hz
esdhc3 clock : 80000000Hz
esdhc4 clock : 80000000Hz
Board: MX50 RDP board
Boot Reason: [POR]
Boot Device: SD
I2C: ready
DRAM: 256 MB
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1, FSL_ESDHC: 2
*** Warning - bad CRC or MMC, using default environment
In: serial
Out: serial
Err: serial
[_get_sd_number] g_sd_number:2
MMC read: dev # 2, block # 1023, count 1 partition # 0 ...
1 blocks read: OK
MMC read: dev # 2, block # 1024, count 1 partition # 0 ...
1 blocks read: OK
zforce read 7 0 (2 bytes)
zforce read 1 0 (2 bytes)
zforce read 2 0 (2 bytes)
zforce read 3 0 (2 bytes)
zforce frame start not found !
zforce frame start not found !
PCB ID is 9
Power key released!!
ram p=70000000,size=268435456
MMC read: dev # 2, block # 18431, count 1 partition # 0 ...
1 blocks read: OK
MMC read: dev # 2, block # 18432, count 759 partition # 0 ...
759 blocks read: OK
MMC read: dev # 2, block # 14335, count 1 partition # 0 ...
1 blocks read: OK
MMC read: dev # 2, block # 14336, count 2228 partition # 0 ...
2228 blocks read: OK
Kernel RAM visiable size=254M->254M
init TPS65185 power ...
Hit any key to stop autoboot: 1 0
MMC read: dev # 2, block # 2047, count 1 partition # 0 ...
1 blocks read: OK
kernel size = 3347004
MMC read: dev # 2, block # 2048, count 6543 partition # 0 ...
6543 blocks read: OK
hwcfg rootfstype : 2
hwcfg partition type : 7
## Booting kernel from Legacy Image at 70800000 ...
Image Name: Linux-2.6.35.3-ga50a7ec-dirty
Created: 2013-11-23 11:09:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3262640 Bytes = 3.1 MB
Load Address: 70008000
Entry Point: 70008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.35.3-ga50a7ec-dirty (marek@marek-Satellite-L300) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #163 PREEMPT Sat Nov 23 12:09:29 CET 2013
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX50 Reference Design Platform
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64516
Kernel command line: console=ttymxc0,115200 rootwait rw no_console_suspend lpj=3997696 hwcfg_p=0x7ffffe00 hwcfg_sz=512 logo_p=0x7ffa1000 logo_sz=388608 waveform_p=0x7fe8a800 waveform_sz=1140736 mem=254M rootfstype=ext4 root=/dev/mmcblk0p1
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
allocated 1300480 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 254MB = 254MB total
Memory: 246688k/246688k available, 13408k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xf9e00000 - 0xffe00000 ( 96 MB)
vmalloc : 0x90000000 - 0xf4000000 (1600 MB)
lowmem : 0x80000000 - 0x8fe00000 ( 254 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.init : 0x80008000 - 0x80038000 ( 192 kB)
.text : 0x80038000 - 0x80875000 (8436 kB)
.data : 0x8089e000 - 0x80903740 ( 406 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:368
MXC GPIO hardware
MXC IRQ initialized
MXC_Early serial console at MMIO 0x53fc0000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 799.53 BogoMIPS (lpj=3997696)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
i.MX IRAM pool: 128 KB@0x90040000
hwcfg_size_setup() hwcfg_szie=512
hwcfg_p_setup() hwcfg_p=7ffffe00,vaddr=9006ee00,size=512
hwcfg_p_setup() pcba="E50610" !!
CPU is i.MX50 Revision 1.1
[check_hardware_name-329] PCBA ID is 9
Using SDMA I.API
MXC DMA API initialized
IMX usb wakeup probe
IMX usb wakeup probe
bio: create slab <bio-0> at 0
regulator: DCDC_3V15: 3150 mV
SCSI subsystem initialized
CSPI: mxc_spi-2 probed
Freescale USB OTG Driver loaded, $Revision: 1.55 $
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
mc13892 Rev 0.0 FinVer 0 detected
Initializing regulators for mx50 rdp.
regulator: SW1: 600 <--> 1375 mV at 600 mV
Device spi3.0 probed
[msp430_probe-663] MSP430 firmware version B83A
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
LPMode driver module loaded
Static Power Management for Freescale i.MX5
PM driver module loaded
sdram autogating driver module loaded
Bus freq driver module loaded
mxc_dvfs_core_probe
DVFS driver module loaded
i.MXC CPU frequency driver
DVFS PER driver module loaded
ashmem: initialized
msgmni has been set to 481
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
By setting, SII driver will not be enabled
waveform_size_setup() wf_size=1140736
waveform_p_setup() wf_p=7fe8a800,vaddr=90200800,size=1140736
logo_size_setup() logo_szie=388608
logo_p_setup() logo_p=7ffa1000,vaddr=90100000,size=388608
root_path_setup() rootdev=0,rootpart=1
[epdc_firmware_func]:fw p=90200800,size=1140736
[mxc_epdc_fb_fw_handler-3619]
drivers/video/mxc/mxc_epdc_fb.c(3662):V220 FPL platform
fbcvt: 1024x768@60: CVT Name - .786M3
drivers/video/mxc/mxc_epdc_fb.c ******** mxc_epdc_fb ntx_get_battery_vol: 50
fake_s1d13522_parse_epd_cmdline : epd cmdline parse already done .
client0 ,addr=0x68,name=tps65185-1
TPS65185 versions : major=0x1,minor=0x2,version=0x5,RevID=0x65
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x53fc0000 (irq = 32) is a Freescale i.MX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
mxcintuart.1: ttymxc1 at MMIO 0x53fbc000 (irq = 31) is a Freescale i.MX
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 33) is a Freescale i.MX
loop: module loaded
MXC MTD nand Driver 3.0
i.MX GPMI NFC
vcan: Virtual CAN interface driver
Freescale FlexCAN Driver
FEC Ethernet Driver
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 18, io base 0x53f80000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 14, io base 0x53f80200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
ARC USBOTG Device Controller driver (1 August 2005)
Android usb driver initialize
android_usb gadget: android_usb ready
fsl-usb2-udc: bind to driver android_usb
android gadget: register function adb
android gadget: register function usb_mass_storage
android gadget: register function rndis
rndis_pdata null in rndis_function_bind_config
android_usb gadget: usb_mass_storage, version: 2009/09/11
android_usb gadget: Number of LUNs=2
lun0: LUN: removable file: (no medium)
lun1: LUN: removable file: (no medium)
mice: PS/2 mouse device common for all mice
MXC keypad loaded
input: mxckpd as /devices/virtual/input/input0
input: mxc_power_key as /devices/virtual/input/input1
PMIC powerkey probe
[__zForce_ir_touch_init-104] zForce controller with v2 command sets.
[zForce_ir_touch_probe-572] Set touch resolution 600x800
input: zForce-ir-touch as /devices/virtual/input/input2
[zForce_ir_touch_recv_data-178] command BootComplete (0)...
pmic rtc probe start
using rtc device, mc13892_rtc, for alarms
pmic_rtc mc13892_rtc.1: rtc core: registered mc13892_rtc as rtc0
pmic rtc probe succeed
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
APM Battery Driver
MXC WatchDog Driver 2.0
device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
[drivers/mxc/pmic/mc13892/pmic_battery.c-1024] pmic_battery_probe...
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 0 irq 3 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
[zForce_ir_touch_recv_data-203] firmware version 0001 0000 0000 0001
mmc1: SDHCI detect irq 0 irq 2 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
Cirrus Logic CS42888 ALSA SoC Codec Driver
No device for DAI imx-ssi-1-0
No device for DAI imx-ssi-1-1
No device for DAI imx-ssi-2-0
No device for DAI imx-ssi-2-1
No device for DAI imx-spdif-dai
ALSA device list:
No soundcards found.
nf_conntrack version 0.5.0 (3854 buckets, 15416 max)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
[k_wait_update_complete]waitupdate ret=-22,4294937479->4294937479
========== upd_data.update_region( l, t, w, h ) = ( 0, 0, 800, 600 )============
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
TPS65185 temprature data = 0x17,23
[PROGRESS_BAR-2912] No progess ...
read_time: 113/10/24 21:21:52
pmic_rtc mc13892_rtc.1: setting system clock to 2013-11-24 21:21:52 UTC (1385328112)
Waiting for root device /dev/mmcblk0p1...
|