staging/basesystem.git
3 months agoAdd gitlab issue/merge request templates master 17.90.0 ricefish/17.90.0 ricefish_17.90.0
Jan-Simon Moeller [Tue, 13 Feb 2024 22:18:47 +0000 (23:18 +0100)]
Add gitlab issue/merge request templates

Add template files for gitlab

Bug-AGL: SPEC-4474
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I1ff3bb7e495428df089bfa97d30f7da7622897f0

21 months agoFixed Build error. 13.93.0 needlefish/13.93.0 needlefish_13.93.0
Toshiaki Takeuchi [Wed, 20 Jul 2022 04:57:59 +0000 (13:57 +0900)]
Fixed Build error.
fgets return should be compared with NULL not 0.

Bug-AGL: SPEC-4376

Signed-off-by: Toshiaki Takeuchi <toshiaki.takeuchi@woven-planet.global>
2 years agoAdd support for evklib to use struct proc_ops 64/27164/1 12.93.0 marlin/12.93.0 marlin_12.93.0
Yoshiki Ito [Thu, 10 Feb 2022 00:14:58 +0000 (09:14 +0900)]
Add support for evklib to use struct proc_ops

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

3 years agoFix Positioning startup error 61/25961/2 10.0.3 10.93.0 11.92.0 12.90.0 12.90.1 12.91.0 jellyfish/10.0.3 jellyfish_10.0.3 koi/10.93.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin/12.91.0 marlin_12.90.0 marlin_12.90.1 marlin_12.91.0
Riku Nomoto [Tue, 26 Jan 2021 00:33:56 +0000 (09:33 +0900)]
Fix Positioning startup error

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

3 years agoResolve libev.so conflicts 59/25959/1
Shuhei AKETA [Sun, 24 Jan 2021 01:24:30 +0000 (10:24 +0900)]
Resolve libev.so conflicts

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

3 years agoChanged the installation path of libraries 24/25924/3
Shuhei AKETA [Sat, 16 Jan 2021 05:16:50 +0000 (14:16 +0900)]
Changed the installation path of libraries

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

3 years agoFix taskmanager/client/libtskmcfg/Makefile for crossbuild environment 86/25886/1 10.92.0 koi/10.92.0 koi_10.92.0
Jan-Simon Moeller [Tue, 12 Jan 2021 12:23:22 +0000 (12:23 +0000)]
Fix taskmanager/client/libtskmcfg/Makefile for crossbuild environment

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

3 years agoFixed make dependency definition 80/25880/1
Riku Nomoto [Fri, 8 Jan 2021 07:11:55 +0000 (16:11 +0900)]
Fixed make dependency definition

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

3 years agoOrganized dependencies of xpath 36/25836/6
Riku Nomoto [Sat, 19 Dec 2020 11:41:59 +0000 (20:41 +0900)]
Organized dependencies of xpath

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

3 years agoFixed Makefile target 56/25856/1
Riku Nomoto [Sat, 2 Jan 2021 18:28:40 +0000 (03:28 +0900)]
Fixed Makefile target

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

3 years agoChanged to not include autoconf.h 55/25855/1
Riku Nomoto [Sat, 2 Jan 2021 14:08:05 +0000 (23:08 +0900)]
Changed to not include autoconf.h

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

3 years agoRename agl_thread.h to agl_thread_tm.h 51/25851/2
Riku Nomoto [Thu, 24 Dec 2020 06:28:41 +0000 (15:28 +0900)]
Rename agl_thread.h to agl_thread_tm.h

There were the same name files.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I9e3fdd4d263ba91e697107f980ec2ee2a8b22fee

3 years agoReworked by rearranging agl-systemd's recipe 54/25854/1
Riku Nomoto [Wed, 30 Dec 2020 06:55:03 +0000 (15:55 +0900)]
Reworked by rearranging agl-systemd's recipe

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

3 years agoChanged version.txt to be installed by notification_persistent_service instead of... 53/25853/1
Riku Nomoto [Wed, 30 Dec 2020 06:25:29 +0000 (15:25 +0900)]
Changed version.txt to be installed by notification_persistent_service 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

3 years agoChanged to not use SDKTARGETSYSROOT. 35/25835/2
Riku Nomoto [Sat, 19 Dec 2020 11:35:59 +0000 (20:35 +0900)]
Changed to not use SDKTARGETSYSROOT.

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

3 years agoUpdate agl_types_deprecated.h 34/25834/1
Riku Nomoto [Sat, 19 Dec 2020 11:24:24 +0000 (20:24 +0900)]
Update agl_types_deprecated.h

Removed code that runs in kernel space.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I38e3393a380da6c11864ea6f14367b6a60689f90

3 years agoChanged the path of agl.mk in the Makefile for each service. 26/25826/2
Riku Nomoto [Thu, 17 Dec 2020 15:38:34 +0000 (00:38 +0900)]
Changed the path of agl.mk in the Makefile for each service.

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

3 years agoModified license header of some files 12/25812/8
Riku Nomoto [Tue, 15 Dec 2020 15:17:36 +0000 (00:17 +0900)]
Modified license header of some files

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

3 years agoRemoved unnecessary files. 29/25829/1 10.91.0 koi/10.91.0 koi_10.91.0
Riku Nomoto [Fri, 18 Dec 2020 03:47:38 +0000 (12:47 +0900)]
Removed unnecessary files.

The deleted files have not been built.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I96f372837508cd1068e0563ad9efccc4b0d114ab

3 years agoFixed overwriting of CXXFLAGS. 20/25820/1
Riku Nomoto [Thu, 17 Dec 2020 03:02:22 +0000 (12:02 +0900)]
Fixed overwriting of CXXFLAGS.

Replaced "CXXFLAGS :=" to "CXXFLAGS +=" in Makefiles.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: Ia467b8522677e7bb215131f6f7854d3664b121a4

3 years agoChanged the name of a file and some lines 09/25809/2
Riku Nomoto [Tue, 15 Dec 2020 14:01:54 +0000 (23:01 +0900)]
Changed the name of a file and some lines

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

3 years agoRemove clock/localtime 13/25813/2
Riku Nomoto [Tue, 15 Dec 2020 15:23:45 +0000 (00:23 +0900)]
Remove clock/localtime

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

3 years agoFix path in aglpath.h 45/25645/3
Riku Nomoto [Thu, 26 Nov 2020 06:51:11 +0000 (15:51 +0900)]
Fix path in aglpath.h

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I79ffad497ca11dc2283c1a53dedfc5f41c69429c

3 years agoFix build of os-rpclibrary-tool-native 16/25816/2
Tadao Tanikawa [Tue, 15 Dec 2020 20:38:01 +0000 (20:38 +0000)]
Fix build of os-rpclibrary-tool-native

Fix missing dependency and double execution of bison.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Change-Id: I3d8d3ec5de4eceaaaf520bf24c3718c73acaaa1f

3 years agoFix build of ss-resourcemanager 06/25806/3
Tadao Tanikawa [Tue, 15 Dec 2020 06:36:56 +0000 (06:36 +0000)]
Fix build of ss-resourcemanager

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

3 years agoRemoved update_hal 99/25799/3
Riku Nomoto [Mon, 14 Dec 2020 09:51:33 +0000 (18:51 +0900)]
Removed update_hal

Because there aren't any modules in Basesystem.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I8e0d1b4da7a3af3e15cc8819f7c82491db98978e

3 years agoinput_hal: do not reset LDFLAGS but amend 05/25805/1
Jan-Simon Möller [Mon, 14 Dec 2020 18:26:43 +0000 (19:26 +0100)]
input_hal: do not reset LDFLAGS but amend

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

3 years agoAdd LICENSE.GPL-2.0-only file for kernel module 71/25771/1
Riku Nomoto [Tue, 8 Dec 2020 13:02:23 +0000 (22:02 +0900)]
Add LICENSE.GPL-2.0-only file for kernel module

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I9645bd73862e4145bbb4a5ad25125786677e52c4

3 years agolaunch_xml2cfg.sh is set not to be executed. 17/25717/1 10.0.1 jellyfish/10.0.1 jellyfish_10.0.1
Riku Nomoto [Thu, 3 Dec 2020 09:14:24 +0000 (18:14 +0900)]
launch_xml2cfg.sh is set not to be executed.

because launch_xml2cfg.sh includes xpath.

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I22fcfa1fc7120d19987b87a08a6587bf0d0fb1db

3 years agoChanged autoconf.h ref to /kernel-build-artifacts 10/25710/2
Riku Nomoto [Wed, 2 Dec 2020 02:28:51 +0000 (11:28 +0900)]
Changed autoconf.h ref to /kernel-build-artifacts

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

3 years agoFix unresolve build dependency 43/25643/1 sandbox/ruke47/complete_build
Tadao Tanikawa [Thu, 26 Nov 2020 01:39:39 +0000 (10:39 +0900)]
Fix unresolve build dependency

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

3 years agoFix missing modules_install 34/25634/1
Tadao Tanikawa [Sun, 22 Nov 2020 20:27:29 +0000 (05:27 +0900)]
Fix missing modules_install

Add 'modules_install' instead of using own
do_install() in recipe.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Change-Id: I57f5576631ab79b59e4dc6c8813d93e897b3a8b6

3 years agoFix the path to user commands 33/25633/1
Tadao Tanikawa [Sun, 22 Nov 2020 02:27:41 +0000 (02:27 +0000)]
Fix the path to user commands

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

3 years agoFix path to various non-standard directories 32/25632/1
Tadao Tanikawa [Sun, 22 Nov 2020 01:54:33 +0000 (01:54 +0000)]
Fix path to various non-standard directories

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

3 years agoFix the path to the host specific system configurations 31/25631/1
Tadao Tanikawa [Sun, 22 Nov 2020 00:58:42 +0000 (09:58 +0900)]
Fix the path to the host specific system configurations

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

3 years agoFix the path to the directory for the libraries 30/25630/1
Tadao Tanikawa [Sat, 21 Nov 2020 22:31:12 +0000 (07:31 +0900)]
Fix the path to the directory for the libraries

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

3 years agoFix the path to the architecture-independent data 29/25629/1
Tadao Tanikawa [Sat, 21 Nov 2020 17:56:33 +0000 (17:56 +0000)]
Fix the path to the architecture-independent data

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

3 years agoFix the path to the directory of the include files 28/25628/1
Tadao Tanikawa [Sat, 21 Nov 2020 17:10:01 +0000 (02:10 +0900)]
Fix the path to the directory of the include files

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

3 years agoRe-organized sub-directory by category 27/25627/1
Tadao Tanikawa [Fri, 20 Nov 2020 14:36:23 +0000 (23:36 +0900)]
Re-organized sub-directory by category

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

3 years agoRemove unused directories and files in video_in_hal 26/25626/1
Tadao Tanikawa [Fri, 20 Nov 2020 14:17:04 +0000 (23:17 +0900)]
Remove unused directories and files in video_in_hal

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

3 years agocommon_library: gettid is multiple declaration in cl_error 21/25621/5
Riku Nomoto [Thu, 19 Nov 2020 20:10:05 +0000 (05:10 +0900)]
common_library: gettid is multiple declaration in cl_error

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

3 years agokernel-module-evklib: Support for kernel 5.0 and up 20/25620/5
Riku Nomoto [Thu, 19 Nov 2020 19:49:50 +0000 (04:49 +0900)]
kernel-module-evklib: Support for kernel 5.0 and up

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

3 years agoInit basesystem source codes. 94/25594/1
Riku Nomoto [Thu, 19 Nov 2020 03:45:32 +0000 (12:45 +0900)]
Init basesystem source codes.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I55aa2f1406ce7f751ae14140b613b53b68995528

3 years agoAdd .gitreview file 82/25582/1
Jan-Simon Möller [Wed, 21 Oct 2020 09:24:17 +0000 (11:24 +0200)]
Add .gitreview file

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I6fd663f4aefa79550b8fd475fac5298cea30578e

3 years agoInitial empty repository
Jan-Simon Moeller [Wed, 18 Nov 2020 13:56:44 +0000 (13:56 +0000)]
Initial empty repository