Re: Help needed: How to Specify MTD Partitions on NAND in a Device Tree

2025-02-09 Thread Weijie Gao
I remembered that the raw nand framework does not support dt binding. It's not a uclass driver. So the way is to rewrite the driver as a mtd uclass driver. Best Regards, Weijie Mauri Sandberg 于2025年2月8日周六 17:04写道: > > > > On 7.2.2025 22.33, Mauri Sandberg wrote: > > Hi Weijie > > > > On 2/7/25 2

Re: Help needed: How to Specify MTD Partitions on NAND in a Device Tree

2025-02-08 Thread Mauri Sandberg
On 7.2.2025 22.33, Mauri Sandberg wrote: > 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 sp

Re: Help needed: How to Specify MTD Partitions on NAND in a Device Tree

2025-02-07 Thread Mauri Sandberg
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

Re: Help needed: How to Specify MTD Partitions on NAND in a Device Tree

2025-02-07 Thread Weijie Gao
Hi Mauri, 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 Weijie Mauri Sandberg 于2025年2月8日周六 03:06写道: > > Hello all, > > I have a MT7621A basec SoC, which I am trying to update the boot pr

Help needed: How to Specify MTD Partitions on NAND in a Device Tree

2025-02-07 Thread Mauri Sandberg
Hello all, I have a MT7621A basec SoC, which I am trying to update the boot prcess for. As it is now, I have v2024.10 based U-boot running and I can specify MTD partitions using env variable 'mtdparts' and use them all right. But I am looking for a way to specify them in a device tree. Linux iden