[U-Boot] [PATCH v2 11/11] New board support: Nokia RX-51 aka N900

Pali Rohár pali.rohar at gmail.com
Fri Jun 1 21:03:26 CEST 2012


On Friday 01 June 2012 20:48:15 Marek Vasut wrote:
> Dear Pali Rohár,
> 
> > On Monday 30 April 2012 16:37:55 Tom Rini wrote:
> > > On Sun, Apr 29, 2012 at 11:18:48AM +0200, Marek Vasut 
wrote:
> > > > Dear Pali Roh?r,
> > > 
> > > [snip]
> > > 
> > > > > Also onenand code working fine, but when is enabled
> > > > > u-boot
> > > > > binary is too big and cannot be flashed into this
> > > > > device.
> > > > > But for testing in qemu or booting u-boot with enabled
> > > > > onenand support stored in mmc via flashed u-boot (with
> > > > > disabled onenand support) working too.
> > > > > 
> > > > > Is there way how to decrease u-boot binary size?
> > > > 
> > > > Try compiling it in thumb mode? I think Tom Rini added
> > > > support for that and tested it on omap.
> > > 
> > > Aneesh V did the real work for thumb mode for omap4/5, I
> > > just
> > > picked it up and addressed some comments.  It's currently
> > > in
> > > u-boot-arm/master.
> > 
> > But N900 is omap3. Has u-boot thumb support for omap3 boards
> > too?
> OMAP3 has the same (CortexA8) core, it will work on it too.
> Dunno if it's enabled for OMAP3 now, but it shouldn't be hard
> to do so.
> 
> Best regards,
> Marek Vasut

There is one HW problem with thumb on N900: thumb mode is buggy 
and thumb compiled applications crashing. But finaly last month 
we found solution for this problem. Errata 430973 workaround, 
calling uboot function omap3_emu_romcode_call for setting IBE bit 
in AUX CR. So now Ubuntu (which is thumb compiled) booting and 
working.

So for using thumb mode on N900 we first need to call first that 
function. It is possible to build u-boot in some mixed mode (some 
parts in arm and some in thumb)? Now omap3_emu_romcode_call is 
called from misc_init_r rx51 board code.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120601/ad66258e/attachment.pgp>


More information about the U-Boot mailing list