[PATCH v3] Nokia RX-51: Add automated test for running RX-51 build in qemu
Lokesh Vutla
lokeshvutla at ti.com
Tue May 26 11:22:50 CEST 2020
On 26/05/20 2:48 pm, Pali Rohár wrote:
> 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 <pali at kernel.org>
>> ---
>> 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?
>
Sorry, this was merged into master yesterday.
Thanks and regards,
Lokesh
More information about the U-Boot
mailing list