Help needed: How to Specify MTD Partitions on NAND in a Device Tree
Mauri Sandberg
maukka at ext.kapsi.fi
Fri Feb 7 21:33:00 CET 2025
Hi Weijie
On 2/7/25 21:53, Weijie Gao wrote:
> Here's an example:
> https://github.com/openwrt/openwrt/blob/main/package/boot/uboot-mediatek/patches/105-configs-add-usefull-stuff-to-mt7988-rfb.patch#L316
Sorry, I should have been more specific. Actually defining the
partitions is the simpler part. But the mt7621.dtsi in U-boot tree does
not contain NAND controller node to begin with and I was not successful
in defining one. I tried copying/mimicking one from the mt7621.dtsi in
OpenWrt tree but that did not work out.
At the moment I get NAND working with the raw MT7621 driver only. Can I
somehow drive it with "spi-nand" or somthing similar?
Mauri
More information about the U-Boot
mailing list