[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: flash-kernel and dtb



Hi Vagrant,

On Sunday 15 June 2014 00:23:07 Vagrant Cascadian wrote:
> On Sun, Jun 15, 2014 at 08:36:33AM +0200, Rainer Dorsch wrote:
> > On Saturday 14 June 2014 14:48:08 Vagrant Cascadian wrote:
> > > On Sat, Jun 14, 2014 at 10:36:43PM +0200, Rainer Dorsch wrote:
> > I use your original boot.scr with an adapted bootargs:
> ...
> 
> > Variables set as you did, but the kernel is still not booting
> > 
> > CuBox-i U-Boot > printenv loadaddr fdt_addr ramdiskaddr
> > loadaddr=0x10800000
> 
> ...
> 
> > CuBox-i U-Boot > load mmc 0:2 0x19000000 /boot/boot.scr
> > 702 bytes read in 95 ms (6.8 KiB/s)
> > CuBox-i U-Boot > source 0x19000000
> 
> My hunch is loading your bootscript to an alternate address is somehow
> causing an issue...
> 
> instead of specifying a different address to load the script, try:
> 
>   load mmc 0:2 ${loadaddr} /boot/boot.scr
>   source ${loadaddr}
> 
> > Just for reference my entire environment
> > 
> > CuBox-i U-Boot > printenv
> 
> ...
> 
> > bootcmd=run loadkernel ; run loadramdisk ; bootm ${loadaddr}
> > ${ramdiskaddr}
> 
> Looks like you're using a modifed environment, or a different u-boot build:
> 
> CuBox-i U-Boot > env default -a
> ## Resetting to default environment
> CuBox-i U-Boot > printenv bootcmd bootscript loadbootscript
> bootcmd=mmc dev ${mmcdev}; if mmc rescan; then for prefix in
> ${boot_prefixes}; do setenv file_prefix ${prefix}; if run loadbootscript;
> then run bootscript; else run autodetectfdt; if run loadbootenv; then run
> importbootenv; fi; if test ${bootfile} = auto; then setenv origbootfile
> auto; setenv bootfile zImage; if run loadbootfile; then run loadramdisk;
> run mmcboot; else setenv bootfile uImage; fi; fi; if run loadbootfile; then
> run loadramdisk; run mmcboot; else setenv bootfile ${origbootfile}; fi; fi;
> done; fi; run netboot; bootscript=echo Running bootscript from mmc ...;
> source;
> loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr}
> ${file_prefix}${script};
> 
> 

Seems that I get at least to the same defaults as you do:

CuBox-i U-Boot > env default -a
## Resetting to default environment
CuBox-i U-Boot > printenv bootcmd bootscript loadbootscript
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then for prefix in ${boot_prefixes}; 
do setenv file_prefix ${prefix}; if run loadbootscript; then run bootscript; ;
bootscript=echo Running bootscript from mmc ...; source;
loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} 
${file_prefix}${script};
CuBox-i U-Boot > 


My root partition is on 0:2

CuBox-i U-Boot > setenv mmcpart 2


The system starts to boot, but I says it boots an uImage and not a zImage....

CuBox-i U-Boot > run bootcmd
mmc0 is current device
** File not found /boot.scr **
** File not found uEnv.txt **
** File not found /zImage **
2886347 bytes read in 276 ms (10 MiB/s)
** File not found /uInitrd **
Booting from mmc ...
Booting uImage
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Debian-cubox-i4q-i-3.15-rc8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2886283 Bytes = 2.8 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.15-rc8-armmp (debian-kernel@lists.debian.org) 
(gcc version 4.8.3 (Debian 4.8.3-3) ) #1 SMP Debian 3.15~rc8-1~exp1 
(2014-06-03)
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), 
cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
instruction cache
[    0.000000] Machine model: SolidRun Cubox-i Dual/Quad
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 9 pages/cpu @ee7b5000 s13504 r8192 d15168 
u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 522768
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 
rootwait rw
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 
bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2070888K/2097152K available (5221K kernel code, 630K 
rwdata, 1908K rodata, 473K init, 515K bss, 26264K reserved, 1318912K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06fe6b4   (7130 kB)
[    0.000000]       .init : 0xc06ff000 - 0xc07754c0   ( 474 kB)
[    0.000000]       .data : 0xc0776000 - 0xc0813ae8   ( 631 kB)
[    0.000000]        .bss : 0xc0813ae8 - 0xc0894874   ( 516 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache 
size: 1024 kB
[    0.000000] Switching to timer-based delay loop
[    0.000006] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 
65075262448ns
[    0.001319] Console: colour dummy device 80x30
[    0.001340] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 132.00 BogoMIPS (lpj=264000)
[    0.001356] pid_max: default: 32768 minimum: 301
[    0.001455] Security Framework initialized
[    0.001471] AppArmor: AppArmor disabled by boot time parameter
[    0.001477] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.001530] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001542] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 
bytes)
[    0.002137] Initializing cgroup subsys memory
[    0.002162] Initializing cgroup subsys devices
[    0.002173] Initializing cgroup subsys freezer
[    0.002183] Initializing cgroup subsys net_cls
[    0.002191] Initializing cgroup subsys blkio
[    0.002200] Initializing cgroup subsys perf_event
[    0.002239] CPU: Testing write buffer coherency: ok
[    0.002499] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002655] Setting up static identity map for 0x104f11a0 - 0x104f11f8
[    0.004749] CPU1: Booted secondary processor
[    0.004771] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005752] CPU2: Booted secondary processor
[    0.005775] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.006733] CPU3: Booted secondary processor
[    0.006757] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.006873] Brought up 4 CPUs
[    0.006898] SMP: Total of 4 processors activated.
[    0.006907] CPU: All CPU(s) started in SVC mode.
[    0.007498] devtmpfs: initialized
[    0.011437] VFP support v0.3: implementor 41 architecture 3 part 30 variant 
9 rev 4
[    0.012342] pinctrl core: initialized pinctrl subsystem
[    0.012677] regulator-dummy: no parameters
[    0.019681] NET: Registered protocol family 16
[    0.020825] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.021801] CPU identified as i.MX6Q, silicon rev 1.2
[    0.035656] No ATAGs?
[    0.035684] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 
watchpoint registers.
[    0.035694] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.036796] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.037107] Serial: AMBA PL011 UART driver
[    0.046394] mxs-dma 110000.dma-apbh: initialized
[    0.046878] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy 
slot
[    0.046897] edma-dma-engine: probe of edma-dma-engine.0 failed with error 
-5
[    0.047542] 3P3V: 3300 mV 
[    0.047875] usb_h1_vbus: 5000 mV 
[    0.048149] usb_otg_vbus: 5000 mV 
[    0.049782] vgaarb: loaded
[    0.050183] usbcore: registered new interface driver usbfs
[    0.050250] usbcore: registered new interface driver hub
[    0.050366] usbcore: registered new device driver usb
[    0.050919] media: Linux media interface: v0.10
[    0.050974] Linux video capture interface: v2.00
[    0.051058] pps_core: LinuxPPS API ver. 1 registered
[    0.051066] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo 
Giometti <giometti@linux.it>
[    0.051090] PTP clock support registered
[    0.052336] Switched to clocksource mxc_timer1
[    0.076634] NET: Registered protocol family 2
[    0.077388] TCP established hash table entries: 8192 (order: 3, 32768 
bytes)
[    0.077471] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.077595] TCP: Hash tables configured (established 8192 bind 8192)
[    0.077671] TCP: reno registered
[    0.077687] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.077746] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.077998] NET: Registered protocol family 1
[    0.078603] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 
counters available
[    0.080262] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.080508] audit: initializing netlink subsys (disabled)
[    0.080563] audit: type=2000 audit(0.079:1): initialized
[    0.199301] bounce pool size: 64 pages
[    0.199545] VFS: Disk quotas dquot_6.5.2
[    0.199605] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.199701] msgmni has been set to 1468
[    0.200614] alg: No test for stdrng (krng)
[    0.200706] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
249)
[    0.200817] io scheduler noop registered
[    0.200827] io scheduler deadline registered
[    0.200870] io scheduler cfq registered (default)
[    0.203295] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[    0.206734] imx-sdma 20ec000.sdma: initialized
[    0.207333] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.208913] Serial: AMBA driver
[    0.208973] Serial: IMX driver
[    0.209261] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud 
= 5000000) is a IMX
[    0.845251] console [ttymxc0] enabled
[    0.852420] 2188000.ethernet supply phy not found, using dummy regulator
[    0.868094] libphy: fec_enet_mii_bus: probed
[    0.872951] fec 2188000.ethernet eth0: registered PHC device 0
[    0.879747] mousedev: PS/2 mouse device common for all mice
[    0.885469] IR Sharp protocol handler initialized
[    0.890925] hidraw: raw HID events driver (C) Jiri Kosina
[    0.896871] usbcore: registered new interface driver usbhid
[    0.902473] usbhid: USB HID core driver
[    0.906615] TCP: cubic registered
[    0.910056] NET: Registered protocol family 10
[    0.915440] mip6: Mobile IPv6
[    0.918447] NET: Registered protocol family 17
[    0.922923] mpls_gso: MPLS GSO support
[    0.927101] ThumbEE CPU extension supported.
[    0.931427] Registering SWP/SWPB emulation handler
[    0.936833] registered taskstats version 1
[    0.941111] usb_otg_vbus: disabling
[    0.944659] usb_h1_vbus: disabling
[    0.948391] /build/linux-I5r8Y0/linux-3.15~rc8/drivers/rtc/hctosys.c: 
unable to open rtc device (rtc0)
[    0.966868] Waiting for root device /dev/mmcblk0p2...

**************************************************************
********************** here the boot process gets stuck********* 
**************************************************************


Just for reference, my bootm process still works and has this output:

Boot Device: SD1
Boot Device: SD1


U-Boot 2014.04 (May 26 2014 - 22:33:51)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: MX6-CuBox-i
DRAM:  2 GiB
MMC:   FSL_SDHC: 0
In:    serial
Out:   vga
Err:   vga
Net:   FEC
(Re)start USB...
USB0:   lowlevel init failed
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Hit any key to stop autoboot:  0 
CuBox-i U-Boot > boot
2886347 bytes read in 275 ms (10 MiB/s)
11422835 bytes read in 657 ms (16.6 MiB/s)
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Debian-cubox-i4q-i-3.15-rc8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2886283 Bytes = 2.8 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 11800000 ...
   Image Name:   Debian-cubox-i4q-i-3.15-rc8
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11422771 Bytes = 10.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
EHCI failed to shut down host controller.
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.15-rc8-armmp (debian-kernel@lists.debian.org) 
(gcc version 4.8.3 (Debian 4.8.3-3) ) #1 SMP Debian 3.15~rc8-1~exp1 
(2014-06-03)
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), 
cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
instruction cache
[    0.000000] Machine model: SolidRun Cubox-i Dual/Quad
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 9 pages/cpu @ee7b5000 s13504 r8192 d15168 
u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 522768
[    0.000000] Kernel command line: 
video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 cma=64 console=tty1 
ahci_imx.hotplug=1 root=/dev/mmcblk0p2 rootfstype=ext4 0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 
bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2059732K/2097152K available (5221K kernel code, 630K 
rwdata, 1908K rodata, 473K init, 515K bss, 37420K reserved, 1318912K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06fe6b4   (7130 kB)
[    0.000000]       .init : 0xc06ff000 - 0xc07754c0   ( 474 kB)
[    0.000000]       .data : 0xc0776000 - 0xc0813ae8   ( 631 kB)
[    0.000000]        .bss : 0xc0813ae8 - 0xc0894874   ( 516 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache 
size: 1024 kB
[    0.000000] Switching to timer-based delay loop
[    0.000006] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 
65075262448ns
[    0.001314] Console: colour dummy device 80x30
[    0.001625] console [tty1] enabled
[    0.001650] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 132.00 BogoMIPS (lpj=264000)
[    0.001678] pid_max: default: 32768 minimum: 301
[    0.001781] Security Framework initialized
[    0.001803] AppArmor: AppArmor disabled by boot time parameter
[    0.001817] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.001880] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001900] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 
bytes)
[    0.002506] Initializing cgroup subsys memory
[    0.002540] Initializing cgroup subsys devices
[    0.002560] Initializing cgroup subsys freezer
[    0.002576] Initializing cgroup subsys net_cls
[    0.002591] Initializing cgroup subsys blkio
[    0.002606] Initializing cgroup subsys perf_event
[    0.002654] CPU: Testing write buffer coherency: ok
[    0.002925] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003089] Setting up static identity map for 0x104f11a0 - 0x104f11f8
[    0.005196] CPU1: Booted secondary processor
[    0.005217] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.006188] CPU2: Booted secondary processor
[    0.006210] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.007170] CPU3: Booted secondary processor
[    0.007193] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.007307] Brought up 4 CPUs
[    0.007378] SMP: Total of 4 processors activated.
[    0.007391] CPU: All CPU(s) started in SVC mode.
[    0.007993] devtmpfs: initialized
[    0.012065] VFP support v0.3: implementor 41 architecture 3 part 30 variant 
9 rev 4
[    0.012995] pinctrl core: initialized pinctrl subsystem
[    0.013346] regulator-dummy: no parameters
[    0.020411] NET: Registered protocol family 16
[    0.021614] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022661] CPU identified as i.MX6Q, silicon rev 1.2
[    0.036585] No ATAGs?
[    0.036619] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 
watchpoint registers.
[    0.036647] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.037721] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.038052] Serial: AMBA PL011 UART driver
[    0.047405] mxs-dma 110000.dma-apbh: initialized
[    0.047898] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy 
slot
[    0.047931] edma-dma-engine: probe of edma-dma-engine.0 failed with error 
-5
[    0.048604] 3P3V: 3300 mV 
[    0.048947] usb_h1_vbus: 5000 mV 
[    0.049232] usb_otg_vbus: 5000 mV 
[    0.050850] vgaarb: loaded
[    0.051259] usbcore: registered new interface driver usbfs
[    0.051338] usbcore: registered new interface driver hub
[    0.051462] usbcore: registered new device driver usb
[    0.052028] media: Linux media interface: v0.10
[    0.052097] Linux video capture interface: v2.00
[    0.052214] pps_core: LinuxPPS API ver. 1 registered
[    0.052231] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo 
Giometti <giometti@linux.it>
[    0.052269] PTP clock support registered
[    0.053568] Switched to clocksource mxc_timer1
[    0.077890] NET: Registered protocol family 2
[    0.078667] TCP established hash table entries: 8192 (order: 3, 32768 
bytes)
[    0.078762] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.078893] TCP: Hash tables configured (established 8192 bind 8192)
[    0.078998] TCP: reno registered
[    0.079020] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.079089] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.079355] NET: Registered protocol family 1
[    0.079804] Unpacking initramfs...
[    0.911264] Freeing initrd memory: 11148K (c1801000 - c22e4000)
[    0.911646] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 
counters available
[    0.913434] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.913660] audit: initializing netlink subsys (disabled)
[    0.913739] audit: type=2000 audit(0.911:1): initialized
[    1.031388] bounce pool size: 64 pages
[    1.031650] VFS: Disk quotas dquot_6.5.2
[    1.031721] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.031825] msgmni has been set to 1468
[    1.032718] alg: No test for stdrng (krng)
[    1.032812] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
249)
[    1.032940] io scheduler noop registered
[    1.032957] io scheduler deadline registered
[    1.033007] io scheduler cfq registered (default)
[    1.038875] imx-sdma 20ec000.sdma: initialized
[    1.039330] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[    1.039507] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.041036] Serial: AMBA driver
[    1.041109] Serial: IMX driver
[    1.041390] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud 
= 5000000) is a IMX
[    1.698875] console [ttymxc0] enabled
[    1.706139] 2188000.ethernet supply phy not found, using dummy regulator
[    1.727429] libphy: fec_enet_mii_bus: probed
[    1.732305] fec 2188000.ethernet eth0: registered PHC device 0
[    1.739150] mousedev: PS/2 mouse device common for all mice
[    1.744887] IR Sharp protocol handler initialized
[    1.750361] hidraw: raw HID events driver (C) Jiri Kosina
[    1.756315] usbcore: registered new interface driver usbhid
[    1.761929] usbhid: USB HID core driver
[    1.766094] TCP: cubic registered
[    1.769536] NET: Registered protocol family 10
[    1.774954] mip6: Mobile IPv6
[    1.777968] NET: Registered protocol family 17
[    1.782453] mpls_gso: MPLS GSO support
[    1.786719] ThumbEE CPU extension supported.
[    1.791042] Registering SWP/SWPB emulation handler
[    1.796460] registered taskstats version 1
[    1.800739] usb_otg_vbus: disabling
[    1.804274] usb_h1_vbus: disabling
[    1.808009] /build/linux-I5r8Y0/linux-3.15~rc8/drivers/rtc/hctosys.c: 
unable to open rtc device (rtc0)
[    1.826988] Freeing unused kernel memory: 472K (c06ff000 - c0775000)
Loading, please wait...
[    1.898169] systemd-udevd[72]: starting version 204
[    1.983854] sdhci: Secure Digital Host Controller Interface driver
[    1.990136] sdhci: Copyright(c) Pierre Ossman
[    1.998332] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.014051] SCSI subsystem initialized
[    2.018223] sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed 
state, work on normal mode
[    2.027672] mmc0: no vqmmc regulator found
[    2.038283] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[    2.045314] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 
0x1 impl platform mode
[    2.054138] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp 
pio slum part ccc apst 
[    2.064570] scsi0 : ahci_platform
[    2.068278] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 
0x100 irq 71
[    2.069599] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using 
ADMA
[    2.117535] mmc0: host does not support reading read-only switch. assuming 
write-enable.
[    2.131882] mmc0: new high speed SDHC card at address 59b4
[    2.137863] mmcblk0: mmc0:59b4 USD   29.4 GiB 
[    2.143988]  mmcblk0: p1 p2
[    2.401612] ata1: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... 
done.
Begin: Running /scripts/local-premount ... done.
[    2.521277] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. 
Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
[    3.061363] systemd[1]: systemd 204 running in system mode. (+PAM +LIBWRAP 
+AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)

Welcome to Debian GNU/Linux jessie/sid!

[    3.135800] systemd[1]: Inserted module 'autofs4'
[    3.150158] systemd[1]: Set hostname to <bokocube>.
[    3.189214] random: systemd urandom read with 65 bits of entropy available
[    3.449059] systemd[1]: Cannot add dependency job for unit display-
manager.service, ignoring: Unit display-manager.service failed to load: No 
such file o.
[    3.471341] systemd[1]: Expecting device dev-ttymxc0.device...
         Expecting device dev-ttymxc0.device...
[    3.485710] systemd[1]: Starting Forward Password Requests to Wall 
Directory Watch.
[    3.493783] systemd[1]: Started Forward Password Requests to Wall Directory 
Watch.
[    3.501482] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    3.517680] systemd[1]: Reached target Remote File Systems (Pre).
[    3.523892] systemd[1]: Starting Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    3.537680] systemd[1]: Listening on Syslog Socket.
[    3.542681] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    3.561678] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.568752] systemd[1]: Starting Delayed Shutdown Socket.
[  OK  ] Listening on Delayed Shutdown Socket.
[    3.579766] systemd[1]: Listening on Delayed Shutdown Socket.
[    3.585719] systemd[1]: Starting Dispatch Password Requests to Console 
Directory Watch.
[    3.593949] systemd[1]: Started Dispatch Password Requests to Console 
Directory Watch.
[    3.601965] systemd[1]: Starting Paths.
[  OK  ] Reached target Paths.
[    3.613691] systemd[1]: Reached target Paths.
[    3.618377] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.633685] systemd[1]: Listening on udev Kernel Socket.
[    3.639315] systemd[1]: Starting udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    3.653686] systemd[1]: Listening on udev Control Socket.
[    3.659284] systemd[1]: Starting Arbitrary Executable File Formats File 
System Automount Point.
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount 
Point.
[    3.681686] systemd[1]: Set up automount Arbitrary Executable File Formats 
File System Automount Point.
[    3.691206] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.701696] systemd[1]: Listening on Journal Socket.
[    3.706787] systemd[1]: Starting Syslog.
[  OK  ] Reached target Syslog.
[    3.717688] systemd[1]: Reached target Syslog.
[    3.722281] systemd[1]: Mounted Huge Pages File System.
[    3.727618] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    3.747997] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    3.768831] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    3.788621] systemd[1]: Starting Create static device nodes in /dev...
         Starting Create static device nodes in /dev...
[    3.814286] systemd[1]: Started Set Up Additional Binary Formats.
[    3.838045] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    3.856883] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[    3.885739] systemd[1]: Started Journal Service.
[    3.891165] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    3.903678] systemd[1]: Starting Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    3.917753] systemd[1]: Reached target Encrypted Volumes.
[    3.923342] systemd[1]: Expecting device dev-disk-
by\x2duuid-9bec34f9\x2da75d\x2d405f\x2d884f\x2d3ffe77832ef1.device...
[    3.928730] fuse init (API version 7.23)
         Expecting device dev-disk-
by\x2duuid-9bec34f9\x2da75...32ef1.device...
[    3.949802] systemd[1]: Starting File System Check on Root Device...
         Starting File System Check on Root Device...
[  OK  ] Mounted POSIX Message Queue File System.
[    3.981781] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Started Apply Kernel Variables.
[    4.001894] systemd[1]: Started Apply Kernel Variables.
[  OK  ] Started Load Kernel Modules.
[    4.017874] systemd[1]: Started Load Kernel Modules.
[  OK  [    4.024630] systemd[1]: Mounted Debug File System.
] Mounted Debug File System.
[    4.031053] systemd[1]: Mounted Configuration File System.
[    4.039063] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[  OK  ] Started Create static device nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Kernel Device Manager...
[  OK  ] Mounted FUSE Control File System.
[    4.103650] systemd-udevd[154]: starting version 204
[  OK  ] Started udev Kernel Device Manager.
         Starting LSB: Set preliminary keymap...
         Starting Copy rules generated while the root was ro...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: Set preliminary keymap.
systemd-fsck[147]: /dev/mmcblk0p2: clean, 76588/1671168 files, 1059687/6679296 
blocks
[  OK  ] Started File System Check on Root Device.
         Starting Remount Root and Kernel File Systems...
[    4.325354] EXT4-fs (mmcblk0p2): re-mounted. Opts: 
discard,data=ordered,errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Mounting Lock Directory...
         Mounting User Runtime Directory...
         Starting Load Random Seed...
[  OK  ] Mounted /tmp.
[  OK  ] Mounted Lock Directory.
[  OK  ] Mounted User Runtime Directory.
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Set console font and keymap...
[    4.461243] random: nonblocking pool is initialized
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Recreate Volatile Files and Directories...
[  OK  ] Started Load Random Seed.
[  OK  ] Started LSB: Set console font and keymap.
         Starting LSB: Raise network interfaces....
[  OK  ] Found device /dev/ttymxc0.
[    4.658516] [drm] Initialized drm 1.1.0 20060810
[    4.677156] Registered IR keymap rc-empty
[  OK  [    4.681766] input: gpio_ir_recv as /devices/soc0/ir-
receiver.11/rc/rc0/input0
[    4.690290] rc0: gpio_ir_recv as /devices/soc0/ir-receiver.11/rc/rc0
] Started Recreate Volatile Files and Directories.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[    4.773280] IR Sony protocol handler initialized
[    4.773294] IR SANYO protocol handler initialized
[    4.781428] IR RC5(x) protocol handler initialized
[    4.782981] IR NEC protocol handler initialized
[    4.784867] input: MCE IR Keyboard/Mouse (gpio-rc-recv) as 
/devices/virtual/input/input1
[    4.785305] IR MCE Keyboard/mouse protocol handler initialized
[    4.792619] IR RC6 protocol handler initialized
[    4.797263] lirc_dev: IR Remote Control driver registered, major 243 
[    4.803664] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) 
registered at minor = 0
[    4.803668] IR LIRC bridge handler initialized
[    4.832080] IR JVC protocol handler initialized
[    4.857139] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. 
timeout=60s (nowayout=0)
[    4.867296] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.886903] imxdrm: module is from the staging directory, the quality is 
unknown, you have been warned.
[    4.903280] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    4.918390] imx_ipu_v3: module is from the staging directory, the quality 
is unknown, you have been warned.
[    4.920566] imx_ipu_v3: module is from the staging directory, the quality 
is unknown, you have been warned.
[    4.923841] imx-ipuv3 2400000.ipu: IPUv3H probed
[    4.924398] imx-ipuv3 2800000.ipu: IPUv3H probed
[    4.947611] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 
1
[    4.957281] imx-spdif sound-spdif.16: ASoC: CPU DAI (null) not registered
[    4.964543] imx-spdif sound-spdif.16: snd_soc_register_card failed: -517
[    4.966299] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    4.966520] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.966528] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    4.966534] usb usb1: Product: EHCI Host Controller
[    4.966539] usb usb1: Manufacturer: Linux 3.15-rc8-armmp ehci_hcd
[    4.966544] usb usb1: SerialNumber: ci_hdrc.0
[    4.967433] hub 1-0:1.0: USB hub found
[    4.967511] hub 1-0:1.0: 1 port detected
[    4.982281] i2c i2c-2: IMX I2C adapter registered
[    4.983600] ci_hdrc ci_hdrc.1: doesn't support gadget
[    4.983619] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    4.985793] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 
2
[    4.997619] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    4.997803] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.997811] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    4.997816] usb usb2: Product: EHCI Host Controller
[    4.997821] usb usb2: Manufacturer: Linux 3.15-rc8-armmp ehci_hcd
[    4.997827] usb usb2: SerialNumber: ci_hdrc.1
[    4.998762] hub 2-0:1.0: USB hub found
[    4.998801] hub 2-0:1.0: 1 port detected
[    5.078449] imx_ipuv3_crtc: module is from the staging directory, the 
quality is unknown, you have been warned.
[    5.078798] platform sound-spdif.16: Driver imx-spdif requests probe 
deferral
[    5.096958] imx-spdif sound-spdif.16: snd-soc-dummy-dai <-> 2004000.spdif 
mapping ok
[    5.098639] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.098642] [drm] No driver support for vblank timestamp query.
[    5.099852] imx-drm display-subsystem.10: bound imx-ipuv3-crtc.0 (ops 
.LANCHOR0 [imx_ipuv3_crtc])
[    5.099931] imx-drm display-subsystem.10: bound imx-ipuv3-crtc.1 (ops 
.LANCHOR0 [imx_ipuv3_crtc])
[    5.100020] imx-drm display-subsystem.10: bound imx-ipuv3-crtc.2 (ops 
.LANCHOR0 [imx_ipuv3_crtc])
[    5.100090] imx-drm display-subsystem.10: bound imx-ipuv3-crtc.3 (ops 
.LANCHOR0 [imx_ipuv3_crtc])
[    5.100104] imx-drm display-subsystem.10: No connectors reported connected 
with modes
[    5.100110] [drm] Cannot find any crtc or sizes - going 1024x768
[    5.107643] imx_ipuv3_crtc: module is from the staging directory, the 
quality is unknown, you have been warned.
[    5.107829] imx_ipuv3_crtc: module is from the staging directory, the 
quality is unknown, you have been warned.
[    5.109839] imx_ipuv3_crtc: module is from the staging directory, the 
quality is unknown, you have been warned.
[    5.197762] Console: switching to colour frame buffer device 128x48
[    5.210032] imx-drm display-subsystem.10: fb0:  frame buffer device
[    5.210046] imx-drm display-subsystem.10: registered panic notifier
[    5.210081] [drm] Initialized imx-drm 1.0.0 20120507 on minor 0
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Load Random Seed...
[  OK  ] Reached target Sound Card.
[  OK  ] Started Load Random Seed.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Found device /dev/disk/by-uuid/9bec34f9-a75d-405f-884f-3ffe77832ef1.
         Activating swap /dev/disk/by-uuid/9bec34f9-a75d-405f...3ffe77832ef1...
[    5.402066] Adding 4194300k swap on /dev/mmcblk0p1.  Priority:-1 extents:1 
across:4194300k SS
[  OK  ] Activated swap /dev/disk/by-uuid/9bec34f9-a75d-405f-884f-3ffe77832ef1.
[  OK  ] Reached target Swap.
[  OK  ] Started LSB: Raise network interfaces..
[  OK  ] Reached target Network.
         Starting LSB: RPC portmapper replacement...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started LSB: RPC portmapper replacement.
[  OK  ] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[    5.952464] RPC: Registered named UNIX socket transport module.
[    5.958537] RPC: Registered udp transport module.
[    5.963334] RPC: Registered tcp transport module.
[    5.968120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.992523] FS-Cache: Loaded
[    6.035495] FS-Cache: Netfs 'nfs' registered for caching
[    6.090135] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  OK  ] Started LSB: NFS support files common to client and server.
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Timers.
         Starting Console System Startup Logging...
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting ifup for eth0...
[  OK  ] Started ifup for eth0.
         Starting LSB: Create dynamic part of /etc/motd...
         Starting LSB: Automounts filesystems on demand...
         Starting Run anacron jobs...
[  OK  ] Started Run anacron jobs.
         Starting LSB: Start NTP daemon...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting Restore /etc/resolv.conf if the system cras...s shut 
down....
         Starting Modem Manager...
         Starting Network Manager...
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting Permit User Sessions...
         Starting System Logging Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting LSB: SANE network scanner server...
[  OK  ] Started Console System Startup Logging.
[  OK  ] Started LSB: Create dynamic part of /etc/motd.
[  OK  ] Started Restore /etc/resolv.conf if the system crash...was shut 
down..
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttymxc0...
[  OK  ] Started Serial Getty on ttymxc0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: SANE network scanner server.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: Automounts filesystems on demand.
[  OK  ] Started Login Service.
[    7.666432] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 
8035 ethernet] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
         [    7.680834] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Network Manager.
         Starting LSB: Openvpn VPN service...
[  OK  ] Started Modem Manager.
[  OK  ] Started LSB: Openvpn VPN service.
         Starting LSB: X display manager for KDE...
[  OK  ] Started LSB: X display manager for KDE.
[  OK  ] Reached target X11 Display Manager.
         Starting LSB: Log file handling to be done during bootup....
[  OK  ] Started LSB: Log file handling to be done during bootup..
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.

Debian GNU/Linux jessie/sid bokocube ttymxc0

bokocube login: [   10.665897] fec 2188000.ethernet eth0: Link is Up - 
100Mbps/Full - flow control rx/tx
[   10.673844] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

I am wondering, if there is anybody who has bootz on cubox-i running (?).


Thanks,
Rainer





-- 
Rainer Dorsch
http://bokomoko.de/


Reply to: