diff options
author | Andre Heider <a.heider@gmail.com> | 2019-09-06 22:53:23 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2019-11-20 10:46:19 +0100 |
commit | 1f37b2226ed3f5142906cdabd50e94d77e30505b (patch) | |
tree | f698846e6c2b8d4cf10e7e345317e37fa85d683f /package/boot/uboot-omap/files | |
parent | b69df1eee0eb4618355d5ea4d0cdb4553475c4b7 (diff) | |
download | upstream-1f37b2226ed3f5142906cdabd50e94d77e30505b.tar.gz upstream-1f37b2226ed3f5142906cdabd50e94d77e30505b.tar.bz2 upstream-1f37b2226ed3f5142906cdabd50e94d77e30505b.zip |
omap: switch from uEnv.txt to generic distro booting
Which makes supporting different boot devices easy.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/boot/uboot-omap/files')
-rw-r--r-- | package/boot/uboot-omap/files/boot.scr.txt | 5 | ||||
-rw-r--r-- | package/boot/uboot-omap/files/uEnv-default.txt | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/package/boot/uboot-omap/files/boot.scr.txt b/package/boot/uboot-omap/files/boot.scr.txt new file mode 100644 index 0000000000..3e6b5c351d --- /dev/null +++ b/package/boot/uboot-omap/files/boot.scr.txt @@ -0,0 +1,5 @@ +setenv bootargs console=${console} root=/dev/mmcblk0p2 rootwait + +load mmc 0:1 ${loadaddr} /zImage \ +&& load mmc 0:1 ${fdtaddr} /dtbs/${fdtfile} \ +&& bootz ${loadaddr} - ${fdtaddr} diff --git a/package/boot/uboot-omap/files/uEnv-default.txt b/package/boot/uboot-omap/files/uEnv-default.txt deleted file mode 100644 index 8dc80e7b09..0000000000 --- a/package/boot/uboot-omap/files/uEnv-default.txt +++ /dev/null @@ -1,8 +0,0 @@ -bootpart=0:1 -bootdir=/ -bootfile=zImage -fdtdir=/dtbs -uenvcmd=run loadfdt; run loadimage; run uenvbootargs ; bootz ${loadaddr} - ${fdtaddr} -loadfdt=load mmc ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile} -devtype=mmc -uenvbootargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rootwait |