mbox series

[0/4] hw/m68k/virt: Add some devices

Message ID 20240527-m68k-bios-v1-0-6de26552fa77@flygoat.com
Headers show
Series hw/m68k/virt: Add some devices | expand

Message

Jiaxun Yang May 27, 2024, 5:15 p.m. UTC
Hi all,

This series added some devices that I found lacking when
I was trying to port U-Boot to m68k virt machine.

Please review.
Thanks

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Jiaxun Yang (4):
      hw/m68k/virt: Add a XHCI controller
      hw/m68k/virt: Add fw_cfg controller
      hw/m68k/virt: Add a pflash controller for BIOS firmware
      hw/m68k/virt: Supply bootinfo for BIOS

 hw/m68k/Kconfig                                   |   3 +
 hw/m68k/virt.c                                    | 231 ++++++++++++++++------
 include/standard-headers/asm-m68k/bootinfo-virt.h |   4 +
 3 files changed, 176 insertions(+), 62 deletions(-)
---
base-commit: 60b54b67c63d8f076152e0f7dccf39854dfc6a77
change-id: 20240527-m68k-bios-a0a2370181f5

Best regards,

Comments

Philippe Mathieu-Daudé June 18, 2024, 11:45 a.m. UTC | #1
On 27/5/24 19:15, Jiaxun Yang wrote:
> Hi all,
> 
> This series added some devices that I found lacking when
> I was trying to port U-Boot to m68k virt machine.

Cc'ing Mark, but both he and Laurent are busy :/

> Please review.
> Thanks
> 
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> Jiaxun Yang (4):
>        hw/m68k/virt: Add a XHCI controller
>        hw/m68k/virt: Add fw_cfg controller
>        hw/m68k/virt: Add a pflash controller for BIOS firmware
>        hw/m68k/virt: Supply bootinfo for BIOS
> 
>   hw/m68k/Kconfig                                   |   3 +
>   hw/m68k/virt.c                                    | 231 ++++++++++++++++------
>   include/standard-headers/asm-m68k/bootinfo-virt.h |   4 +
>   3 files changed, 176 insertions(+), 62 deletions(-)
> ---
> base-commit: 60b54b67c63d8f076152e0f7dccf39854dfc6a77
> change-id: 20240527-m68k-bios-a0a2370181f5
> 
> Best regards,
Laurent Vivier June 20, 2024, 11:32 a.m. UTC | #2
Le 27/05/2024 à 19:15, Jiaxun Yang a écrit :
> Hi all,
> 
> This series added some devices that I found lacking when
> I was trying to port U-Boot to m68k virt machine.

I have a branch with a bootloader based on petitboot.

See https://github.com/vivier/qemu-m68k/commits/m68k-virt/

Thanks
Laurent

> 
> Please review.
> Thanks
> 
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> Jiaxun Yang (4):
>        hw/m68k/virt: Add a XHCI controller
>        hw/m68k/virt: Add fw_cfg controller
>        hw/m68k/virt: Add a pflash controller for BIOS firmware
>        hw/m68k/virt: Supply bootinfo for BIOS
> 
>   hw/m68k/Kconfig                                   |   3 +
>   hw/m68k/virt.c                                    | 231 ++++++++++++++++------
>   include/standard-headers/asm-m68k/bootinfo-virt.h |   4 +
>   3 files changed, 176 insertions(+), 62 deletions(-)
> ---
> base-commit: 60b54b67c63d8f076152e0f7dccf39854dfc6a77
> change-id: 20240527-m68k-bios-a0a2370181f5
> 
> Best regards,