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

Re: Cubox-i with Debian Stock Kernel



Hi Ian,

thank you for your reply.

On Friday 30 May 2014 19:34:57 Ian Campbell wrote:
> On Fri, 2014-05-30 at 15:47 +0200, Rainer Dorsch wrote:
> > I tried bootz, but that did not work for me:
> > 
> > [...same root and boot args as above ...]
> > CuBox-i U-Boot > ext4load mmc 0:2 0x10800000 vmlinuz
> > 2853240 bytes read in 272 ms (10 MiB/s)
> > CuBox-i U-Boot > ext4load mmc 0:2 0x18000000 imx6q-cubox-i.dtb
> > 28603 bytes read in 149 ms (186.5 KiB/s)
> > CuBox-i U-Boot > ext4load mmc 0:2 0x12800000 initrd.img
> > 10909053 bytes read in 480 ms (21.7 MiB/s)
> > CuBox-i U-Boot > bootz 0x10800000 0x12800000 0x18000000
> > Kernel image @ 0x10800000 [ 0x000000 - 0x2b8978 ]
> > Wrong Ramdisk Image Format
> > Ramdisk image is corrupt or invalid
> 
> bootz requires that you provide the length of the initrd. Sine you
> loaded it last you should be able to do:
> booz 0x10800000 0x12800000:${filesize} 0x18000000
> 

I installed back the Debian u-boot

blackbox:~# dd if=/home/rd/SPL of=/dev/sdf bs=1K seek=1
dd: Fehler beim Schreiben von „/dev/sdf“: Eingabe-/Ausgabefehler
1+0 Datensätze ein
0+0 Datensätze aus
0 Bytes (0 B) kopiert, 0,603655 s, 0,0 kB/s
blackbox:~# dd if=/home/rd/u-boot.img of=/dev/sdf bs=1K seek=42
293+1 Datensätze ein
293+1 Datensätze aus
300384 Bytes (300 kB) kopiert, 0,224549 s, 1,3 MB/s
blackbox:~#

Cubox accepts now the ramdisk, but still does not boot the Cubox-i:


CuBox-i U-Boot > ext4load mmc 0:2 0x10800000 vmlinuz
2853240 bytes read in 336 ms (8.1 MiB/s)
CuBox-i U-Boot > ext4load mmc 0:2 0x18000000 imx6q-cubox-i.dtb
28603 bytes read in 154 ms (180.7 KiB/s)
CuBox-i U-Boot > ext4load mmc 0:2 0x12800000 initrd.img
10909053 bytes read in 726 ms (14.3 MiB/s)
CuBox-i U-Boot > bootz 0x10800000 0x12800000:${filesize} 0x18000000
Kernel image @ 0x10800000 [ 0x000000 - 0x2b8978 ]
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
EHCI failed to shut down host controller.
   Loading Ramdisk to 8ecf7000, end 8f75e57d ... OK
   Using Device Tree in place at 18000000, end 18009fba

Starting kernel ...


and here the Cubox-i hangs, no progress anymore.

Rainer




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


Reply to: