[U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

Tom Rini trini at konsulko.com
Thu Dec 27 19:10:26 UTC 2018


On Thu, Dec 27, 2018 at 08:05:38PM +0100, Pali Rohár wrote:
> On Thursday 27 December 2018 13:56:57 Tom Rini wrote:
> > On Thu, Dec 27, 2018 at 07:45:15PM +0100, Pali Rohár wrote:
> > 
> > > Hi! Now I spotted that CONFIG_SYS_TEXT_BASE was moved/removed in commit
> > > 278b90ce786f73faf29aa522d5d101e1da006378 from include/configs/nokia_rx51.h
> > > file, but comment which described value for that macro is still on old
> > > place. See diff:
> > > 
> > > http://git.denx.de/?p=u-boot.git;a=blobdiff;f=include/configs/nokia_rx51.h;h=c9901e52510110ea34bd1ac6bcdc2a90a9bada8d;hp=6312ed737c7104b331c11c8e88808fcc10654718;hb=278b90ce786f73faf29aa522d5d101e1da006378;hpb=7c8f00e484658c673d32d8422c96cb64bb571063
> > > 
> > > Tom, can you move also comment to place where is now
> > > CONFIG_SYS_TEXT_BASE value for Nokia N900?
> > 
> > I'm a little confused.  We migrated the value set there to
> > configs/nokia_rx51_defconfig where it's still 0x80008000 should it have
> > been 0x80400000 ?  But that's not what the code was doing..
> 
> I do not know current state of U-Boot loading, but in past there was a
> problem with Nokia N900. On N900, U-Boot image is loaded by Nokia's
> bootloader at *random* address. And U-Boot needed to be at fixed base
> address, therefore for N900 U-Boot low level init, there is a code which
> moves U-Boot itself from *random* address to fixed based.

OK, and that should still be there, so I guess you need to dig a bit
more to see what's wrong?

> > > Anyway, now I tested in qemu n900 emulator U-Boot version from master
> > > git branch and it is still working and able to boot 2.6.28 Maemo kernel!
> > 
> > Can you update .travis.yml to include running the n900 qemu setup?
> > Thanks!
> 
> There are 3 problems:
> 
> 1) It needs Linaro arm version of qemu.
> 
> 2) It needs proprietary Nokia bootloader.
> 
> 3) It needs proprietary Nokia tool for creating bootable image for qemu.
> 
> Those images and tools probably disappeared from internet, but I still
> have copies. License allows me to redistribute them for non-commercial
> usage.
> 
> IIRC Linaro version of qemu is not available in distributions anymore,
> so it would be needed to compile it from sources.

Ah, that is all unfortunate.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181227/f7b820b0/attachment.sig>


More information about the U-Boot mailing list