Help needed: How to Specify MTD Partitions on NAND in a Device Tree
Weijie Gao
hackpascal at gmail.com
Fri Feb 7 20:53:31 CET 2025
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 <maukka at ext.kapsi.fi> 于2025年2月8日周六 03:06写道:
>
> 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 identifies the flash chip as:
> [ 1.830000] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xda
> [ 1.840000] nand: ESMT NAND 256MiB 3,3V 8-bit
>
> If someone can give my any pointers it would be much appreciated.
>
> Thanks,
> Mauri
>
>
More information about the U-Boot
mailing list