Skip to contentSkip to conversation

Hi, I am new to U-Boot, how do I get started?

U-Boot-Users christophe peyronnet 3 participants 3 messages Sep 3, 2004

lore
Share & tools
lore
#1 lore raw

Dear Christophe,

Quoted 6 lines · in message <002a01c491bb$9aebe800$9220e4d5@neomorewindows> you wrote:

I am new to U-Boot, and I need to port it on an custom board based on MPC852T.
As write in the Readme file of U-Boot directory, I send my first e-mail to have some information, on
how to port U-Boot on my board.

Please enter the "while (learning) { ... }" loop as documented in the "Porting Guide" section of the README. Post again when you have reached the "if (clueless)" clause in the "while (!running) { ... }" loop ;-)

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Man did not weave the web of life; he  is  merely  a  strand  in  it.
Whatever he does to the web, he does to himself.     - Seattle [1854]
#2 lore raw
In reply to christophe peyronnet

Make sure you have a JTAG debugger (e.g. BDI2000)
Find a board in .../include/configs that is close to your hardware Make a new board file in ...include/configs for your board
Copy the starting board's files from .../board/xyz to your board's directory .../board/myboard

With JTAG device, verify, minimally, working RAM (where u-boot image is loaded), working serial port (for login and command line) working Ethernet for network access.

Start making same devices work under u-boot.
Hint, try following this execution path... (arm)

.../cpu/at91rm9200/start.S

    _start -> reset
    reset -> _start_armboot

.../lib_arm/board.c

start_armboot -> (calls a bunch of init functions) enters forever loop calling main_loop

.../common/main.c
main_loop

Hope this helps
Cheers,
T.mike
-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of christophe peyronnet
Sent: Friday, September 03, 2004 6:41 AM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?

Hello,

I am new to U-Boot, and I need to port it on an custom board based on
MPC852T.
As write in the Readme file of U-Boot directory, I send my first e-mail to
have some information, on
how to port U-Boot on my board.

Thanks in advance.

Christophe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040903/445f8597/attachment.htm