uboot-mediatek: build fully-featured U-Boot for MT7988 RFB
authorDaniel Golle <daniel@makrotopia.org>
Fri, 25 Aug 2023 02:58:33 +0000 (03:58 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 1 Sep 2023 21:18:10 +0000 (22:18 +0100)
commit1c1cafa0c62c312a909c02d9f10d539c23454f46
treea01c38ef1958ad8be6c24ca807ab9a543d341d1e
parent3ba8e35cd31c6f3b152a21a573fd32329fce2e81
uboot-mediatek: build fully-featured U-Boot for MT7988 RFB

Select many potentially useful options for the MT7988 RFB U-Boot builds.
The resulting loader is intended as a development tool and intends to be
generic. It does *not* have a default bootcmd set, but allows to boot
pretty much everything, including EFI executables.

To install this U-Boot build to the eMMC:
  opkg install mmc-utils partx-utils
  mmc bootpart enable 1 1 /dev/mmcblk0
  echo 0 > /sys/block/mmcblk0boot0/force_ro
  dd if=*mediatek_mt7988a-rfb-nand-emmc-preloader.bin of=/dev/mmcblk0boot0
  dd if=*mediatek_mt7988a-rfb-nand-emmc-gpt.bin of=/dev/mmcblk0
  partx -a /dev/mmcblk0
  dd if=*mediatek_mt7988a-rfb-nand-emmc-bl31-uboot.fip of=/dev/mmcblk0p3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 1d5778e18d9a6bef26aff3a8594306fc45e9be76)
package/boot/uboot-mediatek/Makefile
package/boot/uboot-mediatek/patches/100-16-cmd-bootmenu-add-ability-to-select-item-by-shortkey.patch
package/boot/uboot-mediatek/patches/101-29-board-mediatek-add-MT7988-reference-boards.patch
package/boot/uboot-mediatek/patches/105-configs-add-usefull-stuff-to-mt7988-rfb.patch [new file with mode: 0644]