Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

RK3399 U-Boot and bare metal development

52

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
52

RK3399 U-Boot and bare metal development

Posted at 8/16/2017 07:51:48      View:4401 | Replies:8        Print     [Copy Link] 1#
Have anyone succeeded in running bare metal code on RK3399? I have U-boot compiled but the shell is missing many functions. For example, there's no bootelf and no tftp. I tried enabling them by adding #define in config but it's not helping, it seems like the support is not there to begin with. Is there a way of running a simple "Hello World" bare metal application on RK3399? Any suggestion would be greatly appreciated. Thanks!
Reply

Use props Report

52

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
52
Posted at 8/17/2017 00:52:09      2#
isle Posted at 8/16/2017 09:49
in rockchip's uboot ,you can add command like "bootk" in ./common/cmd_bootrk.c

How do I do that and what is bootk used for? I do not find it in standard u-boot documentation.

I just want to know how to boot from an elf file, currently it is not even possible to load the elf file into memory. I can't do TFTP and I can't load from a file.
Reply

Use props Report

52

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
52
Posted at 8/23/2017 05:15:48      3#
I had to hack around a bit to boot the .elf from the linux kernel partition but all is working fine now. However I have another request: how can I force the board to boot from the A72 cores instead? The bare-metal application I am using, I'd like to test it on the A72 cores instead of the A53 cores. Thanks!
Reply

Use props Report

52

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
52
Posted at 8/24/2017 01:20:51      4#
I don't have Linux installed or any kind of Linux kernel so I can't use cpuset. All I have is trustzone, u-boot and a bare metal application. Is there any way to force the board to boot from A72 instead of A53? (basically disable the A53 cluster). Thanks!
Reply

Use props Report

52

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
52
Posted at 8/30/2017 07:03:21      5#
Can anyone help me? I really need to boot from the A72 core instead of the A53 core. Thanks!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list