openwrt/target/linux/mediatek
Daniel Golle ce7209bd21 mediatek: add build for MT7981 RFB
Add build for the MTK3943 reference board for MT7981B+MT7976C.

**Hardware specification:**

 - SoC: MediaTek MT7981B 2x A53
 - Flash: various options
 - RAM: 256MB DDR3
 - Ethernet: 4 x 10/100/1000 Mbps via MT7531AE switch
        EITHER 1 x 10/100/1000 Mbps built-in PHY
            OR 1 x 10/100/1000/2500 Mbps MaxLinear GPY211C
 - Switch: MediaTek MT7531AE
 - WiFi: MediaTek MT7976C
 - Button: RST, WPS

**Flash instructions for SPIM-NAND:**
 - write *mt7981-rfb-spim-nand-preloader.bin to 'BL2' partition
 - write *mt7981-rfb-spim-nand-bl31-uboot.fip to 'FIP' partition
 - erase 'ubi' partition
 - reset board
 - create ubootenv and ubootenv2 UBI volumes in U-Boot
 - edit environment and set bootcmd, e.g.
   setenv bootconf 'config-1#mt7981-rfb-spim-nand#mt7981-rfb-mxl-2p5g-phy-eth1'
   setenv bootcmd 'ubi read $loadaddr fit; bootm $loadaddr#$bootconf'
 - load initramfs image via TFTP:
   setenv serverip 192.168.1.254
   setenv ipaddr 192.168.1.1
   setenv bootfile openwrt-mediatek-filogic-mediatek_mt7981-rfb-initramfs.itb
   saveenv ; saveenv
   tftpboot
   bootm $loadaddr#$bootconf
 - Now use sysupgrade to write OpenWrt firmware to flash.

SNFI-NAND, SPIM-NOR and eMMC all work very similar, a bootable SD card image
is also being generated. However, as the board I've been provided only comes
with SPIM-NAND all other boot media are untested.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-09-21 10:15:08 +01:00
..
base-files mediatek: add support for the GL.iNet GL-MT3000 2023-05-18 02:41:49 +01:00
dts mediatek: add support for Cetron CT3003 2023-09-08 23:17:26 +02:00
files/drivers/net/phy/rtk mediatek: prepare old rtk switch driver for use with Linux 6.1 2023-07-07 14:01:39 +02:00
files-5.15 mediatek: add build for MT7981 RFB 2023-09-21 10:15:08 +01:00
files-6.1 mediatek: add build for MT7981 RFB 2023-09-21 10:15:08 +01:00
filogic mediatek: add build for MT7981 RFB 2023-09-21 10:15:08 +01:00
image mediatek: add build for MT7981 RFB 2023-09-21 10:15:08 +01:00
mt7622 kernel: remove CRYPTO_BLAKE2S from all >=5.15 2023-07-08 16:54:01 +02:00
mt7623 mediatek: adapt kernel configuration for Linux 6.1 2023-07-07 14:01:39 +02:00
mt7629 mediatek: adapt kernel configuration for Linux 6.1 2023-07-07 14:01:39 +02:00
patches-5.15 kernel: bump 5.15 to 5.15.132 2023-09-20 14:13:00 +02:00
patches-6.1 mediatek: fix the name of buswidth to bus-width 2023-09-05 15:40:43 +08:00
Makefile mediatek: expose testing Linux 6.1 testing kernel 2023-07-07 14:01:39 +02:00
modules.mk mediatek: mt7623: build mt6577_auxadc driver into kernel 2022-12-05 23:14:36 +00:00