Tool/software:
Hi, TI expert!
I have a development environment for am6234, with our own evaluation board.
The software SDK version is PROCESSOR-SDK-LINUX-RT-AM62X-08.06.00.42.
On the hardware side, I set the board to EMMC backup startup as follows:
I refer to the following link and use an uncompressed kernel image (Image)to achieve quick startup.
In this case, it is possible to start the kernel normally.
However, when r5 SPL loads the kernel image and ramfs, it takes a long time to wait, as shown in the following video:
The following are the sizes of kernel images, ramfs images, and atf-tee-dm-kernel-fdt.bin images:
root@ubuntu-1804:/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/linux-rt-5.10.168+gitAUTOINC+c1a1291911-gc1a1291911/arch/arm64/boot# du -sh Image 18M Image root@ubuntu-1804:/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/build/gen-img/itb/input# du -sh rootfs.cpio.gz 8.8M rootfs.cpio.gz root@ubuntu-1804:/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/output# du -sh atf-tee-dm-kernel-fdt.bin 28M atf-tee-dm-kernel-fdt.bin
Meanwhile,the configuration of atf-tee-dm-kernel-fdt.its is as follows
/dts-v1/; / { description = "Configuration to load ATF and SPL"; #address-cells = <1>; images { atf { description = "ARM Trusted Firmware"; data = /incbin/("/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/prebuilt-images/bl31.bin.signed"); type = "firmware"; arch = "arm64"; compression = "none"; os = "arm-trusted-firmware"; load = <0x9e780000>; /* This load/entry address pair is for use with AM62x */ entry = <0x9e780000>; }; tee { description = "OPTEE"; data = /incbin/("/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/prebuilt-images/bl32.bin.signed"); type = "tee"; arch = "arm64"; compression = "none"; os = "tee"; load = <0x9e800000>; /* Needs to match BL32_BASE in ATF */ entry = <0x9e800000>; }; dm { description = "DM binary"; data = /incbin/("/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/prebuilt-images/ipc_echo_testb_mcu1_0_release_strip.xer5f.signed"); type = "firmware"; arch = "arm32"; compression = "none"; os = "DM"; load = <0x89000000>; entry = <0x89000000>; }; kernel { description = "Linux Kernel (64-bit)"; data = /incbin/("/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/linux-rt-5.10.168+gitAUTOINC+c1a1291911-gc1a1291911/linux.bin.sec"); type = "kernel"; os = "linux"; arch = "arm64"; compression = "none"; load = <0x80080000>; /* Needs to match PRELOADED_BL33_BASE in ATF */ entry = <0x80080000>; }; ramdisk { description = "ramdisk"; data = /incbin/("/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/linux-rt-5.10.168+gitAUTOINC+c1a1291911-gc1a1291911/ramdisk.sec"); type = "ramdisk"; arch = "arm64"; os = "linux"; compression = "gzip"; load = <0x81600000>; entry = <0x81600000>; }; fdt { description = "k3-am62x-sk.dtb.sec"; data = /incbin/("/home/liweiyu/am62x/debug/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/linux-rt-5.10.168+gitAUTOINC+c1a1291911-gc1a1291911/arch/arm64/boot/dts/ti/k3-am62x-sk.dtb.sec"); type = "flat_dt"; arch = "arm"; compression = "none"; load = <0x82000000>; /* Needs to match K3_HW_CONFIG_BASE in ATF */ }; }; configurations { default = "k3-am62x-sk.dtb.sec"; k3-am62x-sk.dtb.sec { description = "k3-am62x-sk.dtb.sec"; firmware = "atf"; loadables = "tee", "dm", "kernel", "ramdisk", "fdt"; }; }; };
If Falcon Mode is not used, loading images directly with uboot will be faster.
I would like to ask how to improve the loading speed of the image in Falcon Mode when use emmc backup startup?
Regards,
Li