Talk:Booting the Neo FreeRunner from SD via U-Boot

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m
(Take care with inode size when formatting ext2 partitions: new section)
Line 8: Line 8:
 
== Benefits ==
 
== Benefits ==
 
What are the benefits of booting from SD? Does it improve the performance in terms of speed and/or non-SD RAM/ROM memory usage of the device? [[User:Pander|Pander]] 11:05, 20 July 2009 (UTC)
 
What are the benefits of booting from SD? Does it improve the performance in terms of speed and/or non-SD RAM/ROM memory usage of the device? [[User:Pander|Pander]] 11:05, 20 July 2009 (UTC)
 +
 +
== Take care with inode size when formatting ext2 partitions ==
 +
 +
I noticed uboot was having difficulty reading the cards I had formatted using my linux box.  Google to the rescue, I found the following discussion:
 +
[http://www.nabble.com/Problems-with-ext2ls---SD-ts22728281.html#a22756563 Uboot Discussion]
 +
 +
So apparently uboot is currently only reading ext2 partitions with an inode size of 128.  Recent default is 256.  I wonder if the mkfs with our distros defaults to 128?
 +
 +
Workaround:  mke2fs -I 128 /dev/sd*
 +
 +
Hopefully uboot will be updated to allow default inodes to be recognized.
 +
 +
--[[User:Undrwater|Undrwater]] 06:11, 14 August 2009 (UTC)Russell Dwiggins

Revision as of 07:11, 14 August 2009

Contents

Updating U-Boot

Can you link to instructions on updating the u-boot. I think this is it here.

sync after umount?

Using a sync after the umount is completely redundant right? After umount there is no block part in the kernel doing any caching, so there is nothing to actually sync anymore. So I think the sync should be removed. Bram

Benefits

What are the benefits of booting from SD? Does it improve the performance in terms of speed and/or non-SD RAM/ROM memory usage of the device? Pander 11:05, 20 July 2009 (UTC)

Take care with inode size when formatting ext2 partitions

I noticed uboot was having difficulty reading the cards I had formatted using my linux box. Google to the rescue, I found the following discussion: Uboot Discussion

So apparently uboot is currently only reading ext2 partitions with an inode size of 128. Recent default is 256. I wonder if the mkfs with our distros defaults to 128?

Workaround: mke2fs -I 128 /dev/sd*

Hopefully uboot will be updated to allow default inodes to be recognized.

--Undrwater 06:11, 14 August 2009 (UTC)Russell Dwiggins

Personal tools

Updating U-Boot

Can you link to instructions on updating the u-boot. I think this is it here.

sync after umount?

Using a sync after the umount is completely redundant right? After umount there is no block part in the kernel doing any caching, so there is nothing to actually sync anymore. So I think the sync should be removed. Bram

Benefits

What are the benefits of booting from SD? Does it improve the performance in terms of speed and/or non-SD RAM/ROM memory usage of the device? Pander 11:05, 20 July 2009 (UTC)