[LEDE-DEV] [PATCH] ipq806x: replace linux, part-probe with a proper partitions subnode

Stefan Lippers-Hollmann s.l-h at gmx.de
Tue Jan 16 11:34:40 PST 2018


Hi

On 2018-01-11, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This solution is more upstream compatible as it only requires specifying
> of_match_table in the parser code and doesn't depend on linux,part-probe
> which is solution made generic by a LEDE downstream patch that can't be
> upstreamed.
[...]

Tested-by: Stefan Lippers-Hollmann <s.l-h at gmx.de>

[    0.000000] OF: fdt:Machine model: ZyXEL NBG6817
...
[    0.000000] Kernel command line: rootfstype=squashfs,ext4 rootwait noinitrd root=/dev/mmcblk0p8
[    0.000000] Bootloader command line (ignored): board=NBG6817 root=/dev/mmcblk0p8 rootwait zld_ver=2.04 console=ttyHSL1,115200n8 mtdparts=m25p80:0xC0000(SBL)ro,0x40000(TZ)ro,0x40000(RPM)ro,0x80000(u-boot)ro,0x10000(env)ro,0x10000(ART)ro,0x10000(dualflag),0x210000(reserved)
...
[    1.136985] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.138996] m25p80 spi32766.0: mx25u3235f (4096 Kbytes)
[    1.144963] 13 qcom-smem partitions found on MTD device spi32766.0
[    1.149927] Creating 13 MTD partitions on "spi32766.0":
[    1.156097] 0x000000000000-0x000000020000 : "0:SBL1"
[    1.162380] 0x000000020000-0x000000040000 : "0:MIBIB"
[    1.167429] 0x000000040000-0x000000060000 : "0:SBL2"
[    1.172427] 0x000000060000-0x0000000a0000 : "0:SBL3"
[    1.177536] 0x0000000a0000-0x0000000b0000 : "0:DDRCONFIG"
[    1.182473] 0x0000000b0000-0x0000000c0000 : "0:SSD"
[    1.187679] 0x0000000c0000-0x000000100000 : "0:TZ"
[    1.192342] 0x000000100000-0x000000140000 : "0:RPM"
[    1.197190] 0x000000140000-0x0000001c0000 : "0:APPSBL"
[    1.202027] 0x0000001c0000-0x0000001d0000 : "0:APPSBLENV"
[    1.207300] 0x0000001d0000-0x0000001e0000 : "0:ART"
[    1.212693] 0x0000001e0000-0x0000001f0000 : "0:DUAL_FLAG"
[    1.217453] 0x0000001f0000-0x000000400000 : "0:RESERVED"

Regards
	Stefan Lippers-Hollmann



More information about the Lede-dev mailing list