Page 1 of 1

Re: bare metal project

Posted: Tue Jan 30, 2018 6:02 pm
by davef
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.

Re: bare metal project

Posted: Tue May 15, 2018 4:26 pm
by rpidmx512
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.

Re: bare metal project

Posted: Wed May 16, 2018 4:49 am
by igorp
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/

Re: bare metal project

Posted: Wed May 16, 2018 6:40 am
by rpidmx512

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.

Re: bare metal project

Posted: Thu Feb 28, 2019 6:49 pm
by JAGITA
rpidmx512 wrote:

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}
FileZilla Malwarebytes Rufus
Both are still using U-Boot.

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.

Re: bare metal project

Posted: Thu Feb 28, 2019 7:18 pm
by rpidmx512
JAGITA wrote:
rpidmx512 wrote:

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.

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.


I have a complete baremetal environment here -> https://github.com/vanvught/rpidmx512
This includes: I2C, SPI, Ethernet, GPIO

I still use U-Boot. This is basically the Allwinner supported method. I am not eager to invent the wheel in writing my own SPL.
http://linux-sunxi.org/Boot_Process