qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] boot arm fedora via u-boot in qemu


From: Rabin Vincent
Subject: Re: [Qemu-devel] boot arm fedora via u-boot in qemu
Date: Sun, 26 Oct 2014 20:29:03 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

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 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]