bsp - Load u-boot.ldr in bf548 ezkit using sd card -
i working on bf548 ezkit lite, had done tftp booting in it. kernel , jffs2 file system loaded , got root prompt.
but need use sd card booting, had made ext2 partition sd card , copy u-boot.ldr(boot loader) in it, when try load file after inserting sd card board had got error
tranfering data failed
** ext4fs_devread read error - blockfailed mount ext2 filesystem...
** unrecognized filesystem type **
search on net not find , add log detail shows sd card detected.
bfin> mmcinfo device: blackfin sdh manufacturer id: 3 oem: 5344 name: sd02g tran speed: 25000000 rd block len: 512 sd version 2.0 high capacity: no capacity: 1.8 gib bus width: 4-bit bfin> bfin> ext2load mmc 0 0x1000000 u-boot.ldr tranfering data failed ** ext4fs_devread read error - block failed mount ext2 filesystem... ** unrecognized filesystem type ** bfin>
i had tried different sd card still got same problem, 1 have clue this? please share.
u-boot version= 2014.07. linux kernel = 4.5.4
i using buildroot making board support package.
thank in advance....
ah, problem is:
bfin> ext2load mmc 0 0x1000000 u-boot.ldr
and should be:
bfin> ext4load mmc 0:1 0x1000000 u-boot.ldr
as need specify both mmc device (0) , partition on device (1 made 1 partition on sd card , formatted that). saying 0 causes try , read whole device filesystem fails when runs partition table. , need use 'ext4load' (or load, if have generic commands enabled) since you've got ext3/ext4 , not ext2.
Comments
Post a Comment