All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing
@ 2020-06-27 12:21 Bin Meng
  2020-07-07 14:12 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Bin Meng @ 2020-06-27 12:21 UTC (permalink / raw)
  To: u-boot

From: Bin Meng <bin.meng@windriver.com>

Change to use OpenSBI release v0.8 generic platform images for QEMU
RISC-V CI testing for azure, gitlab and travis-ci.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
Depends on the following 2 patches:
- "fdtdec: Honor #address-cells and #size-cells in fdtdec_add_reserved_memory()"
  which is currently in the u-boot/next tree
- "test/py: test_efi_fit: Update #size-cells to 1"
  http://patchwork.ozlabs.org/project/uboot/patch/1593259920-32256-1-git-send-email-bmeng.cn at gmail.com/

 .azure-pipelines.yml | 8 ++++----
 .gitlab-ci.yml       | 8 ++++----
 .travis.yml          | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 28387ce..421953c 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -283,12 +283,12 @@ jobs:
           cp /opt/grub/grubaa64.efi ~/grub_arm64.efi
           cp /opt/grub/grubarm.efi ~/grub_arm.efi
           if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
-              wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
-              export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
+              wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
+              export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin;
           fi
           if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then
-              wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv64-bin.tar.xz | tar -C /tmp -xJ;
-              export OPENSBI=/tmp/opensbi-0.6-rv64-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
+              wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
+              export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin;
           fi
           # the below corresponds to .gitlab-ci.yml "script"
           cd ${WORK_DIR}
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f2e491c..d83e72b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,12 +25,12 @@ stages:
     - cp /opt/grub/grubaa64.efi ~/grub_arm64.efi
     - cp /opt/grub/grubarm.efi ~/grub_arm.efi
     - if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
-        wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
-        export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
+        wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
+        export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin;
       fi
     - if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then
-        wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv64-bin.tar.xz | tar -C /tmp -xJ;
-        export OPENSBI=/tmp/opensbi-0.6-rv64-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
+        wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
+        export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin;
       fi
 
   after_script:
diff --git a/.travis.yml b/.travis.yml
index bb02b6d..a11b972 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -204,12 +204,12 @@ before_script:
        popd;
     fi
   - if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
-       wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
-       export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
+       wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
+       export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin;
     fi
   - if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then
-       wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv64-bin.tar.xz | tar -C /tmp -xJ;
-       export OPENSBI=/tmp/opensbi-0.6-rv64-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
+       wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
+       export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin;
     fi
 
 script:
-- 
2.7.4

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

* [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing
  2020-06-27 12:21 [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing Bin Meng
@ 2020-07-07 14:12 ` Tom Rini
       [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3FA47279D3@ATCPCS16.andestech.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2020-07-07 14:12 UTC (permalink / raw)
  To: u-boot

On Sat, Jun 27, 2020 at 05:21:04AM -0700, Bin Meng wrote:

> From: Bin Meng <bin.meng@windriver.com>
> 
> Change to use OpenSBI release v0.8 generic platform images for QEMU
> RISC-V CI testing for azure, gitlab and travis-ci.
> 
> Signed-off-by: Bin Meng <bin.meng@windriver.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200707/34eb15da/attachment.sig>

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

* [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing
       [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3FA47279D3@ATCPCS16.andestech.com>
@ 2020-07-16  8:37     ` Rick Chen
  2020-07-16  8:51       ` Bin Meng
  0 siblings, 1 reply; 4+ messages in thread
From: Rick Chen @ 2020-07-16  8:37 UTC (permalink / raw)
  To: u-boot

Hi Bin

> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
> Sent: Tuesday, July 07, 2020 10:13 PM
> To: Bin Meng
> Cc: U-Boot Mailing List; Bin Meng
> Subject: Re: [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing
>
> On Sat, Jun 27, 2020 at 05:21:04AM -0700, Bin Meng wrote:
>
> > From: Bin Meng <bin.meng@windriver.com>
> >
> > Change to use OpenSBI release v0.8 generic platform images for QEMU
> > RISC-V CI testing for azure, gitlab and travis-ci.
> >
> > Signed-off-by: Bin Meng <bin.meng@windriver.com>
>
> Reviewed-by: Tom Rini <trini@konsulko.com>
>

I am trying to apply this patch, but it fail

Applying: azure: gitlab: travis: Update OpenSBI used for RISC-V testing
error: patch failed: .azure-pipelines.yml:283
error: .azure-pipelines.yml: patch does not apply
error: patch failed: .gitlab-ci.yml:25
error: .gitlab-ci.yml: patch does not apply
Patch failed at 0001 azure: gitlab: travis: Update OpenSBI used for
RISC-V testing

Can you rebase again ?

Thanks,
Rick

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

* [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing
  2020-07-16  8:37     ` Rick Chen
@ 2020-07-16  8:51       ` Bin Meng
  0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2020-07-16  8:51 UTC (permalink / raw)
  To: u-boot

Hi Rick,

On Thu, Jul 16, 2020 at 4:37 PM Rick Chen <rickchen36@gmail.com> wrote:
>
> Hi Bin
>
> > From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
> > Sent: Tuesday, July 07, 2020 10:13 PM
> > To: Bin Meng
> > Cc: U-Boot Mailing List; Bin Meng
> > Subject: Re: [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing
> >
> > On Sat, Jun 27, 2020 at 05:21:04AM -0700, Bin Meng wrote:
> >
> > > From: Bin Meng <bin.meng@windriver.com>
> > >
> > > Change to use OpenSBI release v0.8 generic platform images for QEMU
> > > RISC-V CI testing for azure, gitlab and travis-ci.
> > >
> > > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> >
> > Reviewed-by: Tom Rini <trini@konsulko.com>
> >
>
> I am trying to apply this patch, but it fail
>
> Applying: azure: gitlab: travis: Update OpenSBI used for RISC-V testing
> error: patch failed: .azure-pipelines.yml:283
> error: .azure-pipelines.yml: patch does not apply
> error: patch failed: .gitlab-ci.yml:25
> error: .gitlab-ci.yml: patch does not apply
> Patch failed at 0001 azure: gitlab: travis: Update OpenSBI used for
> RISC-V testing
>
> Can you rebase again ?
>

Sure, will rebase.

Regards,
Bin

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

end of thread, other threads:[~2020-07-16  8:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-27 12:21 [PATCH] azure: gitlab: travis: Update OpenSBI used for RISC-V testing Bin Meng
2020-07-07 14:12 ` Tom Rini
     [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3FA47279D3@ATCPCS16.andestech.com>
2020-07-16  8:37     ` Rick Chen
2020-07-16  8:51       ` Bin Meng

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.