public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-boot and Mathematical Library
@ 2008-07-29  7:20 Vincenzo Scianni
  2008-07-29  8:57 ` Albert ARIBAUD
  0 siblings, 1 reply; 3+ messages in thread
From: Vincenzo Scianni @ 2008-07-29  7:20 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] U-boot and Mathematical Library
  2008-07-29  7:20 [U-Boot-Users] U-boot and Mathematical Library Vincenzo Scianni
@ 2008-07-29  8:57 ` Albert ARIBAUD
  2008-07-30 14:54   ` Detlev Zundel
  0 siblings, 1 reply; 3+ messages in thread
From: Albert ARIBAUD @ 2008-07-29  8:57 UTC (permalink / raw)
  To: u-boot

Vincenzo Scianni a ?crit :
> 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.

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

I suspect you're right.

> First question there exist one compatible with u-boot ?

Don't know.

> 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.

> 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,
-- 
Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] U-boot and Mathematical Library
  2008-07-29  8:57 ` Albert ARIBAUD
@ 2008-07-30 14:54   ` Detlev Zundel
  0 siblings, 0 replies; 3+ messages in thread
From: Detlev Zundel @ 2008-07-30 14:54 UTC (permalink / raw)
  To: u-boot

Hi,

> Vincenzo Scianni a ?crit :
>> 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.

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

Cheers
  Detlev

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-30 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29  7:20 [U-Boot-Users] U-boot and Mathematical Library Vincenzo Scianni
2008-07-29  8:57 ` Albert ARIBAUD
2008-07-30 14:54   ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox