From: "Pali Rohár" <pali.rohar@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Nokia RX-51 (N900) board broken
Date: Sun, 4 Jan 2015 23:14:26 +0100 [thread overview]
Message-ID: <201501042314.26191@pali> (raw)
In-Reply-To: <54A9B4C1.4000301@gmail.com>
Hello,
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:
http://packages.ubuntu.com/source/precise/qemu-linaro
(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>
next prev parent reply other threads:[~2015-01-04 22:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-03 10:47 [U-Boot] Nokia RX-51 (N900) board broken Pali Rohár
2015-01-03 18:13 ` Benoît Thébaudeau
2015-01-04 22:18 ` Pali Rohár
2015-01-04 21:46 ` Georges Savoundararadj
2015-01-04 22:14 ` Pali Rohár [this message]
2015-01-04 22:28 ` Georges Savoundararadj
2015-01-06 22:03 ` Georges Savoundararadj
2015-01-06 22:19 ` Pali Rohár
2015-01-06 22:35 ` Georges Savoundararadj
2015-01-07 9:12 ` Pali Rohár
2015-01-08 0:16 ` Nishanth Menon
2015-01-08 8:45 ` Pali Rohár
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201501042314.26191@pali \
--to=pali.rohar@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox