Skip to contentSkip to conversation

How much does U-Boot Replace PMON? Anyone w/ opinions? (from embedded newbie)

U-Boot-Users Sean Parker 3 participants 3 messages Feb 8, 2008 – Feb 10, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Andrew -

Thanks so much for your reply and candor - that's kind of what I needed to hear either way.

I'll check out the others you mentioned first, before trying to dive into changing PMON (we already have had to mod PMON, but only changing existing code/regs/etc.)

Sean

Quoted 44 lines · --- Andrew Dyer
Quoted 4 lines · Sean Parker

Hello -

We're using PMC's MSP8510 MIPS processor. Included in

the

Quoted 2 lines

BSP was Linux 2.6.18 and PMON2000. We have all running, except the boot from CF. I'm a bit familiar with

GRUB/LILO,

Quoted 1 line

and I'm looking for a direct replacement, and we

thought

Quoted 1 line

we'd be able to use either until we saw GRUB was not

ported

Quoted 4 lines

to MIPS.

However it looks lile U-Boot accomplishes both
(PMON+GRUB-like functionality) since I see some

indication

Quoted 2 lines

U-Boot handles VFAT? (how about ATA CF?) (If U-Boot can read a VFAT CF, and load the linux image from there,

then

Quoted 1 line

that negates the need for any subsequent boot loader

like

Quoted 3 lines

GRUB/LILO - right?)

Any recommendations out there? (such as "trash PMON

and

Quoted 1 line

go with U-BOOT - it does all you want" or "look here

xxx to

Quoted 1 line

find what you want")

I would guess it would be easier to add code to boot from ATA to
pmon-2000 (never used the -2000 version, just the old pmon a ong time
ago) than to do a new port to something not supported (u-boot for mips
is not in the best of shape). That being said, we boot a Raza Au1550
MIPS using u-boot off of CF. I believe the s/w guys are
using ext2
on the CF instead of vfat, but it does work.

Quoted 9 lines

You could also look at MIPS's yamon, Broadcom's CFE, or MicroMonitor
(umon) as other bootloader choices.

Signature · 3 lines
Hardware, n.:
        The parts of a computer system that can be
kicked.

God Bless

    Sean Parker 





      ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

Thanks so much for your reply and candor - that's kind of what I needed to hear either way.

Well, it would have been much beter if the reply had been sent to the ML so others could have commented on it.

Quoted 5 lines
Quoted 3 lines · --- Andrew Dyer

I would guess it would be easier to add code to boot from ATA to pmon-2000 (never used the -2000 version, just the old pmon a ong time ago) than to do a new port to something not supported (u-boot for mips

Well, if you have a working port for one boot loader which you can look at for init code etc. then coming up with a port of U-Boot is not that hard.

Quoted 1 line
Quoted 1 line

is not in the best of shape). That being said, we boot a

There is a number of MIPS board that are working pretty well -
Andrew: what exactly do you mean by "not in the best of shape"?

Quoted 4 lines
Quoted 4 lines

Raza Au1550
MIPS using u-boot off of CF. I believe the s/w guys are
using ext2
on the CF instead of vfat, but it does work.

Seems to work for you?

Best regards,

Wolfgang Denk

Signature · 7 lines
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 at denx.de
That Microsoft, the Trabant of the operating  system  world,  may  be
glancing  over the Berlin Wall at the Audis and BMWs and Mercedes. In
their own universe Trabants and Ladas were mainstream too...
                                                   -- Evan Leibovitch
#3 lore raw
Quoted 4 lines · Wolfgang Denk
Quoted 1 line
Quoted 1 line

is not in the best of shape). That being said, we boot a

There is a number of MIPS board that are working pretty well -
Andrew: what exactly do you mean by "not in the best of shape"?

AFAIK the current low level code is pretty specific to one processor - some Infineon chip used on one of the ports. It kinda works on a few others. There are a number of problems extending that to 'all MIPS' or even just MIPS32 compatible parts: cache init/cache handling, CP0 handling, hardcoded checks for denx toolchain, and probably a few others that I've forgotten.

That said, I mean no disrespect to Shinya and other maintainers, I think Shinya is doing a great job. We've discussed these issues, and it'll just take time and effort to clean up what's there. U-boot is the bootloader for PPC, but for MIPS many people use RedBoot or YAMON or CFE or pmon, depending on what their eval board came with, so it's a smaller user base.

Quoted 1 line

Seems to work for you?

It does, but we started from a patch for the Au1500 that made it a lot easier. I think you also know I've submitted a fair number of bug fixes and patches for stuff along the way.

As far as getting the job done, since he has a platform that already suits most of his needs, it seems like adding basic ATA support and FAT support to that in C code would be easier than trying to work through the low-level issues with the u-boot MIPS code on a proc that is not supported. (Particularly if he doesn't have access to good debugging tools, or is not well versed in the low-level arch details)

Signature · 2 lines
Hardware, n.:
        The parts of a computer system that can be kicked.