On Thursday, September 07, 2006 11:10 AM Guillermo Prandi wrote:
> Hi, Michael. Having the real RedBoot partition parsed at the kernel
> boot would allow for partition reordering and resizing. In my case, I
> wanted to store a larger kernel (although I didn't need it in the
> end), and a larger kernel partition was needed. To achieve that, I
> would have to edit the mtd flash kernel struct to reflect the new
> partition sizes (drivers/mtd/maps/ts7xxx.c). There is a RedBoot
> partition parser in drivers/mtd/redboot.c, but I couldn't make it
> work.
You can already store a (much) larger kernel. The kernel is stored in the
RedBoot partition, and that partition has a substantial amount of free
space. For instance on a TS-7250 you have just under 3MB; 256KB is taken by
RedBoot, and 1 block (128KB or less) is taken by fisdir+fconfig. The TS11
kernel takes 768k (rounded up to the nearest block) so this leaves nearly
1920k; your kernel size could triple and still fit with room left to spare
in case of bad blocks.
I'm not sure you would want to re-order partitions, as there might be issues
with how MTD or even TS-BOOTROM would find RedBoot.
Michael
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|