> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Wednesday, September 11, 2013 7:33 AM
> To: Hu Mingkai-B21284
> Cc: linuxppc-...@ozlabs.org
> Subject: Re: [PATCH] powerpc/85xx: DTS - re-organize the SPI partitions
> property
> 
> On Fri, 2013-09-06 at 16:05 +0800, Mingkai Hu wrote:
> > Re-organize the SPI partitions and use the same SPI flash memory map
> > for most of the platforms which have 16MB SPI flash mounted.
> [snip]
> > Based on 'next' branch on git tree:
> > git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git
> >
> >  arch/powerpc/boot/dts/bsc9131rdb.dtsi  | 35 ++++++++++++--------------
> ---
> >  arch/powerpc/boot/dts/c293pcie.dts     | 35 ++++++++++++--------------
> ---
> >  arch/powerpc/boot/dts/mpc8536ds.dtsi   | 12 +++++-----
> >  arch/powerpc/boot/dts/p1010rdb.dtsi    | 40 ++++++++++++--------------
> --------
> >  arch/powerpc/boot/dts/p1020rdb-pc.dtsi | 24 +++++---------------
> > arch/powerpc/boot/dts/p1020rdb-pd.dts  | 34 ++++++++++++---------------
> --
> >  arch/powerpc/boot/dts/p1020rdb.dtsi    | 23 ++++---------------
> >  arch/powerpc/boot/dts/p1021mds.dts     | 17 +++++++--------
> >  arch/powerpc/boot/dts/p1021rdb-pc.dtsi | 32 +++++++++-----------------
> -
> >  arch/powerpc/boot/dts/p1022ds.dtsi     | 21 +++++++++---------
> >  arch/powerpc/boot/dts/p1023rds.dts     | 10 ++-------
> >  arch/powerpc/boot/dts/p1024rdb.dtsi    | 40 ++++++++++++--------------
> --------
> >  arch/powerpc/boot/dts/p1025rdb.dtsi    | 23 +++++--------------
> >  arch/powerpc/boot/dts/p2020rdb-pc.dtsi | 40 ++++++++++++--------------
> --------
> >  arch/powerpc/boot/dts/p2020rdb.dts     | 38 ++++++++++----------------
> ------
> >  arch/powerpc/boot/dts/p2041rdb.dts     | 12 +++++-----
> >  arch/powerpc/boot/dts/p3041ds.dts      | 12 +++++-----
> >  arch/powerpc/boot/dts/p4080ds.dts      | 12 +++++-----
> >  arch/powerpc/boot/dts/p5020ds.dts      | 12 +++++-----
> >  arch/powerpc/boot/dts/p5040ds.dts      | 13 ++++++-----
> 
> What happens to exsting users whose flash is laid out the existing way,
> when they upgrade to these device trees?
> 

The SPI flash layout should be mapping the new device tree.

If the existing device tree is used to deploy the SPI flash, the following 
issues
must be run into as the commit message described:

1. Kernel images would be overlapped with U-Boot image.
2. Kernel images would be overlapped with FMAN ucode.
3. Saving environment variables will crash the kernel image.

> We really should not be putting partition layout info in the device tree
> to begin with...
> 
OK, I will remove the layout diagram in the commit message.

Thanks,
Mingkai
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to