Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: maurosmartins on March 10, 2015, 08:04:16 PM

Title: make LOADADDR=0x40008000 uImage
Post by: maurosmartins on March 10, 2015, 08:04:16 PM
Hello all,

inspired by the project librecalc (http://www.librecalc.com/) 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 (http://www.librecalc.com/en/blog/realiser-une-distribution-debian-personalisee-pour-arm9/) 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.
Title: Re: make LOADADDR=0x40008000 uImage
Post by: JohnS on March 10, 2015, 09:58:25 PM
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
Title: Re: make LOADADDR=0x40008000 uImage
Post by: maurosmartins on March 10, 2015, 11:06:29 PM
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.
Title: Re: make LOADADDR=0x40008000 uImage
Post by: swahren on March 14, 2015, 02:28:10 PM
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 (http://cache.freescale.com/files/dsp/doc/ref_manual/IMX23RM.pdf)

Best regards

Stefan