devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Options to store device tree blob on NAND Flash
@ 2013-03-19 15:15 Hector Palacios
       [not found] ` <5148812D.4090305-i7dp0qKlBMg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hector Palacios @ 2013-03-19 15:15 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

Hello,

For embedded devices where NAND flash is the only storage media, I was wondering what 
are the existing approaches on how to store the device tree blob in flash.
Searching on the Internet I have found only two approaches:
  1. Have a dedicated MTD partition for the device tree blob (raw).
  2. Have a UBI volume on a partition and store the device tree blob as a file in a 
UBIFS partition (this approach also stores the kernel image as a file in the same or 
different volume).

Is anybody using other approach for storing the DTB in flash?
What method is more widely used in embedded devices?

Best regards,
-- 
Héctor Palacios

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Options to store device tree blob on NAND Flash
       [not found] ` <5148812D.4090305-i7dp0qKlBMg@public.gmane.org>
@ 2013-04-15 13:28   ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2013-04-15 13:28 UTC (permalink / raw)
  To: Hector Palacios, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

On Tue, 19 Mar 2013 16:15:57 +0100, Hector Palacios <hector.palacios-i7dp0qKlBMg@public.gmane.org> wrote:
> Hello,
> 
> For embedded devices where NAND flash is the only storage media, I was wondering what 
> are the existing approaches on how to store the device tree blob in flash.
> Searching on the Internet I have found only two approaches:
>   1. Have a dedicated MTD partition for the device tree blob (raw).
>   2. Have a UBI volume on a partition and store the device tree blob as a file in a 
> UBIFS partition (this approach also stores the kernel image as a file in the same or 
> different volume).
> 
> Is anybody using other approach for storing the DTB in flash?
> What method is more widely used in embedded devices?

Either if fine providing U-Boot (or whatever) is able to read it. Having
the data in a filesystem is probably more convenient.

g.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-15 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 15:15 Options to store device tree blob on NAND Flash Hector Palacios
     [not found] ` <5148812D.4090305-i7dp0qKlBMg@public.gmane.org>
2013-04-15 13:28   ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).