damien78 Posted November 11, 2015 Share Posted November 11, 2015 HI,On my cubietruck I can boot form sd card my filesysteme on SATA. But y can't boot form nand.I must use kernel 3.4.108 because alsa spdif pass trought do not work on 3.4.109.I can't use nand install script because it formating sata drive.here /boot : drwxr-xr-x 4 root root 16384 Jan 1 1970 ./drwxr-xr-x 23 root root 4096 Sep 6 09:46 ../drwxr-xr-x 2 root root 2048 Nov 11 15:33 bin/-rwxr-xr-x 1 root root 118912 Nov 18 2014 boot.axf*-rwxr-xr-x 1 root root 1745 Nov 11 15:30 boot.cmd*-rwxr-xr-x 1 root root 106 Nov 18 2014 boot.ini*-rwxr-xr-x 1 root root 1817 Nov 11 15:30 boot.scr*-rwxr-xr-x 1 root root 97046 Oct 14 20:33 config-3.4.109-sun7i*-rwxr-xr-x 1 root root 3110638 Nov 11 14:40 initrd.img-3.4.108-cubietruck*-rwxr-xr-x 1 root root 3115996 Nov 11 15:33 initrd.img-3.4.109-sun7i*drwxr-xr-x 2 root root 2048 Nov 18 2014 linux/-rwxr-xr-x 1 root root 512 Jan 1 1980 magic.bin*-rwxr-xr-x 1 root root 46360 Nov 11 15:33 script.bin*-rwxr-xr-x 1 root root 2004410 Oct 14 20:33 System.map-3.4.109-sun7i*-rwxr-xr-x 1 root root 256 Nov 11 15:33 uEnv.txt*-rwxr-xr-x 1 root root 64 Nov 11 15:33 uImage*-rwxr-xr-x 1 root root 14056 Nov 11 15:32 upgrade.log* thanks Link to comment Share on other sites More sharing options...
pancio Posted November 11, 2015 Share Posted November 11, 2015 Hi, From my point of view if you may boot from NAND boot (3.4.109 kernel's image) is possible that you might mount NAND1 (boot partition) after boot from SD card and just copy files from /boot directory with expected kernel file to /boot on NAND1 partition. Of course you should change path into uEnv.txt regarding root filesystem. If my thinking is wrong please let me know :-) Regards, Link to comment Share on other sites More sharing options...
damien78 Posted November 11, 2015 Author Share Posted November 11, 2015 Hi, U-boot cannot boot kernell zImage (compressed image) but only uImage. I dont know do with other file boot.cmd boot.scr I change path in uEnv.txt but y have only a black screenand nothing else. Regards. Link to comment Share on other sites More sharing options...
Igor Posted November 12, 2015 Share Posted November 12, 2015 You need to convert the kernel to uImage this way: mkimage -A arm -O linux -T kernel -C none -a "0x40008000" -e "0x40008000" -n "Linux kernel" -d zImage uImage Link to comment Share on other sites More sharing options...
damien78 Posted November 12, 2015 Author Share Posted November 12, 2015 Thanks! It's works. 1 Link to comment Share on other sites More sharing options...
Recommended Posts