Hello, I want add a special MT7621 board support.
It boot from the SDIO TF card or USB drive.
I think it is unfair for 16 or 32MB nor flash device have ext4, usb, and mmc driver compiled in kernel.
A initramfs kmod loader was designed for this device, it will load drivers for kernel in initrd stage.
It works well, but add additional image build stage (pack a “loader” ramdisk) and extra package (the loader sourcecode ) to ramips target.
Is this modification ok for current ramips target?
Edit:
Codes:
whole commit: https://github.com/DasSecurity-HatLab/openwrt/commit/dbc6c19ad95a6ce877f13fae352a4557da7eac8b
the initrd stage kmod loader: https://github.com/DasSecurity-HatLab/openwrt/tree/dbc6c19ad95a6ce877f13fae352a4557da7eac8b/package/rdloader
build stage modification: https://github.com/DasSecurity-HatLab/openwrt/commit/dbc6c19ad95a6ce877f13fae352a4557da7eac8b?diff=unified#diff-5ac2666a9f7c325aa6d42d94872a91ebe7d8af73e2f708dc0f8564b0f3f88cd8
Device Information
- SoC: MediaTek MT7621AT
- RAM: 512 MiB
- Flash: 512KiB (SPI NOR)
- Ethernet: 10/100/1000 Mbps Ethernet x5 ports + 1 GE RJ45/SFP Combo port
- POE: 12/36 & 45/78 pin connector
- MiniPCIe: 3x slot with PCIe1.1 & I2C & USB & SIM
- USB: 1x 3.0 Type-A port
- External storage: 1x microSD (SDXC) slot
- Type-C: MAX 20V PD supply and USB UART console (115200)
- Power: 5~24V 2.5 JACK
- LED:
- 1 power indicator
- 1 system indicator
- 1 usb indicator
- 3 mpcie slot indicator