Part Number: TDA2EG
Tool/software: Linux
I followed the link below,
processors.wiki.ti.com/.../Early_Boot_and_Late_Attach_in_Linux,
and also followed the pdf steps in section 3.4 of the VisionSDK_Linux_UserGuide.pdf,
applied the patches in os_tools/linux/kernel/linux-kernel-addon/early-boot-patches,
finally, ran the script early-boot-update.sh to make the sd card,
but spl still read u-boot.img, ttl logs is like below,
U-Boot SPL 2016.05-00008-g1fbee98-dirty (Jun 02 2018 - 13:40:06)
DRA722-GP ES2.0
Trying to boot from MMC1
reading dra7-ipu2-fw.lzop
reading dra7-dsp1-fw.lzop
reading u-boot.img
spl_load_image_fat: error reading image u-boot.img, err - -1
Failed to mount ext2 filesystem...
spl_load_image_ext: ext4fs mount err - 0
then the program stopped,
why the spl still read u-boot.img?
Special note when executing make linux_install,
i got error,
cp: cannot stat ‘/home/autorad/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/modules/sgxRenderUtils/Tools/OGLES2/Build/Linux_armv7hf/ReleaseNullWS/libogles2tools.a’: No such file or directory
make[1]: *** [sgx_install] Error 1
make[1]: Leaving directory `/home/autorad/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build/hlos/makerules/linux'
make: *** [linux_install] Error 2
Is this the cause of spl still reading u-boot.img?
I build as the follow steps,
1. make clean
2. make depend
3. make vision_sdk
4. make linux
5. make linux_install
or
1. make clean
2. make linux
3. make linux_install
4. make depend
5. make vision_sdk
The result of both is the same.