SAMA5d22 bootloader

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

Alex93
Posts: 3
Joined: Tue Jan 28, 2020 2:31 pm

SAMA5d22 bootloader

Tue Jan 28, 2020 2:43 pm

Hello.
I configured my bootstrap for spi-flash.
Bootstrap was allocated at 0x0 address.
My applacation was allocated at 0x8000 address.
I want load new application, how to do it better?

I using bare metal.

There is idea, new application will locate in other address, but how to tell the bootstrap to ship to a new address?
blue_z
Location: USA
Posts: 2033
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5d22 bootloader

Wed Jan 29, 2020 2:39 am

Alex93 wrote: I configured my bootstrap for spi-flash.
Does "my bootstrap" mean that you are writing your own boot program?
If you are merely building open-source code (that has been released under GPL), then specify its proper name (and a version number).

Regards
Alex93
Posts: 3
Joined: Tue Jan 28, 2020 2:31 pm

Re: SAMA5d22 bootloader

Wed Jan 29, 2020 7:38 am

"My bootstrap" this is https://github.com/linux4sam/at91bootstrap, but with my processor.
blue_z
Location: USA
Posts: 2033
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5d22 bootloader

Fri Jan 31, 2020 1:24 am

Alex93 wrote: "My bootstrap" this is https://github.com/linux4sam/at91bootstrap, but with my processor.
FYI the program that you are using is named AT91Bootstrap.

Alex93 wrote: Bootstrap was allocated at 0x0 address.
For the second-stage program such as AT91Bootstrap, you have to locate it either at 0 or 0x200000.
Alex93 wrote: My applacation was allocated at 0x8000 address.
I want load new application, how to do it better?
I do not understand what you wrote.

What is this "my applacation"?
Are you using AT91Bootstrap to load this "my applacation", or has it been linked in with AT91Bootstrap?
Is this scheme for "my applacation" something that is already implemented and functioning?
Is the "new application" loaded in addition to "my applacation", or is it loaded as a replacement?

Regards
Alex93
Posts: 3
Joined: Tue Jan 28, 2020 2:31 pm

Re: SAMA5d22 bootloader

Fri Jan 31, 2020 8:39 am

I'm so sorry, if I write is not clear enough.
I will try to clarify more clearly:

I'm using AT91Bootstrap to load "my application" in ddram from spi-flash.

Scheme for "my application " is already implemented and functioning.

"New application" will loaded as a replacement for "my application", but how to do this, i don't know.

I want get "new application" from another board over the network.

Best regards
Alexandr
blue_z
Location: USA
Posts: 2033
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5d22 bootloader

Mon Feb 03, 2020 11:57 pm

AT91Bootstrap does not have a network protocol stack.
Study this topic.

Regards

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 4 guests