Hi,
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,
CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION);
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! ;)
Guillaume
--
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org