Hello,
Add latest U-boot support for BPI-R2 & BPI R64 (not yet)
Status:
I’ve already sent the first round patches for MT7623n, and the most of the drivers are based on mainline Linux, like clock, timer, mmc, pinctrl, watchdog, power domain and DTS.
I will also upstream U-boot and ATF for MT7622 (BPI-R64) in the future.
The following are the major differences between Linux and U-boot:
-Modify the driver interface to adapt the U-boot DM framework.
-Remove unneeded DT nodes as they don’t have proper drivers in U-boot yet.
-Just add the basic functions (step-by-step) so that we can monitor the size.
-Reuse UART driver ns16550.c but add a highspeed register for MediaTek chips.
The current progress for R2:
-Boot from eMMC or SD card.
-ROM -> MediaTek preloder -> U-boot -> Linux
Todo list:
-Ethernet driver
-Other peripheral drivers.
-U-boot for MT7622
-ATF (arm trusted firmware) for MT7622
The patch sets:
-https://patchwork.ozlabs.org/project/uboot/list/?series=68601
How to build:
-make mt7623n_bpir2_defconfig; make
Ryder