Consider unpacking an android firmware image made for Khadas Vim using for example the C code in this post or by ‘Amlogic customization tool’.
When I use the compiled C code with an android 7.1 image, I get these files: (These are also present in ‘tmp/level1’ folder in customization tool v2.0.8 installation directory and It is not important to use which of images provided by khadas)
Excluding some minor config files here, I know each of these images are a partition in my device’s eMMC. But there is some questions about these files:
1- I know bootloader.PARTITION is the same as u-boot.bin in out folder of my android sources directory after compilation. But what are UBOOT.USB and aml_sdc_burn.UBOOT files? I guess one is used when burning image via USB tool and one for burning via SD card. But I do not have any idea what these files contain and what is the relation regarding U-boot.bin?
I had seen this file but please acknowledge that it does not give us much information about those files (The conf file more or less could be viewed just as a separation of files name and extension!)
I am just so curious why we might have more than one file for bootloader. (which is the U-boot partition burned into eMMC : u-boot.bin in your case). I guess those two files (i.e. u-boot.bin.sd.bin and u-boot.bin.usb.tpl in your case) used during burn process (either via USB or sdcard) but I am not sure.
I have no idea about DDR.USB too!
Thank you @Terry