qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Artyom Tarasenko <atar4qemu@gmail.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	peter@bartoli.org, Bob Breuer <breuerr@mc.net>,
	qemu-devel <qemu-devel@nongnu.org>,
	aliguori@amazon.com
Subject: Re: [Qemu-devel] [PATCH for-1.7 1/3] sun4m: Add FCode ROM for TCX framebuffer
Date: Thu, 19 Dec 2013 19:27:38 +0000	[thread overview]
Message-ID: <52B348AA.2060904@ilande.co.uk> (raw)
In-Reply-To: <CACXAS8D6wf8Zz_c98UMpbOaFxGKBj7i34V7xgceNahx2Ts--1g@mail.gmail.com>

On 19/12/13 12:59, Artyom Tarasenko wrote:

> Hi Mark,
>
> this patch breaks booting with OBP:
>
> Probing /iommu@0,10000000/sbus@0,10001000 at 5,0  espdma esp sd st
> SUNW,bpp ledma le
> Probing /iommu@0,10000000/sbus@0,10001000 at 4,0  SUNW,CS4231 power-management
> Probing /iommu@0,10000000/sbus@0,10001000 at 1,0  Nothing there
> Probing /iommu@0,10000000/sbus@0,10001000 at 2,0  Nothing there
> Probing /iommu@0,10000000/sbus@0,10001000 at 3,0  SUNW,tcx Memory
> Address not Aligned
>
> ^^^^ After the unaligned access OBP is not properly initialized.
> See the bug 1262081, reported by Peter Bartoli.
>
> Artyom

Ah... I wonder if OBP doesn't like something in the QEMU,tcx.bin FCode 
initialisation function? If you temporarily rename the file (which can 
be found in the share directory) to something else, does boot start to 
work again?

Thinking about it, I suspect I'll need to add some code to the OpenBIOS 
FCode ROMs so that they only initialise if OpenBIOS is detected. This is 
because there is code there that tries to get information from QEMU 
about the screen width/height/depth etc. which will obviously fail on OBP.


ATB,

Mark.

  reply	other threads:[~2013-12-19 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 12:59 [Qemu-devel] [PATCH for-1.7 1/3] sun4m: Add FCode ROM for TCX framebuffer Artyom Tarasenko
2013-12-19 19:27 ` Mark Cave-Ayland [this message]
2013-12-23  3:04   ` Peter Bartoli
  -- strict thread matches above, loose matches on Subject: below --
2013-11-02 16:03 [Qemu-devel] [PATCH for-1.7 0/3] sun4m: Add TCX FCode ROM and support for CG3 framebuffer Mark Cave-Ayland
2013-11-02 16:03 ` [Qemu-devel] [PATCH for-1.7 1/3] sun4m: Add FCode ROM for TCX framebuffer 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=52B348AA.2060904@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=aliguori@amazon.com \
    --cc=atar4qemu@gmail.com \
    --cc=blauwirbel@gmail.com \
    --cc=breuerr@mc.net \
    --cc=peter@bartoli.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).