EmbDev.net

Forum: ARM programming with GCC/GNU tools LPC3141 what is uboot and how to download a program.c to my target


von Ziga L. (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)


Rate this post
useful
not useful
Hello!

I am new to embedded world and i have a hard start as i chose LPC3141 as 
my first embedded system. Currently i am only interested if anyone can 
tell me how to work with uboot. I have read averything about it, how it 
works and how it first copies first part of itself in Boot ROM and then 
copies rest of itself to the SDRAM. Soo now i know the theory...

Next step is to compile a program (program.c) and make it work on my 
target, where i don't have any OS. When looking arround i found quite a 
lot of info about doing that using application dfu-util but i get 
confused. Sooo here is my question.

Do i first download uboot image to my target and after that my 
program.elf OR do i have to make an uboot object and use linker to link 
uboot image with my program.o. And if anyone can supply me with a simple 
example would be great.

There are allso 2 programs related to uboot and are described here:
http://www.lpclinux.com/LPC313x/LPC313xGettingstartedELDK#CreateUbootInitDfu

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.