* [U-Boot] [PATCH v2 0/3] .travis.yml changes for building/testing xtensa port
@ 2018-02-07 23:30 Max Filippov
2018-02-07 23:30 ` [U-Boot] [PATCH v2 1/3] .travis.yml: download xtensa prebuilt toolchain Max Filippov
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Max Filippov @ 2018-02-07 23:30 UTC (permalink / raw)
To: u-boot
Hi Tom,
the following patches allow building and running U-Boot for xtensa in
Travis CI.
The test results are the following:
73 passed, 31 skipped, 1 deselected
Changes v1->v2:
- add patch that enables hush parser for xtfpga_defconfig. The size
increase is tolerable and now there are no falures in the testsuite.
Max Filippov (3):
.travis.yml: download xtensa prebuilt toolchain
xtfpga: enable hush parser
.travis.yml: test xtensa xtfpga board in QEMU
.travis.yml | 15 +++++++++++++--
configs/xtfpga_defconfig | 1 +
include/configs/xtfpga.h | 2 --
3 files changed, 14 insertions(+), 4 deletions(-)
--
2.1.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH v2 1/3] .travis.yml: download xtensa prebuilt toolchain
2018-02-07 23:30 [U-Boot] [PATCH v2 0/3] .travis.yml changes for building/testing xtensa port Max Filippov
@ 2018-02-07 23:30 ` Max Filippov
2018-02-14 16:43 ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-02-07 23:30 ` [U-Boot] [PATCH v2 2/3] xtfpga: enable hush parser Max Filippov
2018-02-07 23:30 ` [U-Boot] [PATCH v2 3/3] .travis.yml: test xtensa xtfpga board in QEMU Max Filippov
2 siblings, 1 reply; 7+ messages in thread
From: Max Filippov @ 2018-02-07 23:30 UTC (permalink / raw)
To: u-boot
xtensa toolchains are core-specific, so give full toolchain name and
download corresponding prebuilt toolchain from the github release.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
.travis.yml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 2a98c4bb11cc..8e96a269299f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,7 +72,11 @@ before_script:
wget https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-release/arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install.tar.gz &&
tar -C /tmp -xf arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install.tar.gz;
fi
- - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then ./tools/buildman/buildman --fetch-arch xtensa ; fi
+ - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then
+ wget https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
+ tar -C /tmp -xf x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
+ echo -e "\n[toolchain-prefix]\nxtensa = /tmp/2018.02/${TOOLCHAIN}/bin/${TOOLCHAIN}-" >> ~/.buildman;
+ fi
# If TOOLCHAIN is unset, we're on some flavour of ARM.
- if [[ "${TOOLCHAIN}" == "" ]]; then
wget http://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz &&
@@ -272,7 +276,7 @@ matrix:
BUILDMAN="xilinx -x microblaze"
- env:
- BUILDMAN="xtensa"
- TOOLCHAIN="xtensa"
+ TOOLCHAIN="xtensa-dc233c-elf"
- env:
- BUILDMAN="riscv"
TOOLCHAIN="riscv"
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH v2 2/3] xtfpga: enable hush parser
2018-02-07 23:30 [U-Boot] [PATCH v2 0/3] .travis.yml changes for building/testing xtensa port Max Filippov
2018-02-07 23:30 ` [U-Boot] [PATCH v2 1/3] .travis.yml: download xtensa prebuilt toolchain Max Filippov
@ 2018-02-07 23:30 ` Max Filippov
2018-02-14 16:43 ` [U-Boot] [U-Boot,v2,2/3] " Tom Rini
2018-02-07 23:30 ` [U-Boot] [PATCH v2 3/3] .travis.yml: test xtensa xtfpga board in QEMU Max Filippov
2 siblings, 1 reply; 7+ messages in thread
From: Max Filippov @ 2018-02-07 23:30 UTC (permalink / raw)
To: u-boot
Remove CONFIG_BOOT_RETRY_TIME as it doesn't do much good and enable
CONFIG_HUSH_PARSER in xtfpga_defconfig.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
Changes v1->v2:
- new patch
configs/xtfpga_defconfig | 1 +
include/configs/xtfpga.h | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/xtfpga_defconfig b/configs/xtfpga_defconfig
index 4f77e23ef5c5..759b4a5524f7 100644
--- a/configs/xtfpga_defconfig
+++ b/configs/xtfpga_defconfig
@@ -3,6 +3,7 @@ CONFIG_SYS_CPU="dc233c"
CONFIG_XTFPGA_KC705=y
CONFIG_BOOTDELAY=10
CONFIG_VERSION_VARIABLE=y
+CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="U-Boot> "
CONFIG_AUTOBOOT_KEYED=y
CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press <SPACE> to stop\n"
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h
index 3119f007971e..79cc1e8fc1b8 100644
--- a/include/configs/xtfpga.h
+++ b/include/configs/xtfpga.h
@@ -122,8 +122,6 @@
/* U-Boot autoboot configuration */
/*==============================*/
-#define CONFIG_BOOT_RETRY_TIME 60 /* retry after 60 secs */
-
#define CONFIG_AUTO_COMPLETE /* Support tab autocompletion */
#define CONFIG_CMDLINE_EDITING
#define CONFIG_SYS_LONGHELP
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH v2 3/3] .travis.yml: test xtensa xtfpga board in QEMU
2018-02-07 23:30 [U-Boot] [PATCH v2 0/3] .travis.yml changes for building/testing xtensa port Max Filippov
2018-02-07 23:30 ` [U-Boot] [PATCH v2 1/3] .travis.yml: download xtensa prebuilt toolchain Max Filippov
2018-02-07 23:30 ` [U-Boot] [PATCH v2 2/3] xtfpga: enable hush parser Max Filippov
@ 2018-02-07 23:30 ` Max Filippov
2018-02-14 16:43 ` [U-Boot] [U-Boot, v2, " Tom Rini
2 siblings, 1 reply; 7+ messages in thread
From: Max Filippov @ 2018-02-07 23:30 UTC (permalink / raw)
To: u-boot
This allows running tests on emulated KC705 board with DC233C xtensa
core. It expects to find conf.xtfpga_qemu in the uboot-test-hooks.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
.travis.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 8e96a269299f..2c1b11dd81d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -389,5 +389,12 @@ matrix:
QEMU_TARGET="arm-softmmu"
TEST_PY_ID="--id qemu"
BUILDMAN="^zynq_zc702$"
+ - env:
+ - TEST_PY_BD="xtfpga"
+ TEST_PY_TEST_SPEC="not sleep"
+ QEMU_TARGET="xtensa-softmmu"
+ TEST_PY_ID="--id qemu"
+ BUILDMAN="^xtfpga$"
+ TOOLCHAIN="xtensa-dc233c-elf"
# TODO make it perfect ;-r
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot, v2, 1/3] .travis.yml: download xtensa prebuilt toolchain
2018-02-07 23:30 ` [U-Boot] [PATCH v2 1/3] .travis.yml: download xtensa prebuilt toolchain Max Filippov
@ 2018-02-14 16:43 ` Tom Rini
0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2018-02-14 16:43 UTC (permalink / raw)
To: u-boot
On Wed, Feb 07, 2018 at 03:30:01PM -0800, Max Filippov wrote:
> xtensa toolchains are core-specific, so give full toolchain name and
> download corresponding prebuilt toolchain from the github release.
>
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180214/b907531c/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot,v2,2/3] xtfpga: enable hush parser
2018-02-07 23:30 ` [U-Boot] [PATCH v2 2/3] xtfpga: enable hush parser Max Filippov
@ 2018-02-14 16:43 ` Tom Rini
0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2018-02-14 16:43 UTC (permalink / raw)
To: u-boot
On Wed, Feb 07, 2018 at 03:30:02PM -0800, Max Filippov wrote:
> Remove CONFIG_BOOT_RETRY_TIME as it doesn't do much good and enable
> CONFIG_HUSH_PARSER in xtfpga_defconfig.
>
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180214/fd340113/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot, v2, 3/3] .travis.yml: test xtensa xtfpga board in QEMU
2018-02-07 23:30 ` [U-Boot] [PATCH v2 3/3] .travis.yml: test xtensa xtfpga board in QEMU Max Filippov
@ 2018-02-14 16:43 ` Tom Rini
0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2018-02-14 16:43 UTC (permalink / raw)
To: u-boot
On Wed, Feb 07, 2018 at 03:30:03PM -0800, Max Filippov wrote:
> This allows running tests on emulated KC705 board with DC233C xtensa
> core. It expects to find conf.xtfpga_qemu in the uboot-test-hooks.
>
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180214/6aed3fc3/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-02-14 16:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 23:30 [U-Boot] [PATCH v2 0/3] .travis.yml changes for building/testing xtensa port Max Filippov
2018-02-07 23:30 ` [U-Boot] [PATCH v2 1/3] .travis.yml: download xtensa prebuilt toolchain Max Filippov
2018-02-14 16:43 ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-02-07 23:30 ` [U-Boot] [PATCH v2 2/3] xtfpga: enable hush parser Max Filippov
2018-02-14 16:43 ` [U-Boot] [U-Boot,v2,2/3] " Tom Rini
2018-02-07 23:30 ` [U-Boot] [PATCH v2 3/3] .travis.yml: test xtensa xtfpga board in QEMU Max Filippov
2018-02-14 16:43 ` [U-Boot] [U-Boot, v2, " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.