Power & Source of Big Ideas

bare metal project

Moderators: chensy, FATechsupport

hello guys
i recently purchased a nanopi m1
i know that i can install an os on it (linux,android)
but i only want to use the board in a simple application
thus it is a bare metal project
the issue is i do not know where to start
i have a small experience in programming pic microcontroller but this is my first time with ARM processors
i alredy visited the wiki: http://wiki.friendlyarm.com/wiki/index. ... #Resources
and downloaded the lichee source code and the gnu toolchain but i do not understand everything
maybe i need to learn some subjects first
direction needed
There is a "bare metal" subsection on the RaspberryPI forums that should deal with the topics and processes that you need to understand and use.
The "bare metal" section in the Raspberry Pi forum can give you some ideas on how-to program an ARM CPU. But for programming the Allwinner SoC we need to have details on how to create a startup.S (or similar). The ideal option is not using the U-Boot loader and have our own 'bare metal' loader. Any ideas are much appreciated.
rpidmx512 wrote:
The "bare metal" section in the Raspberry Pi forum can give you some ideas on how-to program an ARM CPU. But for programming the Allwinner SoC we need to have details on how to create a startup.S (or similar). The ideal option is not using the U-Boot loader and have our own 'bare metal' loader. Any ideas are much appreciated.


Try here:

http://linux-sunxi.org/Main_Page
https://forum.armbian.com/forum/4-development/

The above is mostly Linux, it does not give the details for baremetal programming.

I’ve found the following:
https://github.com/dwelch67/allwinner_s ... /master/H3
https://github.com/trebisky/orangepi {Allwinner H3}

Both are still using U-Boot.

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 47 on Wed Feb 21, 2018 7:00 am

Users browsing this forum: No registered users and 0 guests