diff options
author | David Woodhouse <dwmw2@infradead.org> | 2020-07-21 19:19:40 +0100 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-07-26 17:08:31 +0800 |
commit | b36422b914ef3fdc17827481b61ab7d03a1790ac (patch) | |
tree | 36785c02a97053ba1ed3b488294d453c16ab1035 /target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt | |
parent | 1113dcab05de31d52a91e99f7a63d0099415edad (diff) | |
download | upstream-b36422b914ef3fdc17827481b61ab7d03a1790ac.tar.gz upstream-b36422b914ef3fdc17827481b61ab7d03a1790ac.tar.bz2 upstream-b36422b914ef3fdc17827481b61ab7d03a1790ac.zip |
mediatek: mt7623: add full system image for UniElec U7623
This adds a full eMMC image including U-Boot, which means that the
kernel can inherit the true RAM size detected by the preloader.
As implemented in previous commits, sysupgrade to this image from
the legacy layout (and via that, from the vendor-installed image)
is supported.
Rename the legacy image for the 512MiB board, for clarity.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt')
-rw-r--r-- | target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt b/target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt new file mode 100644 index 0000000000..5e5f8cae73 --- /dev/null +++ b/target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt @@ -0,0 +1,20 @@ +# Boot menu for UniElec U7623 +# Copyright © 2020 David Woodhouse <dwmw2@infradead.org> + +kernel=uImage +loadaddr=0x88000000 +dtaddr=0x83f00000 +fdt_high=0xafffffff + +console=ttyS0,115200 +bootopts=rootfstype=squashfs,ext4 rootwait + +# Create the command line (with appropriate root=) and boot the Linux FIT image. +boot1=setenv bootargs "console=${console} root=${rootdev} ${bootopts}";printenv bootargs;\ + fatload mmc ${partition} ${loadaddr} ${kernel}; bootm + +bootmenu_0=Boot from eMMC.=setenv partition 0:2;setenv rootdev /dev/mmcblk0p3;run boot1 +bootmenu_default=0 + +bootdelay=0 +bootcmd=bootmenu |