diff options
author | Tomasz Maciej Nowak <tomek_n@o2.pl> | 2018-02-14 17:34:38 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-02 21:33:08 +0100 |
commit | 0ef28ea3875809ec4bebee29d908f31dd7c42b86 (patch) | |
tree | 42bbe6d060cb228d3715da83ddd0ae9606e24f0b /target/linux/mvebu/image/cfpro-boot.script | |
parent | e4fa22397f0844481ed260ed599ff3851d30b71f (diff) | |
download | mtk-20170518-0ef28ea3875809ec4bebee29d908f31dd7c42b86.zip mtk-20170518-0ef28ea3875809ec4bebee29d908f31dd7c42b86.tar.gz mtk-20170518-0ef28ea3875809ec4bebee29d908f31dd7c42b86.tar.bz2 |
mvebu: unify boot.scr creation
Unify boot.scr generation so Makefile for device image generation won't
grow without a reason. Also make boot-scr step optional.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/mvebu/image/cfpro-boot.script')
-rw-r--r-- | target/linux/mvebu/image/cfpro-boot.script | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/mvebu/image/cfpro-boot.script b/target/linux/mvebu/image/cfpro-boot.script deleted file mode 100644 index 5971b0d..0000000 --- a/target/linux/mvebu/image/cfpro-boot.script +++ /dev/null @@ -1,23 +0,0 @@ -# Standard Boot-Script -# use only well-known variable names provided by U-Boot Distro boot -# This script assumes that there is a boot partition, -# and that the root partition is always the next one. - -# rootfs is always on the next partition -setexpr openwrt_rootpart ${distro_bootpart} + 1 - -# figure out partition uuid to pass to the kernel as root= -part uuid ${devtype} ${devnum}:${openwrt_rootpart} uuid - -# generate bootargs (rootfs) -setenv bootargs ${bootargs} root=PARTUUID=${uuid} rootfstype=auto rootwait - -# add console= option to bootargs, if any -if test -n "${console}"; then - setenv bootargs ${bootargs} console=${console} -fi - -echo "Booting Linux with ${bootargs}" -load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${fdtfile} -load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} zImage -bootz ${kernel_addr_r} - ${fdt_addr_r} |