mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
setenv finduuid "part uuid mmc 0:1 uuid"
|
||||
setenv finduuid "part uuid mmc 1:1 uuid"
|
||||
run finduuid
|
||||
run findfdt
|
||||
setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
|
||||
load mmc 0:1 ${fdt_addr} boot/${fdtfile}
|
||||
load mmc 0:1 ${loadaddr} boot/zImage
|
||||
load mmc 1:1 ${fdt_addr} boot/${fdtfile}
|
||||
load mmc 1:1 ${loadaddr} boot/zImage
|
||||
bootz ${loadaddr} - ${fdt_addr}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
|
||||
-n "boot script" -d $BOARD_DIR/boot.scr.txt $BOARD_DIR/boot.scr
|
||||
install -d -m 755 $TARGET_DIR/boot
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
|
||||
-n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr
|
||||
|
||||
Reference in New Issue
Block a user