Skip to contentSkip to conversation

howto flash ubi rootfs image into nand flash with u-boot?

U-Boot Dieter Kiermaier 2 participants 2 messages Feb 12, 2010

lore
Share & tools
lore
#0 lore raw

Hi everybody,

I wonder how I can flash a ubi rootfs image into my NAND flash by using u-boot to do this?

The doc inside u-boot doesn't show me some readme and also google doesn't have some interesting links for me.
The online help of the ubi commands is "a bit crypted " - at least for me and the denx online manual has no entries about ubi commands :(

Please can someone point me into the right direction?

Thank you very much and have fun,
Dieter

#1 lore raw

Hello Dieter,

Quoted 9 lines

I wonder how I can flash a ubi rootfs image into my NAND flash by using u-boot to do this?

The doc inside u-boot doesn't show me some readme and also google doesn't have some interesting links for me. The online help of the ubi commands is "a bit crypted " - at least for me and the denx online manual has no entries about ubi commands :(

Please can someone point me into the right direction?

Well, in theory you should wrap your ubifs image with ubinize to get "raw" contents which should be flashable with the standard nand write commands (or any other flashing method).

Note however that I did not (yet) test this theory, so keep us posted how reality relates to it ;)

Cheers
Detlev

Signature · 6 lines
14474011154664524427946373126085988481573677491474835889066354349131199152128
If you know why this number is perfect - you're probably a mathematician...
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de