summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Add gitlab issue/merge request templatesHEADricefish_17.90.0ricefish/17.90.017.90.0masterJan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1ff3bb7e495428df089bfa97d30f7da7622897f0
2022-07-20Fixed Build error.needlefish_13.93.0needlefish/13.93.013.93.0Toshiaki Takeuchi1-3/+3
fgets return should be compared with NULL not 0. Bug-AGL: SPEC-4376 Signed-off-by: Toshiaki Takeuchi <toshiaki.takeuchi@woven-planet.global>
2022-02-10Add support for evklib to use struct proc_opsmarlin_12.93.0marlin/12.93.012.93.0Yoshiki Ito1-2/+33
Kernel 5.6 and later replaced struct file_operations with struct proc_ops. Enabling agl-refhw-h3 feature or virtio-aarch64 machine configuration will cause build errors. This patch enables kernel-module-evklib to use struct proc_ops at 5.6 and later to avoid the errors. Bug-AGL: SPEC-4254 Signed-off-by: Yoshiki Ito <ito.yoshiki001@jp.panasonic.com> Change-Id: Ie78913fc16d245403b7e283b8bdea94c7ea7d666
2021-01-26Fix Positioning startup errormarlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi/10.93.0jellyfish_10.0.3jellyfish/10.0.312.91.012.90.112.90.011.92.010.93.010.0.3Riku Nomoto1-0/+1
The /tmp/shm folder is required to start Positioning. The creation of this folder is performed by setup_refhw.sh. I thought this script was unnecessary, but without it, Basesystem service does not work. setup_refhw.sh has the terrible file name and command. Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global> Change-Id: I8b4bb6f897b77683a7586099a1880fa37d327d4a
2021-01-24Resolve libev.so conflictsShuhei AKETA7-8/+8
service/other/event_library/library/Makefile generates libev.so. libev.so is existing by meta-openembedded/meta-oe/recipes-connectivity/libev. Therefore, I renamed the libev.so generated by the Makefile to libbs_ev.so. Signed-off-by: Shuhei AKETA <shuhei.aketa@woven-planet.global> Change-Id: I5af26f44947ed1f0cdd170bd5dc0f9c3b2d71ad9
2021-01-18Changed the installation path of librariesShuhei AKETA15-78/+33
The libraries required by basesystem were deployed in /usr/lib/basesystem. However, if the libraries were installed in this path, the executable would not link the libraries. I changed the path of the librariesfrom /usr/lib/basesystem to /usr/lib. Signed-off-by: Shuhei AKETA <shuhei.aketa@woven-planet.global> Change-Id: I174b29e96e1da9001f8c5308025abaaaeddc6342
2021-01-12Fix taskmanager/client/libtskmcfg/Makefile for crossbuild environmentkoi_10.92.0koi/10.92.010.92.0Jan-Simon Moeller1-3/+5
The Makefile needs to take the proper flags into account to use the native sysroot to find -lexpat in the native case for the build-time parser compilation to work. Note that there is HOSTCPP=cpp left that is a direct host dependency. Bug-AGL: SPEC-3670 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I70b111d6385e0f465353ed2fe2a754b0c34db797
2021-01-08Fixed make dependency definitionRiku Nomoto1-2/+2
Removed RPC_APIDEF because to build rpc_apidef is defined for rpc_library/tool. And make-target for RPC_APIDEF is just defined in service/other/rpc_library/tool/Makefile. Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global> Change-Id: I8dd870f8c919d85b9ce235f80858db64d7d6ddf0
2021-01-06Organized dependencies of xpathRiku Nomoto6-35/+1401
This patch should be merged after 25841 has been merged. https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/25841 xpath is used in launch_xml2cfg.sh. launch_xml2cfg.sh converts xml to cfg. Originally, agl.mk was running launch_xml2cfg.sh. Only SystemManager uses launch_xml2cfg.sh. Therefore, I changed launch_xml2cfg.sh from agl.mk to SystemManager's Makefile. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Ib4c5813c89573222217a6df971b720f9be35fc3f
2021-01-03Fixed Makefile targetRiku Nomoto2-14/+7
The install command was being executed with do_compile. Because DESTDIR was not defined, the install command was not executed correctly. Therefore, it was fixed so that the install command is not executed in do_compile. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I272fc8252db17638c70ca81b0a016b90ab3f0c06
2021-01-02Changed to not include autoconf.hRiku Nomoto1-1/+0
moduleid.h was including autoconf.h. However, this does not need to be included. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Iad2e30c952dc778198d143dd63063455fcac17bc
2021-01-02Rename agl_thread.h to agl_thread_tm.hRiku Nomoto2-4/+4
There were the same name files. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I9e3fdd4d263ba91e697107f980ec2ee2a8b22fee
2020-12-30Reworked by rearranging agl-systemd's recipeRiku Nomoto3-4/+2
The current AGL is running the process as root user. Therefore, there is no need to configure the capability. This patch changes the script to not run the capability setting. I'm not sure if these scripts are working as expected now. Toyota will not implement the capability settings this time. This will be worked out in future Production Readiness activities. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Ie425edd64441f7526f0774e75011b594802fbd4a
2020-12-30Changed version.txt to be installed by notification_persistent_service ↵Riku Nomoto2-0/+4
instead of agl-basefiles. The version.txt is only used by notification_persistent_service. Therefore, I moved version.txt. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I9efde01410635733b5263d14c987d0900fb037e8
2020-12-20Changed to not use SDKTARGETSYSROOT.Riku Nomoto22-57/+188
Yocto sets the recipe-sysroot directory as the sysroot. Therefore, there is no need to define the path of the recipe-sysroot using SDKTARGETSYSROOT in the recipe. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I9f3c7155a0f9656a916a2d6ba71371a4376b502b
2020-12-19Update agl_types_deprecated.hRiku Nomoto1-6/+4
Removed code that runs in kernel space. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I38e3393a380da6c11864ea6f14367b6a60689f90
2020-12-19Changed the path of agl.mk in the Makefile for each service.Riku Nomoto7-9/+7
Changed the location of agl.mk from sysroot to src folder. Therefore, the Yocto recipes need to change the S and subpath. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: If0c6da774faf82237acbeb1f7d33f4dbc2858906
2020-12-19Modified license header of some filesRiku Nomoto8-590/+241
To set appropreate header to the files, I reworked source codes of kernel-module-evklib. Header files and evk_lib.c are combined. v5: Kernel modules no longer have a header file.    The code of the header file was imported into evk_lib.c. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I2af32c59c13bdf7b6f56a8d0b4169e71d7ca8fd5
2020-12-18Removed unnecessary files.koi_10.91.0koi/10.91.010.91.0Riku Nomoto16-2282/+0
The deleted files have not been built. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I96f372837508cd1068e0563ad9efccc4b0d114ab
2020-12-17Fixed overwriting of CXXFLAGS.Riku Nomoto7-7/+7
Replaced "CXXFLAGS :=" to "CXXFLAGS +=" in Makefiles. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Ia467b8522677e7bb215131f6f7854d3664b121a4
2020-12-17Changed the name of a file and some linesRiku Nomoto16-16/+16
From agl_types_obsoluted.h => agl_types_deprecated.h because "obsolute" is misspelled. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Id9d58399b0eea778641ba627cf7b7f845ed43e0a
2020-12-16Remove clock/localtimeRiku Nomoto2-281/+0
Localtime make wasn't executed originaly, therefore, I deleted the directory. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I673475982618270ee737458a3a9a1e1e017a89bb
2020-12-16Fix path in aglpath.hRiku Nomoto1-2/+2
Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I79ffad497ca11dc2283c1a53dedfc5f41c69429c
2020-12-15Fix build of os-rpclibrary-tool-nativeTadao Tanikawa1-2/+4
Fix missing dependency and double execution of bison. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I3d8d3ec5de4eceaaaf520bf24c3718c73acaaa1f
2020-12-15Fix build of ss-resourcemanagerTadao Tanikawa2-2/+0
The ss-resourcemanager (and agl-service-ss-resourcemanager) requires to include the kernel header and it was planned that STAGING_KERNEL_BUILDDIR to be passed through KERNEL_HEADER_DIR vairable. However, from the latest recipe, it seems that another solution has been adopted that does not use KERNEL_HEADER_DIR and it is not defined. As a result, this undefined variable destroys the include paths, which causes the compilation error. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: Ifecc12bf5aa5ca5eaf9b51f99e1583d76ddb1908
2020-12-15Removed update_halRiku Nomoto4-541/+0
Because there aren't any modules in Basesystem. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I8e0d1b4da7a3af3e15cc8819f7c82491db98978e
2020-12-14input_hal: do not reset LDFLAGS but amendJan-Simon Möller1-1/+1
Do not reset the LFDLAGS in the Makefile. This fixes a QA issue in the build. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Idff63aef9715528fb80f7556f191ea3b8c64cbed
2020-12-08Add LICENSE.GPL-2.0-only file for kernel moduleRiku Nomoto1-0/+288
Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I9645bd73862e4145bbb4a5ad25125786677e52c4
2020-12-03launch_xml2cfg.sh is set not to be executed.jellyfish_10.0.1jellyfish/10.0.110.0.1Riku Nomoto1-1/+0
because launch_xml2cfg.sh includes xpath. Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I22fcfa1fc7120d19987b87a08a6587bf0d0fb1db
2020-12-03Changed autoconf.h ref to /kernel-build-artifactsRiku Nomoto5-2/+5
By not copying autoconf.h to usr/include/linux and not using it, changed from linux/autoconf.h to generated/autoconf.h https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/25647/1/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb#33 Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I694147d0427c43a2fc96b26304f5bf60d23de914
2020-11-26Fix unresolve build dependencysandbox/ruke47/complete_buildTadao Tanikawa2-4/+20
Fix the inconsistencies in subdirectories and library dependencies between libNS_FrameworkUnfied.so and libNS_XMLConfigParse.so Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I921e666ecfa4e31cc6a78568e8e9bdc53f5466fd
2020-11-23Fix missing modules_installTadao Tanikawa1-3/+6
Add 'modules_install' instead of using own do_install() in recipe. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I57f5576631ab79b59e4dc6c8813d93e897b3a8b6
2020-11-23Fix the path to user commandsTadao Tanikawa12-66/+66
Fix the path to the user commands, '/usr/agl/bin' to follow the standard '/usr/bin'. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: Ia10b428baf832b3db8f15a04605dc9c25ce14fe8
2020-11-23Fix path to various non-standard directoriesTadao Tanikawa36-73/+73
Fix path to non-standard directories, - /nv to /var/local/lib/basesystem/nv - /ramd to /var/local/lib/basesystem/ramd - /tool_9E_SI to /etc/basesystem - /usr/target to /etc/basesystem/target Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I42a54624230cb0ec0271f8cdbacb0b178c9f3e8e
2020-11-23Fix the path to the host specific system configurationsTadao Tanikawa17-37/+37
Fix the path to the host specific system configurations, '/usr/conf/' to follow the standard '/etc'. And all configurations of agl basesystem should stored under subdirectory, 'basesystem'. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I2be55d483a4a359e69250fc36d1f03a55a01cd8e
2020-11-23Fix the path to the directory for the librariesTadao Tanikawa14-18/+18
Fix the path to the directory of the libraries, '/usr/agl/lib' to follow the standard, '/usr/lib' and add subsystem name 'basesystem' for agl-basesystem. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I353cfe3017967ae25348ce10460e453a96d6424e
2020-11-23Fix the path to the architecture-independent dataTadao Tanikawa12-16/+17
Fix the path to the architecture-independent data, '/usr/agl/share' to follow the standard, '/usr/share' and add subsystem name 'basesystem' for agl-basesystem. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I9a547474a738ebbbbabc7eb8441ccbf3a2d3f6e0
2020-11-23Fix the path to the directory of the include filesTadao Tanikawa21-43/+42
Fix the path to the directory of the include files, '/usr/agl/include' to follow the standard, '/usr/include/' and add subsystem name 'basesystem' for agl-basesystem. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I170f23db7178b79bb1081fde9198cb244a51e64c
2020-11-22Re-organized sub-directory by categoryTadao Tanikawa1206-0/+0
Since all the sub-directories were placed in the first level, created sub-directories, "hal", "module", and "service" for classification and relocated each component. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: Ifdf743ac0d1893bd8e445455cf0d2c199a011d5c
2020-11-20Remove unused directories and files in video_in_halTadao Tanikawa1299-324128/+0
The directory video_in_hal contained a lot of unnecessary directories and files which supposed to have been accidentally copied from staging/toyota.git druing migration. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I12f2d72562bc008080ae866831d966c0b751914c
2020-11-20common_library: gettid is multiple declaration in cl_errorRiku Nomoto1-4/+0
Compile error occurs if the version is JJ or above. glibc 2.30 includes gettid() wrapper definition. So we deleted the 4 lines. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Ia9512d146b5f86862296b5b1ea54e3558453e02d
2020-11-20kernel-module-evklib: Support for kernel 5.0 and upRiku Nomoto1-1/+37
We revised mulutiple points because argument:"type" of access_ok() function is deleted. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I11d5a513895a7f49fc5593055236c4306d2a4401
2020-11-19Init basesystem source codes.Riku Nomoto2603-0/+649114
Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I55aa2f1406ce7f751ae14140b613b53b68995528
2020-11-18Add .gitreview fileJan-Simon Möller1-0/+5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I6fd663f4aefa79550b8fd475fac5298cea30578e
2020-11-18Initial empty repositoryJan-Simon Moeller0-0/+0