ODROIDX2 (Bare Metal)

Post Reply
elqusy90
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2
Has thanked: 0
Been thanked: 0
Contact:

ODROIDX2 (Bare Metal)

Post by elqusy90 »

i am trying now to make a bare metal program on ODROID X2

so any advices to doing so

i have a tutorials on doing it but with other KIT

so what is the knowleage i must know to begin something like this

User avatar
odroid
Site Admin
Posts: 41820
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3418 times
Been thanked: 1910 times
Contact:

Re: ODROIDX2 (Bare Metal)

Post by odroid »

We don't support the bare metal program.

I think the good starting point is u-boot.
You can modify or add something you want on the u-boot.

Refer this link.
http://dev.odroid.com/projects/4412boot/

elqusy90
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROIDX2 (Bare Metal)

Post by elqusy90 »

is that mean i can not execute bare metal prgram on ODROID X2 Board

mdrjr
Site Admin
Posts: 11960
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 108 times
Contact:

Re: ODROIDX2 (Bare Metal)

Post by mdrjr »

elqusy90 wrote:is that mean i can not execute bare metal prgram on ODROID X2 Board
No one said that. You can execute bare-metal as long as you take in consideration Trustzone.

elqusy90
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROIDX2 (Bare Metal)

Post by elqusy90 »

so how should i start ??
i creat a bare metal program
what is the next step ??

how could i burn it or download it to the odroid kit ??

User avatar
odroid
Site Admin
Posts: 41820
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3418 times
Been thanked: 1910 times
Contact:

Re: ODROIDX2 (Bare Metal)

Post by odroid »

You need to study how the u-boot is flashed/booted and running as I pointed a link.

aaronpeacock
Posts: 9
Joined: Mon May 23, 2016 8:39 am
languages_spoken: english, portuguese, russian, german
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROIDX2 (Bare Metal)

Post by aaronpeacock »

I'm a noob!

I've read some bare-metal tutorials for ARM and they generally cover how uboot sets up the ram & the UART already for us, and I see the odroid-c2's uboot has many commands for loading binaries: over the net, from fat, from ext4, etc.

I'm not familiar with using uboot for "bare-metal" programming, and I wonder:
1) if the interrupt vector table is already setup with the odroid-c2's uboot

2) if there is some offset I need to always add to my addresses in my code given that I run my executable in EL3 directly from uboot ?

3) since I don't find one single odroid-c2 baremetal blinky-led or even "return 0;" example (usually for r-pi or beagleboard) is there a way you can describe the basic steps even if just a few words... (believe me, I read all the uboot docs and I don't mind to use them- asking general embedded questions as a noob to the odroid-c2 and cpu's in general vs 8-bit micros etc...)

believe me, any basic tiny pieces of extra info help us!

please & thank you :D

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 2 guests