On Wed, Jun 17, 2020 at 6:35 PM Joel Stanley <j...@jms.id.au> wrote: > On Wed, 17 Jun 2020 at 16:42, Cédric Le Goater <c...@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