On 12/06/2012 05:09 PM, Guillaume Gardet wrote:
I wanted to test latest u-boot for beagleboard (we currently use an
old linaro u-boot for beagleboard).
And I found some problems about ext2 to ext4 transition (due to u-boot
update I guess).
First error is in mlo-ext2.patch in spl/Makefile:
+LIBS-$(CONFIG_SPL_FAT_SUPPORT) += fs/ext2/libext2fs.o
should be replaced with:
+LIBS-$(CONFIG_SPL_FAT_SUPPORT) += fs/ext4/libext4fs.o
otherwise, we have a build error since ext2 does not exist!
Once fixed, boot from MMC hangs early because "ext4fs_set_blk_dev"
function is misused.
We are using:
err = ext4fs_set_blk_dev(&mmc->block_dev,
But arg number 2 must be "disk_partition_t *info" and not "int" as it
was the case for ext2fs_set_blk_dev!
Alex, could you have a look at it? According to the *.changes files,
you are the best to fix it! ;)
I actually thought I had updated it already, but maybe back then the new
package also broke :). Or I did it for a contrib project.
I'll check up on things and see if I can pull u-boot to a newer version.
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org