summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Expand)AuthorFilesLines
2023-07-18meta-agl-bsp: remove now unnecessary workaroundsScott Murray8-129/+0
2023-06-12Remove systemd user session and clean up packagegroups and imagesScott Murray1-5/+0
2023-06-05Use new weston-ini-conf scheme and remove old per-machine filesJan-Simon Moeller4-21/+3
2023-06-05Fix orientation for dual-hdmi setup on pi4Jan-Simon Moeller2-1/+14
2023-05-30Fix up i.MX8MQ EVK configurationScott Murray10-76/+75
2023-05-29Remove unnecessary group change at meta-agl-bsp for R-CarNaoto Yamaguchi1-2/+0
2023-05-09meta-ti-bsp: linux-bb.org: add bbappend to apply AGL config fragmentsDenys Dmytriyenko1-0/+2
2023-05-05[R-CAR] meta-agl-bsp: correct vspm-if package nameHarunobu Kurokawa3-3/+3
2023-05-05meta-agl-bsp: Use pixman renderer on qemuarm/qemuarm64Hiroyuki Ishii2-0/+6
2023-05-03agl_bbe.inc: remove old graphics preferencesDenys Dmytriyenko1-20/+0
2023-05-03agl_beaglebone.inc: remove old graphics preferencesDenys Dmytriyenko1-21/+0
2023-05-03meta-ti-bsp: don't apply mesa virgl patch for TI pvr graphicsDenys Dmytriyenko2-0/+2
2023-05-03meta-agl-bsp/core: mesa: generic patches should be y-c-l safeDenys Dmytriyenko2-2/+2
2023-05-03meta-ti-bsp: ti-sgx-ddk-um: drop systemd service workaroundDenys Dmytriyenko2-37/+0
2023-05-03meta-ti-bsp: mesa: drop unneeded bbappendDenys Dmytriyenko1-7/+0
2023-04-25Convert AGLCI into AGL_FEATUREJan-Simon Moeller1-1/+1
2023-04-19meta-agl-bsp: Add overrides to Kingfisher BSP changesScott Murray1-5/+5
2023-03-31meta-core/recipes-graphics/mesa: Backport a fix from 22.2.5Marius Vlad2-0/+52
2023-03-30meta-rcar-gen3/recipes-multimedia/gstreamer: Add gstreamer bbappendsMarius Vlad3-0/+3
2023-02-15meta-agl-bsp: Fix rcar3 kernel module bbappends for linux-dummyScott Murray7-21/+35
2023-01-29meta-agl-bsp: make sure weston user is in display group for rcar3Scott Murray1-0/+4
2023-01-29meta-agl-bsp: make meta-rcar-gen3 BBMASKs more specificScott Murray2-3/+3
2022-12-30virtualization-layer/recipes-graphics/mesa: Workaround for virglMarius Vlad2-0/+37
2022-12-08linux-yocto: Rework virtio-aarch64 kernel configurationScott Murray3-1/+14
2022-12-08linux: config: move BBE-specific fragment from meta-agl-core to meta-agl-bspDenys Dmytriyenko2-0/+2
2022-11-23meta-agl-bsp: Add overrides to rcar3 BSP changesScott Murray3-26/+24
2022-11-13meta-agl-bsp: Fix rc.pvr.service dependency for meta-rcar-gen3Scott Murray1-0/+7
2022-10-07Revert "meta-agl-bsp: meta-sancloud: Revert problematic kernel commit"Paul Barker2-49/+0
2022-09-22virtualization/linux-yocto: Support linux-yocto-dev for VIRTIO.Vasyl Vavrychuk1-0/+10
2022-09-22virtualization/linux-yocto: For kernel metadata use git repository instead of...Vasyl Vavrychuk14-245/+11
2022-09-07meta-agl-bsp: arm-trusted-firmware: Change the way how RCAR_BL33_EXECUTION_EL...Vasyl Vavrychuk2-33/+3
2022-08-05[RCAR] Update kernel-module-vspm-if recipice nameRonan Le Martret1-3/+0
2022-08-05Revert "meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2"Ronan Le Martret5-213/+0
2022-08-04Add empty for append syntaxChanghyeok Bae2-5/+5
2022-07-29meta-agl-bsp: Pin i.MX platform kernels to 5.15 LTSScott Murray3-2/+10
2022-07-13meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2Scott Murray5-0/+213
2022-07-11bsp: Delete the patch not used any longerZhou Mingying1-58/+0
2022-07-11Machine cleanup for Nifty NeedlefishScott Murray9-81/+0
2022-07-07[RCAR] Fixed the unrecomennd operator usageHarunobu Kurokawa1-1/+1
2022-06-17[RCAR] Fix video stream for user "agl-driver"Ronan Le Martret4-0/+45
2022-05-26agl_m3-salvator-x-nogfx.inc:duerpei1-0/+11
2022-05-26virtio: Enable virtio-scmi and IIO SCMI drivers.Vasyl Vavrychuk6-0/+178
2022-05-16Replace "/etc" with "${sysconfidir}"duerpei1-2/+2
2022-05-10meta-agl-bsp: update virtio-aarch64Scott Murray15-4285/+2
2022-05-06Enable usrmergeScott Murray8-1/+87
2022-05-03meta-agl-bsp: add fix for intermittent failures in arm-trusted-firmwareScott Murray1-0/+6
2022-05-03meta-agl-bsp: fix building weston for rcar3 nogfx machinesScott Murray3-7/+34
2022-05-03meta-agl-bsp: fix rcar3 packaging errorsScott Murray1-0/+10
2022-05-03meta-agl-bsp: avoid meta-gnome dependency from meta-rcar-gen3Scott Murray1-0/+3
2022-05-03[RCAR] Fix IMAGE_INSTALL command syntaxRonan Le Martret2-2/+2
an> idx++) { json_object *actionJ = json_object_array_get_idx(actionsJ, idx); err = actionUnpack (actionJ, &actions[idx]); if (err) goto OnErrorExit; } } else { actions = calloc (2, sizeof(PolicyActionT)); err = actionUnpack (actionsJ, &actions[0]); if (err) goto OnErrorExit; } return actions; OnErrorExit: return NULL; } // load control policy from file using json_unpack https://jansson.readthedocs.io/en/2.9/apiref.html#parsing-and-validating-values STATIC PolicyCtlConfigT *PolicyLoadConfig (const char* filepath) { json_object *policyConfigJ, *ignoreJ, *actionsJ; PolicyCtlConfigT *policyConfig = calloc (1, sizeof(PolicyCtlConfigT)); int err; // Load JSON file policyConfigJ= json_object_from_file(filepath); if (!policyConfigJ) goto OnErrorExit; json_object *metadataJ, *onloadJ, *controlsJ, *eventsJ; err= wrap_json_unpack(policyConfigJ, "{s?o,so,s?o,so,so !}", "$schema", &ignoreJ, "metadata",&metadataJ, "onload",&onloadJ, "controls",&controlsJ, "events",&eventsJ); if (err) { AFB_ERROR ("POLICY-LOAD-ERRROR Missing something metadata|onload|controls|events in %s", json_object_get_string(policyConfigJ)); goto OnErrorExit; } PolicyHandleT *policyHandle = calloc (1, sizeof(PolicyHandleT)); err= wrap_json_unpack(metadataJ, "{so,s?s,s?s !}", "label", &policyHandle->label, "info",&policyHandle->info, "version",&policyHandle->version); if (err) { AFB_ERROR ("POLICY-LOAD-CONFIG Missing something label|info|version in %s", json_object_get_string(metadataJ)); goto OnErrorExit; } if (onloadJ) { err= wrap_json_unpack(onloadJ, "{s?o,s?s,s?s !}", "info",&ignoreJ, "label",&ignoreJ, "actions",&actionsJ); if (err) { AFB_ERROR ("POLICY-LOAD-CONFIG Missing something label|info|plugin|actions in %s", json_object_get_string(metadataJ)); goto OnErrorExit; } policyConfig->onload = PolicyLoadActions (actionsJ); } return policyControl; OnErrorExit: return NULL; } // Load default config file at init PUBLIC int PolicyInit () { int index, err; // search for default policy config file json_object* responseJ = ScanForConfig(CONTROL_CONFIG_PATH); for (index=0; index < json_object_array_length(responseJ); index++) { json_object *entryJ=json_object_array_get_idx(responseJ, index); char *filename; char*dirpath; err= wrap_json_unpack (entryJ, "{s:s, s:s !}", "dirpath", &dirpath,"filename", &filename); if (err) { AFB_ERROR ("POLICY-INIT HOOPs invalid config file path = %s", json_object_get_string(entryJ)); goto OnErrorExit; } if (strcasestr(filename, CONTROL_CONFIG_FILE)) { char filepath[255]; strncpy(filepath, dirpath, sizeof(filepath)); strncat(filepath, "/", sizeof(filepath)); strncat(filepath, filename, sizeof(filepath)); ctlHandle = PolicyLoadConfig (filepath); if (!ctlHandle) goto OnErrorExit; break; } } // no policy config found remove control API from binder if (index == 0) goto OnErrorExit; AFB_NOTICE ("SUCCES: Audio Control Policy Init"); return 0; OnErrorExit: AFB_NOTICE ("ERROR: Audio Control Policy Init"); return 1; }