[U-Boot] [PATCH 00/20] Add support for MediaTek SoCs - MT7623n / MT7629

Matthias Brugger matthias.bgg at gmail.com
Tue Oct 2 15:08:56 UTC 2018



On 02/10/2018 08:13, Ryder Lee wrote:
> Hello,
> 
> This is first round (time) to add U-boot support for MediaTek SoCs (MT7623n and MT7629),
> and the most of the drivers are based on mainline Linux, like clock, timer, mmc, pinctrl,
> watchdog, power domain and DTS.  
> 
> 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 ns16550.c but add a highspeed register for MediaTek UARTs.
> - add a whole new SNOR driver mtk_qspi.c which is based on SPI master-slave hierarchy.
> 
> Our current progress:
> The MT7623n (BananaPi R2) which has already supported in mainline Linux.
> - We can choice to boot from eMMC or SD card. (ROM -> MediaTek preloder -> U-boot ...)
> - MT7623n has an open development board called BananaPi R2 [1].
> 
> The MT7629 which has NOT supported in mainline Linux yet, but we will do it soon.
> - Boot from SNOR. (ROM -> (boot header parsing sequence) -> SPL -> U-boot ...)
> 
> [1] http://wiki.banana-pi.org/Banana_Pi_BPI-R2
> 
> Thanks,
> Ryder
> 
> Guochun Mao (1):
>   spi: mtk_qspi: add qspi driver for MT7629 SoC
> 
> Ryder Lee (16):
>   tools: MediaTek: add MTK boot header generation to mkimage
>   arm: MediaTek: add basic support for MT7629 boards
>   arm: dts: MediaTek: add MT7629 reference board support
>   arm: dts: MediaTek: add MT7623 Bananapi R2 board support
>   configs: MediaTek: add MT7629 reference board support
>   clk: MediaTek: add clock driver for MT7629 SoC.
>   clk: MediaTek: add clock driver for MT7623 SoC.
>   timer: MediaTek: add timer driver for MediaTek SoCs
>   watchdog: MediaTek: add watchdog driver for MediaTek SoCs
>   pinctrl: MediaTek: add pinctrl driver for MT7629 SoC
>   pinctrl: MediaTek: add pinctrl driver for MT7623 SoC
>   power domain: MediaTek: add power domain driver for MT7629 SoC
>   power domain: MediaTek: add power domain driver for MT7623 SoC
>   serial: 16550: allow the driver to support MediaTek serial
>   ram: MediaTek: add DDR3 driver for MT7629 SoC
>   MAINTAINERS: add an entry for MediaTek
> 
> Weijie Gao (3):
>   arm: MediaTek: add basic support for MT7623 boards
>   configs: MediaTek: add MT7623 Bananapi R2 board support
>   mmc: mtk-sd: add SD/MMC host controller driver for MT7623 SoC
> 

I tried the series on my bananapi-r2 and I was able to boot into the kernel:

Tested-by: Matthias Brugger <matthias.bgg at gmail.com>


More information about the U-Boot mailing list