mediatek: add alternative bootchain variant for UniFi 6 LR
[openwrt/openwrt.git] / target / linux / mediatek / image / mt7623a_unielec_u7623-uEnv.txt
1 # Boot menu for UniElec U7623
2 # Copyright © 2020 David Woodhouse <dwmw2@infradead.org>
3
4 kernel=uImage
5 loadaddr=0x88000000
6 dtaddr=0x83f00000
7 fdt_high=0xafffffff
8
9 console=ttyS0,115200
10 bootopts=rootfstype=squashfs,ext4 rootwait
11
12 # Create the command line (with appropriate root=) and boot the Linux FIT image.
13 boot1=setenv bootargs "console=${console} root=${rootdev} ${bootopts}";printenv bootargs;\
14 fatload mmc ${partition} ${loadaddr} ${kernel}; bootm
15
16 bootmenu_0=Boot from eMMC.=setenv partition 0:2;setenv rootdev /dev/mmcblk0p3;run boot1
17 bootmenu_default=0
18
19 bootdelay=0
20 bootcmd=bootmenu