summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
AgeCommit message (Collapse)AuthorFilesLines
2018-01-30rcar-gen3: kernel-module: Do not override KERNEL_MODULE_AUTOLOAD variableThuy Tran3-3/+3
According to YP Manual, we can use the KERNEL_MODULE_AUTOLOAD variable anywhere that it can be recognized by the kernel recipe or by an out-of-tree kernel module recipe. Therefore, KERNEL_MODULE_AUTOLOAD is a global list, so it should be used "+=" or "_append". Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-vsp2driver: Fix missing vsp2 kernel module ↵Thuy Tran1-0/+1
configuration in rootfs This commit modifies recipe to add vsp2.conf file under /etc/modules-load.d/ directory into rootfs after changing kernel module package names in YP2.4. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-gles: Fix missing PowerVR GPU kernel module in rootfsThuy Tran1-0/+4
This commit modifies recipe to ship kernel module of PowerVR GPU into rootfs after changing kernel module package names in YP2.4. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module: Set KERNEL_MODULE_PACKAGE_SUFFIX to fix building ↵Thuy Tran18-0/+54
kernel modules From YP2.3 [1], kernel module packages are now suffixed with the kernel version in order to allow module packages from multiple kernel versions to co-exist on a target system. We can return to the previous naming scheme that does not include the version suffix by setting KERNEL_MODULE_PACKAGE_SUFFIX to blank to build modules without suffix. [1] http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#migration-2.3-miscellaneous-changes Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: CMS: Update CMS new package namesThuy Tran1-9/+9
CMS new packages have been released. This commit modifies recipe to add them. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: omx-control: Add a python function to check build vp9dec_lib with M3NKhang Nguyen1-0/+12
vp9dec_lib only supports M3N (SoC: r8a77965), this commit adds a trap to prevent building this library with other SoC, in case of wrong setup, it will cause the error as | ERROR: omx-user-module-1.0-r0 do_vp9_checking: vp9dec_lib only supports M3N (SoC: r8a77965), please disable this feature in your local configuration | ERROR: omx-user-module-1.0-r0 do_vp9_checking: Function failed: do_vp9_checking Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: omx-user-module: Update OMX Audio/Video packagesThuy Tran2-56/+105
This commit updates OMX Audio/Video new package names. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: omx-user-module: Correct build tree setup for YP 2.2 mortyStephen Lawrence1-2/+2
The change directory parameter of the tar utility acts on the parameters that follow it. Correct the ordering so that the setup_build_tree() task extracts the omx tar balls to the right location. Fixes a build error that would otherwise occur in yp 2.2 morty. (cherry picked from commit 9f0211bafb118e81ec2fd6dd82b5777964b1ac9b) Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: openavnu: Rename to follow upstream project nameMasaru Nagai3-3/+3
This commit changes open-avb to openavnu name. Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-avb: Update SRCREV to follow latest versionThuy Tran2-2/+2
This commit updates SRCREV for AVB Streaming driver and MSE Core by following updates: [AVB Streaming driver] - Follow the change of kernel API from v4.9 to v4.14. [AVB MSE] - Add support multi slice coded H.264 stream. - Optimize resource management to reduce statically allocated memory and improve code readability. - Support handling module reference count for managing module dependency. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: open-avb: Update SRCREV to follow latest versionThao Nguyen5-7/+148
This commit modifies SRCREV of open-avb to follow upstream repository name/URL change. It also adds 2 patches to fix compile error and QA issues. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: avb-demoapps: Add dependency on cmake-nativeThuy Tran1-1/+1
This commit adds cmake-native into DEPENDS to fix compile issues below | /bin/sh: 1: cmake: not found Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: avb-applications: Remove gptp_cfg_100mb.ini in install targets.Masaru Nagai1-2/+0
Avb-applications have been updated. Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: ADSP: Update ADSP new package namesThuy Tran3-10/+10
ADSP new packages have been released. This commit modifies recipes to add them. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: DTV: Update to support M3N boardThuy Tran4-0/+4
This commit modifies recipes to support DTV/DVD modules for M3N board. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: gstreamer1.0-plugins-bad: Fix build warningsThuy Tran1-1/+1
This commit modifies recipe to fix build warnings below: |WARNING: ../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.2.bb: |Variable key RDEPENDS_${PN} ( libwayland-egl) replaces original key RDEPENDS_gstreamer1.0-plugins-bad (libwayland-egl) Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: packagegroup-gstreamer1.0-plugins: Fix warning of LICENSEThao Nguyen1-2/+2
MIT LICENSE file has been moved to another location, recipe is updated to use the latest one. |WARNING: packagegroup-gstreamer1.0-plugins-1.0-r0 do_populate_lic: |${COREBASE}/LICENSE is not a valid license file, please use |'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: gstreamer1.0-plugin-vspfilter: Add missing inherit pkgconfigStephen Lawrence1-1/+1
Pkg-config is called in the do_configure() task. With the introduction of per recipe sysroot add the missing pkgconfig to the inherit variable. Fixes configure task error of the form: |configure:12146: checking for GLIB |configure:12214: result: no |configure:12216: error: in `gstreamer1.0-plugin-vspfilter/1.0.0-r0/build': |configure:12218: error: The pkg-config script could not be found or is too old. Make sure it |is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: gstreamer: Upgrade gstreamer to v1.12.2Thao Nguyen5-10/+146
Gstreamer has been upgraded from 1.6.3 to 1.12.2 for updating following items: [gst-omx] - Support omxvp8dec, omxvp9dec, omxvp8enc. [gst-plugin-vspfilter] - Support NV21/NV16/YUY2 format. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-uvcs-drv: Update new package nameThuy Tran2-65/+2
Video Codec new packages have been released. This commit modifies recipe to add UVCS driver new package. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-vspm: Fix issue of eSDKThao Nguyen1-2/+6
In eSDK context, this checking will cause following error since KERNELSRC does not exist. |WARNING: Setscene task (/ssd/FS_YP2.4/build_mmp/eSDK_YP2.4/layers/meta-renesas/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb:do|_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead |ERROR: Task kernel-module-vspm.do_populate_sysroot_setscene failed This patch adds condition to check for the existence of KERNELSRC just when not in context of eSDK. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-vspm: Add deploy/licenses into cleaned dirThao Nguyen1-0/+4
When switch between different machines (i.e. salvator-x and h3ulcb), we can meet below issue: ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: The recipe kernel-module-vspm is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/generic_MIT (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/recipeinfo (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/GPL-COPYING (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/MIT-COPYING (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/generic_GPLv2 (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) Please verify which recipe should provide the above files. The reason is the tmp/deploy/licenses/kernel-module-vspm/ has not been cleaned during do_clean task. To avoid it, we should also clean ${LICENSE_DIRECTORY}/${PN} in do_clean. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: VSP: Update SRCREV for VSPM/V4L2Thuy Tran3-3/+3
This commit updates VSPM/V4L2 SRCREV for supporting kernel v4.14 stable: [vsp2driver] - Rename struct fence to dma_fence. - Rename graph and pipeline structs and functions. - Propagate the format to the compose size. - Add V4L2_CID_HFLIP V4L2_CID_VFLIP V4L2_CID_ROTATE support. - Fix module autoload for OF registration. - Fix format-info documentation. - Clean up file handle in open() error path. - Prevent multiple streamon race commencing pipeline early. - Don't set WPF sink pointer. - Fix soft reset sequence. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: MMNGR: Update SRCREV to follow the latest versionThuy Tran2-2/+2
This commit updates SRCREV for Memory Manager driver to v1.2 to apply following changes: - Add support for Linux v4.14 stable. - Fix compiler/checkpatch warnings. - Disable IPMMU TLB cache function in M3N Ver1.1 due to hardware restriction. - Update reserved bits handling in IMTTLBR and IPMMU (MMU) initialize sequence. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: GFX: Update GFX new package namesThuy Tran4-17/+16
This commit modifies recipes and copyscript to update GFX new package names of this release. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: libgbm: Add udev to DEPENDS packageThao Nguyen1-1/+1
Libgbm requires libudev to be configured. This commit adds udev to DEPENDS to provide libudev for libgbm to avoid below error. | checking whether -lc should be explicitly linked in... no | checking dynamic linker characteristics... GNU/Linux ld.so | checking how to hardcode library paths into programs... immediate | checking whether stripping libraries is possible... yes | checking if libtool supports shared libraries... yes | checking whether to build shared libraries... yes | checking whether to build static libraries... no | checking for library containing dlopen... -ldl | checking for aarch64-poky-linux-pkg-config... no | checking for pkg-config... /ssd/FS_YP2.4/H3ULCB-GFX-build/tmp/work/aarch64-poky-linux/libgbm/1.0-r0/recipe-sysroot-native/usr/bin/pkg-config | configure: WARNING: using cross tools not prefixed with host triplet | checking pkg-config is at least version 0.9.0... yes | checking for libudev... no | configure: error: Package requirements (libudev) were not met: | | No package 'libudev' found Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: libdrm: Change to use v2.4.85Thao Nguyen7-20/+92
mesa v17.1.1 only supports libdrm from 2.4.75 and later, so we set PREFERRED_VERSION_libdrm in board config to use libdrm v2.4.85 from poky to prevent configure error. | checking for libdrm >= 2.4.75... no | checking for glproto >= 1.4.14... yes | configure: error: Direct rendering requires libdrm >= 2.4.75 | NOTE: The following config.log files may provide further information. | NOTE: /build/tmp/work/aarch64-poky-linux/mesa/2_17.1.1-r0/build/config.log | ERROR: configure failed Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: wayland-kms: Fix missing wayland-scanner dependencyStephen Lawrence1-1/+1
wayland-kms do_configure task fails with the error: | checking for wayland-scanner... no | configure: error: Please install wayland-scanner. wayland-scanner is provided by wayland-native. wayland-kms has a DEPENDS on wayland, which in turn DEPENDS on wayland-native. However this does not populate the wayland-scanner binary in the wayland-kms recipe sysroot. Achieve that by directly adding wayland-native to the wayland-kms DEPENDS. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: weston: Remove weston-bin implementationThao Nguyen2-20/+1
Weston-examples from community already contains all necessary pkgs, so this commit removes weston-bin implementation and adds weston-examples to rootfs. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: weston: Update to support weston 2.0Thao Nguyen12-599/+5
This patch updates Renesas weston version from v1.11.0 to v2.0.0. It also removes the fixes for some old issues which do not exist in YP 2.4. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: copyscript: Update MD5SUM for ICCOM packagesThuy Tran3-9/+9
ICCOM new packages have been released. This patch updates MD5 values for ICCOM packages Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-qos: Update SRCREV to follow latest versionThuy Tran1-1/+1
This commit updates QoS driver SRCREV for following fix: [qos_drv] - Feedback of static analysis tool result. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: IPL: Update IPL version according to BSP v3.6.0Thuy Tran7-89/+48
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.18 rev2 - Update optee_os Rev1.0.11 rev2 Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: u-boot: Upgrade version to v3.6.0 and adapt to rocko u-boot headersThuy Tran2-5/+12
This commit updates u-boot version corresponding to BSP v3.6.0 for below fixes: - Add CONFIG_CMD_CACHE for enabling cache control commands. - Fix clock bit assignment of EHCI3. - Store last address/size/etc as ulong. - Build warning fixes for 64-bit. - Add CONFIG_HUSH_PARSER for enabling the "hush" shell as command line interpreter. - Add eMMC ver.5.1 support. - Update MMC_ERASE argument to match Linux kernel. - Backport for gcc 7.2.0 compiler support. The u-boot.inc used by the bb recipe has been split into two parts in the pyro poky meta. Adopt to the new style by providing the missing u-boot-common*.inc file containing the license information. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: linux-renesas: Fix M3ULCB hangs up when playing videoThuy Tran4-0/+126
The M3ULCB ES1.0 revision can not use CPUIdle for CA53 cores. This commit modifies recipes to apply a patch that disables CPUIdle support for CA53. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: linux-renesas: Update to enable USB 3.0Thuy Tran2-0/+19
This commit modifies recipe to install USB 3.0 firmware to kernel source and to enable USB 3.0 in kernel image. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: linux-renesas: Update to support CAS featureThuy Tran2-0/+7
This commit adds SCHED_DEBUG config fragment to support CAS. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.6.0Thuy Tran55-2927/+946
This commit upgrades Linux BSP to v3.6.0 for supporting Kernel v4.14 stable and updating following items: [Kernel] - Add support for WDIOF_CARDRESET. [Power Management] - Add missing iounmap to rcar_avs.c. - Add big.LITTLE CAS support. - Add CA53 CPUIdle support. - Add CA53 EMS support. - Add CA53 CPUFreq support. [Audio driver] - Confirm rmmod command operation of snd-soc-rcar. - Skip disabled-SSI nodes. - Care ssi_parent_mod and remove NULL check from rsnd_mod_name()/rsnd_mod_id(). - Revert IOMMU support so far. - Don't use runtime->sample_bits. - More clear rsnd_get_dalign() for DALIGN. - Clear SSI_MODE for non TDM Extended modes. [Display driver] - Confirm the Fence function. - Add support for colorkey alpha blending. - Disable vsp1 interrupt when startup. [DMA Engine driver] - Fix array-bounds warning refer chcr_ts[]. [PWM driver] - Enable PWM2 in device tree. [USB2.0 Function] - Fix the problem that the interrupt becomes long time when disconnecting the USB cable. [Video Capture driver] - Add V4L2_FIELD_SEQ_TB/BT function support. - Add ARGB8888 caputre format support and overflow debug message option. - Fix cropping procedure. [RWDT driver] - Add support for WDIOF_CARDRESET. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: run-postinsts: WORKAROUND to fix dependency failed for serial gettyRenesas-Yocto-v2.23.1Thuy Tran1-0/+5
This commit modifies recipe to fix this issue by following Poky commit. Title: run-postinsts: do not reload daemon configuration Auther: Max Krummenacher <max.oss.09@gmail.com> Commit: 24a4b7114bf937ffb38b7696e75cf6ea917026a7 In case a systemd service disables itself while init is still in its boot sequence the reloading of the service files can be problematic. In that case: It seems that systemd looses the state of .device units, and some services depend on such units (namely serial consoles such as serial-getty@ttymxc0.service). As a result no getty is spawned on the affected serial tty. After a power-cycle the second boot (which does not disable services) succeeds. The following sequence shows this problem: | Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service. | Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading. | ... | And then the failing one: | Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out. | Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device. | Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0. | Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'. | Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'. | Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts. (the time has been updated between this two events, but that does not influence the issue) Using --no-reload in the service file avoids the "Reloading." message above and seems to not cause such issues anymore. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: opkg: WORKAROUND to fix dependency failed for serial gettyThuy Tran1-0/+5
This commit modifies recipe to fix this issue by following Poky commit. Title: opkg-configure: do not reload daemon configuration Auther: Max Krummenacher <max.oss.09@gmail.com> Commit: fd266b1b66844d660ebd8e33fe22c08c8ddaccbf In case a systemd service disables itself while init is still in its boot sequence the reloading of the service files can be problematic. In that case: It seems that systemd looses the state of .device units, and some services depend on such units (namely serial consoles such as serial-getty@ttymxc0.service). As a result no getty is spawned on the affected serial tty. After a power-cycle the second boot (which does not disable services) succeeds. The following sequence shows this problem: | Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service. | Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading. | ... | And then the failing one: | Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out. | Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device. | Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0. | Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'. | Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'. | Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts. (the time has been updated between this two events, but that does not influence the issue) Using --no-reload in the service file avoids the "Reloading." message above and seems to not cause such issues anymore. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: dpkg: WORKAROUND to fix dependency failed for serial gettyThuy Tran1-0/+5
This commit modifies recipe to fix this issue by following Poky commit. Title: dpkg-configure: do not reload daemon configuration Auther: Max Krummenacher <max.oss.09@gmail.com> Commit: b1b94376d15ea18e55f724f1d5256298e1728222 In case a systemd service disables itself while init is still in its boot sequence the reloading of the service files can be problematic. In that case: It seems that systemd looses the state of .device units, and some services depend on such units (namely serial consoles such as serial-getty@ttymxc0.service). As a result no getty is spawned on the affected serial tty. After a power-cycle the second boot (which does not disable services) succeeds. The following sequence shows this problem: | Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service. | Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading. | ... | And then the failing one: | Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out. | Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device. | Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0. | Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'. | Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'. | Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts. (the time has been updated between this two events, but that does not influence the issue) Using --no-reload in the service file avoids the "Reloading." message above and seems to not cause such issues anymore. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: systemd: WORKAROUND to fix timeout dev-ttySN.deviceThuy Tran2-0/+14
This commit makes backporting changes from upstream systemd to fix timeout dev-ttySN.device by following: [systemd] - Set journal RuntimeMaxSize to 64M as default [1] [systemd-serialgetty] - Use the default RestartSec [2] [1] From Poky rev: d41968d8a8bd572b2892762f7092868950465014 [2] From Systemd rev: 4bf04322b8b7ecca4f3d65cfc642d0ac16356129 Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: ccache: Update SRC_URI due to dead linkThuy Tran1-0/+3
This commit modifies ccache SRC_URI to fix issue as below: | WARNING: ccache-3.2.4-r0 do_fetch: Failed to fetch | URL git://git.samba.org/ccache.git, attempting MIRRORS if available Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: dtv-user-module: Remove redundant dependencyThuy Tran1-1/+1
This commit modifies recipe to remove redundant kernel-module-vspmif. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: copyscript: Remove condition to check copying for DTV/DVD pkgsThuy Tran2-36/+6
This commit modifies copyscript to skip Video and Audio packages availability check for DTV/DVD pkgs. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: conf: Add M3N into supported SOC_FAMILY in sample local.confThuy Tran6-6/+12
This commit updates SOC_FAMILY for M3N to build with supported environments (MMP, GFX, BSP). Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: kernel-module-vspm: Update SRCREV to follow latest versionThuy Tran1-1/+1
This commit modifies recipe to support VSPBS module in R-Car Gen3. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: kernel-module-vsp2driver: Update SRCREV to support M3N boardThuy Tran1-1/+1
This commit updates vsp2drv SRCREV to add M3N support for component in WPF. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: kernel-module-uvcs-drv: Update to support M3N boardThuy Tran2-0/+64
This commit adds a patch file for M3N support. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: kernel-module-mmngr: Update to support M3N boardThuy Tran1-1/+1
This commit updates MMNGR driver SRCREV to add uTLB setting for M3N when enabling IPMMU. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>