zephyr/tests
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
..
application_development tests/ /gen_inc_file: convert 4,5,6,7 enumeration to an interval 2019-08-21 07:27:22 -05:00
arch tests: kernel: replace CONFIG_USERSPACE with CONFIG_TEST_USERSPACE 2019-09-03 16:44:22 +02:00
benchmarks tests: benchmarks: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
bluetooth Bluetooth: UUID: Add test for bt_uuid_create 2019-09-03 16:41:00 +02:00
boards tests: boards: board_shell: Activate CAN shell 2019-07-29 10:27:54 +03:00
booting/stub
cmsis_rtos_v1 tests/cmsis_rtos_v1: relax timing check a bit 2019-08-02 12:47:41 +02:00
cmsis_rtos_v2 tests/cmsis_rtos_v2: exclude m2gl025_miv due to tick rate conflict 2019-08-02 12:47:41 +02:00
crypto kernel: lib: Add convert functions for hex strings and binary arrays 2019-07-16 12:44:18 +02:00
drivers drivers/pci: remove legacy PCI implementation 2019-09-08 22:09:10 -04:00
kernel x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00
lib tests: exclude twr_ke18f platform from several user mode tests 2019-09-03 16:44:22 +02:00
misc cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
net tests: net: getaddrinfo: Logging was missing log_strdup() call 2019-09-11 16:17:42 +03:00
posix tests: posix: fs: Add test for (no) leak of file descriptors 2019-08-27 10:34:54 -04:00
shell
subsys fcb: start using errno codes 2019-09-08 12:42:53 +02:00
unit tests: crc: convert to regular test case 2019-07-06 00:31:04 +02:00
ztest