Message ID | 20201215064200.28751-1-jiaxun.yang@flygoat.com (mailing list archive) |
---|---|
Headers | show |
Series | MIPS Bootloader helper | expand |
在 2020/12/15 下午2:41, Jiaxun Yang 写道: > v2: > A big reconstruction. rewrite helpers with CPU feature and sepreate > changesets. ping? > > Jiaxun Yang (8): > hw/mips: Make bootloader addresses unsgined > hw/mips/malta: Use address translation helper to calculate > bootloader_run_addr > hw/mips: Use address translation helper to handle ENVP_ADDR > hw/mips: Add a bootloader helper > hw/mips: Use bl_gen_kernel_jump to generate bootloaders > target/mips/addr: Add translation helpers for KSEG1 > hw/mips/malta: Use bootloader helper to set BAR resgiters > hw/mips/boston: Use bootloader helper to set GCRs > > hw/mips/bootloader.c | 157 ++++++++++++++++++++++++++++++++ > hw/mips/boston.c | 62 +++---------- > hw/mips/fuloong2e.c | 48 +++------- > hw/mips/malta.c | 171 ++++++++++++----------------------- > hw/mips/meson.build | 2 +- > include/hw/mips/bootloader.h | 48 ++++++++++ > target/mips/addr.c | 10 ++ > target/mips/cpu.h | 2 + > 8 files changed, 306 insertions(+), 194 deletions(-) > create mode 100644 hw/mips/bootloader.c > create mode 100644 include/hw/mips/bootloader.h >
On 12/15/20 7:41 AM, Jiaxun Yang wrote: > v2: > A big reconstruction. rewrite helpers with CPU feature and sepreate > changesets. > > Jiaxun Yang (8): > hw/mips: Make bootloader addresses unsgined > hw/mips/malta: Use address translation helper to calculate > bootloader_run_addr > hw/mips: Use address translation helper to handle ENVP_ADDR > hw/mips: Add a bootloader helper > hw/mips: Use bl_gen_kernel_jump to generate bootloaders > target/mips/addr: Add translation helpers for KSEG1 > hw/mips/malta: Use bootloader helper to set BAR resgiters > hw/mips/boston: Use bootloader helper to set GCRs > > hw/mips/bootloader.c | 157 ++++++++++++++++++++++++++++++++ > hw/mips/boston.c | 62 +++---------- > hw/mips/fuloong2e.c | 48 +++------- > hw/mips/malta.c | 171 ++++++++++++----------------------- > hw/mips/meson.build | 2 +- > include/hw/mips/bootloader.h | 48 ++++++++++ > target/mips/addr.c | 10 ++ > target/mips/cpu.h | 2 + > 8 files changed, 306 insertions(+), 194 deletions(-) > create mode 100644 hw/mips/bootloader.c > create mode 100644 include/hw/mips/bootloader.h > Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
On 12/15/20 7:41 AM, Jiaxun Yang wrote: > v2: > A big reconstruction. rewrite helpers with CPU feature and sepreate > changesets. > > Jiaxun Yang (8): > hw/mips: Make bootloader addresses unsgined > hw/mips/malta: Use address translation helper to calculate > bootloader_run_addr > hw/mips: Use address translation helper to handle ENVP_ADDR > hw/mips: Add a bootloader helper > hw/mips: Use bl_gen_kernel_jump to generate bootloaders > target/mips/addr: Add translation helpers for KSEG1 > hw/mips/malta: Use bootloader helper to set BAR resgiters > hw/mips/boston: Use bootloader helper to set GCRs > > hw/mips/bootloader.c | 157 ++++++++++++++++++++++++++++++++ > hw/mips/boston.c | 62 +++---------- > hw/mips/fuloong2e.c | 48 +++------- > hw/mips/malta.c | 171 ++++++++++++----------------------- > hw/mips/meson.build | 2 +- > include/hw/mips/bootloader.h | 48 ++++++++++ > target/mips/addr.c | 10 ++ > target/mips/cpu.h | 2 + > 8 files changed, 306 insertions(+), 194 deletions(-) > create mode 100644 hw/mips/bootloader.c > create mode 100644 include/hw/mips/bootloader.h Patches 1-3 queued to mips-next.
On 1/3/21 9:42 PM, Philippe Mathieu-Daudé wrote: > On 12/15/20 7:41 AM, Jiaxun Yang wrote: >> v2: >> A big reconstruction. rewrite helpers with CPU feature and sepreate >> changesets. >> >> Jiaxun Yang (8): >> hw/mips: Make bootloader addresses unsgined >> hw/mips/malta: Use address translation helper to calculate >> bootloader_run_addr >> hw/mips: Use address translation helper to handle ENVP_ADDR >> hw/mips: Add a bootloader helper >> hw/mips: Use bl_gen_kernel_jump to generate bootloaders >> target/mips/addr: Add translation helpers for KSEG1 >> hw/mips/malta: Use bootloader helper to set BAR resgiters >> hw/mips/boston: Use bootloader helper to set GCRs >> >> hw/mips/bootloader.c | 157 ++++++++++++++++++++++++++++++++ >> hw/mips/boston.c | 62 +++---------- >> hw/mips/fuloong2e.c | 48 +++------- >> hw/mips/malta.c | 171 ++++++++++++----------------------- >> hw/mips/meson.build | 2 +- >> include/hw/mips/bootloader.h | 48 ++++++++++ >> target/mips/addr.c | 10 ++ >> target/mips/cpu.h | 2 + >> 8 files changed, 306 insertions(+), 194 deletions(-) >> create mode 100644 hw/mips/bootloader.c >> create mode 100644 include/hw/mips/bootloader.h > > Patches 1-3 queued to mips-next. Patch 6 queued to mips-next.