run-opentest: handle kernel images in zImage in addition to uImage format
PATCH v2 1/3 run-opentest: handle kernel images in zImage in addition to uImage format
From: Denys Dmytriyenko <[email protected]>
---
v2 - fix passing not expanded [uz]Image to opentest
lib/run-opentest | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
lib/run-opentest +9 -2
@@ -170,9 +170,16 @@ run_target_side_test() { return 1 fi - if [ -f $test_dir/temp/board-support/prebuilt-images/uImage-$m.bin ] + if [ -f $test_dir/temp/board-support/prebuilt-images/[uz]Image-$m.bin ] then - kernel=$test_dir/temp/board-support/prebuilt-images/uImage-$m.bin + if [ -f $test_dir/temp/board-support/prebuilt-images/zImage-$m.bin ] + then + kernel=$test_dir/temp/board-support/prebuilt-images/zImage-$m.bin + elif [ -f $test_dir/temp/board-support/prebuilt-images/uImage-$m.bin ] + then + kernel=$test_dir/temp/board-support/prebuilt-images/uImage-$m.bin + fi + if [ "$odtb" ] then dtb="~dtb=$test_dir/temp/board-support/prebuilt-images/$odtb"
Signature · 1 line
1.7.9.5
Quoted 55 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, October 02, 2013 4:19 PM
To: [email protected]
Subject: [meta-arago] [PATCHv2 1/3] run-opentest: handle kernel images in zImage in addition to uImage formatFrom: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>---
v2 - fix passing not expanded [uz]Image to opentest
lib/run-opentest| 11 +++++++++--1 file changed, 9 insertions(+), 2 deletions(-)lib/run-opentest +0
-1@@ -170,9 +170,16 @@ run_target_side_test() { return 1 fi - if [ -f $test_dir/temp/board-support/prebuilt-images/uImage-$m.bin ]
+ if [ -f $test_dir/temp/board-support/prebuilt-
images/[uz]Image-$m.bin ]
then
- kernel=$test_dir/temp/board-support/prebuilt-
images/uImage-$m.bin
+ if [ -f $test_dir/temp/board-support/prebuilt-
images/zImage-$m.bin ]lib/run-opentest +2
-0+ then + kernel=$test_dir/temp/board-support/prebuilt-images/zImage-$m.bin
+ elif [ -f $test_dir/temp/board-support/prebuilt-
images/uImage-$m.bin ]lib/run-opentest +2
-0+ then + kernel=$test_dir/temp/board-support/prebuilt-images/uImage-$m.bin
lib/run-opentest +2
-0+ fi + if [ "$odtb" ] then dtb="~dtb=$test_dir/temp/board-support/prebuilt-images/$odtb"
--
1.7.9.5_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago