make LOADADDR=0x40008000 uImage

Started by maurosmartins, March 10, 2015, 08:04:16 pm

Previous topic - Next topic

maurosmartins

Hello all,

inspired by the project librecalc I've bought an olinuxino micro and I've already tried it using the images available.

I am also trying to follow the tutorial provided by the same site see here to compile a custom debian image to use. I'm only getting started at this and I can follow the tutorial until here:


make LOADADDR=0x40008000 uImage


where does this address comes from? why is it 0x40008000?

I also don't understand the process of creating the sd card, but first things first.

Thanks in advanced,
Best regards, Mauro.

JohnS

It's a multi-step boot.  The on-chip BROM is first, and you shortly have u-boot running.  It has a config for what to do next, like loading uImage to a specified address.  The uImage needs to be built for whatever address u-boot will use or else it won't run properly.

I think all this is on the linux-sunxi site - look under obvious search words like boot, rom, brom.

John

maurosmartins

Hello JohnS,

thank you very much for your fast reply!

I'll check the website that you indicated in order to better understand the process.

Once again, thank you!
Best regards Mauro.

swahren

Hi Mauro,

the Olinuxino Micro bases on the Freescale iMX233. So maybe you could take a look at the reference manual:

http://cache.freescale.com/files/dsp/doc/ref_manual/IMX23RM.pdf

Best regards

Stefan