[U-Boot] Nokia RX-51 (N900) board broken

Pali Rohár pali.rohar at gmail.com
Sun Jan 4 23:14:26 CET 2015


here are commands how to compile u-boot for nokia n900, convert 
uboot image into n900 nand MTD file and run it under linaro arm 
version of qemu (upstream version of qemu have not merged n900 
support yet):

$ export ARCH=arm
$ export CROSS_COMPILE=arm-linux-gnueabi-
$ make nokia_rx51_config
$ make
$ qflasher -x xloader-qemu.bin -s secondary-qemu.bin \
  -k u-boot.bin -m rx51 -o u-boot.mtd
$ qemu-system-arm -M n900 -mtdblock u-boot.mtd -serial /dev/tty

You need:
* qflasher - Nokia generator of nand MTD image with CAL data
* xloader-qemu.bin - Nokia first stage bootloader (X-Loader)
* secondary-qemu.bin - Nokia second stage bootloader (NOLO)
* qemu-system-arm - Linaro arm version of qemu

Linaro arm version of qemu can be downloaded e.g. from ubuntu: 
(I'm using this version)

Nokia qflasher and bootloaders are proprietary and closed source 
but could be found on internet. License allows to redistribute 
binaries for non commercial purposes. If you are unable to find 
it on internet anymore (originally they were hosted on website 
repo.meego.com before intel turned it off) and you are OK with 
that license, I can send you needed files.

Copyright (c) Nokia Corporation 2010
All Rights Reserved.

This material, including documentation and any related computer 
programs, is protected by copyright controlled by Nokia 
Corporation. All rights are reserved. Modifying, adapting and/or 
translating, any or all of this material requires the prior 
written consent of Nokia. Distribution for commercial purposes 
not allowed without prior written approval from Nokia.

On Sunday 04 January 2015 22:46:41 Georges Savoundararadj wrote:
> Hi Pali Rohár,
> I am trying to reproduce the bug but I think I need the
> qflasher program for converting the u-boot.bin image into a
> qemu-compatible image. [1] [2]
> Where can I get qflasher?
> Could you explain how to run Nokia RX-51 u-boot's image on
> qemu?
> Thanks a lot,
> Best regards,
> Georges
> [1] http://www.babyaries.org/source/libmeegotouch/save/nand
> [2]
> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-Jun
> e/174805.html
> Le 03/01/2015 11:47, Pali Rohár a écrit :
> > Hello,
> > 
> > Nokia N900 board does not work anymore from master branch in
> > qemu. I bisected first commit which broke it. It is:
> > 
> > 41623c91b09a0c865fab41acdaff30f060f29ad6
> > arm: move exception handling out of start.S files
> > 
> > Before this commit uboot on n900 in qemu working fine. Since
> > this commit qemu crash with fatal error (see below). I
> > bisected other two commits which changed error behaviour,
> > but still uboot is not working...

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

More information about the U-Boot mailing list