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

Author: Ziga Lausegger (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)
Posted on:

Rate this post
0 useful
not useful

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:


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.