Age | Commit message (Collapse) | Author | Files | Lines |
|
To be merged together with:
https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/
v2: fix the aglsetup script
v3: fix scripts to extract m3ulcb
v4: use single folder for BSPs
Bug-AGL: SPEC-2450
Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Bump the distro configuration.
Change-Id: Icb7aFrom ee6267f357b3d158f0a0e88460782e8b9d44274a Mon Sep 17 00:00:00 2001
From: Raquel Medina <raquel.medina@konsulko.com>
Date: Fri, 4 Jan 2019 07:43:03 -0500
Subject: [PATCH] neardal: lib: fix memory corruption
The current commit fixes an invalid memory access
which manifests as a random segfault when executing
continuous tag read operations.
The corruption happens when releasing the memory allocated to a
record: in the time between the memory being g_free'd and the
subsequent memset operation, the memory could have been reused by
some other process. And since memory allocation depends on
system-wide factors, it makes this bug hard to track.
Tested using ACR122U reader and NTAG213
tags on Automotive Grade Linux (flounder,
guppy and master branches)
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
---
lib/neardal_record.c | 1 -
lib/neardal_tools.c | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/neardal_record.c b/lib/neardal_record.c
index 669012c..cfed5e8 100644
--- a/lib/neardal_record.c
+++ b/lib/neardal_record.c
@@ -31,7 +31,6 @@ void neardal_record_free(neardal_record *r)
{
g_return_if_fail(r);
neardal_g_strfreev((void **) r, &r->uriObjSize);
- memset(r, 0, sizeof(*r));
}
void neardal_free_record(neardal_record *record) \
diff --git a/lib/neardal_tools.c b/lib/neardal_tools.c
index f0d6157..f307df6 100644
--- a/lib/neardal_tools.c
+++ b/lib/neardal_tools.c
@@ -32,9 +32,12 @@
void neardal_g_strfreev(void **array, void *end)
{
void **p = array;
- for (; (void *) p < end; p++)
+ for (; (void *) p < end; p++) {
g_free(*p);
+ *p = NULL;
+ }
g_free(array);
+ array = NULL;
}
void neardal_g_variant_add_parsed(GVariant **v, const char *format, ...)
--
2.17.1
g/avatar/dbea2f73adfa9706f1ed7aa2332b605e?s=13&d=retro' />Jan-Simon Möller | 14 | -0/+193 |
|
Part of the layer cleanup.
Bug-AGL: SPEC-2450
Change-Id: I0e0517c6f5aeaa1378715acde8adda6200119aba
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
As memory is already low on 32-bit, the 64-bit target is deprecated for now.
There is no benefit in maintaining two targets atm.
Change-Id: I29d755ff70693280dcc1e4ce996bd4c2894bacfb
Bug-AGL: SPEC-2323
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
We were missing the SRCREV bump on afb-test.
This also fixes the '/p' prefix issue.
v2: fix gitsm -> git in SRC_URI and brain bug on RDEPENDS vs. DEPENDS.
Bug-AGL: SPEC-2423
Change-Id: Ibcec604ee5b3441e6863c3eaf8ee8ceaa3ee16d6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Bug-AGL: SPEC-2423
.
Change-Id: If937e6b7891d5d697f5d25e8439b5811453ccb5d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
The BBE is has fairly limited CPU and Graphics power so everything is
sluggish at 1080p. Things work much better at 720p.
However, if the 'hdmi-a-1-270.cfg' file has been removed (for example, when
building the cluster demo) then don't try to modify it.
Bug-AGL: SPEC-2409
Change-Id: I614bf6a7d65f5d51b6f9b1b776851562151fe2f6
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
|
|
The default gbm-format needs to be changed on the BeagleBone Enhanced
due to a hardware errata on the AM335x SoC.
For further details see the following section of the TI wiki:
http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display#AM3_Beagle_Bone_Black_Board_Configuration
The TI documentation recommends further changes to powervr.ini and
qt_env.sh. The change to powervr.ini is already applied in the
meta-sancloud layer and the change to qt_env.sh was found not to be
needed.
Bug-AGL: SPEC-2409
Change-Id: Iec91ab939b13bd4f936e64681d45931dafb8ee91
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
|
|
The tilcdc DRM driver needs more CMA memory available than we reserve by
default in order to give a working GUI in AGL guppy.
Bug-AGL: SPEC-2409
Change-Id: I0e09773c37133db86520fc15ed0ad11e80382b2e
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
|
|
This is the first step towards integration of the Sancloud BeagleBone
Enhanced (BBE) BSP with AGL.
When building the BBE kernel for AGL we need to pick up the correct .inc
files.
Bug-AGL: SPEC-2409
Change-Id: I05fe3094e75e873984df57f9610c704dd3c10e29
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
|
|
The git history shows that the weston-ini-conf changes in
meta-agl-bsp/meta-ti were added to support the dra7xx-evm.
These changes should not be applied for other machines which use the
meta-ti layer such as the beaglebone and bbe.
Bug-AGL: SPEC-2409
Change-Id: Ia21425bfda3ec03ef51371c14fcbca94a5067a7c
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
|
|
|
|
Below url's toppart seems un-official.
http://docs.automotivelinux.org/master/docs/devguides/en/dev/reference/meta-agl.html
Bug-AGL: SPEC-2382
Change-Id: Icfffa07e2fbc0a6aeaa83580d7e0007805bd5267
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
add agl-service-bluetooth-map to packagegroup-agl-core-services
Bug-AGL: SPEC-2351
Change-Id: I7242377f1b55c2e24f0d0f0124e0f1319544d380
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
recipe
Add initial recipe for the Bluetooth MAP (Message Access Profile) binding.
Bug-AGL: SPEC-2351
Change-Id: I9a40091f218e6ccef7af64aaed8d04b7cc605455
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
baaa511 - Inject binding v3 root api into controller plugins
3224600 - Fix: wrong string length size used
c32fc14 - Fix .deb packaging following review 20926
9fab427 - controller: fix broken link
cf08755 - devguides-book: needed for AGL documentation
Bug-AGL: SPEC-2369
Change-Id: If2ea6d0d560b8ec78e31d402dec7a7482a3c7768
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
As the "controller" and "helper" aren't any more submodules
but in libraries, it is required to add the dependency
in the recipe.
Bug-AGL: SPEC-2139
Change-Id: I377113b733c30d9a51297155c695ae98f151fbed
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
|
|
Improve how the binder is packaged.
Bug-AGL: SPEC-2165
The issue was that the debug symbols were not
at the expected place. It came from the way bitbake
packages debug meterials: the first package with
-dbg extension receive all the debug items.
Change-Id: I2f5470ded58bc782c9a9804373a5eb76b331f5ae
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This patch adds the necessary CONFIG for booting the upsquare board.
The upsquare have an R8169 ethernet card and need it built-in for the kernel DHCP autoconf to work.
The upsquare need some MFD_INTEL configs to boot.
The meta-intel miss some CONFIG necessary for LAVA and NBD to works.
Bug-AGL: SPEC-2075
Change-Id: Iad63e0f0b978bb75f8d8759ad353e7952b63a2ab
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
|
|
|
|
application"
|
|
|
|
Remove device which are EOL, unused or do not work.
As discussed during the SAT call:
- rpi2 :
-- will not work for IVI due to the CPU
-- use the rpi3 instead
- joule :
-- EOL for ~1y, no longer available for purchase, no way to test.
i.MX6:
Remove currently unmaintaned boards. Can re-add on request.
- imx6qsabrelite:
-- replaced with uprev'd imx6qsabreauto -> imx6qdlsabreauto
- nitrogen6x:
-- no thud branch upstream.
Bug-AGL: SPEC-2323
Change-Id: I28a70dcb7b48b6a9396d3003cc34d4c1f6570eca
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
This changeset adds the necessary files to build
image for Synopsys ARC HS Development Kit (HSDK).
Most of necessary tunnings are stored in meta-synopys layer.
Synopsys DesignWare HSDK (which stands for ARC HS Development Kit)
is the latest and greatest development platform that sports
quad-core ARC HS38 in real silicon.
Most noticeable features of the board are:
* Quad-core ARC HS38 CPU running at 1GHz
* 4Gb of DDR
* Built-in Vivante GPU
* Built-in Wi-Fi/Bluetooth module
Peripherals:
* [micro] SD-card slot
* 2 USB 2.0 ports
* 1Gbit Ethernet port
* Built-in Digilent JTAG probe
* Serial port accessible via micro-USB port
New feature: SPEC-2346
Change-Id: I8772ee51cc3db9f6549da2d6a5ea2d116586cde6
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
|
|
The imx6qsabreauto target was falling behind and could not be build for GG-7.0.
The commit 808fff5 from 'AGL-repo' removed reference to external repos meta-freescale-3rdparty and meta-freescale-distro.
However 'meta-agl' was not updated to follow up on this change which broke configuration for imx6 based targets.
This patch makes the required changes to fix the imx6qsabreauto machine configuration:
- removes reference to deleted layers: meta-freescale-3rdparty and meta-freescale-distro
- updates MACHINE value to imx6qdlsabreauto as defined in meta-freescale layer
- deletes reference to packagegroup-fscl-* not required to build AGL
- add "agl-medium-arm-compiler" to DISTRO_FEATURES so DEFAULTTUNE is correctly set to 'armv7athf-neon'
v2 (jsmoeller): moved board name to match MACHINE
v3 (bechir.mghirbi):
- remove wayland_2.0.0 as weston_4.0.0.imx is used.
- use default IMAGE_FSTYPES as bitbake is complaining that no IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdcard'
- Add CFG80211 Kernel configuration
Change-Id: Ib8b1d254972c737725247a5b13ce333e8ef9d4dc
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Add entries for the mosquitto daemon to the static passwd and group
files to allow building it into images. Since there is not really a
mechanism for doing this in the telematics profile without a full
duplication of the files, adding it to the core version seems required
for now.
Change-Id: I50248a7d2b2a2ed5539ba002d9521c0e0fd14034
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
- this link does not exist anymore
Change-Id: I912a0396d890b8548d3d8388852c685ee17d2d2b
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Now that the new navigation application is ready,
change the default navigation application.
This replaces https://gerrit.automotivelinux.org/gerrit/#/c/19831/ .
Change-Id: Iac516672087d231d5ea0b43764ce12e3d3c20580
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
|
|
|
|
This is needed for network booting.
Change-Id: Iecee73a3b0bf31c3c68bb4beea1f41d07c9b5ec5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Recent upgrade to thud brings in v239 which already has the canbus changes.
Change-Id: If5cd09e55117f56c3ff8bb9b1155519e7e2a40d2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Includes the following changes:
* 51b8ff0 Prevent false positive during check source
* 6b70202 coverage: Allow removal of valgrind
* bf7fe72 jobs: Clean unneeded code
* 418ba12 watchdog: Isolate the watchdog from jobs
* d7e4fab Rename afb-systemd to systemd
* c330ecf system & jobs: Reverse link and acquiring events
* d9de3cd evmgr: Isolate the event loop from jobs
* 5715fd5 afb-args: Use secure_getenv
* 5011060 sig-monitor: Add compiling switches
* a2cf84e hooks: Allow to remove hooking (and/or trace)
* 84f4aec Rename afb-config to afb-args
* 8214e88 evmgr: Fix a "maybe uninitialized" issue
* 50deefa Workaround an exit issue
* 901a38c jobs: Refactor exiting jobs
* 2ba7c20 Improve setting of options
* ec0564b Add conditionnal support of bindings version 2
* 16f014e Add conditionnal support of dynamic bindings
* 60cd117 Fix false ***buffer overflow*** detection
* ce53d8e afb-export: Fix heap corruption
Bug-AGL: SPEC-2292
Change-Id: If4540a3dc58df208ecb3ee7de363d29317bfb903
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Update the core distro to YP 2.6 'thud'.
Bug-AGL: SPEC-1837
Change-Id: I5a753503c4ca15bcb0d4f0f30c4a91e7d50ab024
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
* 5c05223 - Use C++11 standard by default
* 1eb7fc7 - Set PROJECT_VERSION overwritable by cli
* f5bb1d7 - Moved Qt's automoc and autorcc variables
* a946245 - book.yml: needed for new doc workflow
* 8876fa0 - Fix gitreview file
* 9bcc943 - Set PROJECT_VERSION overwritable by cli
* b7e6dbe - Add functions reference documentation
* 2e36a74 - Call the freeCB function a manual timer stop call
* aba89b5 - Little code cleaning.
* a1976ff - Adding packaging files
Change-Id: I94b41f5656cfe81f808c0de46d0553a0a6690d51
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|