Skip to contentSkip to conversation

Barebox support for Arm Cortex-M0 Boards

DISCUSSION Kai Che 4 participants 4 messages Feb 12, 2019

lore
Share & tools
lore

Kai Che

author
#0 lore raw

Hi everyone,

does barebox support any kind of Arm-Cortex M0 Boards? e.g. STM32F0 or similiar?

I couldn't find any mention of such a board in the board support section of the documentation.

I hope I didn't overlook something.

Thanks and best Regards,
Kai Che
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw
Quoted 8 lines · Kai Che

Hi everyone,

does barebox support any kind of Arm-Cortex M0 Boards? e.g. STM32F0 or similiar?

I couldn't find any mention of such a board in the board support section of the documentation.

I hope I didn't overlook something.

I've not seen any Cortex-M support for barebox yet, but I think it would make a great research project :) Barebox does not need a MMU as far as I know.

- Roland

Signature · 9 lines
Roland Hieber                     | [email protected]     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 6 lines · Roland Hieber
Quoted 5 lines · Kai Che

Hi everyone,

does barebox support any kind of Arm-Cortex M0 Boards? e.g. STM32F0 or similiar?

Quoted 7 lines
Quoted 3 lines

I couldn't find any mention of such a board in the board support section of the documentation.

I hope I didn't overlook something.

I've not seen any Cortex-M support for barebox yet, but I think it would make a great research project :) Barebox does not need a MMU as far as I know.

I have used it on old USB MIPS based WiFi adapter, instead of original firmware. It has similar specification. So, I assume it would work for STM32F0. No idea if it make sense.

Kind regards,
Oleksij Rempel

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
In reply to Kai Che

On Tue, 12 Feb 2019 12:57:26 +0000
Kai Che <[email protected]> wrote:

Hi!

Quoted 1 line

does barebox support any kind of Arm-Cortex M0 Boards? e.g. STM32F0 or similiar?

At the moment barebox does not support ARM-Cortex.
I suppose there is no problem to port barebox to STM32.
However STM32F0 definitely is not a preferred STM32 target chip for porting. Barebox is intended to be a BOOTLOADER. Barebox is intended to load something into RAM. STM32F098VC is an advanced STMF0 family chip in terms of RAM and ROM size. STM32F098VC has 256 KB of flash ROM and 32 KB of SRAM.
I suppose that barebox can be linked to put code into flash ROM (e.g. see ROMKERNEL option for blackfin linux kernel port) and 32 KB of RAM can be enough for data but IMHO 32 KB is not enough for comfort and useful work.

AFAIR It is possible to run risc-v barebox (both code and data) inside 192 KB RAM memory space in a VERY VERY MINIMAL configuration, just demo.

Barebox can be really useful on linux-capable STM32 chips and board, e.g. STM32F429 DISCO board (https://www.st.com/en/evaluation-tools/32f429idiscovery.html)

Quoted 3 lines

I couldn't find any mention of such a board in the board support section of the documentation.

I hope I didn't overlook something.

Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox