Background : Unit tests for iMX6 Platform SDK hangs when the ELF is run from U-boot.
Hw: SABRESD card MCIMX6DL. With 1GB DDR
Sw:
SKD: imx6_platform_sdk_v1.1.0 built with Sourcery_CodeBench_Lite_for_ARM_EABI
U-boot: Built last week from latest source with mx6dlsabresd_config, only diff from latest is I included CMD ELF for bootelf
Steps to reproduce
1. Booted U-boot via SD card.
2. Load the ELF via > tftp 0x20000000 sdk_unit_test_ALL.elf
3. Run the ELF via >bootelf 0x20000000
4. The unit test application start as expected.
5. From the menu I select "e - epit test -> 2 - for tick test"
6. When started it hangs after the text below hav ebeen printed.
EPIT is programmed to generate an interrupt every 10ms as a tick timer.
The test exits after 10 seconds.
Have anyone in the community succesfully booted and run the unittest application via U-boot?
Regards
Andreas
Solved! Go to Solution.
For the community FYI
I got it working today. Basically iMX6 Platform SDK startup.S need to "reset" the CortexA9 core when it is started from U-boot. It can't start properly with inherited settings dont by U-boot. Ex VBAR
Regards
Andreas
For the community FYI
I got it working today. Basically iMX6 Platform SDK startup.S need to "reset" the CortexA9 core when it is started from U-boot. It can't start properly with inherited settings dont by U-boot. Ex VBAR
Regards
Andreas
Hi Andreas
I am experiencing the same situation. Can you explain this reset operation of CortexA9 core in more detail?
Thank you..