From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?B?Um9ow6Fy?= Date: Tue, 21 Apr 2020 23:03:26 +0200 Subject: [PATCH 11/11] Nokia RX-51: Add automated test for running RX-51 build in qemu In-Reply-To: <20200421204636.GT4555@bill-the-cat> References: <20200331223518.10936-1-pali@kernel.org> <20200331223518.10936-12-pali@kernel.org> <20200414104002.rwm7ekt7pjkuk56z@pali> <20200421201248.GR4555@bill-the-cat> <20200421204636.GT4555@bill-the-cat> Message-ID: <20200421210326.horaozfr2x7uedvp@pali> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.