Jon Mason
ecfdc7c69e
zephyr-kernel: add Zephyr RTOS version 2.4.0 support
...
Update Zephyr to the latest version. Tested via zephyr-philosophers on
qemu-cortex-m3.
Signed-off-by: Jon Mason <jon.mason@arm.com >
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-10-30 12:52:22 +08:00
Naveen Saini
78b3556956
qemu-cortex-m3.conf: Disable RNG passthrough
...
Qemu system does not passthroth RNG on x86 host.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-10-22 13:05:35 +08:00
Ross Burton
5117e90e61
README: add patch submission details
...
Signed-off-by: Ross Burton <ross.burton@arm.com >
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-10-21 18:47:20 +08:00
Ross Burton
71dd975d79
layer.conf: add layer dependency on meta-python
...
Signed-off-by: Ross Burton <ross.burton@arm.com >
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-10-21 18:47:20 +08:00
Ross Burton
b6938016f4
zephyr: use TCLIBC=newlib directly
...
Instead of setting TCLIBC=baremetal and then adding newlib in various places,
just set TCLIBC=newlib directly.
This also means we can use the standard DEPENDS instead of reinventing them.
Signed-off-by: Ross Burton <ross.burton@arm.com >
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-10-21 18:47:20 +08:00
Ross Burton
4df23ca31f
layer.conf: add compatibility with Gatesgarth
...
Signed-off-by: Ross Burton <ross.burton@arm.com >
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-10-20 09:35:15 +08:00
Jon Mason
0f75e5e827
zephyr.bbclass: Add ability to set board
...
Currently, there is no ability to set the board used by Zephyr. This
limits the ability to set the board to something other than the machine
name. By setting up an intermediate variable, ZEPHYR_BOARD, this can be
set by those that know better (with the default to use the machine name
as before).
Signed-off-by: Jon Mason <jon.mason@arm.com >
2020-09-29 15:46:42 +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
Mah, Yock Gen
6bfb2769b4
zephyr-kernel: add Zephyr RTOS version 2.3.0 support
...
Signed-off-by: Mah, Yock Gen <yock.gen.mah@intel.com >
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-09-23 09:03:21 +08:00
Naveen Saini
4dd1f5b782
README.txt: update doc
...
Add python dependencies.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-09-22 09:17:19 +08:00
Jon Mason
cb293402bf
zephyr-kernel: Add python dependencies
...
Zephyr refuses to compile due to missing python dependencies.
Signed-off-by: Jon Mason <jon.mason@arm.com >
Signed-off-by: Ross Burton <ross.burton@arm.com >
2020-09-22 09:17:07 +08:00
Naveen Saini
bc2b0968bf
newlib: instead of carry locally use from oe-core
...
Drop local newlib recipe and use it from oe-core
TODO: enable arc support
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-04-02 08:16:40 +08:00
Naveen Saini
a0155c573e
zephyr-kernel-test.inc: remove 'boot_page_table' kernel test
...
'boot_page_table' moved from kernel tests.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-04-02 08:16:40 +08:00
Naveen Saini
5d3bbae52d
zephyr-kernel: add Zephyr RTOS version 2.2.0 support
...
Release notes:
https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.2.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-04-02 08:16:40 +08:00
Naveen Saini
a8d73dba49
qemu: update recipe version
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-04-02 08:16:40 +08:00
Naveen Saini
4182c9bc4a
layer.conf: update LAYERSERIES_COMPAT to dunfell
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-04-02 08:16:40 +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
Naveen Saini
f42b7073cb
zephyr-getchar_git: remove sample program
...
This sample program does not exist anymore.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2020-03-31 17:23:14 +08:00
Naveen Saini
6ce72628e4
zephy-kernel-test: update the testcase list for x86
...
Updated the test recipes to build against Zephyr v2.0
Code clean up
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-17 15:25:24 +08:00
Naveen Saini
e1c1e883da
zephyr.conf: Enable uninative
...
Use uninative by default to allow to build multiple distro
and re-use sstate cache
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-17 15:24:52 +08:00
Naveen Saini
fca20d945d
zephyr-philosophers: update recipe to build against v2.0
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
c9feff3799
zephyr-helloworld: code clean up
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
4d518195da
zephyr-kernel: drop obsolete v1.6
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
3fc929d555
acrn.conf: add new machine
...
Add new acrn machine, which actually is $BOARD
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
0fb7ad1dae
zephyr-helloworld: update recipe to build against zephyr v2.0
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
cdb64bf3cf
qemu-x86.conf: drop deprecated qemu flags
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
b5d4f0fb63
zephyr-kernel: add Zephyr RTOS version 2.0.0 support
...
Release notes:
https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.0.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
7eb056d1ee
zephyr-kernel: drop v1.7
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
37d6c949d4
qemu-x86.conf: remove invalid options
...
Throw below error:
runqemu - ERROR - Failed to run qemu: qemu-system-i386: -clock: invalid option
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
396aafbd99
zephyr-helloworld: add
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
6d426f08d5
zephyr-kernel-src: updated SRC_URI to point to github
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
e2cb3f84b1
qemu: updated version to bbappend latest bb
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Naveen Saini
7b6e87ddac
layer.conf: add LAYERSERIES_COMPAT to warrior & zeus
...
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com >
2019-12-09 13:08:38 +08:00
Juro Bystricky
ec70aa457d
README.txt: updated
...
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-04-10 15:25:13 -07: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
d861fa09fd
binutils (ARC): remove unneeded patch
...
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-04-03 08:59:14 -07:00
Juro Bystricky
58f40114cc
zephyr-flash-dfu.bbclass: modified PATH handling
...
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-04-03 08:57:44 -07:00
Juro Bystricky
4f2f6233a8
zephyr-kernel-common.inc: modify ZEPHYR_MAKE_ARGS
...
Pass ARCH as well. Remove V=1, if needed can be added in
a specific recipe.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:35:40 -07:00
Juro Bystricky
a3331c52ff
MACHINE*: specify ARCH for each MACHINE
...
Some Makefiles may need to have ARCH set.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:35:22 -07:00
Juro Bystricky
eace735c7f
gcc (ARC): upgrade to 6.3.0
...
Upgrade needed to avoid some compiler bugs with -Os.
https://jira.zephyrproject.org/browse/ZEP-1882
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:34:47 -07:00
Juro Bystricky
5031445cfc
zephyr-kernel-test.inc: remove some tests
...
Removed tests not present in Zephyr 1.7.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:34:22 -07:00
Juro Bystricky
4280a8d4e3
zephyr-peripheral-esp.bb: GATT/ESP BLE sample code
...
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:33:56 -07:00
Juro Bystricky
5dff4e936e
zephyr-kernel-ser_1.7.bb: pack Zephyr 1.7 sources
...
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:33:11 -07:00
Juro Bystricky
38238f8ea7
zephyr-kernel.inc: also support Zephyr 1.7.0
...
Build kernel tests suite and kernel samples based on
PREFERRED_VERSION_zephyr-kernel
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-17 09:30:25 -07:00
Juro Bystricky
6fb096ca45
zephyr-qemuboot.bbclass: no rootfs
...
Explicitly state we don't have rootfs, otherwise default
rootfs QEMU settings may be forced by runqemu.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-08 10:11:25 -08:00
Juro Bystricky
2d028986e7
zephyr-hci-uart.bb: Zephyr BLE stack
...
Builds an image for Arduino 101 board needed to be flashed for its
nRF51 Bluetooth LE controller.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-06 14:20:44 -08:00
Juro Bystricky
99fdd89220
zephyr-ipm.bb: Zephyr sample for IPM
...
The recipe to build IPM sample demonstrating messaging between
ARC core and IAMCU core on Arduino 101.
The recipe can build two different images, based on BOARD.
Useful to demonstrate multiconfig.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-06 14:16:32 -08: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
6637130c74
zephyrtargetcontrol: new argument
...
An additional argument "target_modules_path" is needed in order
to work with the current master. The whole external controller code
handling will be changed in the near future, so this is most likely
only a temporary fix.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-06 09:49:30 -08:00
Juro Bystricky
1a611eda3a
arduino-101: Support for flashing via USB
...
Implement a class allowing flashing Arduino-101 using dfu-util.
User needs to have dfu-utils installed on the host machine.
All three cores supported (x86, ARM, ARC).
Sample usage:
$ MACHINE=arduino-101 bitbake xxx
$ MACHINE=arduino-101 bitbake xxx -c flash_usb
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com >
2017-03-06 09:47:09 -08:00