Skip to contentSkip to conversation

Options to store device tree blob on NAND Flash

DISCUSSION Hector Palacios 2 participants 2 messages Mar 19, 2013 – Apr 15, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Héctor Palacios

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 10 lines · Hector Palacios

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).

Quoted 2 lines

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.