From: Havard Skinnemoen <hskinnemoen@google.com>
To: Joel Stanley <joel@jms.id.au>
Cc: "Cédric Le Goater" <clg@kaod.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
qemu-arm <qemu-arm@nongnu.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Avi Fishman" <Avi.Fishman@nuvoton.com>,
"CS20 KFTing" <kfting@nuvoton.com>
Subject: Re: [PATCH v2 11/12] hw/arm: Wire up BMC boot flash for npcm750-evb and quanta-gsj
Date: Wed, 17 Jun 2020 19:40:45 -0700 [thread overview]
Message-ID: <CAFQmdRaWmr_k+H-nOgBe=SphOjAn3Hy_RSP4XeAwaAV4e1j+cA@mail.gmail.com> (raw)
In-Reply-To: <CACPK8XfzgLURHct7=cOW8ABuZ72sCFb6tgVAWX=n58oP6qdUCA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]
On Wed, Jun 17, 2020 at 6:35 PM Joel Stanley <joel@jms.id.au> wrote:
> On Wed, 17 Jun 2020 at 16:42, Cédric Le Goater <clg@kaod.org> wrote:
> >
> > On 6/12/20 12:30 AM, Havard Skinnemoen wrote:
> > > This allows these NPCM7xx-based boards to boot from a flash image, e.g.
> > > one built with OpenBMC. For example like this:
> > >
> > > IMAGE=${OPENBMC}/build/tmp/deploy/images/gsj/image-bmc
> >
> > could you put the image on some site when ready ?
>
> They are built as part of OpenBMC CI:
>
>
> https://openpower.xyz/job/openbmc-build/distro=ubuntu,label=builder,target=gsj/lastSuccessfulBuild/artifact/deploy/images/gsj/
Cool, I didn't know that!
Trying to boot that image reminds me of a couple of issues I ran into.
1. This error:
spi_master spi0: /ahb/fiu@fb000000/spi-nor@0 has no valid
'spi-max-frequency' property (-22)
should be fixed by
https://github.com/Nuvoton-Israel/linux/commit/c9185ea65bec8ba7b617080c6278eb3e36db4eb4
but it looks like it hasn't propagated into the openbmc repo yet.
2. npcm7xx_ether_probe crashes the kernel, presumably because there's no
emac model in qemu yet. I worked around it by disabling that driver, but it
shouldn't be necessary once the emac model is done.
3. IIRC, after getting past (1) and (2), it turned out the MTD partition
layout didn't match the device tree, so I had to adjust some offsets in the
openbmc build. I was planning to post that to the openbmc list after making
sure I'm cleared to contribute.
Havard
[-- Attachment #2: Type: text/html, Size: 2390 bytes --]
next prev parent reply other threads:[~2020-06-18 2:42 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 22:30 [PATCH v2 00/12] Add Nuvoton NPCM730/NPCM750 SoCs and two BMC machines Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 01/12] npcm7xx: Add config symbol Havard Skinnemoen
2020-06-12 13:35 ` Philippe Mathieu-Daudé
2020-06-12 16:23 ` Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 02/12] hw/misc: Add NPCM7xx System Global Control Registers device model Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 03/12] hw/misc: Add NPCM7xx Clock Controller " Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 04/12] hw/timer: Add NPCM7xx Timer " Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 05/12] hw/arm: Add NPCM730 and NPCM750 SoC models Havard Skinnemoen
2020-06-17 12:53 ` Cédric Le Goater
2020-06-11 22:30 ` [PATCH v2 06/12] hw/arm: Add two NPCM7xx-based machines Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 07/12] hw/arm: Load -bios image as a boot ROM for npcm7xx Havard Skinnemoen
2020-06-17 16:01 ` Cédric Le Goater
2020-06-11 22:30 ` [PATCH v2 08/12] hw/nvram: NPCM7xx OTP device model Havard Skinnemoen
2020-06-11 22:30 ` [PATCH v2 09/12] hw/mem: Stubbed out NPCM7xx Memory Controller model Havard Skinnemoen
2020-06-17 16:07 ` Cédric Le Goater
2020-06-11 22:30 ` [PATCH v2 10/12] hw/ssi: NPCM7xx Flash Interface Unit device model Havard Skinnemoen
2020-06-17 16:41 ` Cédric Le Goater
2020-06-11 22:30 ` [PATCH v2 11/12] hw/arm: Wire up BMC boot flash for npcm750-evb and quanta-gsj Havard Skinnemoen
2020-06-13 0:19 ` Havard Skinnemoen
2020-06-17 16:42 ` Cédric Le Goater
2020-06-18 1:35 ` Joel Stanley
2020-06-18 2:40 ` Havard Skinnemoen [this message]
2020-06-11 22:30 ` [PATCH v2 12/12] docs/system: Add Nuvoton machine documentation Havard Skinnemoen
2020-06-17 16:43 ` Cédric Le Goater
2020-06-17 15:54 ` [PATCH v2 00/12] Add Nuvoton NPCM730/NPCM750 SoCs and two BMC machines Cédric Le Goater
2020-06-18 5:15 ` Havard Skinnemoen
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='CAFQmdRaWmr_k+H-nOgBe=SphOjAn3Hy_RSP4XeAwaAV4e1j+cA@mail.gmail.com' \
--to=hskinnemoen@google.com \
--cc=Avi.Fishman@nuvoton.com \
--cc=clg@kaod.org \
--cc=joel@jms.id.au \
--cc=kfting@nuvoton.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.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).