Unit test for iMX6 Platform SDK hangs when ELF is run from U-boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unit test for iMX6 Platform SDK hangs when ELF is run from U-boot

ソリューションへジャンプ
1,782件の閲覧回数
andreaskarlsson
Contributor III

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

ラベル(1)
0 件の賞賛
返信
1 解決策
1,352件の閲覧回数
andreaskarlsson
Contributor III

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,353件の閲覧回数
andreaskarlsson
Contributor III

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

0 件の賞賛
返信
1,352件の閲覧回数
ceyhun
Contributor I

Hi Andreas

I am experiencing the same situation. Can you explain this reset operation of CortexA9 core in more detail?

Thank you..

0 件の賞賛
返信