Need help with making flash partitions

Artem Bityutskiy Artem.Bityutskiy at nokia.com
Tue May 13 04:44:49 EDT 2008


Hi,

I am trying to create an UBIFS image for OLPC and ask the community
to evaluate it. But I have some troubles I need help to deal with.

The basic approach I am going to use is to create 2 flash partitions
- "boot" and "root". "Boot" would contain /boot and have JFFS2. OF would
boot the kernel from this partition. Boot would be small, just few
Megs. "Root" partition would be large and contain everything else and
would be UBIFS.

Mitch kindly referred me to this web page which tells how to create
2 partitions: http://wiki.laptop.org/go/OFW_NAND_FLASH_Updater

My aim is to make UBIFS installation easy - people would just copy
some files to their FAT-formatted USB sticks and reboot. Just like
you update your laptops with JFFS2 images.

But I have troubles with security. Namely, if I change data.img, OF
complains about invalid signature. I tried to remove data.sig file -
it does not help. I tried to put my developer key to the USB stick -
does not help as well. I use B4 prototype and security is disabled
AFAIU.

Any suggestion? Thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)



More information about the Devel mailing list