Seung-Woo Kim [Mon, 16 Mar 2020 10:09:40 +0000 (19:09 +0900)]
rpi3: config_64bit: boot from u-boot instead of spl
Now, Tizen does not support OPTEE by default, so u-boot-spl is not
required. Boot from u-boot instead of u-boot-spl.
Change-Id: Iadaee5290ede214b4f85487eea8e9151f9ea98f9
Ref: https://bugs.tizen.org/browse/TRE-2318
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 16 Mar 2020 10:08:19 +0000 (19:08 +0900)]
ARM64: tizen_bcmrpi3_defconfig: Disable OPTEE
Now, Tizen does not support OPTEE by default. Disable OPTEE config
options.
Change-Id: I424d38f42ad0e3199bd84517fb477dc212785be8
Ref: https://bugs.tizen.org/browse/TRE-2318
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 16 Mar 2020 10:06:53 +0000 (19:06 +0900)]
ARM: dts: bcm2710-rpi-3: Change build macro for optee
Now, Tizen does not support optee by default. Change build macro
for optee related nodes in default case.
Change-Id: Ib925414ba6fd96099ca984cc8b665263812b9538
Ref: https://bugs.tizen.org/browse/TRE-2318
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Wed, 20 Feb 2019 08:45:41 +0000 (17:45 +0900)]
ARM64: config: tizen_bcmrpi3_defconfig: enable UINPUT config
Enable UINPUT config for using /dev/uinput.
Change-Id: I6a98e348059494249913360ecdd356cc947f25a2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Thu, 14 Feb 2019 02:22:19 +0000 (11:22 +0900)]
drm/vc4: Fix reduce interrupt timeout 'workaround'
Since flag 'ignore_lcd=0' is set in config.txt, dsi interrupt is
disabled so that interrupt does not occur even when dsi_write is
operated. The waiting time causes a boot delay. So it reduces the
timeout to 100msecs until it is resolved. As a result, the boot delay
has been reduced from 22,000 to 2,200 msecs.
Change-Id: I2c27397102f38128ffd3599405d57198fd0f16f6
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Mon, 18 Feb 2019 05:40:49 +0000 (14:40 +0900)]
drm/panel: Add error handling for write of dsi
There is a problem that dsi write timeout even when dsi interrupt is
activated by adding 'ignore_lcd=1' flag to config.txt. Add error
handling to write once more when timeout occurs.
Change-Id: If1deb9753a02a3082e7a1ba59ee20531828447d9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Eric Anholt [Tue, 31 Oct 2017 19:32:58 +0000 (12:32 -0700)]
drm/panel: Enable DSI transactions on the RPi panel.
It turns out that I had just mistaken what type of write the register
writes were supposed to be, using DCS instead of generic long writes.
Switching to transactions instead of using the atmel as a bridge also
seems to resolve the sparkling pixels problem I've had.
Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 2f733d6194bd ("drm/panel: Add support for the Raspberry Pi 7" Touchscreen.")
Link: https://patchwork.freedesktop.org/patch/msgid/20171031193258.17373-2-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Thierry Reding <treding@nvidia.com>
[hoegeun.kwon: backported from mainline - commit:
3481fe768faea
There is a problem that the pixel sparking. So use generic writes
instead of dsc.]
Change-Id: Ie032f351248a2e263e9594db8df71da163ff2e00
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 14 Feb 2019 01:42:48 +0000 (10:42 +0900)]
drm/panel: Fix the panel's timing clock
There is a problem that sparkling pixels in panel. So we need to get
the latest timing clock values from the mainline.
Change-Id: I330c56815bb5e732a9bad87500dd69191118528c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 5 Dec 2018 10:23:05 +0000 (19:23 +0900)]
ARM: dts: bcm283x: Fix the priority of pixelvalve0 to the lowest value
There is a problem that the vblank test can not be verified when the
hdmi display is connected. Because the vblank test can only test crtc
top index 0, 1.
The Tizen mainly uses dsi and hdmi, so lower the priority of pixelvalve0
used with dpi.
Change-Id: Id2b3024f5960d3526e7a815e47f6d802a13d38d3
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Fri, 19 Oct 2018 06:23:42 +0000 (15:23 +0900)]
ARM: dts: bcm2710-rpi-3-b-plus: Add DT support for DRM relevant devices
Add dts to support the official RPI touchscreen LCD.
Change-Id: I05eff2d5548f84d1e3df62a080bfd2694bbc59ae
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Seung-Woo Kim [Fri, 19 Oct 2018 01:46:53 +0000 (10:46 +0900)]
ARM: dts: bcm2710-rpi-3-b-plus: Enable dt nodes for audio, i2c1, spi0
In Tizen dt-overlay is not used, so some device nodes should be
enabled to use. Enable dt nodes for audio, i2c1 and spi0 like
rpi3 b model.
Change-Id: I07504d1ece3c0aeb797ddfc372c956226d316814
Reference:
7fbb122e5232 ("ARM: dts: bcm2710-rpi-3-b: enable spi0 device node")
Reference:
34a29d8d477a ("ARM64: dts: bcm2710-rpi-3-b: enable i2c1")
Reference:
2ad26af6908c ("ARM: dts: bcm2710-rpi-3-b : Change audio node status as "okay"")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 19 Oct 2018 01:44:27 +0000 (10:44 +0900)]
ARM: dts: bcm2710-rpi-3-b-plus: Add reserved memory for secure os
Add reserved memory for secure os for 64bit like rpi3 b model.
Change-Id: I7c51b689734b3ba80f4efdf96def776581d05ad1
Reference:
f86c6d68c5fb ("ARM64: dts: bcm2710-rpi-3-b : add memory reserve")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Thu, 18 Oct 2018 07:49:04 +0000 (16:49 +0900)]
ARM: dts: Add support for drm vc4 on RPI3 b plus
Fixed the DT status to operate drm vc4.
Change-Id: I0ae3472e3336e0d6dfc107b936490a6af6eb23d6
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
popcornmix [Fri, 14 Sep 2018 19:13:29 +0000 (20:13 +0100)]
Revert "Revert "mm: alloc_contig: re-allow CMA to compact FS pages""
This reverts commit
00f0e834c44c492555e43fdaf9c112ed269db01f.
This patch from the rpi tree, commit [
91c64870bb6f940011e723f4a7d499f7d40a2923]
For CMA allocation fail issue.
Change-Id: I6945dd5021c85ae9bbd911c5c8551c4395b8d6fd
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
detule [Tue, 2 Oct 2018 08:10:08 +0000 (04:10 -0400)]
vchiq_2835_arm: Implement a DMA pool for small bulk transfers (#2699)
During a bulk transfer we request a DMA allocation to hold the
scatter-gather list. Most of the time, this allocation is small
(<< PAGE_SIZE), however it can be requested at a high enough frequency
to cause fragmentation and/or stress the CMA allocator (think time
spent in compaction here, or during allocations elsewhere).
Implement a pool to serve up small DMA allocations, falling back
to a coherent allocation if the request is greater than
VCHIQ_DMA_POOL_SIZE.
Signed-off-by: Oliver Gjoneski <ogjoneski@gmail.com>
This patch from the rpi tree, commit [
e24b1f6c0c798508981c7c5f59a5d76ce6fe58e1]
For CMA allocation fail issue.
Change-Id: I8599cc2547140cde6d6b2758016516db8ee19d85
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Seung-Woo Kim [Mon, 1 Oct 2018 09:04:26 +0000 (18:04 +0900)]
Revert "ARM64: tizen_bcmrpi3_defconfig: enable CPU_FREQ_DEFAULT_GOV_ONDEMAND"
This reverts commit
e75eff3d4300c76bf74924d1ec65b044edf8006e.
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND makes kernel boot hang up
sometimes, so reverting it.
Change-Id: If3ce809ad7ebdfac37b1ac2227d67f556b6be69a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Wed, 19 Sep 2018 07:29:52 +0000 (16:29 +0900)]
ARM64: config: tizen_bcmrpi3: enable ATH9K_HTC configuration
Enable ATH9K_HTC configuration to use TP-LINK WiFi usb dongle.
Change-Id: If412827703ff6cf63c0d6e8cdae5dbe92eaaf4a4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 18 Sep 2018 10:03:22 +0000 (19:03 +0900)]
ARM64: config: tizen_bcmrpi3_defconfig: enable Atheros, Realtek USB driver
Enable Atheros, Realtek USB driver to test WiFi Mesh.
Change-Id: I1f5a1553e52ab9754fbe8b1c431450018f8890c6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 18 Sep 2018 09:43:43 +0000 (18:43 +0900)]
net: rtl8192cu: change config name as vendor driver
There is already rtl8192cu mainline driver.
To distinguish with vendor driver, changed config name to
RTL8192CU_VENDOR.
Change-Id: I2663bc12f787cc4f417a13c9b4de42b4b63a8efb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Thu, 6 Sep 2018 11:37:07 +0000 (20:37 +0900)]
ARM: tizen_bcm2709_defconfig: enable CPU_FREQ_DEFAULT_GOV_ONDEMAND
Enable CPU_FREQ_DEFAULT_GOV_ONDEMAND config option instead of
CPU_FREQ_DEFAULT_GOV_POWERSAVE.
Note: in raspbian, even though CPU_FREQ_DEFAULT_GOV_POWERSAVE is
enabled, after booting, cpufreq governor is set as ondemand.
Change-Id: I226c5b5a92a6b7c809d1723257f2eda0dd248d7b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 6 Sep 2018 11:26:42 +0000 (20:26 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable CPU_FREQ_DEFAULT_GOV_ONDEMAND
Enable CPU_FREQ_DEFAULT_GOV_ONDEMAND config option instead of
CPU_FREQ_DEFAULT_GOV_POWERSAVE.
Note: in raspbian, even though CPU_FREQ_DEFAULT_GOV_POWERSAVE is
enabled, after booting, cpufreq governor is set as ondemand.
Change-Id: I480e26ba260377b7644b837bbb0f609e84c782eb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 30 Aug 2018 04:55:53 +0000 (13:55 +0900)]
rpi3: config_64bit: remove unnecessary dt name assign
In Tizen 64bit, u-boot will load and pass dtb to kernel, so there
is no neeed to set from config.txt. Also, even if kernel is loaded,
without from config.txt, bootcode.bin will set proper dtb name.
Remove unnecessary dt name assign from 64bit config.txt.
Change-Id: I60f089fd3737a2b7ec5cda8054faffe45825400b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 20 Aug 2018 04:07:05 +0000 (13:07 +0900)]
staging: bcm2835-camera: fix overflow warnings
Fix overflow in implicit constant conversion warnings.
Change-Id: I3e419cb927241c9400147b36a2e36f2173c96025
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 4 Jul 2018 03:17:12 +0000 (12:17 +0900)]
ARM: tizen_bcm2709_defconfig: enable IP_NF_RAW
Enable IP_NF_RAW for raw iptable. It is used by nether service of
Tizen to filter network packet as nether policy.
Change-Id: I711f9da304c943f115625714d834213b6c67b3f2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 4 Jul 2018 03:17:12 +0000 (12:17 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable IP_NF_RAW
Enable IP_NF_RAW for raw iptable. It is used by nether service of
Tizen to filter network packet as nether policy.
Change-Id: Ib7421edaeceff199e28f27f38f1bac36c01bf720
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Anupam Roy [Fri, 1 Jun 2018 10:54:33 +0000 (16:24 +0530)]
ARM64: tizen_bcmrpi3_defconfig: enable usb acm driver config
This patch enables usb cdc-acm driver config to support
/dev/ttyACM# nodes for ACM class devices.
Change-Id: Ic6b79b90a201cade8451d5698ae8b2c26442b0eb
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Dongwoo Lee [Thu, 5 Apr 2018 01:57:43 +0000 (10:57 +0900)]
misc: tizen-inform-reboot: Add support for download mode
To pass download mode information to bootloader, this patch adds
the new parameter 'download' to reboot command.
Change-Id: I4673a0badf42429987f91edd960b871410bfb794
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Seung-Woo Kim [Tue, 3 Jul 2018 06:21:40 +0000 (15:21 +0900)]
ARM: tizen_bcm2709_defconfig: enable MPTCP
MPTCP will allow using TCP with multi-path
Change-Id: Ibf484f7a3dd8002ee7f8ddf91d498c381512a25e
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
[sw0312.kim: cherry-pick from arch/arm64/configs/tizen_bcmrp3_defconfig to arm/configs/tizen_bcm2709_defconfig]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jiung [Tue, 24 Apr 2018 09:41:16 +0000 (18:41 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable MPTCP
MPTCP will allow using TCP with multi-path
Change-Id: I776f40a39fd512597810c2747d2cfd907641d85e
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Jiung [Wed, 18 Apr 2018 08:56:33 +0000 (17:56 +0900)]
mptcp: add MPTCP protocol
Merge MPTCP v0.94 code into rpi3 4.14 kernel
MultiPath TCP (MPTCP) [1] is an effort towards enabling the simultaneous
use of several IP-addresses/interfaces by a modification of TCP that
presents a regular TCP interface to applications, while in fact spreading
data across several subflows. Benefits of this include better resource
utilization, better throughput and smoother reaction to failures.
[1] MPTCP official website : https://www.multipath-tcp.org/
Change-Id: I7fe9f0f8449db32b63430397981859b136587dc9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Seung-Woo Kim [Tue, 17 Apr 2018 07:58:26 +0000 (16:58 +0900)]
ARM: tizen_bcm2709_defconfig: enable NETFILTER_XT_TARGET_LOG
Enable NETFILTER_XT_TARGET_LOG for analysis of iptables log.
It is a iptables feature for security report on Tizen 5.0,
required from stc-manager.
Change-Id: I4cd8c29584c1f71a5be5c8423bfafb1168bb7288
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 17 Apr 2018 07:44:27 +0000 (16:44 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable NETFILTER_XT_TARGET_LOG
Enable NETFILTER_XT_TARGET_LOG for analysis of iptables log.
It is a iptables feature for security report on Tizen 5.0,
required from stc-manager.
Change-Id: Ia31c1e9463f28b74a67bad7272e0fea08c88c28c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 17 Apr 2018 07:42:17 +0000 (16:42 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable CONFIG_CONNECTOR and CONFIG_PROC_EVENTS
These options enable Netlink Connector feature of kernel to monitor
process lifecycle like Fork and Exit status of all processes
asynchronously.
In Tzen, it will be used by stc-manager(smart traffic control) to
monitor process lifecycle.
Change-Id: I265504609e6b2ce963875e66884d064affc48d9d
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 4 Apr 2018 01:28:27 +0000 (10:28 +0900)]
scripts: mkbootimg_rpi3.sh: Fix to set volume name of boot.img
There is no fixed volume name of boot.img made by script. Like
release image, fix to set volume name.
Change-Id: If8372a3ea48d4d655d7132e6ee6bc965e2d3174d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 26 Mar 2018 03:35:11 +0000 (12:35 +0900)]
scripts: build-rpi3-arm64.sh, mkbootimg_rpi3.sh: Add modules
Add modules support on build scrip and image script.
Change-Id: I007d7ca940152506c856523e35adf4519248d2b5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 26 Mar 2018 01:43:15 +0000 (10:43 +0900)]
scripts: mkbootimg_rpi3.sh: Install each rpi firmware and config.txt
After renaming config.txt for 64bit, mkbootimg_rpi3.sh is broken.
Fix to install each rpi firmware and config.txt considering changed
file name.
Change-Id: I907c1b6a8dc499da1e2f0364f9404a82a244e194
Fixes: 0979ebb94710 ("rpi3: config: rename config.txt to identify 64bit")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 26 Mar 2018 01:37:39 +0000 (10:37 +0900)]
scripts: mkbootimg_rpi3.sh: Change image size fitted to partition
From partitioning script of rpi3, boot partition is 64MiB. Change
image size fitted to the partition.
The partitioning script is on below link:
https://review.tizen.org/git/?p=platform/kernel/u-boot.git;a=blob_plain;f=scripts/tizen/sd_fusing_rpi3.sh;hb=refs/heads/tizen
Change-Id: Ia95c392235fe712bc1345078c64d07f6567fcbcb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 20 Mar 2018 02:11:31 +0000 (11:11 +0900)]
packaging: Add arm 32bit build
Add arm 32bit build.
Note: packaging is done with config.txt for 32bit.
Change-Id: Icf7e76523db3bb83fbd3d0bb6153157a64e62d93
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Inki Dae [Wed, 21 Mar 2018 23:01:47 +0000 (08:01 +0900)]
arm: tizen_bcm2709_defconfig: enable sync file validation framework
Vulcan DDK will use this interface to create a fence and
increase timeline value of the fence.
Change-Id: I13c3f2442d26841e715dd01583d23f02b670679e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 19 Mar 2018 06:54:24 +0000 (15:54 +0900)]
arm64: tizen_bcmrpi3_defconfig: enable sync file validation framework
Vulcan DDK will use this interface to create a fence and
increase timeline value of the fence.
Change-Id: Ib72ae7f591d4795eb9b0bdd51f742ae45ac954c2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Seung-Woo Kim [Mon, 19 Mar 2018 02:20:12 +0000 (11:20 +0900)]
rpi3: config: add config.txt for 32bit
Add config.txt for 32bit.
Note: It is for rpi3 32bit and rpi2, and in 32bit, there is no
atf implementation, so booting is done with u-boot.bin instead of
u-boot-spl.bin.
Change-Id: I556bb729f8be4a892f824d650b7935cd18efed20
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 19 Mar 2018 01:45:41 +0000 (10:45 +0900)]
rpi3: config: rename config.txt to identify 64bit
Rename config.txt to config_64bit.txt to identify 64bit.
Note: The rpm packaging should be done as config.txt because the
name is used from bootcode.bin.
Change-Id: I41ca9c90673d2ee747b326627bced12e2284f1b8
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 21 Feb 2018 06:27:31 +0000 (15:27 +0900)]
ARM: configs: add tizen_bcm2709_defconfig
Add tizen_bcm2709_defconfig to support rpi2 and rpi3 32bit for
tizen.
Note: the defconfig is based on bcm2709_defconfig with tizen
features and less module options to fit 20MB modules size.
Change-Id: I19cd4961dbc2ce6fd60961aeac0cd56ed20b1527
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 17 Jan 2018 09:35:52 +0000 (18:35 +0900)]
ARM: dts: bcm2809-rpi-2-b: enable display, touch, audio, spi and i2c
On RPI dt, several devices are enabled with overlay dt. Enable dsi,
hdmi, touchscreen, audio, spi and i2c devices without overlay from
rpi2 dt for Tizen kernel like rpi3.
Change-Id: I3e6f5dcd000a6c01d9a0c740a87ef28a41f3eb22
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Wed, 21 Feb 2018 06:00:33 +0000 (15:00 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable MMC_BCM2835_MMC config
Enable older bcm2835 driver instead of latest bcm2835 driver.
Before enable MMC_BCM2835_MMC config, Wifi doesn't work.
(Because SDIO interface didn't initialized.)
Change-Id: I53b5f276e4f57612a0e8af03544d2ae82c75b1ef
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Roman Gushchin [Fri, 17 Nov 2017 23:26:45 +0000 (15:26 -0800)]
proc, coredump: add CoreDumping flag to /proc/pid/status
Right now there is no convenient way to check if a process is being
coredumped at the moment.
It might be necessary to recognize such state to prevent killing the
process and getting a broken coredump. Writing a large core might take
significant time, and the process is unresponsive during it, so it might
be killed by timeout, if another process is monitoring and
killing/restarting hanging tasks.
We're getting a significant number of corrupted coredump files on
machines in our fleet, just because processes are being killed by
timeout in the middle of the core writing process.
We do have a process health check, and some agent is responsible for
restarting processes which are not responding for health check requests.
Writing a large coredump to the disk can easily exceed the reasonable
timeout (especially on an overloaded machine).
This flag will allow the agent to distinguish processes which are being
coredumped, extend the timeout for them, and let them produce a full
coredump file.
To provide an ability to detect if a process is in the state of being
coredumped, we can expose a boolean CoreDumping flag in
/proc/pid/status.
Example:
$ cat core.sh
#!/bin/sh
echo "|/usr/bin/sleep 10" > /proc/sys/kernel/core_pattern
sleep 1000 &
PID=$!
cat /proc/$PID/status | grep CoreDumping
kill -ABRT $PID
sleep 1
cat /proc/$PID/status | grep CoreDumping
$ ./core.sh
CoreDumping: 0
CoreDumping: 1
[guro@fb.com: document CoreDumping flag in /proc/<pid>/status]
Link: http://lkml.kernel.org/r/20170928135357.GA8470@castle.DHCP.thefacebook.com
Link: http://lkml.kernel.org/r/20170920230634.31572-1-guro@fb.com
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[inki.dae: backported from mainline - commit :
c643401218be
On Tizen, there is one issue that a process doing coredump can be killed.
This patch allows a process to detect if given process is being dumped.
With this, Tizen can exclude such process from 'kill list' so that
coredump process can finish coredump work.]
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Change-Id: I4f21bdcbbf1451f04e2083621925953823bd1164
Seung-Woo Kim [Wed, 17 Jan 2018 01:47:54 +0000 (10:47 +0900)]
input: rpi-ft5406: remove wrong printing format build warning
Remove wrong printing format build warning for dma_addr_t.
Change-Id: I5f3a4571594eb6229e8a2f4feb8bb3d368a2db62
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 17 Jan 2018 01:29:01 +0000 (10:29 +0900)]
usb: dwc_otg: remove wrong memory accesses found by kasan
dwc_otg_hcd_is_bandwidth_allocated() requres ep_hcpriv pointer,
but passed parameter is double pointer and it cuases bad memory
access. Remove the wrong memory accesses.
Change-Id: I8292613f16fbf91ed9736b2a97e4afdb3bbbccec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Fri, 5 Jan 2018 02:01:43 +0000 (11:01 +0900)]
ARM64: tizen_bcmrpi3_defcofig: Sync with .config with v4.14.67
After updating to v4.14.y rebase, sync with .config.
Change-Id: I107539bb11b9e717e68023973a2bb2613aafc007
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hackseung Lee [Wed, 6 Dec 2017 08:28:08 +0000 (17:28 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable bcm2835-v4l2
Enable bcm2835-v4l2 driver as dynamic kernel module.
Change-Id: I0a4cd562311fe6c41935b5376ce7fc94fab7b4b1
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
[sw0312.kim: apply config with bcm2835-v4l2 mmal message struct backported version]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Junghoon Kim [Mon, 20 Nov 2017 05:56:07 +0000 (14:56 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable crypt-related configs
Enable crypt-related configs in order to support file system encryption.
Change-Id: Ib5d887db29d8431996f8acaa563ae67f159e0e4b
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
egukim [Tue, 4 Jul 2017 04:53:36 +0000 (13:53 +0900)]
ARM64: dts: bcm2710-rpi-3-b : add memory reserve
add memory reserve for rpi3(64bit) secure OS
Change-Id: I346a2d7c1afc0441ab4655592f3d81836a106f94
Signed-off-by: eunggu kim <egukim@dignsys.com>
egukim [Mon, 3 Jul 2017 05:06:47 +0000 (14:06 +0900)]
ARM64: dts: bcm2710: add psci device node
This patch changes the enable-method from 'spin-table' to
'PSCI (Power State Coordination Interface)' in order to control
the cpu state such as cpu up/down.
Change-Id: I92eaa95cbccbd86f6067bc9977acc45813703cad
Signed-off-by: eunggu kim <egukim@dignsys.com>
egukim [Mon, 3 Jul 2017 05:00:28 +0000 (14:00 +0900)]
ARM64: tizen_bcmrpi3_defconfig: Enable TEE Driver
Set config CONFIG_TEE, CONFIG_OPTEE for enable optee kernel driver
Change-Id: Ib35167d8337126886b2bef03acf3aef6163d61ae
Signed-off-by: Eunggu kim <egukim@dignsys.com>
egukim [Mon, 3 Jul 2017 04:55:37 +0000 (13:55 +0900)]
ARM64: dts: rpi3: Add optee node
Add device node for optee kernel driver. This based on
https://github.com/linaro-swg/linux/commit/
a3d16523b5c3bd3c21e2009f2af0901b0d6d09dd
Change-Id: I9cc6d97354897b4656b02744076efd91889d7630
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
[egukim: modified commit from linaro-swg/linux of github]
Signed-off-by: Eunggu kim <egukim@dignsys.com>
Junghoon Kim [Tue, 17 Oct 2017 05:43:04 +0000 (14:43 +0900)]
misc: tizen-inform-reboot: resolve sync failure about reboot parameter
Currently, writing reboot paramter into INFORM partition fails
infrequently.
Resolve this issue by calling sync_filesystem function so that it writes
out and waits upon all dirty data associated with this superblock.
Change-Id: Ic62df0c3c4e565ca7211eb85661ead6979f0ad8d
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Łukasz Stelmach [Fri, 29 Sep 2017 13:24:05 +0000 (15:24 +0200)]
misc: make sure Tizen notifier is executed before reset
In case of RaspberryPi the CPU is reset by watchdog triggered from
the bcm2835_restart_notifier_call function. Tizen notifier needs higher
priority to be called before the watchdog.
Change-Id: Ia7f6d895f6f40d1a9b4e57ad41b5bdb55c94f4f2
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
kibak.yoon [Fri, 13 Oct 2017 05:20:48 +0000 (14:20 +0900)]
ARM64: tizen_bcmrpi3_defconfig: add i2c-stub to module
We need a test method for the i2c driver and framework on RPI3.
And using a fake device is more convenient than a physical hardware device.
Therefore it would be good to enable i2c-stub for testing i2c feature on RPI3.
This will be used for testing purposes only.
Change-Id: I279bccabf709631130eae7b257bec6275b6acba0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Inki Dae [Wed, 27 Sep 2017 08:41:16 +0000 (17:41 +0900)]
ARM64: tizen_bcmrpi3_defconfig: support Western european languages
Add Western european language support.
This language support is required for mounting vfat filesystem with default
language set on USB storage.
Change-Id: Ibf479d540a0df8502cae5af0dc242b1cdce3d6c8
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Junghoon Kim [Tue, 22 Aug 2017 04:46:05 +0000 (13:46 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable TIZEN_INFORM_REBOOT with inform path
Reboot parameter passing is required for determining booting mode for
rpi3.
Activate Tizen reboot parameter passing feature with inform file path.
Change-Id: I67a7c24548dda8e8dd860fa25b2f558dadb83cf5
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Junghoon Kim [Mon, 21 Aug 2017 02:04:32 +0000 (11:04 +0900)]
misc: add Tizen reboot notifier for passing reboot parameter
To determine booting mode (e.g, fota or recovery) in u-boot side, reboot
parameter should be passed through inform partition.
Add Tizen reboot notifier for passing reboot parameter.
Change-Id: I5830dcf58ec6905b0bc382599aa9ff1251f817d8
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Seung-Woo Kim [Thu, 14 Sep 2017 02:52:35 +0000 (11:52 +0900)]
LOCAL / fbdev: bcm2708_fb: fix build warnings on 64bit build
There are build warnings on arm64 build. Fix following build
warnings:
drivers/video/fbdev/bcm2708_fb.c: In function 'vc_mem_copy':
drivers/video/fbdev/bcm2708_fb.c:507:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
pr_err("[%s]: failed to dma_alloc_coherent(%d)\n",
^
drivers/video/fbdev/bcm2708_fb.c:516:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
unsigned char *p = (unsigned char *)ioparam.src + offset;
^
drivers/video/fbdev/bcm2708_fb.c: In function 'bcm2708_fb_probe':
drivers/video/fbdev/bcm2708_fb.c:844:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
pr_info("BCM2708FB: allocated DMA memory %08x\n",
^~~~~~
This only fixes the warnings, but functionality of fb_dmacopy is
already broken on ARM64.
Change-Id: Ib9035e38c79e668f74b47139c2a39faf937226db
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 13 Sep 2017 11:43:11 +0000 (20:43 +0900)]
LOCAL / bcm2835: fix wrong type casting for arm64
On arm64, there are many wrong type casting from pointer and
dma_addr_t. Fix the wrong type casting for arm64 to remove
build warnings.
NOTE: fixed castings are only for debug message and 32bit variable,
so there is no functional change.
Change-Id: I2f1afcd29d2e20e6e8538162f08ef58c300d642b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 13 Sep 2017 12:29:31 +0000 (21:29 +0900)]
LOCAL / usb: dwc_otg: remove build warnings
There are build warnings for unused variable and casting from
pointer to integer of different size. Remove the build warnings.
NOTE: dwc_otg is not fully consider 64bit architecture and it
stores pointer into uint32_t variable already. This patch just
remove warnings for the converting.
Change-Id: I4182041881dbd3002f331a006e2b70a26e0b10c5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 13 Sep 2017 11:36:49 +0000 (20:36 +0900)]
LOCAL / misc: bcm2835-smi: use proper convert function for __be32 pointer
The of_get_address() returns __be32 pointer type, but it is
converted with __be32_to_cpu(). Use proper convert function
__be32_to_cpup() for the pointer.
This fixes following build warning:
drivers/misc/bcm2835_smi.c: In function 'bcm2835_smi_probe':
drivers/misc/bcm2835_smi.c:882:65: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
inst->smi_regs_busaddr = be32_to_cpu(addr);
^
Change-Id: I4230be2777eb02845bfaccf46e59d43ce0d90139
Fixes: 0f1ee9dcc3b3 ("MISC: bcm2835: smi: use clock manager and fix reload issues")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Karol Lewandowski [Fri, 8 Sep 2017 10:13:15 +0000 (12:13 +0200)]
ARM64: tizen_bcmrpi3_defconfig: enable uprobes
This functionality is needed for D-Bus Observability Tools
(developed in platform/tools/bcc).
uprobes allows monitoring userspace processes with eBPF
without code modification.
Change-Id: Ic163b72a8315602b89059f36615b88da892aeb0d
KwangCheol Lee [Mon, 11 Sep 2017 05:09:08 +0000 (14:09 +0900)]
Input: rpi_ft5406 - add enable sysfs attribute
Add enable sysfs attribute for disable/enable the touchscreen input.
This feature is required to turn the touch screen display on or off.
Change-Id: I4d5250c32cc2118f0f19a8a3cfb76ea8574f6937
Signed-off-by: KwangCheol Lee <kclee@dignsys.com>
Maciej Slodczyk [Fri, 8 Sep 2017 12:56:42 +0000 (14:56 +0200)]
ARM64: tizen_bcmrpi3_defconfig: enable BPF and KPROBES
Enable BPF and KPROBES config options.
This functionality is needed for D-Bus Observability Tools,
eBPF (http://www.brendangregg.com/ebpf.html).
Change-Id: I2415ca28695e212ee1d02dd1480613cad8a5455c
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
Seung-Woo Kim [Mon, 11 Sep 2017 05:58:06 +0000 (14:58 +0900)]
ARM64: tizen_bcmrpi3_defconfig: synchronize the defconfig with pwm
It synchronizes the defconfig with pwm backlight to fix the commit
d1b5d090a9f8 ("ARM64: tizen_bcmrpi3_defconfig: enable the RPI touchscreen LCD")
because PWM config option added more config options to backlight.
Change-Id: Ie831a2601807a1f9ba729cf64fb98449147ed018
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Thu, 7 Sep 2017 07:24:56 +0000 (16:24 +0900)]
drm/vc4: Workaround for crtc scanout device problem
Currently, the crtc device does not start a scanout, the time of
vblank is always calculated as future value. As a workaround, always
change vpos to a positive number.
Change-Id: I02527a0cfbd03d7713fa992d8ee039ffc8e0c5de
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
KwangCheol Lee [Mon, 7 Aug 2017 07:33:36 +0000 (16:33 +0900)]
ARM64: dts: bcm2710-rpi-3-b: add DT support for DRM relevant devices
Add DTs to support the official RPI touchscreen LCD.
Change-Id: Ibf3b17bfe5d1f0bbe55f941018a489899e8ea9ef
Signed-off-by: KwangCheol Lee <kclee@dignsys.com>
Eric Anholt [Thu, 2 Jun 2016 22:09:35 +0000 (15:09 -0700)]
BCM270X: Enable the DSI panel node in the VC4 overlay.
Change-Id: I46fdcdb53b79bd4f0db5022a415f6d1b9faf28e9
Signed-off-by: Eric Anholt <eric@anholt.net>
KwangCheol Lee [Mon, 7 Aug 2017 07:31:00 +0000 (16:31 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable the RPI touchscreen LCD
Enable following configurations for the official RPI touchscreen LCD.
+ TOUCHSCREEN_RPI_FT5406
+ I2C_GPIO
+ DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
+ BACKLIGHT_RPI
Change-Id: I4c11ef34ea87ddeb120a5bc685905dffb5a8654c
Signed-off-by: KwangCheol Lee <kclee@dignsys.com>
Inki Dae [Tue, 5 Sep 2017 03:09:36 +0000 (12:09 +0900)]
ARM: dts: bcm2710-rpi-3-b: enable spi0 device node
Enable spi0 device node.
This patch is required to create spidev node which is used
by user space to control spi.
Change-Id: I8dec8288f6b35f628b178e0056d664b96f18ac4b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Seung-Woo Kim [Wed, 30 Aug 2017 02:59:40 +0000 (11:59 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable SQUASHFS
To support compressed readonly image from Tizen, squashfs will be
used. Enable SQUASHFS and realted configuration. For better
performance, also SQUASHFS_DECOMP_MULTI_PERCPU and
SQUASHFS_4K_DEVBLK_SIZE options are set.
Change-Id: I8d7fb37f8b2bbe102fedc6c9d7d9c4c242d6ec32
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 29 Aug 2017 05:56:16 +0000 (14:56 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable SMACK_NETFILTER
On Tizen, nether service is failed because security smack netfilter
related configs are not enabled. So, enable related configs
including CONFIG_NETWORK_SECMARK, and CONFIG_SECURITY_SMACK_NETFILTER
and others.
Change-Id: Ia886ba9d5dd9bc559633acf3066818e57551f8f4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Lee Hackseung [Thu, 10 Aug 2017 06:48:39 +0000 (15:48 +0900)]
ARM: dts: bcm2710-rpi-3-b : Change audio node status as "okay"
Start.elf uses dt overlay concept, so each node status can be
overlayed with dtparam=audio=on in config.txt but u-boot does not.
So, change status of on-board audio dt node as "okay" because dt
overlay concept on u-boot requires too huge effort.
Fixing dts file from arm will also change arm64 because arm64 dts
includes arm dts.
Change-Id: I73b3c807968c031ba046f44e937c6828ee7f0119
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
[jcsing.lee@samsung.com: modify commit message more clearly]
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Lee Hackseung [Thu, 10 Aug 2017 05:50:09 +0000 (14:50 +0900)]
arm64: bcmrpi3_defconfig: Enable features related to bcm sound
Enable SND_BCM2835 that has essential functionalities to
play and capture sounds and enable configurations related to PWM
because earjack works through PWM devices.
Change-Id: I04f7ea23b9bdd447a7f8084d8ce5c6f73ebd9992
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
[jcsing.lee@samsung.com: modify commit message more clearly]
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Karol Lewandowski [Wed, 12 Jul 2017 09:54:23 +0000 (11:54 +0200)]
ARM64: tizen_bcmrpi3_defconfig: enable android logger
To support logger driver backend from Tizen dlog framework, enable
android logger.
Change-Id: I24960463efc40637858c0873ac7400fa0e806650
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Inki Dae [Mon, 4 Jul 2016 08:28:46 +0000 (17:28 +0900)]
staging: logger: fix build error due to removed ki_nbytes
This patch fixes build error. Logger driver was removed
from mainline kernel and after that there was some changes and
one of them is that ki_nbytes member was removed from kiocb structure.
66ee59a fs: remove ki_nbytes
This patch makes count member of iov_iter structure to be used instead.
Change-Id: I11e9ebdac7dd86c02fd692a67562a23e5c685f69
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Jaehoon Chung [Fri, 5 Jan 2018 00:40:02 +0000 (09:40 +0900)]
staging: android: logger: fix the compiler error
Moved signal wakeup & sigpending methods from <linux/sched.h> into
<linux/sched/signal.h>.
Refer to commit
174cd4b1e5fb (sched/headers: Prepare to move signal
wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h>
Fix the compiler error about android logger.
Change-Id: Iab1583fe54fef1c76a34673d1d718f73930baa11
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Karol Lewandowski [Mon, 3 Jul 2017 12:01:57 +0000 (14:01 +0200)]
Revert "staging: Remove logger and alarm-dev from android Makefile"
This reverts commit
71e365ed0ca893cae8d72cbd4b476a9589003098.
Change-Id: I190dabd2626ca7cb51d00d9fe186d15da21ae405
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Karol Lewandowski [Mon, 3 Jul 2017 12:00:55 +0000 (14:00 +0200)]
Revert "staging: Remove the Android logger driver"
This reverts commit
a0a23bbce7818c90c3d3370af966fefce07a8c9b.
rpi3 is going to be used for various profiles - among these
there will be IoT and Headless, which still depend on legacy
android logger driver for application logging.
This commit reverts removal of the driver.
Change-Id: I61ab9e87c5bcbf318aa35ec2f92a470b54a98be1
Requested-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Jaehoon Chung [Tue, 22 Aug 2017 03:00:20 +0000 (12:00 +0900)]
ARM64: tizen_bcmrpi3_defconfig: update the defconfig for synchronization
It updates the defconfig for synchronization.
Change-Id: I2f1b2aa7cdcc82c0df0407cde155569884181471
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Lee Hackseung [Mon, 10 Jul 2017 10:36:22 +0000 (19:36 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable BLUETOOTH
Activate Bluetooth related settings.
Change-Id: I6c9496341698aadc66934ab93a3b54d2f82894ad
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
Lee Hackseung [Fri, 11 Aug 2017 06:17:38 +0000 (15:17 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable UVC
Activate all settings related to UVC(USB Video Class)
Change-Id: I6d5d3d388d06fc4b5ae9510db63f4398f8fe84fe
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
Jaechul Lee [Fri, 28 Jul 2017 07:48:32 +0000 (16:48 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable USB audio driver
Activate ALSA USB related settings.
Change-Id: I03d6c9cd9eb6e55667f7bd92717b6beeb304aa1b
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
[jcsing.lee: adjust commit message]
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Joonyoung Shim [Wed, 26 Jul 2017 05:27:19 +0000 (14:27 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable GPIO_BCM_EXP
VC4 DRM hdmi uses HPD gpio controlled by Broadcom expander GPIO driver,
so enable GPIO_BCM_EXP config.
Change-Id: I1457a0d2d9d071363eb2f43225a308eeeaaa3353
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Andi Shyti [Tue, 25 Jul 2017 01:55:38 +0000 (10:55 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable INPUT_EVDEV
Tizen needs the dev/input/eventX to interface for with the mouse,
INPUT_EVDEV enables it.
Change-Id: I3a9566a10b8764fe5af21fc6b1361cf9e8040a23
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Hyeongsik Min [Tue, 11 Jul 2017 11:24:27 +0000 (20:24 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable SPI_BCM2835
Enables support of BCM2835 SPI driver needed by peripheral-io.
Change-Id: Ibf2aaca64462e4046ba155d11783f19f912ef8c3
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
Jaehoon Chung [Mon, 27 Mar 2017 07:54:15 +0000 (16:54 +0900)]
ARM64: tizen_bcmrpi3_defconfig: increase the ramdisk size to 12MB
Increase the ramdisk size from 4MB to 12MB. Tizen normal ramdisk
size should be under 8MB and the size of ramdisk-recovery should
be 12MB.
Change-Id: I474a32f8fb1233d36b837806dde54e376a0cafdd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
[sw0312.kim: squash change size for 8MB and 12MB]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Karol Lewandowski [Thu, 1 Jun 2017 12:17:37 +0000 (14:17 +0200)]
ARM64: tizen_bcmrpi3_defcofig: enable audit subsystem
Syscall auditing is going to be used by fault detection service - faultd.
Change-Id: Ifc6853e12fcc90497bd8a222eecb44fdd09f57ba
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Jaehoon Chung [Mon, 22 May 2017 23:53:49 +0000 (08:53 +0900)]
ARM64: tizen_bcmrpi3_defcofig: enable the configs relevant to bridge
Enable the configs relevant to BRIDGE and STP.
Change-Id: Iabb67ec49d176ff5fe6083dfc4a48ed40d683d1a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 19 May 2017 03:37:59 +0000 (12:37 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable the MAC80211 and RT2X00 configs
To use Ralink driver, enable the configurations relevant to it.
Change-Id: I5122405b297caf1f6f1e56d02a524d504671d910
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 17 May 2017 05:41:08 +0000 (14:41 +0900)]
ARM64: tizen_bcmrpi3_defconfig: Enable USB_SERIAL configurations
Enable USB_SERIAL configurations.
(CONFIG_SERIAL, CONFIG_SERIAL_GENERIC, CONFIG_SERIAL_CP210X)
Change-Id: Icead3fc34b2e37889a1dd407c24aff1444a5ab20
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Joonyoung Shim [Thu, 23 Mar 2017 06:11:01 +0000 (15:11 +0900)]
drm/vc4: add gem_info node via debugfs
The memps requires gem_info with gem_names to analyze graphics
shared memory, so this patch adds gem_info node via debugfs
interface.
Let's save pid/tgid in private file data only once when gem object is
created or prime_fd is imported and use them on gem_info. This is to
solve the wrong pid problem of gem_info created as different processes
share fd of drm device node.
Change-Id: Iaac2ccd63e124dd11a894f0e88ddbb533750f3d4
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
[sw0312.kim: fix wrong printing format in gem_info debugfs for 32bit arm build with %zx]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Andi Shyti [Fri, 31 Mar 2017 06:23:47 +0000 (15:23 +0900)]
ARM64: tizen_bcmrpi3_defconfig: enable I2C_CHARDEV
The I2C_CHARDEV flag enables the compilation of the i2c-dev
driver which generates a character device of the type /dev/i2c-X
where userspace programs can access to the i2c devices without
the support of any device drivers.
Change-Id: I661d8590bc219c6500bb5fca89df0436aa0efdca
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Andi Shyti [Fri, 31 Mar 2017 06:20:27 +0000 (15:20 +0900)]
ARM64: dts: bcm2710-rpi-3-b: enable i2c1
i2c bus number 1 is mapped in the Raspberry Pi gpio array for
connecting through i2c external devices.
Change-Id: Ia8f72952f4aed1d737ab75c239ead25bb97d2e3c
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Jaehoon Chung [Tue, 7 Feb 2017 07:50:54 +0000 (16:50 +0900)]
ARM64: rpi3: config: enable configurations relevant to WiFi
Enable configurations relevant to WiFi.
These configurations are basic configs for using Network.
If needs to enable more configuration, it should be enabled in future.
To use WiFi, enable the brcmfmac driver as modules.
(Needs to install modules in target.)
Change-Id: Ia9961018f6736e3bc709c0d760f0d2d02994c7c8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Joonyoung Shim [Tue, 7 Feb 2017 05:01:04 +0000 (14:01 +0900)]
ARM64: tizen_bcmrpi3_defconfig: Disable FB_BCM2708
Disable FB driver because of using DRM driver.
Change-Id: I3bfb899c1e0c71a235952934ecaf749a1d90dd85
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>