Ubifs support from uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ubifs support from uboot

1,708 Views
recepyigitbasi
Contributor I

I am working with MX_25 board and i have a problem with uboot code.

Is there any way to check ubi volume integrity from bootloader?

I want to access UBI volume(ubi0) from bootloader in order to check ubi volume integrity.

For this purpose, I have opened some definitions in bootloader's  header file for enabling UBI/UBIFS in uboot;

#define CONFIG_CMD_NAND

#define CONFIG_CMD_UBI

#define CONFIG_CMD_UBIFS

#define CONFIG_RBTREE

#define CONFIG_MTD_DEVICE

#define CONFIG_MTD_PARTITIONS

#define CONFIG_CMD_MTDPARTS

#define CONFIG_LZO

These definitions have been added and bootloader code has been built successfuly.

I have loaded generated u-boot.bin file to my board with MfgTool but my board is not opened.Uboot is not starting!

What can I do about it?

or is there any method for doing this or any documentation about it?.

Thanks.

Tags (3)
0 Kudos
2 Replies

737 Views
igorpadykov
NXP Employee
NXP Employee

Hi recep

I am afraid UBI is not supported for i.MX25 Uboot NAND,

in general you can port codes from i.MX35 (it has similar NFC

module), link below

i.MX35 PDK NAND Creating and Flashing UBIFS image

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

737 Views
saurabh206
Senior Contributor III

Hi,

Send your post to imx community (e.g. i.MX Community ) to get it visible for active members.

Saurabh

0 Kudos