[PATCH] Nokia RX-51: Add check for /lib/ld-linux.so.2 in test script

Pali Rohár pali at kernel.org
Fri Jun 18 15:31:08 CEST 2021


Unfortunately for testing is required qflasher which works only in 32-bit
x86 mode. Apparently 64-bit x86 Azure CI has no problems as it has
preinstalled 32-bit libraries and can execute also 32-bit x86 executables.

This change just show human readable output why nokia_rx51_test.sh test
script fails.

Signed-off-by: Pali Rohár <pali at kernel.org>
---
 test/nokia_rx51_test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh
index 176719e28b7e..0d60f5602434 100755
--- a/test/nokia_rx51_test.sh
+++ b/test/nokia_rx51_test.sh
@@ -18,6 +18,7 @@ echo '
 	mformat			(from mtools, homepage http://www.gnu.org/software/mtools/)
 	/usr/sbin/mkfs.ubifs	(from mtd-utils, homepage http://www.linux-mtd.infradead.org/)
 	/usr/sbin/ubinize	(from mtd-utils, homepage http://www.linux-mtd.infradead.org/)
+	/lib/ld-linux.so.2	(32-bit x86 version of LD loader, needed for qflasher)
 ' | while read tool info; do
 	if test -z "$tool"; then continue; fi
 	if ! which $tool 1>/dev/null 2>&1; then
-- 
2.20.1



More information about the U-Boot mailing list