What determines the load address for "script.bin" ?

This forum is for supported devices using an ARMv7 Allwinner SoC.

What determines the load address for "script.bin" ?

Postby starfry » Wed Feb 04, 2015 11:14 am

Hi, basic knowledge question here...

I was just wondering what determines the load address for "script.bin". I can see that the default environment includes a "scriptaddr" variable that is preset to 0x43100000 but the official archlinuxarm kernel uImage expects it to be loaded at 0x43000000.

The "bootm" command doesn't take this address as an argument (unlike the kernel address and initramfs address) so, either U-Boot tells it in another way, or the kernel must be precompiled to expect it at a given location.

I haven't been able to determine where this is defined. I presume this is a setting within the kernel but I don't know what.

Can anyone enlighten me?
starfry
 
Posts: 24
Joined: Wed Jul 18, 2012 7:24 pm

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 6 guests