u-boot mmc fat file system

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

u-boot mmc fat file system

1,423 次查看
Raj1234
Contributor III

I am little confused on storing a file to SD card flash in u-boot.

My card came pre-programmed with two files. (I dont know how these files got there.) I am trying to save a bmp file to flash. Only command I see is mmc read, mmc write and loadb commands. With mmc read, mmc write we are accessing the blocks and not writing as file but writing to blocks. How to know which blocks are empty, where to write my bmp file data and how will fat system know it is "file", I dont care if it handles as file. what is other way to save bmp file to flash and read back to RAM location to be used by u-boot for splash screen.

=> fatls mmc 0:1
47121 imx6dl-zebra.dtb
9113040 zimage
system volume information/

2 file(s), 1 dir(s)

标记 (1)
0 项奖励
回复
0 回复数