On 27.11.2012, at 21:30, Ciaran Farrell wrote:
On 27/11/12 19:06, Cristian Rodríguez wrote:
El 26/11/12 18:32, Ciaran Farrell escribió:
6547890 bytes read ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-3.6.0-1.2-cubox Created: 2012-10-18 11:13:02 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3927856 Bytes = 3.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 05000000 ... Image Name: Initrd Created: 2012-11-26 21:06:55 UTC Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 26547826 Bytes = 25.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
And there it hangs...
Now I have the same issue.. wow.. what is going on here.. maybe something else is needed to actually load this monster initrd.. I wonder why it is so big...
This works for me:
#!/bin/bash
set -x
file=boot/boot.script
echo 'if itest 1$arcNumber == 13905; then' >> $file echo ' setenv kerneladdr 0x2000000' >> $file echo ' setenv ramdiskaddr 0x5000000' >> $file echo 'fi' >> $file echo 'ext2load mmc 0:1 ${kerneladdr} boot/linux.vmx' >> $file echo 'ext2load mmc 0:1 ${ramdiskaddr} boot/initrd.uboot' >> $file echo -n 'setenv bootargs "' >> $file echo 'console=ttyS0,115200 root=/dev/mmcblk0p2"' >> $file echo 'bootm ${kerneladdr} ${ramdiskaddr}' >> $file echo 'boot' >> $file mkopts="-A arm -O linux -a 0 -e 0 -T script -C none"; inputf="boot/boot.script"; result="boot/boot.scr"; if ! mkimage $mkopts -n 'Boot-Script' -d $inputf $result;then echo "Failed to create uboot script image" exit 1 fi
Though methinks agraf will want to belt me on the head for setenv bootargs line. In fairness though, at least the cubox specific stuff is back in its own if box...
The setenv gets imported from the .kiwi file. Maybe something's bogus there? What does the actually built boot.script look like? Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org