From: Rabin Vincent <rabin@rab.in>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
Fedora ARM <arm@lists.fedoraproject.org>,
Cole Robinson <crobinso@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
Hans de Goede <hdegoede@redhat.com>
Subject: Re: [Qemu-devel] boot arm fedora via u-boot in qemu
Date: Sun, 26 Oct 2014 20:29:03 +0100 [thread overview]
Message-ID: <20141026192903.GA4830@debian> (raw)
In-Reply-To: <1413971946.7230.13.camel@nilsson.home.kraxel.org>
On Wed, Oct 22, 2014 at 11:59:06AM +0200, Gerd Hoffmann wrote:
> syntax error
> ## Error: "catX" not defined
> syntax error
> ## Error: "catX" not defined
> No kernel provides dtb named vexpress-v2p-ca9.dtb
> No value for u_kernel. Getting help.
> [ ... ]
>
> Google finds me this:
>
> https://fedoraproject.org/wiki/Architectures/ARM/F20/Installation#For_the_BeagleBone_Black
>
> Suggested fix is to replace uboot. Heh.
>
> Anyone has clue what is going on and how to fix it? I suspect it is
> simply one of the many CONFIG_* switches in u-boot which must be
> flipped?
The problem is that commit fe9ca3d3287185 ("hush: fix some quoted
variable expansion issues") in U-Boot breaks this command in boot.scr.
setenv catcat setenv catout\;'setenv catX "setenv catout '\\\\\\\''\$\$catin'\\\\\\\''"' \; run catX
Reverting that commit from U-Boot fixes the script problem, then you'll
need to set a few more variables to get the full boot working:
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 54cb69f..72436d2 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -217,6 +217,9 @@
"scriptaddr=" "0x67d00000\0" \
"pxefile_addr_r=" "0x67e00000\0" \
"fdt_addr_r=" "0x67f00000\0" \
+ "u_boot=" "bootz\0" \
+ "u_kernel=" "3.11.10-301.fc20.armv7hl\0" \
+ "u_extraargs=" "console=ttyAMA0,115200n8\0" \
"ramdisk_addr_r=" "0x68000000\0"
#elif defined(CONFIG_VEXPRESS_EXTENDED_MEMORY_MAP)
#define CONFIG_PLATFORM_ENV_SETTINGS \
prev parent reply other threads:[~2014-10-26 19:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 13:33 [Qemu-devel] boot arm fedora via u-boot in qemu Gerd Hoffmann
2014-10-21 13:42 ` Hans de Goede
2014-10-21 17:01 ` Gerd Hoffmann
2014-10-21 13:47 ` Peter Maydell
2014-10-21 18:31 ` Gerd Hoffmann
2014-10-21 19:11 ` Peter Maydell
2014-10-21 22:16 ` Gerd Hoffmann
2014-10-22 9:59 ` Gerd Hoffmann
2014-10-26 19:29 ` Rabin Vincent [this message]
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=20141026192903.GA4830@debian \
--to=rabin@rab.in \
--cc=arm@lists.fedoraproject.org \
--cc=crobinso@redhat.com \
--cc=hdegoede@redhat.com \
--cc=kraxel@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.