summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-09-13Add building inform-reboot Tizen specific moduletizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241014.000620accepted/tizen/unified/x/20241001.153946accepted/tizen/unified/x/20240927.022724accepted/tizen/unified/toolchain/20241004.102214accepted/tizen/unified/20241001.004052accepted/tizen/9.0/unified/20241030.235414tizen_9.0accepted/tizen_unified_x_asanaccepted/tizen_unified_toolchainaccepted/tizen_9.0_unifiedMarek Szyprowski5-0/+20
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
2024-09-13Explicitly list all modules to build for each arch/platformMarek Szyprowski1-4/+7
This simplifies configuration management and adding more modules. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I35ea263ce6c8b600b474414e450b3871ee8745f4
2024-09-13Fix build warnings from depmodMarek Szyprowski1-0/+10
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
2024-09-04Add support for BananaPiF3 RISC-V platformaccepted/tizen/unified/x/20240929.082826accepted/tizen/unified/x/20240920.053210accepted/tizen/unified/dev/20240920.060436accepted/tizen/unified/20240919.163717accepted/tizen_unified_devMarek Szyprowski2-0/+28
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I2655c33f69b026a555e2916d9bb3c9e68ca752c1
2024-05-20tizen: Use unique directory prefix for baselibs packagesaccepted/tizen/unified/x/asan/20240625.093018accepted/tizen/unified/x/20240605.012818accepted/tizen/unified/toolchain/20240624.121730accepted/tizen/unified/dev/20240620.010549accepted/tizen/unified/20240604.015413Karol Lewandowski1-0/+12
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>
2024-04-23packaging: Add baselibs.conf to provide aarch64 packages for rpi4 32-bit variantaccepted/tizen/unified/x/20240502.111907accepted/tizen/unified/toolchain/20240507.011924accepted/tizen/unified/20240502.105917Karol Lewandowski1-0/+18
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>
2024-04-10Add support for LicheePi4A RISC-V platformaccepted/tizen/unified/x/20240423.121721accepted/tizen/unified/20240502.044704Marek Szyprowski2-0/+29
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ia5a66448126d5a2268a260ba16d7aa3b19159056
2024-02-19packaging: Use INSTALL_MOD_DIR for specific pathaccepted/tizen/unified/x/20240220.150059accepted/tizen/unified/toolchain/20240311.065906accepted/tizen/unified/20240219.160443Jaehoon Chung1-4/+4
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>
2023-07-19Add tizen-module-visionfive2.conf file for loading moduletizen_8.0_m2_releaseaccepted/tizen/unified/riscv/20230720.071116accepted/tizen/unified/20230919.091738accepted/tizen/unified/20230720.164631accepted/tizen/8.0/unified/20231005.094546tizen_8.0accepted/tizen_unified_riscvaccepted/tizen_8.0_unifiedJaehoon Chung2-0/+13
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>
2023-07-18packaging: Remove kernel-devel-3.10-sc7730 from BuildRequiresaccepted/tizen/unified/riscv/20230718.024914accepted/tizen/unified/20230718.162221Jaehoon Chung1-1/+0
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>
2023-07-14packaging: Remove deprecated packages about TM1/TW3Jaehoon Chung2-93/+0
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>
2023-07-14packaging: Fix wrong package SummaryJaehoon Chung1-2/+2
Fix wrong package Summary about rv64qemu and visionfive2. Change-Id: Icd182e2d13224664ee56318e6ca05ed00885cd34 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-05-24Build for QEMU and VisionFive2 RISC-V platformsŁukasz Stelmach1-10/+76
Change-Id: I8b5f94f888e734ab6d1046a24696ac085c4b9fad Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2022-11-03Drop rpi3 packageaccepted/tizen/unified/20221111.105335Karol Lewandowski3-34/+1
RPI3 support is dropped from Tizen 7.5. Change-Id: I0400c8fb08b1e78a847ca35a2fea151432bc81bb
2022-09-19Hotfix: fix zlogger.ko pathtizen_7.0_m2_releaseaccepted/tizen/unified/20220921.022913accepted/tizen/7.0/unified/hotfix/20221116.110528accepted/tizen/7.0/unified/20221110.063006tizen_7.0_hotfixtizen_7.0accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedKarol Lewandowski1-2/+2
Change-Id: Ifc98701468caa0fba0fecd78d77cb4856e04c742
2022-09-19Release 7.0.6Karol Lewandowski1-1/+1
Change-Id: Ia56ec4156f13d3cc9cb762d220e781aafc20b75f
2022-09-19Explicitly list shipped modulesKarol Lewandowski1-7/+24
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
2022-09-19Build zlogger but not load it by defaultKarol Lewandowski4-4/+0
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
2022-09-06Release 7.0.5submit/tizen/20220906.135332accepted/tizen/unified/20220908.124821Karol Lewandowski1-1/+1
Change-Id: I9a098660caeb91f5082b8718324221c110ebd703
2022-08-25Included zlogger module based on Tizen TV oneArkadiusz Nowak5-0/+5
Change-Id: Id7652e314b42c1cc2078bae854b7b5e488c7eeea
2022-03-16spec: run depmod(8) after installing linux-tizen-modules-rpi4-rtsubmit/tizen/20220321.130904accepted/tizen/unified/20220324.134423Łukasz Stelmach1-0/+4
Change-Id: Ieb5ae3a4908ac629090a24414f00b603f237449e Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2022-03-11spec: build modules for RPi4 RT kernelsubmit/tizen/20220311.061629accepted/tizen/unified/20220313.220447Łukasz Stelmach1-1/+32
Build Tizen modules for RaspberryPI 4 with RT kernel patch Change-Id: Ifeb9231454f4bc3a427130ed3f0ae321e9f3f4f7 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2022-01-21Release 7.0.4submit/tizen/20220125.030100submit/tizen/20220124.094500submit/tizen/20220121.145113accepted/tizen/unified/20220126.042702Karol Lewandowski1-1/+1
Change-Id: If19c5359ca710396fa372f635b80cf8f9fe025ac
2022-01-21logger: configure larger logger buffersŁukasz Stelmach1-0/+6
Change-Id: I3ca2bc3a18cb7f8e67e4cb97ad4457847acd1288 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2022-01-13Release 7.0.3submit/tizen/20220113.112544accepted/tizen/unified/20220114.130059Karol Lewandowski1-1/+1
Change-Id: I425f05b5587f6c66259dc09d29b7124b8456aac6
2022-01-12Add tm1 package with logger.koKarol Lewandowski2-1/+48
Change-Id: I3d2d79b57a1be9f1806981a7fd02c709e0955da4
2021-12-09packaging: Use %arm in ExclusiveArch instead of armv7lsubmit/tizen/20211222.072141accepted/tizen/unified/20211222.230243Seung-Woo Kim1-1/+1
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>
2021-12-04Build and automatically load kdbus on rpi4submit/tizen/20211206.151948accepted/tizen/unified/20211208.121934Mateusz Majewski2-4/+8
Change-Id: I5a27361dae22f8eac3885fcc19f3aef416bfb041 Co-authored-by: Karol Lewandowski <k.lewandowsk@samsung.com> Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
2021-12-03packaging: Fix not to build with sanitizersSeung-Woo Kim1-0/+4
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>
2021-11-29Build package using external linux-tizen-modules-source packagesubmit/tizen/20211201.082354submit/tizen/20211130.104346accepted/tizen/unified/20211202.120725Karol Lewandowski6-1560/+3
This package contains only public tizen configuration and deps. Change-Id: Ib4de81e507cce2773589d8e25b3e120be5f57a48
2021-11-25Add ability to not build all modulesKarol Lewandowski3-4/+13
This is going to be used by clients of -source package. Change-Id: Ieb7be8aa0a169951356b554947a9ab978346346e
2021-11-25Add separate spec to build source packageKarol Lewandowski2-1/+30
Change-Id: I1e7850b6b7d959f9b36a85fceca11d5f0825971f
2021-09-16logger: handle error values from filp_open()tizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163201submit/tizen/20210927.073507accepted/tizen/unified/20210927.120907accepted/tizen/6.5/unified/20211028.120004Łukasz Stelmach1-3/+2
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>
2021-09-16logger: flush data from stdio writers under mutexŁukasz Stelmach1-2/+6
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>
2021-07-14logger: flush remaining data from stdio writers on file releasesubmit/tizen/20210729.113025accepted/tizen/unified/20210730.130003Mateusz Majewski1-2/+4
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>
2021-07-14logger: handle '\0's correctly in stdout writersMateusz Majewski1-15/+9
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>
2021-07-09Separate configuration files for each targetsubmit/tizen/20210712.014157accepted/tizen/unified/20210712.025020INSUN PYO7-10/+22
Change-Id: Iaed004d48d4d0fad16d396ce95b26e37edb66ffb
2021-07-08Merge branch 'stability-monitor-kmod-rpi3' into tizenKarol Lewandowski5-2/+286
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
2021-06-25logger: enable logger modulesubmit/tizen/20210627.235506accepted/tizen/unified/20210628.122333INSUN PYO2-0/+8
Change-Id: If186dc62a39a360b42b99cea0f8e4c29940c71db
2021-06-24packaging: fix not to set kernel symbol dependency automaticallysubmit/tizen/20210624.065331accepted/tizen/unified/20210624.131807INSUN PYO1-0/+3
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
2021-06-24Apply depmod postscriptsubmit/tizen/20210624.055745submit/tizen/20210624.044602INSUN PYO2-23/+47
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>
2021-06-23Resolve conflict with /lib/modules when using baselibssubmit/tizen/20210623.032159accepted/tizen/unified/20210623.125243Hyotaek Shim2-2/+9
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>
2021-06-17logger: exclude /lib/module directory from tw3 baselibsubmit/tizen/20210617.090224accepted/tizen/unified/20210617.101010INSUN PYO1-0/+1
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
2021-04-23packaging: Support logger driver for rpi3, rpi4 and tw3 kernelssubmit/tizen/20210615.233038submit/tizen/20210615.151136accepted/tizen/unified/20210615.215241Karol Lewandowski6-3/+466
Change-Id: I41eba922c16b34efe04e7d15896e7fe9ad6012ca
2021-04-22Merge branch 'logger-linux-rpi3' into tizenKarol Lewandowski2-0/+1222
This imports logger driver along with history. It's been obtained from: ssh://review.tizen.org:29418/platform/kernel/linux-rpi3 Change-Id: If7ffcb064bd6c8279a0cceb285f1db372aa22907
2021-04-22logger: introduce struct logger_set_taglogger-linux-rpi3Łukasz Stelmach2-7/+19
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>
2021-04-22logger: move logger.h to uapiŁukasz Stelmach2-1/+5
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>
2021-04-22logger: return amount of data written to stdioŁukasz Stelmach1-12/+13
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>
2021-04-22logger: fix temporary buffer handlingŁukasz Stelmach1-3/+14
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>
2021-04-22logger: adapt access mode checksŁukasz Stelmach1-2/+4
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>