aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/image/mt7623a_unielec_u7623-uEnv.txt
blob: 5e5f8cae734254e2e4148955c93d6df14e497429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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