From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Stefan Hajnoczi" <stefanha@gmail.com>,
"Alexander Graf" <agraf@suse.de>,
qemu-devel <qemu-devel@nongnu.org>,
qemu-ppc <qemu-ppc@nongnu.org>,
"Anthony Liguori" <anthony@codemonkey.ws>,
"Hervé Poussineau" <hpoussin@reactos.org>
Subject: Re: [Qemu-devel] Request for openhackware.git mirror
Date: Mon, 03 Mar 2014 18:08:50 +0000 [thread overview]
Message-ID: <5314C532.90304@ilande.co.uk> (raw)
In-Reply-To: <53139760.3040106@web.de>
On 02/03/14 20:41, Andreas Färber wrote:
> Hello Stefan,
>
> We have a file pc-bios/ppc_rom.bin in qemu.git, used by PReP emulation,
> to which we do not have available the full GPL source code. I would like
> to replace the current file with a new binary built from original
> OpenHack'Ware sources plus our pc-bios/ohw.diff plus build fixes plus
> workaround for the unknown delta between v0.4.1+ohw.diff and Jocelyn's
> ppc_rom.bin: http://repo.or.cz/w/openhackware.git is finally building
> for me [1] and seems to be working as before.
>
> Can you please set up an openhackware.git mirror on git.qemu.org for my
> git://repo.or.cz/openhackware.git so that we can properly integrate the
> sources as a submodule before I exchange the binary?
>
> Next steps would then be to agree on an approach to blow the binary up
> from 512 KiB to 1 MiB (proposals by Hervé and Alex) and then continue
> with Hervé's Raven PHB patches with a view to making both ppc_rom.bin
> and openbios-ppc testable in 2.0 until we can hopefully switch to
> OpenBIOS some time after.
>
> Thanks,
> Andreas
>
> [1] Using `make CROSS_COMPILE=powerpc-elf-` works for GCC 4.8.2 and
> binutils 2.24; I did not find a solution for my identically versioned
> CROSS_COMPILE=powerpc-eabi- setup (that I had been successfully using
> for OpenBIOS), lacking an __eabi symbol on final ld.
Hi Andreas,
This is great news! FWIW I've just tried building a clone of the
repository at git://git.qemu-project.org/openhackware.git and it looks
good until the final link stage:
powerpc-elf-ld -m elf32ppc -O2 -g -nostdlib -T src/main.ld -o
.objs/main.out .objs/main.o .objs/bootinfos.o .objs/bloc.o .objs/pci.o
.objs/of.o .objs/start.o .objs/nvram.o .objs/vga.o .objs/mm.o
.objs/char.o .objs/malloc.o .objs/errno.o .objs/_vprintf.o
.objs/printf.o .objs/sprintf.o .objs/snprintf.o .objs/vprintf.o
.objs/vsprintf.o .objs/vsnprintf.o .objs/dprintf.o .objs/vdprintf.o
.objs/memcpy.o .objs/memccpy.o .objs/mempcpy.o .objs/memmove.o
.objs/memcmove.o .objs/mempmove.o .objs/memset.o .objs/memcmp.o
.objs/memchr.o .objs/rawmemchr.o .objs/memrchr.o .objs/memmem.o
.objs/strcpy.o .objs/strdup.o .objs/strndup.o .objs/stpcpy.o
.objs/stpncpy.o .objs/strcat.o .objs/strncat.o .objs/strcmp.o
.objs/strcasecmp.o .objs/strncmp.o .objs/strncasecmp.o .objs/strchr.o
.objs/strchrnul.o .objs/strrchr.o .objs/basename.o .objs/dirname.o
.objs/strlen.o .objs/strnlen.o .objs/exec_core.o .objs/exec_elf.o
.objs/exec_xcoff.o .objs/exec_macho.o .objs/exec_chrp.o
.objs/exec_prep.o .objs/exec_pef.o .objs/fs_core.o .objs/fs_raw.o
.objs/fs_ext2.o .objs/fs_isofs.o .objs/fs_hfs.o .objs/part_core.o
.objs/part_apple.o .objs/part_isofs.o .objs/part_prep.o
.objs/dev_char_pckbd.o .objs/dev_char_kbdadb.o .objs/dev_char_kbd.o
powerpc-elf-ld: .objs/main.out section .text.startup will not fit in
region start
powerpc-elf-ld: section .text [0000000005800400 -> 0000000005812e23]
overlaps section .text.startup [0000000005800054 -> 00000000058006d7]
powerpc-elf-ld: section .rodata.str1.4 [00000000058006d8 ->
0000000005804cdb] overlaps section .text [0000000005800400 ->
0000000005812e23]
powerpc-elf-ld: region start overflowed by 18668 bytes
make: *** [.objs/main.out] Error 1
build@kentang:~/src/ohw/openhackware$ powerpc-elf-gcc -v
Using built-in specs.
COLLECT_GCC=powerpc-elf-gcc
COLLECT_LTO_WRAPPER=/home/build/ppc-cross/libexec/gcc/powerpc-elf/4.8.2/lto-wrapper
Target: powerpc-elf
Configured with: ../gcc-4.8.2/configure --prefix=/home/build/ppc-cross
--enable-languages=c --target=powerpc-elf --disable-libssp
Thread model: single
gcc version 4.8.2 (GCC)
build@kentang:~/src/ohw/openhackware$
Am I missing something from the build in order for the final link to
complete correctly?
Many thanks,
Mark.
next prev parent reply other threads:[~2014-03-03 18:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-02 20:41 [Qemu-devel] Request for openhackware.git mirror Andreas Färber
2014-03-03 12:16 ` Stefan Hajnoczi
2014-03-03 18:08 ` Mark Cave-Ayland [this message]
2014-03-03 18:31 ` Andreas Färber
2014-03-03 18:42 ` Mark Cave-Ayland
2014-03-12 14:40 ` Andreas Färber
2014-03-12 17:23 ` Andreas Färber
2014-03-12 23:29 ` Mark Cave-Ayland
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=5314C532.90304@ilande.co.uk \
--to=mark.cave-ayland@ilande.co.uk \
--cc=agraf@suse.de \
--cc=andreas.faerber@web.de \
--cc=anthony@codemonkey.ws \
--cc=hpoussin@reactos.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=stefanha@gmail.com \
/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.