From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?B?Um9ow6Fy?= Date: Tue, 26 May 2020 11:18:48 +0200 Subject: [PATCH v3] Nokia RX-51: Add automated test for running RX-51 build in qemu In-Reply-To: <20200517123822.8453-1-pali@kernel.org> References: <20200517123124.3vqanz2ca7bctqb7@pali> <20200517123822.8453-1-pali@kernel.org> Message-ID: <20200526091848.jmxt6a66admg4h3g@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 Sunday 17 May 2020 14:38:22 Pali Roh?r wrote: > This patch contains test/nokia_rx51_test.sh script which automatically > download and compile all needed tools in local temporary directory to > generate a simple MTD images for booting Maemo kernel image by U-Boot from > RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine > provided by qemu-linaro project. > > This script does not need any special privileges, so it can be run as > non-root nobody user. > > It can be used to check that U-Boot for Nokia N900 is not broken and can be > successfully booted in emulator. > > Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and > .travis.yml so it would be automatically run on those CI services. > > Signed-off-by: Pali Roh?r > --- > Changes in v3: > * Fix job for Azure > Changes in v2: > * Fix apt dependences for Travis CI > * Move definition of Travis job into own section > * Add definition for Azure and Gitlab CI services > * Add script to MAINTAINERS file > * Build U-Boot binary in test script too > * Show error message when some dependency for script is missing > * Fix addresses for booting kernel from OneNAND > * Do all stuff in nokia_rx51_tmp temporary directory > * Use upstream mformat (from mtools) for generating FAT32 MBR filesystems > (instead of mkfs.fat from dosfstools with custom patches) > * Show more verbose log messages > * Do not use sudo, instead run parts of script under fakeroot > (fakeroot just run binary with own LD_PRELOAD library which emulates > mknod() function for later usage by stat() function) > * So script can be now run as non-root nobody user and it put all stuff > in nokia_rx51_tmp temporary directory, so can be run locally without > any issue. > --- Hello Tom! Have you looked at this updated V3 patch?