zephyr/boards/x86/qemu_x86
Andrew Boie 9df9994572 x86: fix XIP SOC support and defaults
XIP support in x86 was something of a mess. This
patch does the following:

- Generic ia32 SOC no longer defines a "flash" region
  as generic X86 devices don't have a microcontroller-
  like concept of flash. The same has been done for apollo_lake.
- Generic ia32 and apollo_lake SOCs starts memory at 1MB.
- Generic ia32 SOC may optionally have CONFIG_XIP enabled.
  The board definition must provide a flash region definition
  that gets exposed as DT_PHYS_LOAD_ADDR.
- Fixed definitions for RAM/ROM source addresses in ia32's
  linker.ld when XIP is turned off.
- Support for enabling XIP on apollo_lake SOC removed, there's
  no use-case.
- acrn and gpmrb boards have flash and XIP related definitions
  removed.
- qemu_x86 has a fake flash region added, immediately after system
  RAM, for use when XIP is enabled. This used to be in the ia32 SOC.
  However, the default for qemu_x86 is to now have XIP disabled.
- Fixed tests/kernel/xip to run by default on boards that enable
  XIP by default, plus an additional test to exercise XIP on
  qemu_x86 (which supports it but has XIP switched off by default)

The overall effect of this patch is to:

- Remove XIP configuration for SOC/boards where it does not make
  any sense to have it
- Support testing XIP on qemu_x86 via tests/kernel/xip, but leave
  it off by default for other tests, to ensure it doesn't bit-rot
  and that the system works in both scenarios.
- XIP remains an available feature for boards that need it.

Fixes: #18956

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-09-11 21:11:38 -04:00
..
doc doc: add how to exit from QEMU in samples 2019-09-02 12:06:08 -04:00
Kconfig.board x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00
Kconfig.defconfig arch/x86: remove support for IAMCU ABI 2019-09-07 10:07:42 -04:00
board.cmake x86: ia32: do not use the first megabyte 2019-08-07 12:50:53 -07:00
dts_fixup.h boards: qemu_x86: adding missing flash definitions 2019-09-08 12:35:15 +02:00
qemu_x86.dts x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00
qemu_x86.yaml boards: Set support for serial port networking as netif:serial-net 2019-07-29 10:24:46 +03:00
qemu_x86_coverage.dts
qemu_x86_coverage.yaml
qemu_x86_coverage_defconfig x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00
qemu_x86_defconfig x86: generate page tables at runtime 2019-08-07 12:50:53 -07:00
qemu_x86_nommu.dts
qemu_x86_nommu.yaml
qemu_x86_nommu_defconfig