[clug] ARM devices with complete upstream support
Chris Smart
clug at christophersmart.com
Tue Nov 1 20:58:36 UTC 2016
On Tue, Nov 01, 2016 at 08:52:11PM +1100, Eyal Lebedinsky wrote:
>
>Maybe boot.scr is not fully used?
>
Oh.. at a guess, the SOC is still executing the initramfs which is still
being loaded into memory.
The console line there is just for Linux, sooo.. try leaving out the
initramfs lines from your boot.cmd before regenerating boot.scr.
Something like this:
cat > boot.cmd << EOF
fatload mmc 0 \${kernel_addr_r} zImage
fatload mmc 0 \${fdt_addr_r} bcm2836-rpi-2-b.dtb
setenv bootargs console=ttyAMA0,115200 earlyprintk root=/dev/mmcblk0p2 \
rootwait panic=10
bootz \${kernel_addr_r} - \${fdt_addr_r}
EOF
Then regenerate with the same command as before, straight to the mounted
SD card (if it's mounted at /mnt):
sudo mkimage -C none -A arm -T script -d boot.cmd /mnt/boot.scr
-c
More information about the linux
mailing list