diff options
author | Joe Burmeister <joe.burmeister@codethink.co.uk> | 2013-08-29 18:04:50 +0100 |
---|---|---|
committer | Joe Burmeister <joe.burmeister@codethink.co.uk> | 2013-08-29 18:04:50 +0100 |
commit | efbd507e8a1916943ce66060c8e52e700ed3d874 (patch) | |
tree | f39951881867840c5ce794535b94e2fee9ee12b5 | |
parent | 1a3a11181d91070ebc8f535636a86b920080aec6 (diff) | |
download | linux-efbd507e8a1916943ce66060c8e52e700ed3d874.tar.gz |
Add creating a second level uboot script for boot kernel.
-rw-r--r-- | boot.script | 6 | ||||
-rw-r--r-- | linux.morph | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/boot.script b/boot.script new file mode 100644 index 000000000000..e26fcb72bae0 --- /dev/null +++ b/boot.script @@ -0,0 +1,6 @@ +setenv image_addr "0x12000000" + +setenv bootargs "console=ttymxc0,115200 root=/dev/nfs rw ip=dhcp nfsroot=${fileserver}:${nfsroot},v3,tcp" +dhcp ${image_addr} ${fileserver}:${tfpboot}/uImage +bootm ${image_addr} + diff --git a/linux.morph b/linux.morph index 8c0aeda7b3b5..6928bdc0e963 100644 --- a/linux.morph +++ b/linux.morph @@ -6,7 +6,8 @@ configure-commands: - yes '' | make oldconfig build-commands: - make $MAKEFLAGS ARCH=arm uImage + - mkimage -A arm -T script -C none -n "Wandboard TFTP Boot Script" -d boot.script boot.scr install-commands: - mkdir -p "$DESTDIR"/boot - cp arch/arm/boot/uImage "$DESTDIR"/boot/uImage - + - cp boot.scr "$DESTDIR"/boot/boot.scr |