All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit
@ 2019-08-04 12:10 Heinrich Schuchardt
  2019-08-04 13:31 ` Bin Meng
  2019-09-13 14:06 ` Tom Rini
  0 siblings, 2 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2019-08-04 12:10 UTC (permalink / raw)
  To: u-boot

Build GRUB UEFI target grubriscv64.efi. It is needed for running
test_efi_grub_net().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
This patch applies to
https://gitlab.denx.de/u-boot/gitlab-ci-runner
---
 Dockerfile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 23d4042..d73fd10 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -112,6 +112,20 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 	lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot \
 	search search_fs_file search_fs_uuid search_label serial sleep test \
 	true && \
+	make clean && \
+	./configure --target=riscv64 --with-platform=efi \
+	CC=gcc \
+	TARGET_CC=/opt/gcc-7.3.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc \
+	TARGET_OBJCOPY=/opt/gcc-7.3.0-nolibc/riscv64-linux/bin/riscv64-linux-objcopy \
+	TARGET_STRIP=/opt/gcc-7.3.0-nolibc/riscv64-linux/bin/riscv64-linux-strip \
+	TARGET_NM=/opt/gcc-7.3.0-nolibc/riscv64-linux/bin/riscv64-linux-nm \
+	TARGET_RANLIB=/opt/gcc-7.3.0-nolibc/riscv64-linux/bin/riscv64-linux-ranlib && \
+	make && \
+	./grub-mkimage -O riscv64-efi -o /opt/grub/grubriscv64.efi --prefix= -d \
+	grub-core cat chain configfile echo efinet ext2 fat halt help linux \
+	lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot \
+	search search_fs_file search_fs_uuid search_label serial sleep test \
+	true && \
 	rm -rf /tmp/grub

 RUN git clone git://git.qemu.org/qemu.git /tmp/qemu && \
--
2.20.1

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

* [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit
  2019-08-04 12:10 [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit Heinrich Schuchardt
@ 2019-08-04 13:31 ` Bin Meng
  2019-09-12 20:31   ` Heinrich Schuchardt
  2019-09-13 14:06 ` Tom Rini
  1 sibling, 1 reply; 6+ messages in thread
From: Bin Meng @ 2019-08-04 13:31 UTC (permalink / raw)
  To: u-boot

On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Build GRUB UEFI target grubriscv64.efi. It is needed for running
> test_efi_grub_net().
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
> This patch applies to
> https://gitlab.denx.de/u-boot/gitlab-ci-runner
> ---
>  Dockerfile | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

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

* [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit
  2019-08-04 13:31 ` Bin Meng
@ 2019-09-12 20:31   ` Heinrich Schuchardt
  2019-09-12 21:17     ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Heinrich Schuchardt @ 2019-09-12 20:31 UTC (permalink / raw)
  To: u-boot

On 8/4/19 3:31 PM, Bin Meng wrote:
> On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>>
>> Build GRUB UEFI target grubriscv64.efi. It is needed for running
>> test_efi_grub_net().
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
>> ---
>> This patch applies to
>> https://gitlab.denx.de/u-boot/gitlab-ci-runner
>> ---
>>   Dockerfile | 14 ++++++++++++++
>>   1 file changed, 14 insertions(+)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>
Hello Tom,

the patch did not yet make it into

https://gitlab.denx.de/u-boot/gitlab-ci-runner.git

Anything I should do?

Best regards

Heinrich

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

* [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit
  2019-09-12 20:31   ` Heinrich Schuchardt
@ 2019-09-12 21:17     ` Tom Rini
  2019-09-13 11:24       ` Heinrich Schuchardt
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2019-09-12 21:17 UTC (permalink / raw)
  To: u-boot

On Thu, Sep 12, 2019 at 10:31:39PM +0200, Heinrich Schuchardt wrote:
> On 8/4/19 3:31 PM, Bin Meng wrote:
> >On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> >>
> >>Build GRUB UEFI target grubriscv64.efi. It is needed for running
> >>test_efi_grub_net().
> >>
> >>Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> >>---
> >>This patch applies to
> >>https://gitlab.denx.de/u-boot/gitlab-ci-runner
> >>---
> >>  Dockerfile | 14 ++++++++++++++
> >>  1 file changed, 14 insertions(+)
> >>
> >
> >Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> >_______________________________________________
> >U-Boot mailing list
> >U-Boot at lists.denx.de
> >https://lists.denx.de/listinfo/u-boot
> >
> Hello Tom,
> 
> the patch did not yet make it into
> 
> https://gitlab.denx.de/u-boot/gitlab-ci-runner.git
> 
> Anything I should do?

Sorry, I assume this is blocking being able to then enable tests on the
platform?  If so, I'll go spin things around shortly and in the future
feel free to poke me if I don't turn them around in a day or two.

-- 
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/20190912/01e29679/attachment.sig>

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

* [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit
  2019-09-12 21:17     ` Tom Rini
@ 2019-09-13 11:24       ` Heinrich Schuchardt
  0 siblings, 0 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2019-09-13 11:24 UTC (permalink / raw)
  To: u-boot

On 9/12/19 11:17 PM, Tom Rini wrote:
> On Thu, Sep 12, 2019 at 10:31:39PM +0200, Heinrich Schuchardt wrote:
>> On 8/4/19 3:31 PM, Bin Meng wrote:
>>> On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>>>>
>>>> Build GRUB UEFI target grubriscv64.efi. It is needed for running
>>>> test_efi_grub_net().
>>>>
>>>> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
>>>> ---
>>>> This patch applies to
>>>> https://gitlab.denx.de/u-boot/gitlab-ci-runner
>>>> ---
>>>>   Dockerfile | 14 ++++++++++++++
>>>>   1 file changed, 14 insertions(+)
>>>>
>>>
>>> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
>>> _______________________________________________
>>> U-Boot mailing list
>>> U-Boot at lists.denx.de
>>> https://lists.denx.de/listinfo/u-boot
>>>
>> Hello Tom,
>>
>> the patch did not yet make it into
>>
>> https://gitlab.denx.de/u-boot/gitlab-ci-runner.git
>>
>> Anything I should do?
>
> Sorry, I assume this is blocking being able to then enable tests on the
> platform?  If so, I'll go spin things around shortly and in the future
> feel free to poke me if I don't turn them around in a day or two.
>

Once we build grubriscv64.efi we can use it in the UEFI unit test
test_efi_grub_net().

It is not high priority as Linux is still missing an EFI stub for RISC.
I just wanted to avoid the patch sinking into oblivion.

Best regards

Heinrich

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

* [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit
  2019-08-04 12:10 [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit Heinrich Schuchardt
  2019-08-04 13:31 ` Bin Meng
@ 2019-09-13 14:06 ` Tom Rini
  1 sibling, 0 replies; 6+ messages in thread
From: Tom Rini @ 2019-09-13 14:06 UTC (permalink / raw)
  To: u-boot

On Sun, Aug 04, 2019 at 02:10:36PM +0200, Heinrich Schuchardt wrote:

> Build GRUB UEFI target grubriscv64.efi. It is needed for running
> test_efi_grub_net().
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot-gitlab-ci-runner/master.  Pushed and
trini/u-boot-gitlab-ci-runner:xenial-20190720-13Sep2019 built, tagged
and uploaded to docker.  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/20190913/76d4c37c/attachment.sig>

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

end of thread, other threads:[~2019-09-13 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-04 12:10 [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit Heinrich Schuchardt
2019-08-04 13:31 ` Bin Meng
2019-09-12 20:31   ` Heinrich Schuchardt
2019-09-12 21:17     ` Tom Rini
2019-09-13 11:24       ` Heinrich Schuchardt
2019-09-13 14:06 ` 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.