Skip to contentSkip to conversation

MPC8555 8280/8270 USB host support

DISCUSSION Nathael PAJANI 2 participants 2 messages Dec 1, 2005

lore
Share & tools
lore
#0 lore raw

Hi

Quoted 8 lines
Quoted 6 lines

Don't you think u-boot should take care of clock setup i.e. as much as possible of all board dependent stuff ?

I think you're right, but then it was easier to make all these setups >in the driver itself.

If u-boot is the boot loader of your board (the stuff running on it --before-- we see this:

loaded at:     00400000 005153B4
board data at: 00513130 00513334
relocated to:  00405090 00405294
zimage at:     00405A85 00512099
avail ram:     00516000 08000000

Linux/PPC load: rw console=ttyS0 root=/dev/nfs ip=on

Uncompressing Linux...done)

Then I would say NO

If u-boot is this exact stuff (the files in arch/ppc/boot/simple/... misc-embedded.c for example)

then, yes, this is somehow better.
But (tell me if I'm wrong) this is not really Linux code, and this should be done by Linux.

What I think should be good also is the platform files (arch/ppc/platforms/....) for this is the place where all the board dependant stuff stays.

Maybe I'm completely mistaken.
Feel free to tell me (and explain please !)

Have fun.

#1 lore raw
Quoted 9 lines · In message <[email protected]> you wrote:

If u-boot is the boot loader of your board (the stuff running on it --before-- we see this:

loaded at:     00400000 005153B4
board data at: 00513130 00513334
relocated to:  00405090 00405294
zimage at:     00405A85 00512099
avail ram:     00516000 08000000

If U-Boot is your boot load, *and* you see this, than you made some serious mistake. U-Boot is supposed to boot the "uImage" images, which do not issue such messages.

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
The shortest unit of time in the multiverse is the News York  Second,
defined  as  the  period  of  time between the traffic lights turning
green and the cab behind you honking.
                                - Terry Pratchett, _Lords and Ladies_