summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27add feature agl-appfw-smackStephane Desneux2-0/+0
Change-Id: Iea370d3b58aad61bad3304e923fc3e11639525e2 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27upgrade to new namings and bug fixesJosé Bollo4-17/+17
Change-Id: If7481696d130859e87f3110af2d0c5dde25615d6 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27add layer meta-app-frameworkStephane Desneux26-0/+755
meta-app-framework is a layer containing the AGL App Framework recipes 4 new layers are added for application framework: * meta-intel-iot-security/meta-security-smack * meta-intel-iot-security/meta-security-framework * meta-agl/meta-agl-security * meta-agl/meta-app-framework Configuration file changes to support AppFw: * activation of Smack and Cynara * modify the tar command to be used to support Smack extended attributes Change-Id: Idc8abdc8869787feb4b534ee45bf7b5d3dde3632 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Update rcar gen3 script, compliant driver updateRonan Le Martret1-16/+23
Setup_mm_packages.sh must be compliant with driver update. Test if EXTRACT_DIR do not exists block the update. Change-Id: If5a8adfbf187e0894d04488eb40aa6ddbe48ad95 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-27Add kernel config for renesas porter to support ppptte_zheng_wenlong2-0/+7
Change-Id: Id387b5d6ea88dfe3c1e8a54afcb5f81f47522e9f Signed-off-by: tte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>
2017-03-27Add OTA wks support to Porter and RCar-M3 boardsAnton Gerasimov6-6/+54
Bug-AGL: SPEC-413 Change-Id: I4ef71fde4a013c1dac4917f66727ce4b6be4170c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-03-27dra7xx: u-boot: Switch to the 2017.01 u-boot from meta-tiKarthik Ramanan1-4/+0
Change-Id: Ia8d1df73bd3b8812a570a0059aeefc264472abf8 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-27dra7xx: u-boot: Revert the fix for MMC instabilityKarthik Ramanan2-30/+0
Change-Id: I88daa7df388c12eed2b53f3db2c8821814c2e88e Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-24Fix optee-os buildRonan Le Martret6-0/+2133
* Remove the file generation and directly copy the files. the files: default_regular.c default_regular.h were generate with command line: $ scripts/render_font.py \ --font_file lib/libutee/tui/fonts/amble/Amble-Regular.ttf \ --font_size 20 --font_name default_regular \ --out_dir out/arm-plat-rcar/ta_arm64-lib/libutee/tui the files: default_bold.c default_bold.h were generate with command line: $ scripts/render_font.py \ --font_file lib/libutee/tui/fonts/amble/Amble-Bold.ttf \ --font_size 20 --font_name default_bold --out_dir out/arm-plat-rcar/ta_arm64-lib/libutee/tui python-wand 0.4.3 (and newer) is incompatible with imagemagick >= 7.0, so we need to backport imagemagick 6. If you don't have imagemagick 6 install on your host the build of optee-os will failed. Change-Id: I83a6c4b963b7d3e18f2730b601934708a2f6c7ef Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-23Removed wl-shell-emulator from AGLRonan Le Martret6-6/+6
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: I0cad29ff1534e8d3fd4b94f8a13490b9fa19918e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-21meta-rcar-3 setup: slight refactoringMartin Kelly1-5/+6
Change-Id: I9c4ba041ede07252c69452dfa747b90b36346fba Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-03-21Merge "[rcar-gen3] Port python-wand for meta-agl-bsp"Jan-Simon Moeller2-0/+20
2017-03-21Merge "Rename weston bbappend recipes for ti"Jan-Simon Moeller1-4/+0
2017-03-21Merge "[rcar-gen3] Disable ipv6"Jan-Simon Moeller2-1/+6
2017-03-21Merge "[rcar-gen3] update weston recipes bbappend"Jan-Simon Moeller2-1/+26
2017-03-21Merge "[rcar-gen3] blacklist the recipes-forward-port from bsp"Jan-Simon Moeller3-1/+6
2017-03-21Merge "update wayland-ivi-extention to 1.10.90 for ti bsp"Jan-Simon Moeller1-0/+0
2017-03-21Merge "Remove wayland 1.9.0 recipes"Jan-Simon Moeller9-303/+0
2017-03-21Merge "Removed old fix for weston-ivi-shell"Jan-Simon Moeller3-57/+1
2017-03-21Merge "update wayland-ivi-extension to 1.11.0"Jan-Simon Moeller8-283/+48
2017-03-21Merge "Remove useless fix weston"Jan-Simon Moeller3-39/+9
2017-03-21Merge "[rcar-gen3] Remove fix on arm-trusted-firmware recipes"Jan-Simon Moeller2-27/+0
2017-03-21Merge "[rcar-gen3] Renamed weston bbappend recipes"Jan-Simon Moeller1-0/+0
2017-03-21Merge "[rcar-gen3] Fix webp bbappend"Jan-Simon Moeller2-0/+21
2017-03-21Merge "[rcar-gen3] Update h3 m3 to renesas rcar gen3 BSP v2.16.0 (branch:morty)"Jan-Simon Moeller6-15/+15
2017-03-21Merge "[rcar-gen3] Update setup script for gen3 v2.16.0"Jan-Simon Moeller1-5/+6
2017-03-21[rcar-gen3] update weston recipes bbappendRonan Le Martret2-1/+26
- added weston.ini - remove fix on apply fix-touchscreen-crash.patch. this fix is useless for the Renesas rcar gen3 v2.16 Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Iee25aae5c25fcdda6e97181ccba946db938e129f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-20[rcar-gen3] Rename kernel-module-uvcs recipesRonan Le Martret1-0/+0
* the recipes "kernel-module-uvcs" was changed to kernel-module-uvcs-drv Bug-AGL: SPEC-471 Change-Id: I07f4efe47c9c1fe66df7818e98c4c4cc0806973d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Port python-wand for meta-agl-bspRonan Le Martret2-0/+20
* the optee from Renesas rcar gen3 DEPEND on python-wand to build. * python-wand comes from meta-linaro Bug-AGL: SPEC-471 Change-Id: I2837a50ccea1b474c29a4461e7d7535c6d4195fb Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Rename weston bbappend recipes for tiRonan Le Martret1-4/+0
- remove old fix on weston 1.9.0 Bug-AGL: SPEC-411 Change-Id: Ia2115835cabe28bf14007e9376067b5ed255145a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Disable ipv6Ronan Le Martret2-1/+6
* ipv6 was disable in the previous version of the Renesas gen3 BSP (v2.12) and boot with ipv6 doesn't work, for now, on the Gen3 board. Bug-AGL: SPEC-471 Change-Id: I0c0f14cbf3b5d8404e9b8108d24740ecaea762c2 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] update weston recipes bbappendRonan Le Martret2-1/+26
- added weston.ini - fix-touchscreen-crash.patch Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Iee25aae5c25fcdda6e97181ccba946db938e129f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] blacklist the recipes-forward-port from bspRonan Le Martret3-1/+6
* AGL must use Wayland/Weston from yocto, so to be sure AGL does not use Wayland/Weston from Renesas rcar gen3 BSP, blacklist the recipes forward ported.(but not the recipes .bbappend). Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: I8310de2210273eb592c6ce865d300e0e5a8dbd0a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19update wayland-ivi-extention to 1.10.90 for ti bspRonan Le Martret1-0/+0
Bug-AGL: SPEC-411 Change-Id: I5325d12ee46cd1e3a747d29fee5e3bc697eae316 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Remove wayland 1.9.0 recipesRonan Le Martret9-303/+0
* Remove Wayland/Weston backport. Use Wayland/Weston from yocto upstream Bug-AGL: SPEC-411 Change-Id: I99692a75728ec3b45b359800d31bf56521184998 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Removed old fix for weston-ivi-shellRonan Le Martret3-57/+1
- 0001-IVI-Shell-use-primary-screen-for-resolution.patch is not use any more Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Id2b3eb2ebd11fe1169444d3373f501394247c909 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19update wayland-ivi-extension to 1.11.0Ronan Le Martret8-283/+48
* remove patch already present in wayland-ivi-extension upstream * remove unused recipes wayland-ivi-extension 1.5.0 * wayland-ivi-extension_1.11.0.bb is a port of the recipes wayland-ivi-extension_1.10.90.bb from layer meta-ivi. * the wayland-ivi-extension_%.bbappend is the AGL part of the wayland-ivi-extension. patch -> commit id from upstream 0001-ivi-input-support-touch-and-pointer-on-subsurface.patch 183810b051a7a194bb260ff7db6c8a59ef44d18d Bug-AGL: SPEC-411 Change-Id: I0f27d00803cb5c06b9f2621918118c985a8dd9d6 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Remove useless fix westonRonan Le Martret3-39/+9
* this fix is already present in weston 1.11.0 * the patch "0001-compositor-drm.c-Launch-without-input-devices.patch" need to be updated to be compliant to weston 1.11.0 Bug-AGL: SPEC-411 Change-Id: Ife5be1fe06578a55296f0aa1d668d5a1edcba475 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Remove fix on arm-trusted-firmware recipesRonan Le Martret2-27/+0
* the new version of arm-trusted-firmware from Renesas rcar gen3 BSP doesn't need this fix for h3 anymore Bug-AGL: SPEC-471 Change-Id: I3101f9cd7c032705bbdcb20cdadbba8af4ed8d62 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Renamed weston bbappend recipesRonan Le Martret1-0/+0
Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Icfcc4144385552718cea8ed43d0aa561686188f5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Fix webp bbappendRonan Le Martret2-0/+21
* the original fix is relevant to YP krogoth only, This branch is based on YP morty * the original patch is from Renesas rcar gen3 v2.16: meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-multimedia/webp/libwebp/ disabled_arm_neon.diff Bug-AGL: SPEC-471 Change-Id: Iff0a6595c15a779eb07a91e0ae3a7a59da99870b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Update h3 m3 to renesas rcar gen3 BSP v2.16.0 (branch:morty)Ronan Le Martret6-15/+15
Bug-AGL: SPEC-471 Change-Id: Ifb43484b96160b22fe24f446d5560a8796a90e48 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Update setup script for gen3 v2.16.0Ronan Le Martret1-5/+6
* update script for Renesas rcar gen3 v2.16.0 and for the last released driver (version 2017-01-25) of Renesas rcar gen3. Bug-AGL: SPEC-471 Change-Id: If078055e5bc65263491b7cadd6c7b55755746257 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Remove fix on opteeRonan Le Martret2-18/+1
* the new version of optee from Renesas rcar gen3 v2.16, doesn't need this fix to build anymore. Bug-AGL: SPEC-471 Change-Id: I8869b13bf038e2cd2f45a26affadd757fe1ea10c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Rename kernel-module-uvcs recipesRonan Le Martret1-0/+0
* the recipes "kernel-module-uvcs" was change to kernel-module-uvcs-drv Bug-AGL: SPEC-471 Change-Id: I07f4efe47c9c1fe66df7818e98c4c4cc0806973d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Remove fix on pppRonan Le Martret1-2/+0
* if you build ppp with a kernel >= 4.8 you need this fix * if you build ppp with a kernel < 4.8 you need to remove this fix * the version of the kernel from Renesas rcar gen3 v2.16 is 4.9, so we need this fix. Bug-AGL: SPEC-471 Change-Id: Iffefa52571163b15c7acd2d1ffc53b9b1ffb0c3b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Remove mesa backportRonan Le Martret4-242/+0
* as Renesas rcar gen3 v2.16 do not use mesa recipes (.bbappend) 10.6.3, we do not need to maintain this recipes. Bug-AGL: SPEC-471 Bug-AGL: SPEC-419 Change-Id: I80582d725bec71931d8d5fbf83fe3e0b29381592 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Updated arm-trusted-firmwareRonan Le Martret1-10/+10
* this commit fix the patch for the new version of arm-trusted-firmware of the Renesas rcar gen v2.16 Bug-AGL: SPEC-471 Change-Id: I70abed7104efc53d38133cf11be003476aef35c5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Backported gstreamer from poky krogothRonan Le Martret87-1477/+1713
* the Renesas rcar gen3 v2.16 need gstreamer recipes 1.6.3 from krogoth Bug-AGL: SPEC-471 Change-Id: I1ce10935aac45b3f7711ec1033187ba74b1f921c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-18remove PR from recipesRonan Le Martret2-3/+0
Yocto uses meanwhile 'prserv' to generate the value for PR. Change-Id: Ib450361085a46ca5f9dc945219d4bd371c427ca5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
// not be sent for any reason. /// /// @return Returns a DynamicField with the original, unmodified raw CAN signal value as /// its numeric value. The 'send' argument will not be modified as this decoder /// always succeeds. /// openxc_DynamicField decoder_t::decode_noop(signal_t& signal, std::shared_ptr<message_t> message, bool* send) { float value = decoder_t::parse_signal_bitfield(signal, message); AFB_DEBUG("Decoded message from parse_signal_bitfield: %f", value); openxc_DynamicField decoded_value = build_DynamicField(value); // Don't send if they is no changes if ((signal.get_last_value() == value && !signal.get_send_same()) || !*send ) { *send = false; } signal.set_last_value(value); return decoded_value; } /// @brief Coerces a numerical value to a boolean. /// /// This is an implementation of the Signal type signature, and can be /// used directly in the signal_t.decoder field. /// /// @param[in] signal - The details of the signal that contains the state mapping. /// @param[in] message - The message with data to decode. /// @param[out] send - An output argument that will be set to false if the value should /// not be sent for any reason. /// /// @return Returns a DynamicField with a boolean value of false if the raw signal value /// is 0.0, otherwise true. The 'send' argument will not be modified as this /// decoder always succeeds. /// openxc_DynamicField decoder_t::decode_boolean(signal_t& signal, std::shared_ptr<message_t> message, bool* send) { float value = decoder_t::parse_signal_bitfield(signal, message); AFB_DEBUG("Decoded message from parse_signal_bitfield: %f", value); openxc_DynamicField decoded_value = build_DynamicField(value == 0.0 ? false : true); // Don't send if they is no changes if ((signal.get_last_value() == value && !signal.get_send_same()) || !*send ) *send = false; signal.set_last_value(value); return decoded_value; } /// @brief Update the metadata for a signal and the newly received value. /// /// This is an implementation of the Signal type signature, and can be /// used directly in the signal_t.decoder field. /// /// This function always flips 'send' to false. /// /// @param[in] signal - The details of the signal that contains the state mapping. /// @param[in] message - The message with data to decode. /// @param[out] send - This output argument will always be set to false, so the caller will /// know not to publish this value to the pipeline. /// /// @return Return value is undefined. /// openxc_DynamicField decoder_t::decode_ignore(signal_t& signal, std::shared_ptr<message_t> message, bool* send) { float value = decoder_t::parse_signal_bitfield(signal, message); if(send) *send = false; signal.set_last_value(value); openxc_DynamicField decoded_value; return decoded_value; } /// @brief Find and return the corresponding string state for a CAN signal's /// raw integer value. /// /// This is an implementation of the Signal type signature, and can be /// used directly in the signal_t.decoder field. /// /// @param[in] signal - The details of the signal that contains the state mapping. /// @param[in] message - The message with data to decode. /// @param[out] send - An output argument that will be set to false if the value should /// not be sent for any reason. /// /// @return Returns a DynamicField with a string value if a matching state is found in /// the signal. If an equivalent isn't found, send is sent to false and the /// return value is undefined. /// openxc_DynamicField decoder_t::decode_state(signal_t& signal, std::shared_ptr<message_t> message, bool* send) { float value = decoder_t::parse_signal_bitfield(signal, message); AFB_DEBUG("Decoded message from parse_signal_bitfield: %f", value); const std::string signal_state = signal.get_states((uint8_t)value); openxc_DynamicField decoded_value = build_DynamicField(signal_state); if(signal_state.size() <= 0) { *send = false; AFB_ERROR("No state found with index: %d", (int)value); } // Don't send if they is no changes if ((signal.get_last_value() == value && !signal.get_send_same()) || !*send ) { *send = false; } signal.set_last_value(value); return decoded_value; } /// @brief Parse a signal from a CAN message, apply any required transforations /// to get a human readable value and public the result to the pipeline. /// /// If the signal_t has a non-NULL 'decoder' field, the raw CAN signal value /// will be passed to the decoder before publishing. /// /// @param[in] signal - The details of the signal to decode and forward. /// @param[in] message - The message with data to decode. /// @param[out] send - An output parameter that will be flipped to false if the value could /// not be decoded. /// /// The decoder returns an openxc_DynamicField, which may contain a number, /// string or boolean. /// openxc_DynamicField decoder_t::translate_signal(signal_t& signal, std::shared_ptr<message_t> message, bool* send) { // Must call the decoders every time, regardless of if we are going to // decide to send the signal or not. openxc_DynamicField decoded_value = decoder_t::decode_signal(signal, message, send); signal.set_received(true); signal.set_timestamp(message->get_timestamp()); signal.get_message()->set_last_value(message); return decoded_value; } /// @brief Parse a signal from a CAN message and apply any required /// transforations to get a human readable value. /// /// If the signal_t has a non-NULL 'decoder' field, the raw CAN signal value /// will be passed to the decoder before returning. /// /// @param[in] signal - The details of the signal to decode and forward. /// @param[in] message - The message with data to decode. /// @param[out] send - An output parameter that will be flipped to false if the value could /// not be decoded. /// /// @return The decoder returns an openxc_DynamicField, which may contain a number, /// string or boolean. If 'send' is false, the return value is undefined. /// openxc_DynamicField decoder_t::decode_signal( signal_t& signal, std::shared_ptr<message_t> message, bool* send) { signal_decoder decoder = signal.get_decoder() == nullptr ? decode_noop : signal.get_decoder(); openxc_DynamicField decoded_value = decoder(signal, message, send); return decoded_value; } /// /// @brief Decode the payload of an OBD-II PID. /// /// This function matches the type signature for a DiagnosticResponse, so /// it can be used as the decoder for a DiagnosticRequest. It returns the decoded /// value of the PID, using the standard formulas (see /// http://en.wikipedia.org/wiki/OBD-II_PIDs#Mode_01). /// /// @param[in] response - the received DiagnosticResponse (the data is in response.payload, /// a byte array). This is most often used when the byte order is /// signiticant, i.e. with many OBD-II PID formulas. /// @param[in] parsed_payload - the entire payload of the response parsed as an int. /// /// @return Float decoded value. /// float decoder_t::decode_obd2_response(const DiagnosticResponse* response, float parsed_payload) { return diagnostic_decode_obd2_pid(response); }