All of lore.kernel.org
 help / color / mirror / Atom feed
* [u-boot-test-hooks PATCH 0/2] Aspeed updates
@ 2022-06-24  2:34 Joel Stanley
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line Joel Stanley
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Joel Stanley @ 2022-06-24  2:34 UTC (permalink / raw)
  To: Tom Rini; +Cc: Cédric Le Goater, Ryan Chen, u-boot

Hi Tom,

This updates the configuration for the aspeed machines, adding support
for the ast2600.

Joel Stanley (2):
  ast2500: Simplify Qemu command line
  travis-ci: Add Aspeed AST2600 Qemu configuration

 bin/travis-ci/conf.evb-ast2500_qemu              |  2 +-
 bin/travis-ci/conf.evb-ast2600_qemu              | 13 +++++++++++++
 py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py |  4 ++++
 3 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100644 bin/travis-ci/conf.evb-ast2600_qemu
 create mode 100644 py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py

-- 
2.35.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line
  2022-06-24  2:34 [u-boot-test-hooks PATCH 0/2] Aspeed updates Joel Stanley
@ 2022-06-24  2:34 ` Joel Stanley
  2022-06-24  6:22   ` Cédric Le Goater
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration Joel Stanley
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Joel Stanley @ 2022-06-24  2:34 UTC (permalink / raw)
  To: Tom Rini; +Cc: Cédric Le Goater, Ryan Chen, u-boot

The Aspeed machine in Qemu has appropriate defaults so we don't need to
specify these options.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 bin/travis-ci/conf.evb-ast2500_qemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/travis-ci/conf.evb-ast2500_qemu b/bin/travis-ci/conf.evb-ast2500_qemu
index 7f0f3c56e006..2e9adc6af9b0 100644
--- a/bin/travis-ci/conf.evb-ast2500_qemu
+++ b/bin/travis-ci/conf.evb-ast2500_qemu
@@ -5,7 +5,7 @@
 console_impl=qemu
 qemu_machine="ast2500-evb"
 qemu_binary="qemu-system-arm"
-qemu_extra_args="-nographic -m 512M -serial mon:stdio -net nic,model=ftgmac100 -net user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
+qemu_extra_args="-nographic -nic user,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
 qemu_kernel_args="-drive file=${U_BOOT_BUILD_DIR}/flash.img,format=raw,if=mtd"
 reset_impl=none
 flash_impl=qemu_gen_padded_image
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration
  2022-06-24  2:34 [u-boot-test-hooks PATCH 0/2] Aspeed updates Joel Stanley
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line Joel Stanley
@ 2022-06-24  2:34 ` Joel Stanley
  2022-06-24  6:22   ` Cédric Le Goater
  2022-06-24 15:43 ` [u-boot-test-hooks PATCH 0/2] Aspeed updates Tom Rini
  2022-06-28 13:32 ` Tom Rini
  3 siblings, 1 reply; 7+ messages in thread
From: Joel Stanley @ 2022-06-24  2:34 UTC (permalink / raw)
  To: Tom Rini; +Cc: Cédric Le Goater, Ryan Chen, u-boot

Similar to the AST2500 this machine is emulated by Qemu. It boots from
a 64MB SPI NOR flash device by default.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 bin/travis-ci/conf.evb-ast2600_qemu              | 13 +++++++++++++
 py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py |  4 ++++
 2 files changed, 17 insertions(+)
 create mode 100644 bin/travis-ci/conf.evb-ast2600_qemu
 create mode 100644 py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py

diff --git a/bin/travis-ci/conf.evb-ast2600_qemu b/bin/travis-ci/conf.evb-ast2600_qemu
new file mode 100644
index 000000000000..386ff7d25774
--- /dev/null
+++ b/bin/travis-ci/conf.evb-ast2600_qemu
@@ -0,0 +1,13 @@
+# Copyright 2022 IBM Corp.
+# Joel Stanley <joel@jms.id.au>
+# SPDX-License-Identifier: GPL-2.0+
+
+console_impl=qemu
+qemu_machine="ast2600-evb"
+qemu_binary="qemu-system-arm"
+qemu_extra_args="-nographic -nic user,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
+qemu_kernel_args="-drive file=${U_BOOT_BUILD_DIR}/flash.img,format=raw,if=mtd"
+flash_u_boot_bin="u-boot-with-spl.bin"
+reset_impl=none
+flash_impl=qemu_gen_padded_image
+flash_size=64
diff --git a/py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py b/py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py
new file mode 100644
index 000000000000..396261efa3a3
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py
@@ -0,0 +1,4 @@
+import travis_tftp
+
+env__net_dhcp_server = True
+env__net_tftp_readable_file = travis_tftp.file2env('u-boot')
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line Joel Stanley
@ 2022-06-24  6:22   ` Cédric Le Goater
  0 siblings, 0 replies; 7+ messages in thread
From: Cédric Le Goater @ 2022-06-24  6:22 UTC (permalink / raw)
  To: Joel Stanley, Tom Rini; +Cc: Ryan Chen, u-boot

On 6/24/22 04:34, Joel Stanley wrote:
> The Aspeed machine in Qemu has appropriate defaults so we don't need to
> specify these options.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.

> ---
>   bin/travis-ci/conf.evb-ast2500_qemu | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/bin/travis-ci/conf.evb-ast2500_qemu b/bin/travis-ci/conf.evb-ast2500_qemu
> index 7f0f3c56e006..2e9adc6af9b0 100644
> --- a/bin/travis-ci/conf.evb-ast2500_qemu
> +++ b/bin/travis-ci/conf.evb-ast2500_qemu
> @@ -5,7 +5,7 @@
>   console_impl=qemu
>   qemu_machine="ast2500-evb"
>   qemu_binary="qemu-system-arm"
> -qemu_extra_args="-nographic -m 512M -serial mon:stdio -net nic,model=ftgmac100 -net user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
> +qemu_extra_args="-nographic -nic user,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
>   qemu_kernel_args="-drive file=${U_BOOT_BUILD_DIR}/flash.img,format=raw,if=mtd"
>   reset_impl=none
>   flash_impl=qemu_gen_padded_image


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration Joel Stanley
@ 2022-06-24  6:22   ` Cédric Le Goater
  0 siblings, 0 replies; 7+ messages in thread
From: Cédric Le Goater @ 2022-06-24  6:22 UTC (permalink / raw)
  To: Joel Stanley, Tom Rini; +Cc: Ryan Chen, u-boot

On 6/24/22 04:34, Joel Stanley wrote:
> Similar to the AST2500 this machine is emulated by Qemu. It boots from
> a 64MB SPI NOR flash device by default.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.

> ---
>   bin/travis-ci/conf.evb-ast2600_qemu              | 13 +++++++++++++
>   py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py |  4 ++++
>   2 files changed, 17 insertions(+)
>   create mode 100644 bin/travis-ci/conf.evb-ast2600_qemu
>   create mode 100644 py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py
> 
> diff --git a/bin/travis-ci/conf.evb-ast2600_qemu b/bin/travis-ci/conf.evb-ast2600_qemu
> new file mode 100644
> index 000000000000..386ff7d25774
> --- /dev/null
> +++ b/bin/travis-ci/conf.evb-ast2600_qemu
> @@ -0,0 +1,13 @@
> +# Copyright 2022 IBM Corp.
> +# Joel Stanley <joel@jms.id.au>
> +# SPDX-License-Identifier: GPL-2.0+
> +
> +console_impl=qemu
> +qemu_machine="ast2600-evb"
> +qemu_binary="qemu-system-arm"
> +qemu_extra_args="-nographic -nic user,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
> +qemu_kernel_args="-drive file=${U_BOOT_BUILD_DIR}/flash.img,format=raw,if=mtd"
> +flash_u_boot_bin="u-boot-with-spl.bin"
> +reset_impl=none
> +flash_impl=qemu_gen_padded_image
> +flash_size=64
> diff --git a/py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py b/py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py
> new file mode 100644
> index 000000000000..396261efa3a3
> --- /dev/null
> +++ b/py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py
> @@ -0,0 +1,4 @@
> +import travis_tftp
> +
> +env__net_dhcp_server = True
> +env__net_tftp_readable_file = travis_tftp.file2env('u-boot')


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [u-boot-test-hooks PATCH 0/2] Aspeed updates
  2022-06-24  2:34 [u-boot-test-hooks PATCH 0/2] Aspeed updates Joel Stanley
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line Joel Stanley
  2022-06-24  2:34 ` [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration Joel Stanley
@ 2022-06-24 15:43 ` Tom Rini
  2022-06-28 13:32 ` Tom Rini
  3 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-06-24 15:43 UTC (permalink / raw)
  To: Joel Stanley; +Cc: Cédric Le Goater, Ryan Chen, u-boot

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

On Fri, Jun 24, 2022 at 12:04:18PM +0930, Joel Stanley wrote:

> Hi Tom,
> 
> This updates the configuration for the aspeed machines, adding support
> for the ast2600.
> 
> Joel Stanley (2):
>   ast2500: Simplify Qemu command line
>   travis-ci: Add Aspeed AST2600 Qemu configuration
> 
>  bin/travis-ci/conf.evb-ast2500_qemu              |  2 +-
>  bin/travis-ci/conf.evb-ast2600_qemu              | 13 +++++++++++++
>  py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py |  4 ++++
>  3 files changed, 18 insertions(+), 1 deletion(-)
>  create mode 100644 bin/travis-ci/conf.evb-ast2600_qemu
>  create mode 100644 py/travis-ci/u_boot_boardenv_evb-ast2600_qemu.py

Thanks, I'll pick these up soon.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [u-boot-test-hooks PATCH 0/2] Aspeed updates
  2022-06-24  2:34 [u-boot-test-hooks PATCH 0/2] Aspeed updates Joel Stanley
                   ` (2 preceding siblings ...)
  2022-06-24 15:43 ` [u-boot-test-hooks PATCH 0/2] Aspeed updates Tom Rini
@ 2022-06-28 13:32 ` Tom Rini
  3 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-06-28 13:32 UTC (permalink / raw)
  To: Joel Stanley; +Cc: u-boot, Cédric Le Goater, Ryan Chen

On Fri, 24 Jun 2022 12:04:18 +0930, Joel Stanley wrote:
> This updates the configuration for the aspeed machines, adding support
> for the ast2600.
> 
> Joel Stanley (2):
>   ast2500: Simplify Qemu command line
>   travis-ci: Add Aspeed AST2600 Qemu configuration
> 
> [...]

Applied, thanks!

[1/2] ast2500: Simplify Qemu command line
      commit: 0a7395692b6f7e8ca4afc49b570e730a0d288646
[2/2] travis-ci: Add Aspeed AST2600 Qemu configuration
      commit: 457656fc43140eab1aab1380427a48ca89d6d462

Best regards,
-- 
Tom


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-06-28 13:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  2:34 [u-boot-test-hooks PATCH 0/2] Aspeed updates Joel Stanley
2022-06-24  2:34 ` [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line Joel Stanley
2022-06-24  6:22   ` Cédric Le Goater
2022-06-24  2:34 ` [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration Joel Stanley
2022-06-24  6:22   ` Cédric Le Goater
2022-06-24 15:43 ` [u-boot-test-hooks PATCH 0/2] Aspeed updates Tom Rini
2022-06-28 13:32 ` 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.