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>master
parent
1113dcab05
commit
b36422b914
@ -1,4 +1,4 @@
|
||||
config MTK_BOOT_PARTSIZE
|
||||
int "Boot (SD Card/eMMC) filesystem partition size (in MiB)"
|
||||
depends on TARGET_mediatek_mt7623_DEVICE_bpi_bananapi-r2 || TARGET_DEVICE_mediatek_mt7623_DEVICE_bpi_bananapi-r2
|
||||
depends on TARGET_mediatek_mt7623_DEVICE_bpi_bananapi-r2 || TARGET_DEVICE_mediatek_mt7623_DEVICE_bpi_bananapi-r2 || TARGET_mediatek_mt7623_DEVICE_unielec_u7623-emmc || TARGET_DEVICE_mediatek_mt7623_DEVICE_unielec_u7623-emmc
|
||||
default 32
|
||||
|
@ -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
|
Loading…
Reference in New Issue