Title: RK3399 U-Boot and bare metal development [Print This Page] Author: tuan2195 Time: 8/16/2017 07:51 Title: RK3399 U-Boot and bare metal development 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!Author: isle Time: 8/16/2017 09:49
in rockchip's uboot ,you can add command like "bootk" in ./common/cmd_bootrk.cAuthor: tuan2195 Time: 8/17/2017 00:52
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.Author: isle Time: 8/17/2017 09:24
which u-boot did you used?
maybe you can try the u-boot from android sdk.https://gitlab.com/TeeFirefly/Fi ... refly-rk3399/u-bootAuthor: tuan2195 Time: 8/23/2017 05:15
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!Author: isle Time: 8/23/2017 09:54
with cpuset , search more on google.Author: tuan2195 Time: 8/24/2017 01:20
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!Author: tuan2195 Time: 8/30/2017 07:03
Can anyone help me? I really need to boot from the A72 core instead of the A53 core. Thanks!Author: isle Time: 8/30/2017 15:46
oh, the rk3399 don't support boot from A72.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)