Skip to contentSkip to conversation

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

PATCH In review Pali Rohár 2 participants 2 messages Jun 18, 2021 – Jul 15, 2021

lore
Share & tools
lore
#0 lore raw

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

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.

---
 test/nokia_rx51_test.sh | 1 +
 1 file changed, 1 insertion(+)
test/nokia_rx51_test.sh +1 -0
index 176719e28b7e..0d60f5602434 100755
@@ -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
Signature · 1 line
2.20.1
#1 lore raw
Quoted 6 lines · Pali Rohár

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.

Applied to https://source.denx.de/u-boot/custodians/u-boot-ti.git for-rc, thanks! [1/1] Nokia RX-51: Add check for /lib/ld-linux.so.2 in test script

      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/f3ff72f9ff

--
Thanks and Regards,
Lokesh