Commit Graph

17 Commits

Author SHA1 Message Date
Naveen Saini
de481c4b3b Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and fixed
some additional changes manually.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-05 17:07:51 +08:00
Naveen Saini
80276ffd01 intel-x86-32.conf: drop machine configuration
Support for 'minnowboard' and 'up_squared_32' BOARDS have been removed.

ec5e3017ac
11b8dd85b9

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-27 11:11:01 +08:00
Naveen Saini
98663003d7 intel-x86-32.conf: add common MACHINE for x86 (32-bit) BOARDS
User need to specify board value to ZEPHYR_BOARD in local.conf
ZEPHYR_BOARD = "minnowboard"

By default it set to MinnowBoard Max 'minnowboard'

Currently 32-bit supported boards:
* up_squared_32
* minnowboard

Ref:
https://docs.zephyrproject.org/latest/boards/x86/index.html

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21 09:01:41 +08:00
Naveen Saini
4ac860b668 intel-x86-64.conf: add common MACHINE for x86 (64-bit) BOARDS
User need to specify board value to ZEPHYR_BOARD in local.conf
ZEPHYR_BOARD = "ehl_crb"

By default it set to Elkhart Lake CRB 'ehl_crb'

Currently 64-bit supported boards:
* up_squared
* ehl_crb_sbl
* ehl_crb
* acrn
* acrn_ehl_crb

Ref:
https://docs.zephyrproject.org/latest/boards/x86/index.html

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21 09:01:35 +08:00
Wojciech Zmuda
f0124603c5 nrf52832.inc: Rename to nrf52.inc
The file is so generic anyway it can be targeted for
the nRF52 family without any harm.

Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-20 16:43:32 +08:00
Zbigniew Bodek
15c5eea4ca zephyr-flash-pyocd.bbclass: Fix problems with flashing particular boards
By default, pyocd uses generic target type called "cortex_m" which
should be able to connect and debug but not flash the memory.
Normally pyocd would warn us of using default target instead
of proper one but this message wasn't displayed.

Despite not providing target type, flashing process succeeded
but results were undefined. On Nitrogen, sometimes it worked
(especially for small images) and sometimes the programmed
device crashed miserably.

Fix flashing operation by providing pyocd target type acquired from
the conditional PYOCD_TARGET variable declared for each machine
(chip family).

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-04-15 08:05:02 +08:00
Andrei Gherzan
1ebcb8a34b Cleanup superflous new lines
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17 11:51:01 +08:00
Wojciech Zmuda
bc8d845e38 conf: machine: add 96boards Avenger96 support
The board is based on STMicro STM32MP157AAC 2xCortex-A7+2xCortex-M4
system-on-chip.

Add STM32MP1 family machine config. STM32MP1 support depends on
STM32 HAL and OpenAMP for inter-core communication.

This change has been verified with zephyr-philosophers
and zephyr-shell sample applications on by loading Zephyr image
to Cortex-M4 core from Linux using remoteproc framework.

Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-16 09:07:43 +08:00
Wojciech Zmuda
4dee0261c1 conf: machine: add support for Nordic nRF52832 Cortex-M4 chip
Add include for Cortex-M4 tunes and nRF52832. The nRF config
appends 'nordic' to MACHINEOVERRIDES, so the kernel recipe
can include Nordic HAL when this override is detected.

Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-14 08:16:12 +08:00
Naveen Saini
887da6a9f0 acrn.conf: set tune corei7-64
Added CONFIG_X86_64 since ACRN hypervisor supports x86_64 capable
platforms only.

Ref:
d0126a037d

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-09-28 09:55:25 +08:00
Naveen Saini
4766b6b17f tune-cortexm3.inc: set '-mfloat-abi=soft' floating-point ABI
Due to default -mfloat-abi=softfp facing below error log:
"Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"

Ref: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-03-31 17:23:22 +08:00
Juro Bystricky
bd4e0ee3e6 siteinfo-zephyr.bbclass: refactor siteinfo
Move all SITEINFO_EXTRA_DATAFUNCS and PACKAGEQA_EXTRA_MACHDEFFUNCS
from various tune files (tune-arc.inc, tune-iamcu.inc, tune-nios2.inc)
into a a new siteinfo-zephyr.bbclass file. Although the original code did
not result in any obvious errors, in fact it did cause some multiconfig
problems.

[YOCTO#11166]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-04-10 15:11:05 -07:00
Juro Bystricky
b0a4c54057 arduino-101-ble: new MACHINE
Support for Arduino BLE ARM core.
The core is based on Cortex-M0, so a corresponding tune/toolchain
is required as well.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-06 14:14:36 -08:00
Juro Bystricky
d7dcbd54bd qemu-nios2: New MACHINE
Added support for Zephyr qemu-nios2 BOARD.
Nios2 CPU is not supported natively by upstream QEMU,
so a Nios2 specific patch needs to be applied.

[YOCTO#10660]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-23 15:43:35 -08:00
Juro Bystricky
f47182e4f9 arduino-101-sss: New MACHINE
Added support for Zephyr arduino_101_sss board (ARC core).
The support requires ARC toolchain.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10 16:57:03 -08:00
Juro Bystricky
895c53de14 arduino-101: New MACHINE
Support for Arduino-101 board, Intel MCU CPU.
This board needs IAMCU cross-compiler.

[YOCTO#10658]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10 16:46:21 -08:00
Juro Bystricky
dca66adbe0 qemu-cortex-m3: new MACHINE
Various changes to properly handle QEMU for Cortex M3.
This was solved by creating a new MACHINE qemu-cortex-m3.
Specifying MACHINE=qemu-cortex-m3 will select proper tuning
for the cross-compiler.

Typical usage:

    $ MACHINE=qemu-cortex-m3 bitbake zephyr-philosophers

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10 16:24:04 -08:00