Skip to contentSkip to conversation

U-boot and Mathematical Library

U-Boot-Users Vincenzo Scianni 3 participants 3 messages Jul 29, 2008 – Jul 30, 2008

lore
Share & tools
lore
#0 lore raw

Hi to everyone.

I have a general question: my need is to use u-boot to initialize a PowerPC 5123 and then to continue with a custom kernel without Linux. The problem is that during initialization I must drive very early a graphical controller by PCI to show some logos and I need of mathematical library; I suspect that u-boot doesn't support any. First question there exist one compatible with u-boot ? In your opinion is it possible to follow idea of import a mathematical library to boot and draw something and after continue with a custom kernel ? There is some deep technical reason to load a Linux kernel and then plot a logo ?

Thanks and best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080729/7606a197/attachment.htm

#1 lore raw

Vincenzo Scianni a ?crit :

Quoted 7 lines

Hi to everyone.

I have a general question: my need is to use u-boot to initialize a PowerPC 5123 and then to continue with a custom kernel without Linux. The problem is that during initialization I must drive very early a graphical controller by PCI to show some logos and I need of mathematical library;

What kind of logo display requires math? You're going to display a bitmap probably, so the only math involved would be integer arithmetic, I think. And if you have a logo in vector form, then you can convert it to bitmap (adapted to your FB format) offline and link the bitmap from, not the vector, in u-boot.

Quoted 1 line

I suspect that u-boot doesn't support any.

I suspect you're right.

Quoted 1 line

First question there exist one compatible with u-boot ?

Don't know.

Quoted 3 lines

In your opinion is it possible to follow idea of import a mathematical library to boot and draw something and after continue with a custom kernel ?

No reason why you could not; but I think that's a waste of FLASH and cycles, and you'd be better of turning your logo into a simple bitmap format that u-boot possibly already understands.

Quoted 2 lines

There is some
deep technical reason to load a Linux kernel and then plot a logo ?

No reason for this, but again, no reason (that I can see from your description) that you'd need math in the first place. Can you elaborate on the reason that makes you need math onboard rather than off-board?

Amicalement,

Signature · 1 line
Albert.
#2 lore raw

Hi,

Quoted 9 lines

Vincenzo Scianni a ?crit :

Quoted 7 lines

Hi to everyone.

I have a general question: my need is to use u-boot to initialize a PowerPC 5123 and then to continue with a custom kernel without Linux. The problem is that during initialization I must drive very early a graphical controller by PCI to show some logos and I need of mathematical library;

Quoted 5 lines

What kind of logo display requires math? You're going to display a bitmap probably, so the only math involved would be integer arithmetic, I think. And if you have a logo in vector form, then you can convert it to bitmap (adapted to your FB format) offline and link the bitmap from, not the vector, in u-boot.

Check the splashscreen support already in place (CONFIG_CMD_BMP). It supports BMPs.

Cheers
Detlev

Signature · 8 lines
It was actually a very beautiful thing to see a sunrise, cause' that's
such a calm time of day. It's a wonderful time of day  to get ready to
go to bed.
                                            -- Richard M. Stallman
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de