mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00

Upstream u-boot searches the boot partition for a script named 'boot.scr'. If this file exists it is executed as a sequence of u-boot commands in order to boot the system. This script must be compiled using the mkimage command to ensure that it is understood by u-boot. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
7 lines
276 B
Batchfile
7 lines
276 B
Batchfile
setenv fdtfile bcm2708-rpi-b.dtb
|
|
setenv bootargs 'earlyprintk console=tty0 console=ttyAMA0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait noinitrd'
|
|
mmc dev 0
|
|
fatload mmc 0:1 ${kernel_addr_r} uImage
|
|
fatload mmc 0:1 ${fdt_addr_r} ${fdtfile}
|
|
bootm ${kernel_addr_r} - ${fdt_addr_r}
|