This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5708: SD mode boot

Part Number: AM5708


Hi:
board:Custom board AM5708
RDK:ti-processor-sdk-linux-am57xx-evm-04.03.00.05-Linux-x86-Install.bin
My board can't be started using SD mode, the serial port does not print information,and the debugging situation using CCS is as follows
1、After connecting CCS, reset the CPU, as shown below
2、Set the CPSR value to 0x00

3、Load u-boot-spl.bin
 
4、Load u-boot-spl
 
5、Start single step debugging
First enter the reset () function


6、Here we find that the CPSR value changes to 0x0000001A is set to HYP mode
as shown below:


7、Next jump to the save_boot_params() function


8、Next jump to the save_boot_params_ret() function


9、Next jump to the switch_to_hypervisor() function


10、
Next jump to the switch_to_hypervisor() function
 

11、
When executing the above push stack program, the following error occurs.
 


If the value of CPSR is set to 0x1A or 0x13 in the second step, the program will run normally.
View the u-boot code:arch/arm/cpu/armv7/start.S
arch/arm/mach-omap2/lowlevel_init.S