| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes: 8def36f40f44f2cdb83c ("u-boot-v2: remove in favor of barebox")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit ea6d375e95f9 ("procps: switch from procps to procps-ng")
the output of ps --help (on the target) changed which breaks the
respective test.
I didn't check what happens if this updated test hits an old procps but
this hardly matters.
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This way a full test can return its result:
test_foo() {
test_begin
checking "foo"
foo
result
test_end
}
if test_foo; then
# do something that needs foo
fi
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
the commit c38c301558a6ccd28d8d4ebb69ec77109dc10194
included one unrelated hunk, which we fix here.
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Barebox may still be busy printing out bad erase blocks
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
let the barebox-env handle this. e.g.
update_kernel:
update -t kernel -d nand -f $1
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Also look for platform specific versions.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
${PTXDIST_SYSROOT_HOST}/bin is in $PATH and this way we can add
other paths to provide it. E.g. from a base platform
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
this patch adds the functions report_begin and report_and
into the libptxdisttest.sh test library. This will probably
break the output of some older testscripts depending this
library
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
This patch repairs a bug in the host function of the
libptxdisttest.sh which did not correctly handle the
return value of the evaluated commandline.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Calling make_barebox_env and make_uboot_v2_env directly by "ptxdist test ..."
used to fail since these scripts depends on some preconditions set by "ptxdist
test setenv". Add fix so that these scripts can also be used directly.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
The exclude pattern in the scripts for barebox/uboot-v2 environment creation is
broken. It will include the config.in template file and all backup files in
Emacs or vim style. Fix this so that we won't find things like
/env/bin/config.in or /env/config.in~ on the target after running "test setenv"
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
|
|
|
| |
Setting speed is missing if the serial port is a telnet port. This will fail if
the serial port daemon requires speed settings, e.g. moxa.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
|
|
|
|
| |
remove the config parsing part from make_barebox_env and put into the main
setenv script to make the code more clear. Also updated some comments to make
clear how the stuff works.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
|
|
|
| |
we now no longer search for barebox environment in u-boot-env in BSP. Instead we
have our own environment directory called barebox-env.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
|
|
|
|
| |
ptxdist now can tell if the target has a barebox or u-boot-v2 bootloader
running and calls, depending on this information, the proper script to generate
a environment image for the target.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
|
|
|
|
| |
The bootloader signature mapping does noet get along with barebox and had a
off-by-one error. Also change the output text from "U-Boot" to more generic
"Bootloader" to avoid confusion.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10945 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10944 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10943 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10607 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10539 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
|
|
|
| |
- relax match for u-boot v2 results, because of EOL confusions
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10538 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10536 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10263 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9860 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9846 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
|
|
|
| |
* make filepaths whitespace safe
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9683 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9677 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9676 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9589 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9588 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9587 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9555 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9544 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9543 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
|
|
|
| |
- change "All OK!" message as it was said to be senseless and bad English
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9542 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9541 33e552b5-05e3-0310-8538-816dae2090ed
|
|
|
|
|
|
|
|
|
| |
events more robust)
* tests: small whitespace removal
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9468 33e552b5-05e3-0310-8538-816dae2090ed
|