Age | Commit message (Collapse) | Author | Files | Lines |
|
Move Tizen specific inform-reboot module to linux-tizen-modules
repository instead of duplicating it in each board specific kernel
repository.
Enable inform-reboot module for the platforms that had it earlier
compiled into the kernel: rpi4 and vf2 as well as the new RISC-V
based ones: lpi4a and bpif3.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie46796b390ac554cc340e6ce4550d918833e374c
|
|
This simplifies configuration management and adding more modules.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I35ea263ce6c8b600b474414e450b3871ee8745f4
|
|
Add a dependency to the standard kernel modules packages and copy
relevant files from them to make depmod not to complain about missing
files. This fixes the following build warnings:
[ 15s] depmod: WARNING: could not open modules.order at /home/abuild/rpmbuild/BUILD/linux-tizen-modules-9.0.0/kernel/..//lib/modules/6.6.17-arm-rpi4-v7l: No such file or directory
[ 15s] depmod: WARNING: could not open modules.builtin at /home/abuild/rpmbuild/BUILD/linux-tizen-modules-9.0.0/kernel/..//lib/modules/6.6.17-arm-rpi4-v7l: No such file or directory
[ 15s] depmod: WARNING: could not open modules.builtin.modinfo at /home/abuild/rpmbuild/BUILD/linux-tizen-modules-9.0.0/kernel/..//lib/modules/6.6.17-arm-rpi4-v7l: No such file or directory
[ 15s] make[1]: Leaving directory '/boot/kernel/devel/kernel-devel-arm-rpi4'
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I034cccda692481a3fbe6b20ec6e29f4def5ba281
|
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I2655c33f69b026a555e2916d9bb3c9e68ca752c1
|
|
Move all files provied by baselibs-converted pacakges to
unique directory to avoid conflicts with filesystem package
(when both packages are installed to platform image using mic).
Change-Id: I1eb73be9144209c8525877de8eeac72d84b076b9
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
|
|
This allows to create 64-bit modules package for mixed 64-bit kernel &
32-bit userspace variants.
Change-Id: I7797203e3f46a48a727525d2ae4bd3bf470a8aa0
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
|
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ia5a66448126d5a2268a260ba16d7aa3b19159056
|
|
Since v6.3, INSTALL_MOD_DIR is using from extra to updates by default.
To clarify extra directory, use INSTALL_MOD_DIR.
Change-Id: I0a7d73f9ffd4e43fa911e9e298e634e71bdce44b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add tizen-module-visionfive2.conf file for loading module at booting time.
Because there is no config file, it doesn't load anything now.
This patch is fixing its problem.
Change-Id: Iab9e2a7a7694eb87dd660d3e15bfb73f204a0d54
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Removing kernel-devel-3.10-sc7730 is missed from previous patch.
This patch is removing the kernel-devel-3.10-sc7730 from BuildRequires.
Change-Id: Iab99f667df2f058c99f7fad67d7a615cdb8b7d3e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
TM1 / TW3 doesn't support anymore since Tizen8.0.
So remove those packages from spec file.
Change-Id: I709ee51facff7417148d0b2f173b5926f4d7f01c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Fix wrong package Summary about rv64qemu and visionfive2.
Change-Id: Icd182e2d13224664ee56318e6ca05ed00885cd34
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Change-Id: I8b5f94f888e734ab6d1046a24696ac085c4b9fad
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
RPI3 support is dropped from Tizen 7.5.
Change-Id: I0400c8fb08b1e78a847ca35a2fea151432bc81bb
|
|
Change-Id: Ifc98701468caa0fba0fecd78d77cb4856e04c742
|
|
Change-Id: Ia56ec4156f13d3cc9cb762d220e781aafc20b75f
|
|
Using wildcard in file list gives us no guarantee that modules did
build correctly. Switch to explicit file list to ensure that needed
modules are shipped.
Change-Id: I21ee18f803c9ec50c09941d08013b5abc5b72d4e
|
|
This partially reverts commit 333224dde4 ("Included zlogger module
based on Tizen TV one").
zlogger should be shipped but it must be explictly enabled to
be used on the system. If it's loaded and not used it will consume
32MB of system memory for no good reason.
Change-Id: If1670e54a6fff8a6af9e7e45b4fd7d4d2cf6698a
|
|
Change-Id: I9a098660caeb91f5082b8718324221c110ebd703
|
|
Change-Id: Id7652e314b42c1cc2078bae854b7b5e488c7eeea
|
|
Change-Id: Ieb5ae3a4908ac629090a24414f00b603f237449e
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Build Tizen modules for RaspberryPI 4 with RT kernel patch
Change-Id: Ifeb9231454f4bc3a427130ed3f0ae321e9f3f4f7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Change-Id: If19c5359ca710396fa372f635b80cf8f9fe025ac
|
|
Change-Id: I3ca2bc3a18cb7f8e67e4cb97ad4457847acd1288
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Change-Id: I425f05b5587f6c66259dc09d29b7124b8456aac6
|
|
Change-Id: I3d2d79b57a1be9f1806981a7fd02c709e0955da4
|
|
Arch %arm can have armv7hl with hardfloat build, so instead of
fixed armv7l, %arm should be used. Fix it from ExclusiveArch.
Change-Id: Id4435ab9cd2a053bfec52c9d59cfbf56e213c258
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Change-Id: I5a27361dae22f8eac3885fcc19f3aef416bfb041
Co-authored-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
|
|
Add build explict flags to disable asan and ubsan sanitizers
because this is kernel module build tree.
Change-Id: I3adc3c08047313b1e8ce8bd4f15849817f45eb46
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
This package contains only public tizen configuration and deps.
Change-Id: Ib4de81e507cce2773589d8e25b3e120be5f57a48
|
|
This is going to be used by clients of -source package.
Change-Id: Ieb7be8aa0a169951356b554947a9ab978346346e
|
|
Change-Id: I1e7850b6b7d959f9b36a85fceca11d5f0825971f
|
|
filp_open() may return -errno, so check for that instead of checking
for NULL.
Change-Id: I5a694555bcd082506330e08f48ed4b7043c4e120
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Operations during flushing logs delivered via stdio need to be performed
with the mutex held.
Change-Id: I4655b0af75172f8f22b797c0caadd28cb4619cf0
Suggested-by: Mateusz Majewski <m.majewski2@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Unlike logs from regular writers, logs from stdio writers are not
contained in a single write_iter call: if the last character written in
the call is not a newline, some of the input remains in the buffer for
the next write_iter call. This means that some data might remain in the
buffer during release, and such data has to be flushed; otherwise, it
would be lost.
Change-Id: I13c9dc020967fe8ef3fbcd52d45f85b8725d3c2c
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
|
|
This commit takes care of cases when input received from stdout writers
contains '\0' characters. They should be treated like newlines. We
achieve this by simply replacing them by '\n's while searching for the
last '\n' in the input.
Change-Id: I51c23457f96bd6f0465d60da06157316756cc951
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
|
|
Change-Id: Iaed004d48d4d0fad16d396ce95b26e37edb66ffb
|
|
This commit integrates previously standalone stability-monitor-kmod-rpi3
into this repository.
Source commit 901f4d0ec2 ("Support Linux kernel v5.10") has been downloaded by:
git fetch ssh://klewandowski@review.tizen.org:29418/platform/core/system/stability-monitor-kmod-rpi3 refs/changes/90/253890/1 && git checkout FETCH_HEAD
Change-Id: I3ee19411f8c2af86776e9796491857ff88e3baed
|
|
Change-Id: If186dc62a39a360b42b99cea0f8e4c29940c71db
|
|
Kernel image rpm does not have kerenl symbol provides, so kernel
symbol automatically checked dependency from kernel module breaks
install dependency. Fix not to run automatical dependency check.
Change-Id: If5a6de3c97205e011dcd91d3358563e3e261560d
|
|
To use modprobe, module name is requires on /lib/modules/version/modules.dep.
Change-Id: I4ac1e90424f2707675f9fce37544c193de6afaf4
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
In tw3 images, kernel is based on 64bit while platform is on 32bit.
Thanks to baselibs, aarch64 rpms containing tw3 kernel modules can be repackaged to arm rpms.
$ rpm -ql linux-tizen-modules-tw3-aarch64-6.5.0-0.armv7l.rpm
/lib/modules
/lib/modules/4.9.59
/lib/modules/4.9.59/extra
/lib/modules/4.9.59/extra/logger.ko
Unfortunately, however, /lib/modules, which is implicitly packaged,
is conflict with filesystem package.
INFO: Next install: filesystem
WARNING: file /lib/modules conflicts between attempted installs of
linux-tizen-modules-tw3-aarch64-6.5.0-1.1.armv7l and filesystem-3.1-3.3.armv7l
ERROR: Could not run transaction.
This patch avoids generating /lib/modules in the linux-tizen-modules-tw3-aarch64.armv7l.rpm
Change-Id: I8be870f9999e1e2f626c99bae7bced3ac623d44d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
The baselibs adds paths recursively.
(ie. for /a/b/c, and cofiguration +/a/b/c, the baselibs will add /a, /a/b and then /a/b/c)
So, temporarily remove /lib/module until a solution is found.
=== original rpm ======================================================
linux-tizen-modules-tw3-6.5.0-0.aarch64.rpm
- /lib/modules/4.9.59/extra
- /lib/modules/4.9.59/extra/logger.ko
- /usr/share/licenses/linux-tizen-modules-tw3
- /usr/share/licenses/linux-tizen-modules-tw3/COPYING
=== baselib rpm ======================================================
linux-tizen-modules-tw3-aarch64-6.5.0-0.armv7l.rpm
- /lib/modules
- /lib/modules/4.9.59
- /lib/modules/4.9.59/extra
- /lib/modules/4.9.59/extra/logger.ko
- /usr/share/licenses
- /usr/share/licenses/linux-tizen-modules-tw3
Change-Id: I6ee6076f2b4247f335c2ca54639b6bf27907a3c1
|
|
Change-Id: I41eba922c16b34efe04e7d15896e7fe9ad6012ca
|
|
This imports logger driver along with history. It's been obtained from:
ssh://review.tizen.org:29418/platform/kernel/linux-rpi3
Change-Id: If7ffcb064bd6c8279a0cceb285f1db372aa22907
|
|
Introduce dedicated structure for LOGGER_SET_TAG ioctl,
instead of packing and unpacking arguments by hand.
Change-Id: Ic3399ab37f55ba2b8a9a976f8c9495fc487fe7f3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
[ Pick only changes in logger.[ch] while moving code out of tree ]
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
|
|
Move logger.h to uapi so it can be exported for userland
software to use.
Change-Id: I64dca69f3442edc246562485b0b29b43615ae881
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
[ Pick only changes in logger.[ch] while moving code out of tree ]
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
|
|
Return amount of data written by a process to a logger via STDIO
interface.
Change-Id: I9c77a312d09f3d796a7ec64d5909af193bcc8bc2
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Prevent writing beyond temporary buffer and improve accumulation of data
before receiving a newline character or filling the buffer.
Change-Id: I8e0591c90914dbd4c2addde4247157831fa4843a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Allow setting the tag and the priority only for files opened O_WRONLY.
Change-Id: Icc9d7a8eb96f8f1b1aa00717aae1f32f7a2e52e4
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|