Hi to all the OpenWrt community, I'd like to add the support for this board.
It's based on MediaTek MT7621A with MediaTek MT7612E (an+ac) (2x2:2) for 5Ghz and MediaTek MT7603E (bgn) (2x2:2) for 2.4Ghz.
It has 16MB spi flash and 128MB ram. WikiDevi page
UBoot log
U-Boot 1.1.3 (Nov 25 2016 - 09:05:05)
Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer at: 87fb8000
Config XHCI 40M PLL
flash manufacture id: ef, device id 40 18
find flash: W25Q128BV
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=5 OCP Ratio=1/3
Flash component: SPI Flash
Date:Nov 25 2016 Time:09:05:05
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =128 Mbytes
#Reset_MT7530
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
4 3 2 1 0
3: System Boot system code via Flash.
## Booting image at bfc50000 ...
Image Name: OpenWrt Linux-3.10.14
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1573191 Bytes = 1.5 MB
Load Address: 80001000
Entry Point: 80001000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
LINUX started...
MTD
mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 5 MTD partitions on "raspi":
0x000000000000-0x000001000000 : "ALL"
0x000000000000-0x000000030000 : "Bootloader"
0x000000030000-0x000000040000 : "Config"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000001000000 : "firmware"
0x0000001d0187-0x000001000000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs_data" created automatically, ofs=0x730000, len=0x8d0000
0x000000730000-0x000001000000 : "rootfs_data"
root@Kasda:/# cat /proc/mtd
dev: size erasesize name
mtd0: 01000000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00fb0000 00010000 "firmware"
mtd5: 00e2fe79 00010000 "rootfs"
mtd6: 008d0000 00010000 "rootfs_data"
Now what are the next steps? I am a bit lost.
I've already forked the OpenWrt repo, should I start writing a DTS for the board?
Then I have another question: if I build a ramdisk with the build system I should be able to load it via Uboot's option 1 (Load system code to SDRAM via TFTP), is that right?