public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Loïc Minier" <lool@dooz.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support
Date: Mon, 15 Nov 2010 15:06:47 +0100	[thread overview]
Message-ID: <20101115140647.GB22583@bee.dooz.org> (raw)
In-Reply-To: <20101115120354.866DB134FEF@gemini.denx.de>

On Mon, Nov 15, 2010, Wolfgang Denk wrote:
> Do you have a working qemu setup and/or documentation how to run
> U-Boot on such an ARM config?

 Sometimes I do  ;-)

 I use either:
 * Ubuntu QEMU packages - qemu-kvm-extras package has qemu-system-arm;
   it's usually fairly old because it's built from the qemu-kvm
   trees/releases
 * Linaro QEMU packages - currently the "qemu-maemo" package in this PPA
   https://launchpad.net/~linaro-maintainers/+archive/tools/+packages
   provides the qemu-maemo-system-arm command; can be installed along
   qemu-kvm-extras; this has patches to support OMAP machines from the
   qemu-maemo/-meego projects, hence the name; in the future, this might
   be a qemu-linaro instead
 * upstream QEMU built from git

 While U-Boot supports integrator, versatile and vexpress, QEMU only
 supports the first two.

 I get varying success depending on the exact combination of emulated
 machine and version of QEMU.  Today, I tried the binary u-boot
 downloads from http://arm.com/community/software-enablement/linux.php
 (Linux OS Downloads tab) with with qemu-maemo
 0.0~20100921+871d996-0ubuntu1~linaro1 and qemu-kvm-extras
 0.13.0+noroms-0ubuntu3:

        machine: | realview-eb realview-pbx-a9 versatilepb
 QEMU:           |
 ----------------+----------------------------------------
 qemu-maemo      | partial[1]      works         works
 qemu-kvm-extras | partial[1]      works         crash[2]


 Unfortunately, these are not built from upstream u-boot sources; I
 tried building some ARM boards from upstream u-boot with v2010.09 and
 got these results:

        machine: | integratorcp versatilepb
 QEMU:           |
 ----------------+-------------------------
 qemu-maemo      |  crash[3]    partial[4]
 qemu-kvm-extras |  crash[3]    partial[4]


 So I'm afraid I couldn't find a fully working combination of U-Boot
 supported board + QEMU, but I didn't try QEMU tip; I'm Cc:ing Peter who
 cares for QEMU in Linaro, maybe he has more idea or is tempted to try a
 tip QEMU  :-)


 If you want to reproduce, run something like:
    qemu-system-arm -M versatilepb -serial stdio \
        -kernel u-boot_bin_u-boot_versatilepb.axf
 or:
    qemu-system-arm -nographic -M versatilepb \
        -kernel u-boot_bin_u-boot_versatilepb.axf
 replace qemu-system-arm with qemu-maemo-system-arm if you use
 qemu-maemo


 [1] crashes while initializing the NIC; qemu: hardware error:
     smc91c111_write: Bad reg 0:6
 [2] qemu: hardware error: arm_timer_write: Bad offset 101e1fe0
 [3] qemu: hardware error: pl011_write: Bad offset 14
 [4] crashes after detecting 0 Bytes of DRAM:
    DRAM:  0 Bytes
    qemu: fatal: Trying to execute code outside RAM or ROM at 0x34000000
-- 
Lo?c Minier

  reply	other threads:[~2010-11-15 14:06 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 22:22 [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support Albert Aribaud
2010-11-04 22:22 ` [U-Boot] [PATCH V4 2/2] tx25: " Albert Aribaud
2010-11-04 22:27 ` [U-Boot] [PATCH V4 1/2] arm926ejs: " Albert ARIBAUD
2010-11-09 13:49   ` Albert ARIBAUD
2010-11-05  8:38 ` Reinhard Meyer
2010-11-05  9:04   ` Albert ARIBAUD
2010-11-09 18:24 ` Daniel Hobi
2010-11-09 18:47   ` Albert ARIBAUD
2010-11-09 18:55     ` Albert ARIBAUD
2010-11-09 19:30     ` Andreas Bießmann
2010-11-10 12:31     ` Daniel Hobi
2010-11-10 12:48       ` Albert ARIBAUD
2010-11-10 13:24         ` Daniel Hobi
2010-11-11  8:11           ` Albert ARIBAUD
2010-11-14 21:22             ` Wolfgang Denk
2010-11-15 11:01               ` Albert ARIBAUD
2010-11-15 11:09                 ` Andreas Bießmann
2010-11-15 11:43                   ` Sebastien Carlier
2010-11-16  7:38                     ` Andreas Bießmann
2010-11-15 11:13                 ` Wolfgang Denk
2010-11-15 11:49                   ` Albert ARIBAUD
2010-11-15 11:55                     ` Loïc Minier
2010-11-15 12:03                       ` Wolfgang Denk
2010-11-15 14:06                         ` Loïc Minier [this message]
2010-11-15 14:29                           ` Albert ARIBAUD
2010-11-15 15:09                             ` Loïc Minier
2010-11-16 13:42                               ` Peter Maydell
2010-11-16 13:54                                 ` [U-Boot] qemu-arm (was: [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support) Albert ARIBAUD
2010-11-16 14:49                                   ` Peter Maydell
2010-11-16 16:02                                     ` [U-Boot] qemu-arm Albert ARIBAUD
2010-11-15 12:00                     ` [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support Reinhard Meyer
2010-11-15 12:02                     ` Wolfgang Denk
2010-11-15 12:13                       ` Albert ARIBAUD
2010-11-15 12:16                     ` Bas Mevissen
2010-11-10 13:02       ` [U-Boot] Timer Statics (was: arm926ejs: fix linker file for newer ld support) Reinhard Meyer
2010-11-09 19:27   ` [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support Andreas Bießmann
2010-11-09 19:31     ` Albert ARIBAUD
2010-11-09 23:43 ` Eric Cooper
2010-11-10  7:53   ` Albert ARIBAUD
2010-11-10 14:20     ` Eric Cooper
2010-11-11  7:33       ` Albert ARIBAUD
2010-11-15 14:15   ` Daniel Hobi
2010-11-15 14:37     ` Albert ARIBAUD
2010-11-15 19:14     ` Eric Cooper

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=20101115140647.GB22583@bee.dooz.org \
    --to=lool@dooz.org \
    --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