[PATCH 11/11] Nokia RX-51: Add automated test for running RX-51 build in qemu

Pali Rohár pali at kernel.org
Tue Apr 21 23:03:26 CEST 2020


On Tuesday 21 April 2020 16:46:36 Tom Rini wrote:
> That's what the script does.  The problem is that we need a specific
> (seemingly dead-end, but I'd like to be told I'm wrong!) old commit.

Not only specific commit, but specific fork! This is Linaro fork of qemu
(with support for OMAP3) which Linaro never upstreamed and fork is now
dead :-(

> So we can't replace the QEMU we use for everyone with one that also
> supports N900.

You really need that specific version of qemu to run it. Upstream qemu
has no support for N900 nor for OMAP3 HW.

Plus it needs proprietary Nokia's first stage bootloader (which starts
u-boot) with proprietary userspace tool which put this first stage
bootloader and configuration for it into MTD image. In MTD there is one
special partition with configuration data for this first stage
bootloader and that proprietary tool fill it. Tool and first stage
bootloader is under license which allows non-commercial redistribution

Why we need that first stage bootloader? Because on real N900 HW it is
signed and therefore cannot be replaced. Qemu version of that first
stage bootloader is obviously not signed.


More information about the U-Boot mailing list