mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
uboot-mediatek: add support for the BananaPi BPi-R4 Lite
The BPi R4 Lite can boot from microSD, SPI-NAND, SPI-NOR and eMMC. Build menu-driven U-Boot for each storage option. Provide options for installation from microSD to SPI-NAND and SPI-NOR, and from SPI-NAND to eMMC (similar to BPi-R3). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
9de7189ed4
commit
3a71dd5871
2 changed files with 1402 additions and 0 deletions
|
|
@ -785,6 +785,55 @@ define U-Boot/mt7986_zyxel_ex5601-t0
|
||||||
DEPENDS:=+trusted-firmware-a-mt7986-spim-nand-4k-ddr4
|
DEPENDS:=+trusted-firmware-a-mt7986-spim-nand-4k-ddr4
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define U-Boot/mt7987_bananapi_bpi-r4-lite-emmc
|
||||||
|
NAME:=BananaPi BPi-R4 Lite
|
||||||
|
BUILD_SUBTARGET:=filogic
|
||||||
|
BUILD_DEVICES:=bananapi_bpi-r4-lite
|
||||||
|
UBOOT_CONFIG:=mt7987a_bpi-r4-lite-emmc
|
||||||
|
UBOOT_IMAGE:=u-boot.fip
|
||||||
|
BL2_BOOTDEV:=emmc
|
||||||
|
BL2_SOC:=mt7987
|
||||||
|
BL2_DDRTYPE:=comb
|
||||||
|
DEPENDS:=+trusted-firmware-a-mt7987-emmc-comb
|
||||||
|
endef
|
||||||
|
|
||||||
|
define U-Boot/mt7987_bananapi_bpi-r4-lite-sdmmc
|
||||||
|
NAME:=BananaPi BPi-R4 Lite
|
||||||
|
BUILD_SUBTARGET:=filogic
|
||||||
|
BUILD_DEVICES:=bananapi_bpi-r4-lite
|
||||||
|
UBOOT_CONFIG:=mt7987a_bpi-r4-lite-sd
|
||||||
|
UBOOT_IMAGE:=u-boot.fip
|
||||||
|
BL2_BOOTDEV:=sdmmc
|
||||||
|
BL2_SOC:=mt7987
|
||||||
|
BL2_DDRTYPE:=comb
|
||||||
|
DEPENDS:=+trusted-firmware-a-mt7987-sdmmc-comb
|
||||||
|
endef
|
||||||
|
|
||||||
|
define U-Boot/mt7987_bananapi_bpi-r4-lite-snand
|
||||||
|
NAME:=BananaPi BPi-R4 Lite
|
||||||
|
BUILD_SUBTARGET:=filogic
|
||||||
|
BUILD_DEVICES:=bananapi_bpi-r4-lite
|
||||||
|
UBOOT_CONFIG:=mt7987a_bpi-r4-lite-snand
|
||||||
|
UBOOT_IMAGE:=u-boot.fip
|
||||||
|
BL2_BOOTDEV:=spim-nand2-ubi
|
||||||
|
BL2_SOC:=mt7987
|
||||||
|
BL2_DDRTYPE:=comb
|
||||||
|
DEPENDS:=+trusted-firmware-a-mt7987-spim-nand2-ubi-comb
|
||||||
|
endef
|
||||||
|
|
||||||
|
define U-Boot/mt7987_bananapi_bpi-r4-lite-nor
|
||||||
|
NAME:=BananaPi BPi-R4 Lite
|
||||||
|
BUILD_SUBTARGET:=filogic
|
||||||
|
BUILD_DEVICES:=bananapi_bpi-r4-lite
|
||||||
|
UBOOT_CONFIG:=mt7987a_bpi-r4-lite-nor
|
||||||
|
UBOOT_IMAGE:=u-boot.fip
|
||||||
|
BL2_BOOTDEV:=nor
|
||||||
|
BL2_SOC:=mt7987
|
||||||
|
BL2_DDRTYPE:=comb
|
||||||
|
DEPENDS:=+trusted-firmware-a-mt7987-nor-comb
|
||||||
|
FIP_COMPRESS:=1
|
||||||
|
endef
|
||||||
|
|
||||||
define U-Boot/mt7988_arcadyan_mozart
|
define U-Boot/mt7988_arcadyan_mozart
|
||||||
NAME:=Arcadyan Mozart
|
NAME:=Arcadyan Mozart
|
||||||
BUILD_SUBTARGET:=filogic
|
BUILD_SUBTARGET:=filogic
|
||||||
|
|
@ -1045,6 +1094,10 @@ UBOOT_TARGETS := \
|
||||||
mt7986_xiaomi_redmi-router-ax6000 \
|
mt7986_xiaomi_redmi-router-ax6000 \
|
||||||
mt7986_zyxel_ex5601-t0 \
|
mt7986_zyxel_ex5601-t0 \
|
||||||
mt7986_rfb \
|
mt7986_rfb \
|
||||||
|
mt7987_bananapi_bpi-r4-lite-emmc \
|
||||||
|
mt7987_bananapi_bpi-r4-lite-sdmmc \
|
||||||
|
mt7987_bananapi_bpi-r4-lite-snand \
|
||||||
|
mt7987_bananapi_bpi-r4-lite-nor \
|
||||||
mt7987_rfb-emmc \
|
mt7987_rfb-emmc \
|
||||||
mt7987_rfb-sd \
|
mt7987_rfb-sd \
|
||||||
mt7987_rfb-spim-nand \
|
mt7987_rfb-spim-nand \
|
||||||
|
|
|
||||||
1349
package/boot/uboot-mediatek/patches/470-add-bpi-r4-lite.patch
Normal file
1349
package/boot/uboot-mediatek/patches/470-add-bpi-r4-lite.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue