Re: [ALL] uboot, SDHC, and ext2

2009-08-17 Thread Rask Ingemann Lambertsen
On Fri, Aug 14, 2009 at 08:59:13AM -0700, Russell Dwiggins wrote:

[Failure to read ext2 partition using ancient version of U-Boot]

> I added the info to the discussion of the Booting_from_SD page, but I
> thought I'd bring it up here as well since I haven't seen this discussed in
> the wiki or in these lists.  Is this well known?

   Well, OM U-Boot was patched nearly four months ago to address this very
issue. See

http://git.openmoko.org/?p=u-boot.git;a=shortlog;h=refs/heads/stable

>  Do we know if there is a
> uboot capable of  booting cards partitioned by modern mkfs?

   Just upgrade your U-Boot. You need the version
57f7a4288aaa08d2dc480a923372e7a7781ce882 or later. See
http://downloads.openmoko.org/distro/experimental/

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[ALL] uboot, SDHC, and ext2

2009-08-14 Thread Russell Dwiggins
I have been trying to make uboot boot my choice of distro (using ext2) on an
SD card for quite a while without success.  I had done it in the past with
FAT+ext2 partitions, but never with a single ext2 partition.  As a matter of
fact, uboot had never been able to show the contents of my SD card's ext2
partitions.  So I did some googling and found a discussion that seemed to
relate to my problem:
http://www.nabble.com/Problems-with-ext2ls---SD-ts22728281.html#a22756563

 

I tried the following:

mke2fs -I 128 /dev/sd*

copied a rootfs from one of the working distros, started uboot, mmcinit, and
lo and behold, ext2ls listed the contents of the partition, and uboot booted
it!

 

I added the info to the discussion of the Booting_from_SD page, but I
thought I'd bring it up here as well since I haven't seen this discussed in
the wiki or in these lists.  Is this well known?  Do we know if there is a
uboot capable of  booting cards partitioned by modern mkfs?

 

Russell Dwiggins

 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community