1. Compiling the image for FTP boot
1) uboot
Make Arch=arm Cross_compile=arm-linux-gnueabihf-o=flash-restore AM335X_EVM_RESTORE_FLASH_USBSPL
The generated u-boot.img is copied to the FTP directory under the Flash-restore directory and renamed to U-boot-restore.img
The generated u-boot-spl.bin is copied to the FTP directory under the FLASH-RESTORE/SPL directory and renamed to U-boot-spl-restore.bin
2) Uimage
Make Cross_compile=arm-linux-gnueabihf-arch=arm Tisdk_am335x-evm_defconfig
Make Cross_compile=arm-linux-gnueabihf-arch=arm Menuconfig
Add Initramfs to the kernel and configure USB Rndis support
Make Cross_compile=arm-linux-gnueabihf-arch=arm Uimage
Generated uimage under Arch/arm/boot directory, copy uimage to FTP directory
2. Compiling the image for burn-write
1) uboot
Make Arch=arm Cross_compile=arm-linux-gnueabihf-o=emmc AM335X_EVM
The generated u-boot.img and MLO are in the eMMC directory
2) Uimage
Make Cross_compile=arm-linux-gnueabihf-arch=arm Tisdk_am335x-evm_defconfig
Make Cross_compile=arm-linux-gnueabihf-arch=arm Uimage
The generated uimage is in the Arch/arm/boot directory
3) making burning and writing files
Tar zcvf boot_partition.tar.gz MLO u-boot.img uimage
Copy boot_partition.tar.gz and rootfs_partition.tar.gz to FTP directory or SD for burning
Description
1) Compile u-boot Two configuration options AM335X_EVM_RESTORE_FLASH_USBSPL and AM335X_EVM can be found in boards.cfg of the U-boot root directory
2) Initramfs and rootfs_partition.tar.gz can be downloaded from TI website
3) USB Rndis configuration method can be found on the TI official website