On 12/7/20 6:02 AM, Jiaxun Yang wrote:
> Hi all,
>
> I'm back! Now I'm also helping CIP United, the present owner of MIPS
> in China, take care of their open-souce infrastructures.
>
> Btw: I'd like to add kernel boot tests for boston and incoming loongson-virt.
> Where should I place kernel binaries?
The easiest way is a tag in git repository.
See commits 89368673493 ("BootLinuxConsoleTest: Run kerneltests
BusyBox on Malta") and 4fe986dd448 ("tests/acceptance: console
boot tests for quanta-gsj").
>
> Thanks.
>
> Jiaxun Yang (5):
> hw/mips: Add a bootloader helper
> hw/mips/malta: Make use of bootloader helper
> hw/mips/fuloong2e: Make use of bootloader helper
> hw/mips/addr: Add translation helpers for KSEG1
> hw/mips/boston: Make use of bootloader helper
>
> hw/mips/addr.c | 11 +++
> hw/mips/bootloader.c | 150 ++++++++++++++++++++++++++++++++++++++
> hw/mips/boston.c | 60 ++++-----------
> hw/mips/fuloong2e.c | 35 ++-------
> hw/mips/malta.c | 108 +++++++--------------------
> hw/mips/meson.build | 2 +-
> include/hw/mips/cpudevs.h | 10 +++
> 7 files changed, 216 insertions(+), 160 deletions(-)
> create mode 100644 hw/mips/bootloader.c
>