[U-Boot] Reg. working with uboot

Hi, im new to uboot. i need to know what software are required to incorporate uboot for hardware based on ARM architecture. it would be great if i can get the step by step procedure to incorporate uboot. what is the use of ELDK? what are the files that needs to be customized and how to get the information required?
Regards, S. Vanee

Dear "Vanee S",
In message 60e43c2d0812210753h36dc651ei97d32948a4c04292@mail.gmail.com you wrote:
im new to uboot. i need to know what software are required to incorporate uboot for hardware based on ARM architecture. it would be great if i can get the step by step procedure to incorporate uboot. what is the use of ELDK? what are the files that needs to be customized and how to get the information required?
I suggest you start reading here:
http://www.catb.org/~esr/faqs/smart-questions.html
Best regards,
Wolfgang Denk

Hi, I want to configure u-boot for Armadillo board. When i try make all i get the error Generating include/autoconf.mk arm-linux-gcc: compilation of header file requested make: *** [include/autoconf.mk] Error 1 This error does not occur if i comment the line '$(CC) -M $(HOST_CFLAGS) $(CPFLAGS) -MQ $@ include/common.h > $@.dep ; ' in the Makefile. How to rectify this error without commenting the above line? im using u-boot 1.3.2 version. But, will this disable any of the features? And, when i make all after commenting the above line im get the error "Assembler messages: Fatal error: Invalid -march= option: 'armv4' make[1]: *** [hrllo_world.o] Error 2 make[1]: Leaving directory '/usr/eldk/usr/src/u-boot-1.3.2/examples' make: *** [examples] Error 2 Pls do suggest on what needs to be done.
Regards, S. Vanee
On 12/21/08, Wolfgang Denk wd@denx.de wrote:
Dear "Vanee S",
In message 60e43c2d0812210753h36dc651ei97d32948a4c04292@mail.gmail.com you wrote:
im new to uboot. i need to know what software are required to incorporate uboot for hardware based on ARM architecture. it would be great if i can
get
the step by step procedure to incorporate uboot. what is the use of ELDK? what are the files that needs to be customized and how to get the information required?
I suggest you start reading here:
http://www.catb.org/~esr/faqs/smart-questions.html
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de You are only young once, but you can stay immature indefinitely.

Dear "Vanee S",
In message 60e43c2d0812291945n72ced68fr344afc9f813f4741@mail.gmail.com you wrote:
I want to configure u-boot for Armadillo board. When i try make all i get the error Generating include/autoconf.mk arm-linux-gcc: compilation of header file requested make: *** [include/autoconf.mk] Error 1
Try using a more recent toolchain, and a more recent version of U-Boot.
in the Makefile. How to rectify this error without commenting the above line? im using u-boot 1.3.2 version. But, will this disable any of the features?
It may cause subtle failure modes as you don;t build the make depencies corectly, then.
And, when i make all after commenting the above line im get the error "Assembler messages: Fatal error: Invalid -march= option: 'armv4' make[1]: *** [hrllo_world.o] Error 2 make[1]: Leaving directory '/usr/eldk/usr/src/u-boot-1.3.2/examples' make: *** [examples] Error 2 Pls do suggest on what needs to be done.
Try using a more recent toolchain, and a more recent version of U-Boot.
Also, please note that you are violating quite a list of very basic netiquqtte rules:
* You top post. * You Full quote. * You hijack an existing thread instead of sending a new message.
Please read http://www.netmeister.org/news/learn2quote.html
Best regards,
Wolfgang Denk

Vanee S wrote:
Hi, im new to uboot. i need to know what software are required to incorporate uboot for hardware based on ARM architecture. it would be great if i can get the step by step procedure to incorporate uboot.
Hi Vanee,
1) Use git to clone u-boot: git clone git://git.denx.de/u-boot.git <your_repository_name>/
2) Read the README. You might start at line 3923 "U-Boot Porting Guide" http://git.denx.de/?p=u-boot.git;a=blob;f=README;h=2a553c274c372b014075cf67387dea964bd0722d;hb=HEAD#l3923
3) Read the DULG manual (it talks about a specific processor and board in places, but is mostly general purpose). http://www.denx.de/wiki/DULG/Manual
4) Port u-boot to your board.
5) ???
6) Profit!
what is the use of ELDK?
It is a cross compiler suite. http://www.denx.de/wiki/DULG/ELDK
what are the files that needs to be customized and how to get the information required?
All the information is available on the web + manufacturer's manuals. You will have to read and understand it - U-Boot is free in the freedom sense, but not free in that you have to invest your time to understand it. You can trade off paying money for investing your time.
Regards, S. Vanee
HTH, gvb

Hi,
Vanee S wrote:
Hi, im new to uboot. i need to know what software are required to incorporate uboot for hardware based on ARM architecture. it would be great if i can get the step by step procedure to incorporate uboot. what is the use of ELDK?
If you only add a new board, this is very easy and doesn't require a lot of work. Maybe if you want to support particular peripherals that are not included in u-boot support you must write codes. A good starting point is a board that is quite similar to your board and try to support the console first and the relocation process (so the sdram). When the console and the relocation code are ok, you are quite near the end.
what are the files that needs to be customized and how to get the information required?
I think the best information is the code and the mailing list and all the documentation that you can find in denx site.
Regards, S. Vanee
Regards Michael
participants (4)
-
Jerry Van Baren
-
michael
-
Vanee S
-
Wolfgang Denk