Skip to content

riscv: Add QEMU virt board support

Bin Meng u-boot 10 versions – New

Get series with b4
b4 am CAEUhbmVckO99MX4GiidkLfvGdGEh2K5vCQ1uB6Pk16ix1AKPcg@mail.gmail.com

Versions newest first · linked by author and title

  1. v3 Latest posting 5/50 of 17 patches 0 repliesNew
  2. v3 posting 4/50 of 17 patches 0 repliesSuperseded
  3. v3 posting 3/50 of 17 patches 0 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v3 posting 2/50 of 17 patches0 repliesSuperseded
v3 posting 1/517 patches0 repliesSuperseded
v2 posting 4/40 of 15 patches0 repliesSuperseded
v2 posting 3/40 of 15 patches0 repliesSuperseded
v2 posting 2/415 patches0 repliesSuperseded
v2 posting 1/415 patches0 repliesSuperseded
v112 patches0 repliesSuperseded

Patches in v3 posting 5/5 No applies recorded yet

None of the 17 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 00/17] riscv: Add QEMU virt board support

Hi Lukas,

Quoted 24 lines · Lukas

Hi Bin,

Quoted 13 lines · Bin Meng

This series adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V.

Some existing RISC-V codes have been changed to make it easily to support new targets. Some spotted coding style issues are fixed.

This series is available at u-boot-x86/riscv-working for testing.

Changes in v3:
- net patch to print the relocation address in cmd 'bdinfo'
- new patch to imply DM support for some common drivers
- reword the reset message a little, and call hang() in the end

Quoted 6 lines

Changes in v2:
- Change Linux kernel entry parameters' type to support 32/64 bit
- new patch to remove CSR read/write defines in encoding.h
- new patch to pass mhartid CSR value to kernel
- new patch to move do_reset() to a common place

Quoted 5 lines

One more thing, I wanted to let you know about. I am already able to boot Linux in QEMU with this patch series, and u-boot master now. I had to make minor changes to the board config / environment to enable FIT images, though jumping directly to bbl + Linux with 'go' should work as well.

Good to know.

Quoted 3 lines

I did modify QEMU slightly so that it also loads binaries instead of just ELF files. I am planning to start sending my patches to u-boot and QEMU next week.

Do you mean QEMU's -kernel parameter?

Regards,
Bin