From: Jan Kiszka <jan.kiszka@siemens.com>
To: peter@stuge.se
Cc: seabios <seabios@seabios.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [SeaBIOS] Boot failure with MS-Dos 6.22 (due to bad BIOS build?)
Date: Mon, 27 Feb 2012 17:10:56 +0100 [thread overview]
Message-ID: <4F4BAB10.5020409@siemens.com> (raw)
In-Reply-To: <20120227160054.31694.qmail@stuge.se>
On 2012-02-27 17:00, Peter Stuge wrote:
> Jan Kiszka wrote:
>>> Then I noticed, that if I rebuild the BIOS, from the exact same revision
>>> 1.6.3.1 revision that is committed in 'seabios' submodule in QEMU, then
>>> it works fine. So AFAICT, it is not the Seabios source code at fault,
>>> but rather the binary build we have commited to GIT. Should/can we rebuild
>>> the bios.bin in GIT ?
>>
>> Probably not without understanding what causes this strange
>> inconsistency. If Seabios builds without errors and then later on fails,
>> this is also a bug.
>>
>> Kevin, what information do you need to assess my tool chain?
>
> In the coreboot project we have more than 10 years of experience from
> distribution toolchains consistently being too broken to build a
> working coreboot image. The same problems apply to SeaBIOS.
>
> As you know, distribution toolchains are heavily patched, presumably
> to add some value to the distribution. The patches work fine when the
> toolchains should output userland binaries or the odd kernel. They
> fail frequently and in countless ways when used to produce bare metal
> binaries.
>
> Within coreboot it is much less effort to build an i386-elf cross
> toolchain than to mess with the hundreds if not thousands of issues
> in the distribution toolchains. The same applies to SeaBIOS of
> course. The script we use in coreboot is here:
>
> http://review.coreboot.org/gitweb?p=coreboot.git;a=tree;f=util/crossgcc
>
> If you want to investigate and spend time on motivating distributions
> to unbreak their toolchains that's awesome, but be prepared to spend
> many weeks disassembling binaries and reverse engineering the toolchain.
Well, the Linux kernel can also be built with practically any distro out
there. Having a need for a separate toolchain for building x86 on x86 is
a bit overkill IMHO, at least for someone hacking on Seabios only
infrequently like /me.
Jan
PS: Please avoid "mail-followup-to" in your replies, it messes up To/CC.
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-02-27 16:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-27 9:51 [Qemu-devel] Boot failure with MS-Dos 6.22 (due to bad BIOS build?) Daniel P. Berrange
2012-02-27 15:25 ` Jan Kiszka
2012-02-27 16:00 ` [Qemu-devel] [SeaBIOS] " Peter Stuge
2012-02-27 16:10 ` Jan Kiszka [this message]
2012-02-27 16:20 ` Peter Stuge
2012-02-29 8:45 ` [Qemu-devel] " Kevin O'Connor
2012-02-29 9:19 ` Daniel P. Berrange
2012-02-29 9:51 ` [Qemu-devel] [SeaBIOS] " Fred .
2012-03-19 0:29 ` [Qemu-devel] " Kevin O'Connor
2012-03-19 20:03 ` Jan Kiszka
2012-03-20 2:17 ` Kevin O'Connor
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=4F4BAB10.5020409@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=peter@stuge.se \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.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.