Re: [PATCH 1/3] ARM: dts: Add headers with constants for MTD partitions

2013-06-19 Thread Florian Vaussard
Hello, Thank you for the review. On 06/12/2013 03:05 PM, Grant Likely wrote: On Tue, 11 Jun 2013 16:48:56 +0200, Florian Vaussard florian.vauss...@epfl.ch wrote: These constants can be used to easily declare MTD partitions inside DTS. The constants MTDPART_OFS_* are purposely not included

Re: [PATCH 1/3] ARM: dts: Add headers with constants for MTD partitions

2013-06-12 Thread Grant Likely
On Tue, 11 Jun 2013 16:48:56 +0200, Florian Vaussard florian.vauss...@epfl.ch wrote: These constants can be used to easily declare MTD partitions inside DTS. The constants MTDPART_OFS_* are purposely not included. Indeed, parse_ofpart_partitions() is expecting u64, but a DT cell is u32

[PATCH 1/3] ARM: dts: Add headers with constants for MTD partitions

2013-06-11 Thread Florian Vaussard
These constants can be used to easily declare MTD partitions inside DTS. The constants MTDPART_OFS_* are purposely not included. Indeed, parse_ofpart_partitions() is expecting u64, but a DT cell is u32. Negative constants, as defined by MTDPART_OFS_*, would be wrongly interpreted

Re: [PATCH 1/3] ARM: dts: Add headers with constants for MTD partitions

2013-06-11 Thread Stephen Warren
On 06/11/2013 08:48 AM, Florian Vaussard wrote: These constants can be used to easily declare MTD partitions inside DTS. The constants MTDPART_OFS_* are purposely not included. Indeed, parse_ofpart_partitions() is expecting u64, but a DT cell is u32. Negative constants, as defined

Re: [PATCH 1/3] ARM: dts: Add headers with constants for MTD partitions

2013-06-11 Thread Florian Vaussard
Hello Stephen, On 06/11/2013 06:24 PM, Stephen Warren wrote: On 06/11/2013 08:48 AM, Florian Vaussard wrote: These constants can be used to easily declare MTD partitions inside DTS. The constants MTDPART_OFS_* are purposely not included. Indeed, parse_ofpart_partitions() is expecting u64

Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-09-01 Thread vimal singh
for your comments. There are indeed other implentations around using a common flash file for Zoom1 and Zoom2 boards. I didn't know of this specific implementation by Vimal Singh, but we use something very similar internally. Since linux-omap didn't had any MTD partitions definitions

Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-09-01 Thread Maxime Petazzoni
* vimal singh vimal.neww...@gmail.com [2009-09-01 12:34:26]: Yes, I am aware of the mtdparts command line arguments, which works great. I think a default, sensible partition layout for the Zoom2 would be nice though. I agree. Keeping it in the mind that mtdparts command line arguments

Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-09-01 Thread vimal singh
On Tue, Sep 1, 2009 at 12:42 PM, Maxime Petazzonimpetazz...@mvista.com wrote: * vimal singh vimal.neww...@gmail.com [2009-09-01 12:34:26]: Yes, I am aware of the mtdparts command line arguments, which works great. I think a default, sensible partition layout for the Zoom2 would be nice

RE: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-08-28 Thread Rix, Tom
, Tom Subject: Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions Hi, * Pandita, Vikram vikram.pand...@ti.com [2009-08-27 19:16:27]: Why? I know of an implementation by Vimal Singh that introduces a common flash file for Zoom1 and Zoom2. There is reuse of code there. Thanks for your

[PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-08-27 Thread Maxime Petazzoni
This change introduces default MTD partitions for the Zoom-II board NAND, inspired by the OMAP3 Beagle partitions and the OMAP3 Zoom2 partitions defined in OmapZoom.org's OMAP kernel. The size of the U-Boot environment partition was increased to 1MB, as the previously smaller partition couldn't

RE: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-08-27 Thread Pandita, Vikram
Petazzoni/Vimal -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Maxime Petazzoni Sent: Thursday, August 27, 2009 7:00 AM To: linux-omap@vger.kernel.org Subject: [PATCH] OMAP3: Zoom2: provide default MTD partitions

Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-08-27 Thread vimal singh
@vger.kernel.org Subject: [PATCH] OMAP3: Zoom2: provide default MTD partitions This change introduces default MTD partitions for the Zoom-II board NAND, inspired by the OMAP3 Beagle partitions and the OMAP3 Zoom2 partitions defined in OmapZoom.org's OMAP kernel. Thanks for putting this together

Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-08-27 Thread Maxime Petazzoni
flash file for Zoom1 and Zoom2 boards. I didn't know of this specific implementation by Vimal Singh, but we use something very similar internally. Since linux-omap didn't had any MTD partitions definitions for either boards, I decided to go for the smallest change: only partitions for Zoom2

RE: [PATCH] OMAP3: Zoom2: provide default MTD partitions

2009-08-27 Thread Pandita, Vikram
Vimal -Original Message- From: vimal singh [mailto:vimal.neww...@gmail.com] Sent: Thursday, August 27, 2009 9:03 AM To: Pandita, Vikram Cc: Maxime Petazzoni; Singh, Vimal; linux-omap@vger.kernel.org; Rix, Tom Subject: Re: [PATCH] OMAP3: Zoom2: provide default MTD partitions Hi, Also

Re: MTD partitions

2008-03-12 Thread Tim Chen
Thanks, David, I added the MTD partition information to board-($MYBOARD).c, But kernel didn't show any MTD partition information during booting. If I have to create the MTD partitions using MTD commands in u-boot first? My u-boot is old, no MTD support, if that's the case, I'll port the newer u