Closed romanovj closed 9 months ago
Currently I'm using LEDE with 5.4 kernel with mtk_eth driver + hwnat 1.1 SW version and I have no problems with loading my own compiled mt7615e driver from this repo. So I'm thinking about creating dts for my device and compiling swrt. But I want to keep stock BL.
I don't have your device so I'm not sure, if you want to add support for your device, you can creating a pull request and I'll check if it's correct(partition table, gpio, etc.).
@paldier which partitions should I have? Factory Kernel (6MB is enough?) jffs2
Openwrt is using: Factory -1MB Kernel - 6MB Ubi - mtd-concat ~80MB
So I don't need to change partition table for openwrt.
Actually one thing is to compile kernel, dtb and rootfs, but another is to load these with stock bootloader. In theory after compiling kernel, dtb, rootfs I can pack it with scripts from openwrt, just need to change ubifs to jffs2.
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | lzma -a0 | \
uImage lzma
IMAGE/factory.img := append-kernel | sercomm-kernel-factory | \
append-ubi | sercomm-factory-cqr | sercomm-mkhash
I'm closing for now. Creating dts isn't a problem, currently I have no time for experiments with booting.
My device is the same as RM-AC2100(128MB NAND, 128MB RAM, MT7621/MT7603/MT7615/MT7530) partition table for openwrt