From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 29 Jul 2008 10:57:27 +0200 Subject: [U-Boot-Users] U-boot and Mathematical Library In-Reply-To: <009601c8f14b$a3da67e0$36031cac@PC625> References: <009601c8f14b$a3da67e0$36031cac@PC625> Message-ID: <488EDB77.5040107@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.