[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 339ef8: hw/xtensa/xtfpga: rewrite mini bootlo
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 339ef8: hw/xtensa/xtfpga: rewrite mini bootloader |
Date: |
Wed, 24 Jan 2018 11:24:20 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 339ef8fb6a6ac81113e555d1b638cfdafaba851a
https://github.com/qemu/qemu/commit/339ef8fb6a6ac81113e555d1b638cfdafaba851a
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M hw/xtensa/xtfpga.c
Log Message:
-----------
hw/xtensa/xtfpga: rewrite mini bootloader
Don't load jump target into the CPU config, instead put it and initial
a2 as literals into the mini bootloader and use l32r to load them
natively. With these changes it should be possible to do warm reboot of
the guest.
Signed-off-by: Max Filippov <address@hidden>
Commit: 188ce01d61aaa33dc35f182a27ed4cf5a92a3088
https://github.com/qemu/qemu/commit/188ce01d61aaa33dc35f182a27ed4cf5a92a3088
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M hw/xtensa/xtfpga.c
Log Message:
-----------
hw/xtensa/xtfpga: clean up function/structure names
Function/structure naming inconsistently uses lx, lx60 and xtensa
prefixes where xtfpga would be appropriate. Fix that.
Signed-off-by: Max Filippov <address@hidden>
Commit: 29b39bc712b55ea535bf419821d797c5ba614146
https://github.com/qemu/qemu/commit/29b39bc712b55ea535bf419821d797c5ba614146
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M target/xtensa/overlay_tool.h
Log Message:
-----------
target/xtensa: fix default sysrom/sysram addresses
noMMU configs had wrong sysrom and sysram base addresses, fix them.
Signed-off-by: Max Filippov <address@hidden>
Commit: e53fa62c17a87c8a6cdbe5fb265c876bb87bcff2
https://github.com/qemu/qemu/commit/e53fa62c17a87c8a6cdbe5fb265c876bb87bcff2
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M hw/xtensa/Makefile.objs
M hw/xtensa/sim.c
A hw/xtensa/xtensa_memory.c
A hw/xtensa/xtensa_memory.h
M hw/xtensa/xtfpga.c
Log Message:
-----------
hw/xtensa: extract xtensa_create_memory_regions
XTFPGA boards should populate core memory regions the same way sim
machine does. Move xtensa_create_memory_regions implementation to a
separate file and use it to create instruction and data memory regions
on XTFPGA boards.
Signed-off-by: Max Filippov <address@hidden>
Commit: 740ad9f75dcb44d4756b1798c874b7f9f1d295df
https://github.com/qemu/qemu/commit/740ad9f75dcb44d4756b1798c874b7f9f1d295df
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M hw/xtensa/xtfpga.c
Log Message:
-----------
hw/xtensa/xtfpga: extract flash configuration
Extract flash configuration into a separate structure to make it easier
to share between MMU and noMMU configurations.
Signed-off-by: Max Filippov <address@hidden>
Commit: 85e2d8d510643766acb9f28f6489e1992b450de4
https://github.com/qemu/qemu/commit/85e2d8d510643766acb9f28f6489e1992b450de4
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M hw/xtensa/xtfpga.c
Log Message:
-----------
hw/xtensa/xtfpga: support noMMU cores
Cores with and without MMU have system RAM and ROM at different locations.
Also with noMMU cores system IO region is accessible through two physical
address ranges.
Signed-off-by: Max Filippov <address@hidden>
Commit: 7ddaee6d0805961dbcc035b37da0d9f9ea07f26c
https://github.com/qemu/qemu/commit/7ddaee6d0805961dbcc035b37da0d9f9ea07f26c
Author: Max Filippov <address@hidden>
Date: 2018-01-11 (Thu, 11 Jan 2018)
Changed paths:
M target/xtensa/Makefile.objs
A target/xtensa/core-de212.c
A target/xtensa/core-de212/core-isa.h
A target/xtensa/core-de212/gdb-config.c
A target/xtensa/core-de212/xtensa-modules.c
Log Message:
-----------
target/xtensa: add de212 core
DE212 is a noMMU core supported in linux. Import this core to provide
true noMMU configuration for xtensa linux to run on QEMU.
Signed-off-by: Max Filippov <address@hidden>
Commit: a3c5e49da98156a3895cddb4a9f54d8bec4e889b
https://github.com/qemu/qemu/commit/a3c5e49da98156a3895cddb4a9f54d8bec4e889b
Author: Max Filippov <address@hidden>
Date: 2018-01-22 (Mon, 22 Jan 2018)
Changed paths:
M hw/xtensa/xtfpga.c
M target/xtensa/cpu.h
Log Message:
-----------
target/xtensa: allow different default CPU for MMU/noMMU
Define default core for noMMU configurations and use that core as
machine default with noMMU XTFPGA machines.
This is done to avoid offering non-working configuration (MMU core on a
noMMU machine) as a default.
Signed-off-by: Max Filippov <address@hidden>
Commit: 251634f4ce589d17eb0a14e36c65090713eb9e56
https://github.com/qemu/qemu/commit/251634f4ce589d17eb0a14e36c65090713eb9e56
Author: Max Filippov <address@hidden>
Date: 2018-01-22 (Mon, 22 Jan 2018)
Changed paths:
M target/xtensa/Makefile.objs
A target/xtensa/core-sample_controller.c
A target/xtensa/core-sample_controller/core-isa.h
A target/xtensa/core-sample_controller/gdb-config.c
A target/xtensa/core-sample_controller/xtensa-modules.c
Log Message:
-----------
target/xtensa: add sample_controller core
The sample_controller core is a simple noMMU general purpose core, modern
analog of de212. It is used as a default core in the xtensa port of
Zephyr.
Signed-off-by: Max Filippov <address@hidden>
Commit: 847a6473206607bc6c84f6c537a0fe603ff7aaa6
https://github.com/qemu/qemu/commit/847a6473206607bc6c84f6c537a0fe603ff7aaa6
Author: Max Filippov <address@hidden>
Date: 2018-01-22 (Mon, 22 Jan 2018)
Changed paths:
M disas/xtensa.c
M target/xtensa/translate.c
Log Message:
-----------
target/xtensa: disas/xtensa: fix coverity warnings
Coverity warnings CID 1385146, 1385148 1385149 and 1385150 point that
xtensa_opcode_num_operands and xtensa_format_num_slots may return -1
even when xtensa_opcode_decode and xtensa_format_decode succeed. In that
case unsigned counters used to iterate through operands/slots will not
do the right thing.
Make counters and loop bounds signed to fix the warnings.
Signed-off-by: Max Filippov <address@hidden>
Commit: 82de978a8b01c37e57a4782012b88ce89e0fa4f6
https://github.com/qemu/qemu/commit/82de978a8b01c37e57a4782012b88ce89e0fa4f6
Author: Peter Maydell <address@hidden>
Date: 2018-01-24 (Wed, 24 Jan 2018)
Changed paths:
M disas/xtensa.c
M hw/xtensa/Makefile.objs
M hw/xtensa/sim.c
A hw/xtensa/xtensa_memory.c
A hw/xtensa/xtensa_memory.h
M hw/xtensa/xtfpga.c
M target/xtensa/Makefile.objs
A target/xtensa/core-de212.c
A target/xtensa/core-de212/core-isa.h
A target/xtensa/core-de212/gdb-config.c
A target/xtensa/core-de212/xtensa-modules.c
A target/xtensa/core-sample_controller.c
A target/xtensa/core-sample_controller/core-isa.h
A target/xtensa/core-sample_controller/gdb-config.c
A target/xtensa/core-sample_controller/xtensa-modules.c
M target/xtensa/cpu.h
M target/xtensa/overlay_tool.h
M target/xtensa/translate.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/xtensa/tags/20180122-xtensa' into
staging
target/xtensa updates:
- make mini-bootloader independent of the initial CPU state;
- add noMMU XTFPGA variants;
- add two noMMU cores: de212 and sample_controller;
- fix issues reported by coverity against xtensa translator and disassembler.
# gpg: Signature made Mon 22 Jan 2018 20:00:01 GMT
# gpg: using RSA key 0x51F9CC91F83FA044
# gpg: Good signature from "Max Filippov <address@hidden>"
# gpg: aka "Max Filippov <address@hidden>"
# gpg: aka "Max Filippov <address@hidden>"
# Primary key fingerprint: 2B67 854B 98E5 327D CDEB 17D8 51F9 CC91 F83F A044
* remotes/xtensa/tags/20180122-xtensa:
target/xtensa: disas/xtensa: fix coverity warnings
target/xtensa: add sample_controller core
target/xtensa: allow different default CPU for MMU/noMMU
target/xtensa: add de212 core
hw/xtensa/xtfpga: support noMMU cores
hw/xtensa/xtfpga: extract flash configuration
hw/xtensa: extract xtensa_create_memory_regions
target/xtensa: fix default sysrom/sysram addresses
hw/xtensa/xtfpga: clean up function/structure names
hw/xtensa/xtfpga: rewrite mini bootloader
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/25bfd5a75fa3...82de978a8b01
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 339ef8: hw/xtensa/xtfpga: rewrite mini bootloader,
GitHub <=