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)