summaryrefslogtreecommitdiffstats
path: root/meta-agl/meta-agl-basesystem
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl/meta-agl-basesystem')
-rw-r--r--meta-agl/meta-agl-basesystem/classes/agl-basesystem-capability.bbclass45
-rw-r--r--meta-agl/meta-agl-basesystem/classes/agl-basesystem-common.bbclass2
-rw-r--r--meta-agl/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass46
-rw-r--r--meta-agl/meta-agl-basesystem/conf/include/agl-basesystem-base.inc2
-rw-r--r--meta-agl/meta-agl-basesystem/conf/layer.conf2
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb6
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb4
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb10
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb4
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb14
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb2
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb10
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb16
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/BS/ns/npp/rwdata/version.txt (renamed from meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/npp/version.txt)0
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/bin/launch_xml2cfg.sh0
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_thread.h384
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_types_obsoluted.h6
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/sm_launch_conf.h0
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/share/agl.mk2
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb13
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/setup_refhw.service2
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/agl_set_capability.sh4
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/launch_sm.sh0
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_capability.sh4
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_cgroup_rt_runtime_us.sh0
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/setup_refhw.sh18
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch.cfg10
-rwxr-xr-xmeta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch__CWORD84_.xml116
-rw-r--r--[-rwxr-xr-x]meta-agl/meta-agl-basesystem/recipes-core/kernel-module-evklib/kernel-module-evklib-1.0.0/evk_lib.c0
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ns-backupmanager/ns-backupmanager_1.0.0.bb4
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ns-frameworkunified/ns-frameworkunified_1.0.0.bb4
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb8
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ps-communication/ps-communication_1.0.0.bb2
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ss-config/ss-config_1.0.0.bb2
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ss-interfaceunified/ss-interfaceunified_1.0.0.bb5
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ss-resourcemanager/ss-resourcemanager_1.0.0.bb4
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb4
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/ss-taskmanager/ss-taskmanager_1.0.0.bb3
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioning/vs-positioning_1.0.0.bb2
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb3
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libboot-hal/libboot-hal_1.0.0.bb19
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libcan-hal/libcan-hal_1.0.0.bb18
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libclock-hal/libclock-hal_1.0.0.bb19
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libdeck-hal/libdeck-hal_1.0.0.bb19
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libinput-hal/libinput-hal_1.0.0.bb23
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb20
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb24
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libpower-hal/libpower-hal_1.0.0.bb18
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libsecurity-hal/libsecurity-hal_1.0.0.bb20
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libsoctemperature-hal/libsoctemperature-hal_1.0.0.bb18
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libupdate-hal/libupdate-hal_1.0.0.bb21
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libusb-hal/libusb-hal_1.0.0.bb19
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libvehicle-hal/libvehicle-hal_1.0.0.bb19
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-hal/libvideo-in-hal/libvideo-in-hal_1.0.0.bb19
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb34
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb1
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb22
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationsubcpu/ps-communicationsubcpu_1.0.0.bb22
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationusb/ps-communicationusb_1.0.0.bb22
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb22
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb24
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb24
-rw-r--r--meta-agl/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb28
63 files changed, 840 insertions, 398 deletions
diff --git a/meta-agl/meta-agl-basesystem/classes/agl-basesystem-capability.bbclass b/meta-agl/meta-agl-basesystem/classes/agl-basesystem-capability.bbclass
index 3170cc9c..542601e7 100644
--- a/meta-agl/meta-agl-basesystem/classes/agl-basesystem-capability.bbclass
+++ b/meta-agl/meta-agl-basesystem/classes/agl-basesystem-capability.bbclass
@@ -1,32 +1,25 @@
pkg_postinst_ontarget_${PN}_append () {
-df / --exclude-type=nfs > /dev/null
-IS_EMMC_BOOT=$?
-
-if [ $IS_EMMC_BOOT -eq 0 ]; then
CAPVARS="${CAPABILITY}"
IFS=" "
- for cap in $CAPVARS; do
- capability=`echo $cap | cut -f 1 -d ":"`
- file=`echo $cap | cut -f 2 -d ":"`
- setcap $capability $D$file
- done
-else
- CAPVARS="${CAPABILITY}"
- IFS=" "
- for cap in $CAPVARS; do
- capability=`echo $cap | cut -f 1 -d ":"`
- file=`echo $cap | cut -f 2 -d ":"`
- TCAP_NAME="/tmp/${file##*/}"
- if [ ! -L ${file} ]; then
- cp -a ${file} ${TCAP_NAME}
- mv ${file} ${file}.org
- ln -fs ${TCAP_NAME} ${file}
- else
- cp -a ${file}.org ${TCAP_NAME}
- fi
- setcap ${capability} ${TCAP_NAME}
+ for cap in ${CAPVARS}; do
+ capability=`echo ${cap} | cut -f 1 -d ":"`
+ file=`echo ${cap} | cut -f 2 -d ":"`
+ setcap ${capability} $D${file}
+
+ df -T / | grep nfs > /dev/null
+ IS_EMMC_BOOT=$?
+ if [ $IS_EMMC_BOOT -eq 0 ]; then
+ TCAP_NAME="/tmp/${file##*/}"
+ if [ ! -L ${file} ]; then
+ cp -a ${file} ${TCAP_NAME}
+ mv ${file} ${file}.org
+ ln -fs ${TCAP_NAME} ${file}
+ else
+ cp -a ${file}.org ${TCAP_NAME}
+ fi
+ setcap ${capability} ${TCAP_NAME}
+ fi
done
-fi
}
#RDEPENDS_${PN} += "libcap-bin"
-PACKAGE_WRITE_DEPS = "libcap-native"
+PACKAGE_WRITE_DEPS = "libcap-native coreutils-native"
diff --git a/meta-agl/meta-agl-basesystem/classes/agl-basesystem-common.bbclass b/meta-agl/meta-agl-basesystem/classes/agl-basesystem-common.bbclass
index cde65275..d20564dd 100644
--- a/meta-agl/meta-agl-basesystem/classes/agl-basesystem-common.bbclass
+++ b/meta-agl/meta-agl-basesystem/classes/agl-basesystem-common.bbclass
@@ -39,7 +39,7 @@ sysroot_stage_all_append(){
sysroot_stage_dir ${D}/usr/agl ${SYSROOT_DESTDIR}/usr/agl
sysroot_stage_dir ${D}/usr/agl/conf/systemmanager ${SYSROOT_DESTDIR}/usr/agl/conf/systemmanager
sysroot_stage_dir ${D}/usr/agl/conf/backup_manager ${SYSROOT_DESTDIR}/usr/agl/conf/backup_manager
- sysroot_stage_dir ${D}/nv/npp ${SYSROOT_DESTDIR}/nv/npp
+ sysroot_stage_dir ${D}/nv/BS/ns/npp/rwdata ${SYSROOT_DESTDIR}/nv/BS/ns/npp/rwdata
sysroot_stage_dir ${D}/etc/udev/rules.d ${SYSROOT_DESTDIR}/etc/udev/rules.d
sysroot_stage_dir ${D}/etc ${SYSROOT_DESTDIR}/etc
sysroot_stage_dir ${D}/etc/ppp ${SYSROOT_DESTDIR}/etc/ppp
diff --git a/meta-agl/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass b/meta-agl/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass
new file mode 100644
index 00000000..d1da250b
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass
@@ -0,0 +1,46 @@
+FILES_${PN} = " \
+ /usr/lib/*.so \
+ /usr/bin/* \
+"
+FILES_SOLIBSDEV = ""
+
+FILES_${PN}-dev += " \
+ /usr/include/* \
+ /usr/agl/include/* \
+"
+FILES_${PN}-staticdev = ""
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INSANE_SKIP_${PN} = "ldflags"
+INSANE_SKIP_${PN}-dev = "dev-elf"
+TARGET_CC_ARCH += "${LDFLAGS}"
+SOLIBS = ".so"
+SECTION = "libs"
+
+DEPENDS += " "
+
+EXTRA_OEMAKE = "'CXX=${CXX}' 'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'DESTDIR=${D}' 'SDKTARGETSYSROOT=${STAGING_DIR_HOST}'"
+
+EXTRA_ARCH ?= " ARCH=arm64"
+EXTRA_OEMAKE_append += " ${EXTRA_ARCH}"
+
+do_compile[depends] += "agl-basefiles:do_populate_sysroot"
+do_compile (){
+ cd ${S}
+ oe_runmake
+}
+
+do_install (){
+ cd ${S}/hal_api
+ install -d ${D}/usr/include
+ install -D -m 644 *.h ${D}/usr/include
+ install -d ${D}/usr/lib/
+
+ cd ${S}
+ oe_runmake install
+}
+
+sysroot_stage_all_append(){
+ sysroot_stage_dir ${D}/usr/agl ${SYSROOT_DESTDIR}/usr/agl
+}
diff --git a/meta-agl/meta-agl-basesystem/conf/include/agl-basesystem-base.inc b/meta-agl/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
index b8f14408..876baaa5 100644
--- a/meta-agl/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
+++ b/meta-agl/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
@@ -4,7 +4,7 @@
DISTRO_FEATURES_append = " systemd ${DISTRO_FEATURES_LIBC}"
#VIRTUAL-RUNTIME_init_manager = "systemd"
-TOOLCHAIN_HOST_TASK_append += " nativesdk-os-rpclibrary-tool nativesdk-perl-module-app-cpan nativesdk-perl-module-json-pp"
+TOOLCHAIN_HOST_TASK_append += " nativesdk-os-rpclibrary-tool nativesdk-perl-module-app-cpan nativesdk-perl-module-json-pp"
# add the static lib to SDK toolchain
SDKIMAGE_FEATURES_append += " staticdev-pkgs dev-pkgs tools-debug tools-profile headerfiles-pkgs nativesdk-os-rpclibrary-tool"
diff --git a/meta-agl/meta-agl-basesystem/conf/layer.conf b/meta-agl/meta-agl-basesystem/conf/layer.conf
index d983f9fa..4052619f 100644
--- a/meta-agl/meta-agl-basesystem/conf/layer.conf
+++ b/meta-agl/meta-agl-basesystem/conf/layer.conf
@@ -11,6 +11,6 @@ BBFILE_PATTERN_agl-basesystem = "^${LAYERDIR}/"
BBFILE_PRIORITY_agl-basesystem = "70"
# for agl-basefiles recipe
-HOSTTOOLS += "xpath"
+HOSTTOOLS += "xpath xmllint"
LAYERSERIES_COMPAT_agl-basesystem = "thud"
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb
index b9cea80f..99d77f82 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb
@@ -8,8 +8,8 @@ inherit agl-basesystem-common agl-basesystem-capability
CAPABILITY = "cap_dac_override+ep:/usr/agl/bin/NS_BackupMgr"
FILES_${PN} += " \
- /usr/agl/conf/backup_manager/* \
/usr/agl/bin/* \
+ /nv/BS/ns/backup_manager/* \
"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/ns-backupmanager"
@@ -21,15 +21,19 @@ S = "${WORKDIR}/git"
DEPENDS += " \
libxml2-native \
ns-frameworkunified \
+ libnv-hal \
ns-backupmanager \
ss-interfaceunified \
ss-romaccesslibrary \
+ os-vehicleparameterlibrary \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
+ libnv-hal \
ns-backupmanager \
ss-interfaceunified \
ss-romaccesslibrary \
+ os-vehicleparameterlibrary \
"
EXTRA_MAKEFILE = " -f Makefile.server"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb
index d147ceb9..9b21b7ff 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb
@@ -21,7 +21,7 @@ DEPENDS += " \
os-posixbasedos001legacylibrary \
ss-interfaceunified \
ss-romaccesslibrary \
- os-vehicleparameterlibrary \
+ libcan-hal \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
@@ -29,7 +29,7 @@ RDEPENDS_${PN} += " \
os-posixbasedos001legacylibrary \
ss-interfaceunified \
ss-romaccesslibrary \
- os-vehicleparameterlibrary \
+ libcan-hal \
"
EXTRA_MAKEFILE = " -f Makefile.server"
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb
index 5012ebf0..b0b1f525 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb
@@ -9,11 +9,9 @@ CAPABILITY = "cap_dac_override+ep:/usr/agl/bin/SS_LoggerService"
FILES_${PN} += " \
/usr/agl/bin/* \
- /usr/agl/conf/* \
- /usr/agl/conf/syslogd/* \
- /usr/agl/share/logrotate/* \
"
FILES_${PN}-staticdev += " /usr/agl/lib/*.a "
+FILES_${PN} += "/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/ss-loggerservice"
SRCREV = "${AUTOREV}"
@@ -32,6 +30,9 @@ DEPENDS += " libtar \
os-vehicleparameterlibrary \
os-posixbasedos001legacylibrary \
logrotate \
+ ns-memorygpioaccesslibrary \
+ vs-clock \
+ vs-diagrecord \
"
RDEPENDS_${PN} += " \
ss-config \
@@ -43,6 +44,9 @@ RDEPENDS_${PN} += " \
ns-backupmanager \
os-vehicleparameterlibrary \
os-posixbasedos001legacylibrary \
+ ns-memorygpioaccesslibrary \
+ vs-clock \
+ vs-diagrecord \
"
EXTRA_MAKEFILE = " -f Makefile.server"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb
index 148231f1..4624a9f6 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb
@@ -20,18 +20,18 @@ DEPENDS += " \
ss-resourcemanager \
ns-commonlibrary \
ns-frameworkunified \
- os-vehicleparameterlibrary \
os-rpclibrary \
os-eventlibrary \
+ libsoctemperature-hal \
"
RDEPENDS_${PN} += " \
ss-interfaceunified \
ss-resourcemanager \
ns-commonlibrary \
ns-frameworkunified \
- os-vehicleparameterlibrary \
os-rpclibrary \
os-eventlibrary \
+ libsoctemperature-hal \
"
EXTRA_MAKEFILE=" -f Makefile.server"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE} -j 1 'CXX=${CXX} -Wl,--warn-unresolved-symbols' 'CC=${CC} -Wl,--warn-unresolved-symbols' "
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb
index 397c349b..1aeea87d 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb
@@ -9,6 +9,12 @@ CAPABILITY = "cap_sys_nice,cap_setuid,cap_setgid,cap_sys_resource+ep:/usr/agl/bi
FILES_${PN} += " /usr/agl/bin/* "
+FILES_${PN} += "/usr/agl/conf/BS/ss/system_manager/rwdata/sm_launch.cfg"
+FILES_${PN} += "/usr/agl/share/BS/ss/system_manager/rodata/version.txt"
+FILES_${PN} += "/usr/agl/share/BS/ss/system_manager/rodata/PhaseInfo.txt"
+
+FILES_${PN} += "/nv/BS/ss/system_manager/*"
+
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/ss-systemmanager"
SRCREV = "${AUTOREV}"
@@ -26,6 +32,10 @@ DEPENDS += " \
os-vehicleparameterlibrary \
os-posixbasedos001legacylibrary \
os-rpclibrary \
+ os-eventlibrary \
+ libpower-hal \
+ vs-clock \
+ vs-diagcode \
"
RDEPENDS_${PN} += " \
agl-service-ss-resourcemanager \
@@ -38,6 +48,10 @@ RDEPENDS_${PN} += " \
os-vehicleparameterlibrary \
os-posixbasedos001legacylibrary \
os-rpclibrary \
+ os-eventlibrary \
+ libpower-hal \
+ vs-clock \
+ vs-diagcode \
"
EXTRA_MAKEFILE = " -f Makefile.server"
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb
index 683cda2d..30c91613 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb
@@ -25,6 +25,7 @@ DEPENDS += " \
ss-taskmanager \
ns-frameworkunified \
ns-commonlibrary \
+ os-eventlibrary \
os-rpclibrary \
os-vehicleparameterlibrary \
libxml2-native \
@@ -36,6 +37,7 @@ RDEPENDS_${PN} += " \
ss-taskmanager \
ns-frameworkunified \
ns-commonlibrary \
+ os-eventlibrary \
os-rpclibrary \
os-vehicleparameterlibrary \
"
diff --git a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb
index e9a0c795..05a149b3 100644
--- a/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb
@@ -13,6 +13,9 @@ FILES_${PN} += " \
FILES_${PN}-staticdev += " \
/usr/agl/lib/*.a \
"
+
+FILES_${PN} += "/nv/BS/vs/positioning/*"
+
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/vs-positioning"
SRCREV = "${AUTOREV}"
@@ -30,8 +33,12 @@ DEPENDS += " \
os-vehicleparameterlibrary \
os-eventlibrary \
ps-communication \
+ libpositioning-hal \
vs-positioningbaselibrary \
vs-positioning \
+ ps-communicationusb \
+ vs-clock \
+ vs-vehicle \
"
RDEPENDS_${PN} += " \
ss-config \
@@ -43,8 +50,11 @@ RDEPENDS_${PN} += " \
os-vehicleparameterlibrary \
os-eventlibrary \
ps-communication \
+ libpositioning-hal \
vs-positioningbaselibrary \
vs-positioning \
+ vs-clock \
+ vs-vehicle \
"
EXTRA_MAKEFILE=" -f Makefile.server"
EXTRA_OEMAKE += " ${EXTRA_MAKEFILE} -j 1 'CXX=${CXX} -Wl,--warn-unresolved-symbols' 'CC=${CC} -Wl,--warn-unresolved-symbols' "
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb
index bbe6f008..59ffbed3 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb
@@ -9,7 +9,7 @@ SRC_URI += " \
file://LICENSE \
file://bin \
file://share \
- file://npp \
+ file://BS \
file://include \
file://agldd \
"
@@ -18,11 +18,11 @@ FILES_${PN} += " \
/bin/* \
/agldd/* \
/include/* \
- /npp/* \
+ /BS/ns/npp/rwdata/* \
/share/* \
/usr/agl/conf/backup_manager/* \
/usr/agl/conf/systemmanager/* \
- /nv/npp/* \
+ /nv/BS/ns/npp/rwdata/* \
"
#ALLOW_EMPTY_${PN} = "1"
@@ -43,16 +43,16 @@ do_package_qa[noexec] = "1"
do_install[depends] += "virtual/kernel:do_shared_workdir"
do_install() {
- install -C -d ${D}/nv/npp/
install -C -d ${D}/usr/agl/share/
install -C -d ${D}/usr/agl/include/agldd/
- install -C -d ${D}/usr/include/linux/
+ install -C -d ${D}/usr/include/linux/
+ install -C -d ${D}/nv/BS/ns/npp/rwdata/
install -m 644 ${WORKDIR}/agldd/* ${D}/usr/agl/include/agldd/
install -m 644 ${WORKDIR}/include/* ${D}/usr/agl/include/
install -m 644 ${WORKDIR}/share/* ${D}/usr/agl/share/
- install -m 644 ${WORKDIR}/npp/* ${D}/nv/npp/
- install -m 775 ${WORKDIR}/bin/launch_xml2cfg.sh ${D}/usr/agl/share/
- install -D -m 0644 ${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts/include/generated/autoconf.h ${D}/usr/include/linux/
+ install -m 644 ${WORKDIR}/BS/ns/npp/rwdata/* ${D}/nv/BS/ns/npp/rwdata
+ install -m 775 ${WORKDIR}/bin/launch_xml2cfg.sh ${D}/usr/agl/share/
+ install -D -m 0644 ${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts/include/generated/autoconf.h ${D}/usr/include/linux/
}
sysroot_stage_all_append(){
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/npp/version.txt b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/BS/ns/npp/rwdata/version.txt
index d00491fd..d00491fd 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/npp/version.txt
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/BS/ns/npp/rwdata/version.txt
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/bin/launch_xml2cfg.sh b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/bin/launch_xml2cfg.sh
index dfa1fa99..dfa1fa99 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/bin/launch_xml2cfg.sh
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/bin/launch_xml2cfg.sh
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_thread.h b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_thread.h
index 4f10c162..3be35958 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_thread.h
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_thread.h
@@ -58,53 +58,53 @@
//======= exec from system manager =============
#define MN_NS_SHAREDMEM "NS_SharedMem"
-#define PR_NS_SHAREDMEM_S "25"
-#define PR_NS_SHAREDMEM (25)
+#define PR_NS_SHAREDMEM_S "0"
+#define PR_NS_SHAREDMEM (0)
#define MN_NS_NPPSERVICE "NS_NPPService"
-#define PR_NS_NPPSERVICE_S "25"
-#define PR_NS_NPPSERVICE (25)
+#define PR_NS_NPPSERVICE_S "0"
+#define PR_NS_NPPSERVICE (0)
#define TN_NS_NPPREADWKR "NS_NPPReadWkr"
- #define PR_NS_NPPREADWKR_S "25"
- #define PR_NS_NPPREADWKR (25)
+ #define PR_NS_NPPREADWKR_S "0"
+ #define PR_NS_NPPREADWKR (0)
#define TN_NS_NPPWRITEWKR "NS_NPPWriteWkr"
- #define PR_NS_NPPWRITEWKR_S "25"
- #define PR_NS_NPPWRITEWKR (25)
+ #define PR_NS_NPPWRITEWKR_S "0"
+ #define PR_NS_NPPWRITEWKR (0)
#define TN_NS_NPPIPWKR "NS_NPPIPWkr"
- #define PR_NS_NPPIPWKR_S "25"
- #define PR_NS_NPPIPWKR (25)
+ #define PR_NS_NPPIPWKR_S "0"
+ #define PR_NS_NPPIPWKR (0)
#define MN_NS_BACKUPMGR "NS_BackupMgr"
-#define PR_NS_BACKUPMGR_S "25"
-#define PR_NS_BACKUPMGR (25)
+#define PR_NS_BACKUPMGR_S "0"
+#define PR_NS_BACKUPMGR (0)
#define TN_NS_BKUPNAND "NS_BkupNAND"
- #define PR_NS_BKUPNAND_S "25"
- #define PR_NS_BKUPNAND (25)
+ #define PR_NS_BKUPNAND_S "0"
+ #define PR_NS_BKUPNAND (0)
#define TN_NS_BKUPDELAY "NS_BkupDelay"
- #define PR_NS_BKUPDELAY_S "25"
- #define PR_NS_BKUPDELAY (25)
+ #define PR_NS_BKUPDELAY_S "0"
+ #define PR_NS_BKUPDELAY (0)
#define MN_SS_DEVDETECTSRV "SS_DevDetectSrv"
-#define PR_SS_DEVDETECTSRV_S "20"
-#define PR_SS_DEVDETECTSRV (20)
+#define PR_SS_DEVDETECTSRV_S "0"
+#define PR_SS_DEVDETECTSRV (0)
#define TN_SS_DETECT_USB "SS_Detect_USB"
- #define PR_SS_DETECT_USB_S "20"
- #define PR_SS_DETECT_USB (20)
+ #define PR_SS_DETECT_USB_S "0"
+ #define PR_SS_DETECT_USB (0)
#define TN_SS_DETECT_SD "SS_Detect_SD"
- #define PR_SS_DETECT_SD_S "20"
- #define PR_SS_DETECT_SD (20)
+ #define PR_SS_DETECT_SD_S "0"
+ #define PR_SS_DETECT_SD (0)
#define TN_SS_MONITOR_OVC "SS_Monitor_OVC"
- #define PR_SS_MONITOR_OVC_S "20"
- #define PR_SS_MONITOR_OVC (20)
+ #define PR_SS_MONITOR_OVC_S "0"
+ #define PR_SS_MONITOR_OVC (0)
#define MN_SS_LOGGERSRV "SS_LoggerSrv"
#define PR_SS_LOGGERSRV_S PR_TSS_S
@@ -139,64 +139,64 @@
#define PR_UDEVD (1)
#define MN_COMMUNICATION "Communication"
-#define PR_COMMUNICATION_S "30"
-#define PR_COMMUNICATION (30)
+#define PR_COMMUNICATION_S "0"
+#define PR_COMMUNICATION (0)
#define TN_DEV_SYSCOM_TMR "DEV_SYSCOM_TMR"
- #define PR_DEV_SYSCOM_TMR_S "30"
- #define PR_DEV_SYSCOM_TMR (30)
+ #define PR_DEV_SYSCOM_TMR_S "0"
+ #define PR_DEV_SYSCOM_TMR (0)
#define TN_DEV_SYSCOM_RCV "DEV_SYSCOM_RCV"
- #define PR_DEV_SYSCOM_RCV_S "30"
- #define PR_DEV_SYSCOM_RCV (30)
+ #define PR_DEV_SYSCOM_RCV_S "0"
+ #define PR_DEV_SYSCOM_RCV (0)
#define TN_DEV_SYSCOM_MAIN "DEV_SYSCOM_MAIN"
- #define PR_DEV_SYSCOM_MAIN_S "30"
- #define PR_DEV_SYSCOM_MAIN (30)
+ #define PR_DEV_SYSCOM_MAIN_S "0"
+ #define PR_DEV_SYSCOM_MAIN (0)
#define TN_TGWCOM "TGWCOM"
- #define PR_TGWCOM_S "30"
- #define PR_TGWCOM (30)
+ #define PR_TGWCOM_S "0"
+ #define PR_TGWCOM (0)
#define TN__CWORD83_ "_CWORD83_"
- #define PR__CWORD83__S "30"
- #define PR__CWORD83_ (30)
+ #define PR__CWORD83__S "0"
+ #define PR__CWORD83_ (0)
#define TN_CAN_COM_PROT "CAN_COM_PROT"
- #define PR_CAN_COM_PROT_S "30"
- #define PR_CAN_COM_PROT (30)
+ #define PR_CAN_COM_PROT_S "0"
+ #define PR_CAN_COM_PROT (0)
#define MN_PS_PSMSHADOW "PS_PSMShadow"
-#define PR_PS_PSMSHADOW_S "30"
-#define PR_PS_PSMSHADOW (30)
+#define PR_PS_PSMSHADOW_S "0"
+#define PR_PS_PSMSHADOW (0)
#define MN_COMMSH4A "CommSH4A"
-#define PR_COMMSH4A_S "30"
-#define PR_COMMSH4A (30)
+#define PR_COMMSH4A_S "0"
+#define PR_COMMSH4A (0)
#define TN_DEV_SH4A_SND "DEV_SH4ACOM_SND"
- #define PR_DEV_SH4A_SND_S "30"
- #define PR_DEV_SH4A_SND (30)
+ #define PR_DEV_SH4A_SND_S "0"
+ #define PR_DEV_SH4A_SND (0)
#define TN_DEV_SH4A_RCV "DEV_SH4ACOM_RCV"
- #define PR_DEV_SH4A_RCV_S "30"
- #define PR_DEV_SH4A_RCV (30)
+ #define PR_DEV_SH4A_RCV_S "0"
+ #define PR_DEV_SH4A_RCV (0)
#define TN_DEV_SH4A_MON "DEV_SH4ACOM_MON"
- #define PR_DEV_SH4A_MON_S "30"
- #define PR_DEV_SH4A_MON (30)
+ #define PR_DEV_SH4A_MON_S "0"
+ #define PR_DEV_SH4A_MON (0)
#define MN_PS_COMMUSB "PS_CommUSB"
-#define PR_PS_COMMUSB_S "30"
-#define PR_PS_COMMUSB (30)
+#define PR_PS_COMMUSB_S "0"
+#define PR_PS_COMMUSB (0)
#define TN_COMMUSB_RCV "COMMUSB_RCV"
- #define PR_COMMUSB_RCV_S "30"
- #define PR_COMMUSB_RCV (30)
+ #define PR_COMMUSB_RCV_S "0"
+ #define PR_COMMUSB_RCV (0)
#define TN_COMMUSB_DIAG "COMMUSB_DIAG"
- #define PR_COMMUSB_DIAG_S "30"
- #define PR_COMMUSB_DIAG (30)
+ #define PR_COMMUSB_DIAG_S "0"
+ #define PR_COMMUSB_DIAG (0)
#define MN_PS_CANGW_M "CANGW_M"
#define PR_PS_CANGW_M_S PR_TSS_S
@@ -223,8 +223,8 @@
#define PR_CANGW_S_DIAG PR_TSS
#define MN_LANSERVER "LanServer"
-#define PR_LANSERVER_S "20"
-#define PR_LANSERVER (20)
+#define PR_LANSERVER_S "0"
+#define PR_LANSERVER (0)
#define MN_PS_CDR "ps_cdr"
#define PR_PS_CDR_S PR_TSS_S
@@ -267,248 +267,248 @@
#define PR_POSITIONING_GPS_ROLOVR PR_TSS
#define MN_CLOCK "clock"
-#define PR_CLOCK_S "20"
-#define PR_CLOCK (20)
+#define PR_CLOCK_S "0"
+#define PR_CLOCK (0)
#define TN_CLOCK_MNG "ClockMng"
- #define PR_CLOCK_MNG_S "20"
- #define PR_CLOCK_MNG (20)
+ #define PR_CLOCK_MNG_S "0"
+ #define PR_CLOCK_MNG (0)
#define MN_VEHICLE "vehicle"
-#define PR_VEHICLE_S "20"
-#define PR_VEHICLE (20)
+#define PR_VEHICLE_S "0"
+#define PR_VEHICLE (0)
#define TN_VEHICLE_SENS "VehicleSens"
- #define PR_VEHICLE_SENS_S "20"
- #define PR_VEHICLE_SENS (20)
+ #define PR_VEHICLE_SENS_S "0"
+ #define PR_VEHICLE_SENS (0)
#define TN_LINE_SENS_DRV "LineSensDrv"
- #define PR_LINE_SENS_DRV_S "20"
- #define PR_LINE_SENS_DRV (20)
+ #define PR_LINE_SENS_DRV_S "0"
+ #define PR_LINE_SENS_DRV (0)
#define MN_SS_POWERSERVICE "SS_PowerService"
-#define PR_SS_POWERSERVICE_S "30"
-#define PR_SS_POWERSERVICE (30)
+#define PR_SS_POWERSERVICE_S "0"
+#define PR_SS_POWERSERVICE (0)
#define MN_SS_TASKMANAGER "SS_TaskManager"
-#define PR_SS_TASKMANAGER_S "20"
-#define PR_SS_TASKMANAGER (20)
+#define PR_SS_TASKMANAGER_S "0"
+#define PR_SS_TASKMANAGER (0)
#define TN_SS_TSKMTIMER "SS_TskmTimer"
- #define PR_SS_TSKMTIMER_S "20"
- #define PR_SS_TSKMTIMER (20)
+ #define PR_SS_TSKMTIMER_S "0"
+ #define PR_SS_TSKMTIMER (0)
#define MN_SOUND "Sound"
-#define PR_SOUND_S "45"
-#define PR_SOUND (45)
+#define PR_SOUND_S "0"
+#define PR_SOUND (0)
#define TN_VG_SNDSRCMGR "VG_SNDSRCMGR"
- #define PR_VG_SNDSRCMGR_S "40"
- #define PR_VG_SNDSRCMGR (40)
+ #define PR_VG_SNDSRCMGR_S "0"
+ #define PR_VG_SNDSRCMGR (0)
#define TN_SND_INPUTCTRL "SND_INPUTCTRL"
- #define PR_SND_INPUTCTRL_S "40"
- #define PR_SND_INPUTCTRL (40)
+ #define PR_SND_INPUTCTRL_S "0"
+ #define PR_SND_INPUTCTRL (0)
#define TN_SND_DEVCTRL "SND_DEVCTRL"
- #define PR_SND_DEVCTRL_S "40"
- #define PR_SND_DEVCTRL (40)
+ #define PR_SND_DEVCTRL_S "0"
+ #define PR_SND_DEVCTRL (0)
#define TN_SND_VCETRFCTRL "SND_VCETRFCTRL"
- #define PR_SND_VCETRFCTRL_S "45"
- #define PR_SND_VCETRFCTRL (45)
+ #define PR_SND_VCETRFCTRL_S "0"
+ #define PR_SND_VCETRFCTRL (0)
#define TN_SND_VCETRFWRT1 "SND_VCETRFWRT1"
- #define PR_SND_VCETRFWRT1_S "45"
- #define PR_SND_VCETRFWRT1 (45)
+ #define PR_SND_VCETRFWRT1_S "0"
+ #define PR_SND_VCETRFWRT1 (0)
#define TN_SND_VCETRFWRT2 "SND_VCETRFWRT2"
- #define PR_SND_VCETRFWRT2_S "45"
- #define PR_SND_VCETRFWRT2 (45)
+ #define PR_SND_VCETRFWRT2_S "0"
+ #define PR_SND_VCETRFWRT2 (0)
#define TN_VG_SNDCTRL_BSCF "VG_SNDCTRL_BSCF"
- #define PR_VG_SNDCTRL_BSCF_S "25"
- #define PR_VG_SNDCTRL_BSCF (25)
+ #define PR_VG_SNDCTRL_BSCF_S "0"
+ #define PR_VG_SNDCTRL_BSCF (0)
#define TN_VG_SNDCTRL_BSCR "VG_SNDCTRL_BSCR"
- #define PR_VG_SNDCTRL_BSCR_S "25"
- #define PR_VG_SNDCTRL_BSCR (25)
+ #define PR_VG_SNDCTRL_BSCR_S "0"
+ #define PR_VG_SNDCTRL_BSCR (0)
#define TN_VG_SNDCTRL_ITRT "VG_SNDCTRL_ITRT"
- #define PR_VG_SNDCTRL_ITRT_S "25"
- #define PR_VG_SNDCTRL_ITRT (25)
+ #define PR_VG_SNDCTRL_ITRT_S "0"
+ #define PR_VG_SNDCTRL_ITRT (0)
#define TN_CVRS_OPRT_OUT_1 "CVRS_OPRT_OUT_1"
- #define PR_CVRS_OPRT_OUT_1_S "45"
- #define PR_CVRS_OPRT_OUT_1 (45)
+ #define PR_CVRS_OPRT_OUT_1_S "0"
+ #define PR_CVRS_OPRT_OUT_1 (0)
#define TN_CVRS_OPRT_OUT_2 "CVRS_OPRT_OUT_2"
- #define PR_CVRS_OPRT_OUT_2_S "45"
- #define PR_CVRS_OPRT_OUT_2 (45)
+ #define PR_CVRS_OPRT_OUT_2_S "0"
+ #define PR_CVRS_OPRT_OUT_2 (0)
#define TN_CVRS_OPRT_OUT_3 "CVRS_OPRT_OUT_3"
- #define PR_CVRS_OPRT_OUT_3_S "45"
- #define PR_CVRS_OPRT_OUT_3 (45)
+ #define PR_CVRS_OPRT_OUT_3_S "0"
+ #define PR_CVRS_OPRT_OUT_3 (0)
#define TN_CVRS_OPRT_OUT_4 "CVRS_OPRT_OUT_4"
- #define PR_CVRS_OPRT_OUT_4_S "45"
- #define PR_CVRS_OPRT_OUT_4 (45)
+ #define PR_CVRS_OPRT_OUT_4_S "0"
+ #define PR_CVRS_OPRT_OUT_4 (0)
#define TN_CVRS_OPRT_IN_1 "CVRS_OPRT_IN_1"
- #define PR_CVRS_OPRT_IN_1_S "45"
- #define PR_CVRS_OPRT_IN_1 (45)
+ #define PR_CVRS_OPRT_IN_1_S "0"
+ #define PR_CVRS_OPRT_IN_1 (0)
#define TN_CVRS_OPRT_IN_2 "CVRS_OPRT_IN_2"
- #define PR_CVRS_OPRT_IN_2_S "45"
- #define PR_CVRS_OPRT_IN_2 (45)
+ #define PR_CVRS_OPRT_IN_2_S "0"
+ #define PR_CVRS_OPRT_IN_2 (0)
#define TN_CVRS_OPRT_IN_3 "CVRS_OPRT_IN_3"
- #define PR_CVRS_OPRT_IN_3_S "45"
- #define PR_CVRS_OPRT_IN_3 (45)
+ #define PR_CVRS_OPRT_IN_3_S "0"
+ #define PR_CVRS_OPRT_IN_3 (0)
#define TN_CVRS_OPRT_IN_4 "CVRS_OPRT_IN_4"
- #define PR_CVRS_OPRT_IN_4_S "45"
- #define PR_CVRS_OPRT_IN_4 (45)
+ #define PR_CVRS_OPRT_IN_4_S "0"
+ #define PR_CVRS_OPRT_IN_4 (0)
#define TN_CVRS_OPRT_IN_5 "CVRS_OPRT_IN_5"
- #define PR_CVRS_OPRT_IN_5_S "45"
- #define PR_CVRS_OPRT_IN_5 (45)
+ #define PR_CVRS_OPRT_IN_5_S "0"
+ #define PR_CVRS_OPRT_IN_5 (0)
#define TN_CVRS_OPRT_IN_6 "CVRS_OPRT_IN_6"
- #define PR_CVRS_OPRT_IN_6_S "45"
- #define PR_CVRS_OPRT_IN_6 (45)
+ #define PR_CVRS_OPRT_IN_6_S "0"
+ #define PR_CVRS_OPRT_IN_6 (0)
#define TN_CVRS_OPRT_IN_7 "CVRS_OPRT_IN_7"
- #define PR_CVRS_OPRT_IN_7_S "45"
- #define PR_CVRS_OPRT_IN_7 (45)
+ #define PR_CVRS_OPRT_IN_7_S "0"
+ #define PR_CVRS_OPRT_IN_7 (0)
#define TN_CVRS_OPRT_IN_8 "CVRS_OPRT_IN_8"
- #define PR_CVRS_OPRT_IN_8_S "45"
- #define PR_CVRS_OPRT_IN_8 (45)
+ #define PR_CVRS_OPRT_IN_8_S "0"
+ #define PR_CVRS_OPRT_IN_8 (0)
#define TN_CVRS_OPRT_BS_I "CVRS_OPRT_BS_I"
- #define PR_CVRS_OPRT_BS_I_S "45"
- #define PR_CVRS_OPRT_BS_I (45)
+ #define PR_CVRS_OPRT_BS_I_S "0"
+ #define PR_CVRS_OPRT_BS_I (0)
#define TN_VR_NVR_RECO "VR_NVR_RECO"
- #define PR_VR_NVR_RECO_S "20"
- #define PR_VR_NVR_RECO (20)
+ #define PR_VR_NVR_RECO_S "0"
+ #define PR_VR_NVR_RECO (0)
#define TN_SND_ECNR "SND_ECNR"
- #define PR_SND_ECNR_S "40"
- #define PR_SND_ECNR (40)
+ #define PR_SND_ECNR_S "0"
+ #define PR_SND_ECNR (0)
#define TN_SNDAGENT_000 "SNDAGENT_000"
- #define PR_SNDAGENT_000_S "45"
- #define PR_SNDAGENT_000 (45)
+ #define PR_SNDAGENT_000_S "0"
+ #define PR_SNDAGENT_000 (0)
#define TN_SNDAGENT_001 "SNDAGENT_001"
- #define PR_SNDAGENT_001_S "45"
- #define PR_SNDAGENT_001 (45)
+ #define PR_SNDAGENT_001_S "0"
+ #define PR_SNDAGENT_001 (0)
#define TN_SNDAGENT_002 "SNDAGENT_002"
- #define PR_SNDAGENT_002_S "45"
- #define PR_SNDAGENT_002 (45)
+ #define PR_SNDAGENT_002_S "0"
+ #define PR_SNDAGENT_002 (0)
#define TN_SNDAGENT_003 "SNDAGENT_003"
- #define PR_SNDAGENT_003_S "45"
- #define PR_SNDAGENT_003 (45)
+ #define PR_SNDAGENT_003_S "0"
+ #define PR_SNDAGENT_003 (0)
#define TN_SNDAGENT_004 "SNDAGENT_004"
- #define PR_SNDAGENT_004_S "45"
- #define PR_SNDAGENT_004 (45)
+ #define PR_SNDAGENT_004_S "0"
+ #define PR_SNDAGENT_004 (0)
#define TN_SNDAGENT_005 "SNDAGENT_005"
- #define PR_SNDAGENT_005_S "45"
- #define PR_SNDAGENT_005 (45)
+ #define PR_SNDAGENT_005_S "0"
+ #define PR_SNDAGENT_005 (0)
#define TN_SNDAGENT_006 "SNDAGENT_006"
- #define PR_SNDAGENT_006_S "45"
- #define PR_SNDAGENT_006 (45)
+ #define PR_SNDAGENT_006_S "0"
+ #define PR_SNDAGENT_006 (0)
#define TN_SNDAGENT_007 "SNDAGENT_007"
- #define PR_SNDAGENT_007_S "45"
- #define PR_SNDAGENT_007 (45)
+ #define PR_SNDAGENT_007_S "0"
+ #define PR_SNDAGENT_007 (0)
#define TN_SNDAGENT_008 "SNDAGENT_008"
- #define PR_SNDAGENT_008_S "45"
- #define PR_SNDAGENT_008 (45)
+ #define PR_SNDAGENT_008_S "0"
+ #define PR_SNDAGENT_008 (0)
#define TN_SNDAGENT_009 "SNDAGENT_009"
- #define PR_SNDAGENT_009_S "45"
- #define PR_SNDAGENT_009 (45)
+ #define PR_SNDAGENT_009_S "0"
+ #define PR_SNDAGENT_009 (0)
#define TN_SNDAGENT_010 "SNDAGENT_010"
- #define PR_SNDAGENT_010_S "45"
- #define PR_SNDAGENT_010 (45)
+ #define PR_SNDAGENT_010_S "0"
+ #define PR_SNDAGENT_010 (0)
#define TN_SNDAGENT_011 "SNDAGENT_011"
- #define PR_SNDAGENT_011_S "45"
- #define PR_SNDAGENT_011 (45)
+ #define PR_SNDAGENT_011_S "0"
+ #define PR_SNDAGENT_011 (0)
#define TN_SNDAGENT_012 "SNDAGENT_012"
- #define PR_SNDAGENT_012_S "45"
- #define PR_SNDAGENT_012 (45)
+ #define PR_SNDAGENT_012_S "0"
+ #define PR_SNDAGENT_012 (0)
#define TN_SNDAGENT_013 "SNDAGENT_013"
- #define PR_SNDAGENT_013_S "45"
- #define PR_SNDAGENT_013 (45)
+ #define PR_SNDAGENT_013_S "0"
+ #define PR_SNDAGENT_013 (0)
#define TN_SNDAGENT_014 "SNDAGENT_014"
- #define PR_SNDAGENT_014_S "45"
- #define PR_SNDAGENT_014 (45)
+ #define PR_SNDAGENT_014_S "0"
+ #define PR_SNDAGENT_014 (0)
#define TN_SNDAGENT_015 "SNDAGENT_015"
- #define PR_SNDAGENT_015_S "45"
- #define PR_SNDAGENT_015 (45)
+ #define PR_SNDAGENT_015_S "0"
+ #define PR_SNDAGENT_015 (0)
#define TN_SNDAGENT_016 "SNDAGENT_016"
- #define PR_SNDAGENT_016_S "45"
- #define PR_SNDAGENT_016 (45)
+ #define PR_SNDAGENT_016_S "0"
+ #define PR_SNDAGENT_016 (0)
#define TN_SNDAGENT_017 "SNDAGENT_017"
- #define PR_SNDAGENT_017_S "45"
- #define PR_SNDAGENT_017 (45)
+ #define PR_SNDAGENT_017_S "0"
+ #define PR_SNDAGENT_017 (0)
#define TN_SNDAGENT_018 "SNDAGENT_018"
- #define PR_SNDAGENT_018_S "45"
- #define PR_SNDAGENT_018 (45)
+ #define PR_SNDAGENT_018_S "0"
+ #define PR_SNDAGENT_018 (0)
#define TN_SNDAGENT_019 "SNDAGENT_019"
- #define PR_SNDAGENT_019_S "45"
- #define PR_SNDAGENT_019 (45)
+ #define PR_SNDAGENT_019_S "0"
+ #define PR_SNDAGENT_019 (0)
#define TN_SNDAGENT_020 "SNDAGENT_020"
- #define PR_SNDAGENT_020_S "45"
- #define PR_SNDAGENT_020 (45)
+ #define PR_SNDAGENT_020_S "0"
+ #define PR_SNDAGENT_020 (0)
#define TN_SNDAGENT_021 "SNDAGENT_021"
- #define PR_SNDAGENT_021_S "45"
- #define PR_SNDAGENT_021 (45)
+ #define PR_SNDAGENT_021_S "0"
+ #define PR_SNDAGENT_021 (0)
#define TN_SNDAGENT_022 "SNDAGENT_022"
- #define PR_SNDAGENT_022_S "45"
- #define PR_SNDAGENT_022 (45)
+ #define PR_SNDAGENT_022_S "0"
+ #define PR_SNDAGENT_022 (0)
#define TN_SNDAGENT_023 "SNDAGENT_023"
- #define PR_SNDAGENT_023_S "45"
- #define PR_SNDAGENT_023 (45)
+ #define PR_SNDAGENT_023_S "0"
+ #define PR_SNDAGENT_023 (0)
#define TN_SNDAGENT_024 "SNDAGENT_024"
- #define PR_SNDAGENT_024_S "45"
- #define PR_SNDAGENT_024 (45)
+ #define PR_SNDAGENT_024_S "0"
+ #define PR_SNDAGENT_024 (0)
#define TN_SNDAGENT_025 "SNDAGENT_025"
- #define PR_SNDAGENT_025_S "45"
- #define PR_SNDAGENT_025 (45)
+ #define PR_SNDAGENT_025_S "0"
+ #define PR_SNDAGENT_025 (0)
#define MN_SS_RESOURCEMGR "SS_ResourceMgr"
-#define PR_SS_RESOURCEMGR_S "49"
-#define PR_SS_RESOURCEMGR (49)
+#define PR_SS_RESOURCEMGR_S "0"
+#define PR_SS_RESOURCEMGR (0)
#define TN_RESOURCEHWDT "ResourceHWDT"
- #define PR_RESOURCEHWDT_S "1"
- #define PR_RESOURCEHWDT (1)
+ #define PR_RESOURCEHWDT_S "0"
+ #define PR_RESOURCEHWDT (0)
#define MN_AS_AUDIOMANAGER "AS_AudioManager"
#define PR_AS_AUDIOMANAGER_S PR_TSS_S
@@ -519,8 +519,8 @@
#define PR_AS_SOUNDBEEP PR_TSS
#define MN_GRAPHICS "Graphics"
-#define PR_GRAPHICS_S "4"
-#define PR_GRAPHICS (4)
+#define PR_GRAPHICS_S "0"
+#define PR_GRAPHICS (0)
#define TN_GR_MAIN_CTRL "Graphics_main"
#define PR_GR_MAIN_CTRL_S PR_TSS_S
@@ -535,12 +535,12 @@
#define PR_GR_DEV_RCV_CTRL PR_TSS
#define TN_GR_VCAP1_CTRL "Graphics_cap1"
- #define PR_GR_VCAP1_CTRL_S "4"
- #define PR_GR_VCAP1_CTRL (4)
+ #define PR_GR_VCAP1_CTRL_S "0"
+ #define PR_GR_VCAP1_CTRL (0)
#define TN_GR_VCAP2_CTRL "Graphics_cap2"
- #define PR_GR_VCAP2_CTRL_S "4"
- #define PR_GR_VCAP2_CTRL (4)
+ #define PR_GR_VCAP2_CTRL_S "0"
+ #define PR_GR_VCAP2_CTRL (0)
#define MN_VUPSERVICE "vupservice"
#define PR_VUPSERVICE_S PR_TSS_S
@@ -563,8 +563,8 @@
#define PR_NS_LOCKMGR PR_TSS
#define MN_PS_SWITCHHANDLER "SwitchHandler"
-#define PR_PS_SWITCHHANDLER_S "30"
-#define PR_PS_SWITCHHANDLER (30)
+#define PR_PS_SWITCHHANDLER_S "0"
+#define PR_PS_SWITCHHANDLER (0)
#define MN_SS_WINSYS "SS_WinSys"
#define PR_SS_WINSYS_S "5"
@@ -709,8 +709,8 @@
#define PR_RADIOSERVICE PR_TSS
#define MN_RADIOHDARBITER "RadioHDArbiter"
-#define PR_RADIOHDARBITER_S "20"
-#define PR_RADIOHDARBITER (20)
+#define PR_RADIOHDARBITER_S "0"
+#define PR_RADIOHDARBITER (0)
#define MN_HRDS_MANAGER "hrds_manager"
#define PR_HRDS_MANAGER_S PR_TSS_S
@@ -889,8 +889,8 @@
#define PR_HANDWRITING PR_TSS
#define MN_EXTUNITAUTH_D "EXTUNITAUTH_D"
-#define PR_EXTUNITAUTH_D_S "29"
-#define PR_EXTUNITAUTH_D 29
+#define PR_EXTUNITAUTH_D_S "0"
+#define PR_EXTUNITAUTH_D 0
#define TN_VPSVC__CWORD84_ "VPSVC_D"
#define PR_VPSVC__CWORD84__S PR_TSS_S
@@ -945,8 +945,8 @@
#define PR_DASSERVICE PR_TSS
#define MN_EXTUNITAUTH_M "EXTUNITAUTH_M"
-#define PR_EXTUNITAUTH_M_S "29"
-#define PR_EXTUNITAUTH_M 29
+#define PR_EXTUNITAUTH_M_S "0"
+#define PR_EXTUNITAUTH_M 0
#define MN_DUMMYREAD "DummyRead"
#define PR_DUMMYREAD_S PR_TSS_S
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_types_obsoluted.h b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_types_obsoluted.h
index 0e427241..0f7e86d8 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_types_obsoluted.h
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/agl_types_obsoluted.h
@@ -125,8 +125,12 @@ typedef uint32_t BOOL;
#endif
// AGL ASSERT MACRO
+#ifdef AGL_ASSERT_ON
#define AGL_ASSERT_NOT_TESTED() \
do {fprintf(stderr, "[%s][%s][%s:%d]AGL_ASSERT_NOT_TESTED.\n", \
program_invocation_short_name, __func__, __FILE__, __LINE__);} while(0)
-
+#else
+#define AGL_ASSERT_NOT_TESTED() \
+do {} while(0)
+#endif
#endif /* _AGL_TYPES_OBSOLUTED_H_ */
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/sm_launch_conf.h b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/sm_launch_conf.h
index d444eb0f..d444eb0f 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/sm_launch_conf.h
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/include/sm_launch_conf.h
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/share/agl.mk b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/share/agl.mk
index 495614dc..77d4512e 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/share/agl.mk
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-basefiles/files/share/agl.mk
@@ -331,7 +331,7 @@ endif
#################################################################################
-RPATH := /usr/lib:/lib:/usr/agl/lib
+RPATHLINK := $(SYSROOT)/usr/lib:$(SYSROOT)/lib:$(SYSROOT)/usr/agl/lib
#################################################################################
SUBDIRS := $(filter-out mock,$(SUBDIRS))
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb
index c10c348c..d9482a9d 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb
@@ -42,11 +42,7 @@ RDEPENDS_${PN} += " \
bash \
"
do_compile[depends] += "agl-basefiles:do_populate_sysroot"
-do_compile() {
- cd ${WORKDIR}/usr/agl/conf/systemmanager
- cpp -P -include ${STAGING_DIR_HOST}/usr/agl/include/sm_launch_conf.h ./sm_launch__CWORD84_.xml ./sm_launch.tmp.xml
- ${STAGING_DIR_HOST}/usr/agl/share/launch_xml2cfg.sh ./sm_launch.tmp.xml > ./sm_launch.cfg
-}
+
do_install() {
install -d ${D}${systemd_unitdir}/system
install -m 644 ${WORKDIR}/setup_refhw.service ${D}/${systemd_unitdir}/system
@@ -60,8 +56,6 @@ do_install() {
install -d ${D}/usr/target
install -m 644 ${WORKDIR}/usr/target/*.lst ${D}/usr/target
install -d ${D}/etc/systemd/system
- install -d -m 775 ${D}/usr/agl/conf/systemmanager
- install -m 644 ${WORKDIR}/usr/agl/conf/systemmanager/sm_launch.cfg ${D}/usr/agl/conf/systemmanager
install -d ${D}/lib/udev/rules.d
install -m 644 ${WORKDIR}/99-agl.rules ${D}/lib/udev/rules.d
install -d -m 777 ${D}/nv/export
@@ -76,9 +70,6 @@ sysroot_stage_all_append(){
sysroot_stage_dir ${D}/tool_9E_SI ${SYSROOT_DESTDIR}/tool_9E_SI
sysroot_stage_dir ${D}/usr/target ${SYSROOT_DESTDIR}/usr/target
sysroot_stage_dir ${D}/usr/agl ${SYSROOT_DESTDIR}/usr/agl
- sysroot_stage_dir ${D}/usr/agl/conf/systemmanager ${SYSROOT_DESTDIR}/usr/agl/conf/systemmanager
- sysroot_stage_dir ${D}/usr/agl/conf/backup_manager ${SYSROOT_DESTDIR}/usr/agl/conf/backup_manager
- sysroot_stage_dir ${D}/nv/npp ${SYSROOT_DESTDIR}/nv/npp
- sysroot_stage_dir ${D}/usr/agl/share ${SYSROOT_DESTDIR}/usr/agl/share
+ sysroot_stage_dir ${D}/nv/BS/ns/npp/rwdata ${SYSROOT_DESTDIR}/nv/BS/ns/npp/rwdata
sysroot_stage_dir ${D}/etc/systemd/system/tmp.mount.d ${SYSROOT_DESTDIR}/etc/systemd/system/tmp.mount.d
}
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/setup_refhw.service b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/setup_refhw.service
index 10875b28..427dfeda 100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/setup_refhw.service
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/setup_refhw.service
@@ -1,6 +1,6 @@
[Unit]
Description=Initialize Reference Hardware Settings
-After=weston.service
+#After=weston.service
[Service]
EnvironmentFile=/tool_9E_SI/env.txt
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/agl_set_capability.sh b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/agl_set_capability.sh
index ac827d04..6b108ae4 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/agl_set_capability.sh
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/agl_set_capability.sh
@@ -21,7 +21,7 @@ echo `cat ${CAP_LST}`
#-----------------------------------------------------------------------
# Capability
-df / --exclude-type=nfs > /dev/null
+df -T / | grep nfs > /dev/null
IS_EMMC_BOOT=$?
#*********************from init_nfs_cap.sh**************************
@@ -35,7 +35,7 @@ SKIPWARN=n
#CAP_LST="/usr/debug/share/target/cap.lst"
CAP_LST="/usr/target/agl_cap.lst"
-if [ $IS_EMMC_BOOT -ne 0 ]; then
+if [ $IS_EMMC_BOOT -eq 0 ]; then
if [ -f "${CAP_LST}" ];then
echo "*** set capability for NFS environment ***"
CAPPATH=/tmp/
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/launch_sm.sh b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/launch_sm.sh
index ed1e8d12..ed1e8d12 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/launch_sm.sh
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/launch_sm.sh
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_capability.sh b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_capability.sh
index aa9b78de..c16ab4af 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_capability.sh
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_capability.sh
@@ -21,7 +21,7 @@ echo `cat ${CAP_LST}`
#-----------------------------------------------------------------------
# Capability
-df / --exclude-type=nfs > /dev/null
+df -T / | grep nfs > /dev/null
IS_EMMC_BOOT=$?
#*********************from init_nfs_cap.sh**************************
@@ -35,7 +35,7 @@ SKIPWARN=n
#CAP_LST="/usr/debug/share/target/cap.lst"
CAP_LST="/usr/target/cap.lst"
-if [ $IS_EMMC_BOOT -ne 0 ]; then
+if [ $IS_EMMC_BOOT -eq 0 ]; then
if [ -f "${CAP_LST}" ];then
echo "*** set capability for NFS environment ***"
CAPPATH=/tmp/
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_cgroup_rt_runtime_us.sh b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_cgroup_rt_runtime_us.sh
index 41536f2c..41536f2c 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_cgroup_rt_runtime_us.sh
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/set_cgroup_rt_runtime_us.sh
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/setup_refhw.sh b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/setup_refhw.sh
index 1f9501cb..e3f33a40 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/setup_refhw.sh
+++ b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/setup_refhw.sh
@@ -33,20 +33,20 @@ echo "AREA=$VEHICLEPARAMETERLIBRARY_AREA" >> /tmp/udev_device.env
## For btservice initial data.
#chown -R agl:agl /nv/backup/D_BK_CA_BT_MANAGEMENT
## Sprint 29 PFDRECThread
-mkdir -p /ramd/log/frameworkunifiedlog/diag
-#chmod 777 /ramd/log/frameworkunifiedlog/diag
-touch /dev/mmcblk0p9
-chmod 660 /dev/mmcblk0p9
+mkdir -p /ramd/BS/ns/backup_manager/rwdata
+mkdir -p /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/diag
+restorecon -R /ramd
+#chmod 777 /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/diag
## Sprint 29 communication
#chmod -R 777 /home/root/.app_can_d
# TODO:for bluetooth_service
#chmod 777 /usr/agl/share
-if ! `df / --exclude-type=nfs > /dev/null`; then
-cp /sbin/insmod.kmod /tmp/insmod.kmod
-ln -s -f /tmp/insmod.kmod /sbin/insmod
-setcap cap_sys_module+ep /tmp/insmod.kmod
-fi
+#if `df -T / | grep nfs > /dev/null`; then
+#cp /sbin/insmod.kmod /tmp/insmod.kmod
+#ln -s -f /tmp/insmod.kmod /sbin/insmod
+#setcap cap_sys_module+ep /tmp/insmod.kmod
+#fi
## Sprint 32 Positioning
#chmod 777 /dev/ttySC3
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch.cfg b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch.cfg
deleted file mode 100644
index 50a18c9a..00000000
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-# This file is created from ./sm_launch.tmp.xml.
-[ModulesLaunchConfig]
-Launch1=CoreModules|1|0|False|NS_NPPService|/usr/agl/bin/NS_NPPService|0|True|0|-a SS_SysManager -r output=0x2|NULL|NULL|False|True|20|1000||||||0x0
-Launch2=CoreModules|1|0|False|NS_BackupMgr|/usr/agl/bin/NS_BackupMgr|0|True|0|-l console|NULL|NULL|True|True|15|1000||||||0x0
-Launch3=SS_Logger|2|0|False|SS_LoggerSrv|/usr/agl/bin/SS_LoggerService|0|True|0|-l console -p thrd=pdg.LogQueReader:30,thrd=pdg.TransmitQueReader:30,thrd=pdg.DumpQueReader:11,thrd=pdg.PerformanceQueReader:11,thrd=pdg.LogQueWriter:30,thrd=pdg.TransmitQueWriter:30,thrd=pdg.EvntLogQue:8,thrd=pdg.UdpQueWriter:10|NULL|NULL|True|True|10|1000||||||0x0
-Launch4=ShadowModules|3|0|False|Communication|/usr/agl/bin/communication|0|True|0|-l console|NULL|NULL|True|False|20|1000||||||0x0
-Launch5=VehicleModules|4|0|False|Positioning|/usr/agl/bin/Positioning|0|True|0|NULL|NULL|NULL|True|False|0|1000||||||0x0
-Launch6=SystemModules|5|0|False|SS_PowerService|/usr/agl/bin/SS_PowerService|0|True|0|-l console|NULL|NULL|True|False|0|1000||||||0x0
-Launch7=SystemModules|5|0|False|SS_TaskManager|/usr/agl/bin/tskmgr|0|True|0|-l console|NULL|NULL|True|True|0|1000||||||0x0
-Launch8=SystemModules|5|0|False|SS_ResourceMgr|/usr/agl/bin/resm|0|True|0|-l console|NULL|NULL|True|False|0|1000||||||0x0
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch__CWORD84_.xml b/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch__CWORD84_.xml
deleted file mode 100755
index 8dd14bb7..00000000
--- a/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/usr/agl/conf/systemmanager/sm_launch__CWORD84_.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-<!-- group_id=1 -->
-<group name="CoreModules" wait_time="0" trigger="False" >
- <launch
- name=MN_NS_NPPSERVICE path="/usr/agl/bin/NS_NPPService" priority=PR_NS_NPPSERVICE_S
- critical="True" retry_cnt="0" arguments="-a SS_SysManager -r output=0x2"
- restart="NULL" is_start_required="False"
- shutdown_critical="True" shutdown_wait_time="20" fast_shutdown_wait_time="1000"
- user_name=""
- />
- <launch
- name=MN_NS_BACKUPMGR path="/usr/agl/bin/NS_BackupMgr" priority=PR_NS_BACKUPMGR_S
- critical="True" retry_cnt="0" arguments="-l console"
- restart="NULL" is_start_required="True"
- shutdown_critical="True" shutdown_wait_time="15" fast_shutdown_wait_time="1000"
- user_name=""
- />
-</group>
-<!-- group_id=2 -->
-<group name="SS_Logger" wait_time="0" trigger="False" >
- <launch
- name=MN_SS_LOGGERSRV path="/usr/agl/bin/SS_LoggerService" priority=PR_SS_LOGGERSRV_S
- critical="True" retry_cnt="0" arguments="-l console -p thrd=pdg.LogQueReader:30,thrd=pdg.TransmitQueReader:30,thrd=pdg.DumpQueReader:11,thrd=pdg.PerformanceQueReader:11,thrd=pdg.LogQueWriter:30,thrd=pdg.TransmitQueWriter:30,thrd=pdg.EvntLogQue:8,thrd=pdg.UdpQueWriter:10"
- restart="NULL" is_start_required="True"
- shutdown_critical="True" shutdown_wait_time="10" fast_shutdown_wait_time="1000"
- user_name=""
- />
-</group>
-<!-- group_id=3 -->
-<group name="ShadowModules" wait_time="0" trigger="False" >
- <!--
- In order to excute the termination process promptly, the shutdown_wait_time of GROUP4~ sha be a;; set tp 0,
- and FrameworkunifiedOnStop shall be issued to the servies of GROUP~ at almost the same time upon termination.
- Setting shutdown_wait_time in the COMMUNICATION of GROUP3 makes GROUP3 wait for GROUP4~ to terminate service (wait for FrameworkunifiedOnStop responses) all at once.
- The reason for batch wait by GROUP3 is to save the LOG of tge ternubatuib processing at the time of ACC-OFF of services
- because the LOG save processing is performed by the GROUP2 termination processing of SS_LoggerService.
- -->
- <launch
- name=MN_COMMUNICATION path="/usr/agl/bin/communication" priority=PR_COMMUNICATION_S
- critical="True" retry_cnt="0" arguments="-l console"
- restart="NULL" is_start_required="True"
- shutdown_critical="False" shutdown_wait_time="20" fast_shutdown_wait_time="1000"
- user_name=""
- />
-</group>
-
-<!-- group_id=4 -->
-<group name="VehicleModules" wait_time="0" trigger="False" >
- <launch
- name=MN_POSITIONING path="/usr/agl/bin/Positioning" priority=PR_POSITIONING_S
- critical="True" retry_cnt="0" arguments="NULL"
- restart="NULL" is_start_required="True"
- shutdown_critical="False" shutdown_wait_time="0" fast_shutdown_wait_time="1000"
- user_name=""
- />
-</group>
-
-<!-- group_id=5 -->
-<group name="SystemModules" wait_time="0" trigger="False" >
- <launch
- name=MN_SS_POWERSERVICE path="/usr/agl/bin/SS_PowerService" priority=PR_SS_POWERSERVICE_S
- critical="True" retry_cnt="0" arguments="-l console"
- restart="NULL" is_start_required="True"
- shutdown_critical="False" shutdown_wait_time="0" fast_shutdown_wait_time="1000"
- user_name=""
- />
- <launch
- name=MN_SS_TASKMANAGER path="/usr/agl/bin/tskmgr" priority=PR_SS_TASKMANAGER_S
- critical="True" retry_cnt="0" arguments="-l console"
- restart="NULL" is_start_required="True"
- shutdown_critical="True" shutdown_wait_time="0" fast_shutdown_wait_time="1000"
- user_name=""
- />
- <launch
- name=MN_SS_RESOURCEMGR path="/usr/agl/bin/resm" priority=PR_SS_RESOURCEMGR_S
- critical="True" retry_cnt="0" arguments="-l console"
- restart="NULL" is_start_required="True"
- shutdown_critical="False" shutdown_wait_time="0" fast_shutdown_wait_time="1000"
- user_name=""
- />
-</group>
-<!-- group_id=6 -->
-<!-- group_id=7 -->
-<!-- group_id=8 -->
-<!-- group_id=9 -->
-<!-- group_id=10 -->
-<!-- group_id=11 -->
-<!-- group_id=12 -->
-<!-- group_id=13 -->
-<!-- group_id=14 -->
-<!-- group_id=15 -->
-<!-- group_id=16 -->
-<!-- group_id=17 -->
-<!-- group_id=18 -->
-<!-- group_id=19 -->
-<!-- group_id=20 -->
-<!-- group_id=21 -->
-<!-- group_id=22 -->
-<!-- group_id=23 -->
-<!-- group_id=24 -->
-<!-- group_id=25 -->
-<!-- group_id=26 -->
-<!-- group_id=28 -->
-<!-- group_id=29 -->
-<!-- group_id=30 -->
-<!-- group_id=31 -->
-<!-- group_id=32 -->
-<!-- group_id=33 -->
-<!-- group_id=34 -->
-<!-- group_id=35 -->
-<!-- group_id=36 -->
-<!-- group_id=37 -->
-<!-- group_id=38 -->
-<!-- group_id=39 -->
-<!-- group_id=40 -->
-<!-- group_id=41 -->
-<!-- group_id=42 -->
diff --git a/meta-agl/meta-agl-basesystem/recipes-core/kernel-module-evklib/kernel-module-evklib-1.0.0/evk_lib.c b/meta-agl/meta-agl-basesystem/recipes-core/kernel-module-evklib/kernel-module-evklib-1.0.0/evk_lib.c
index d5c1718e..d5c1718e 100755..100644
--- a/meta-agl/meta-agl-basesystem/recipes-core/kernel-module-evklib/kernel-module-evklib-1.0.0/evk_lib.c
+++ b/meta-agl/meta-agl-basesystem/recipes-core/kernel-module-evklib/kernel-module-evklib-1.0.0/evk_lib.c
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ns-backupmanager/ns-backupmanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ns-backupmanager/ns-backupmanager_1.0.0.bb
index 97356da7..4d5d8fba 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ns-backupmanager/ns-backupmanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ns-backupmanager/ns-backupmanager_1.0.0.bb
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e2
inherit agl-basesystem-common
FILES_${PN} += " \
- /usr/agl/conf/backup_manager/* \
/usr/agl/lib/* \
+ /usr/agl/conf/BS/ns/backup_manager/rodata/* \
"
FILES_${PN}-dev += "/usr/agl/include/*"
@@ -20,9 +20,11 @@ S = "${WORKDIR}/git"
DEPENDS += " \
libxml2-native \
ns-frameworkunified \
+ libnv-hal \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
+ libnv-hal \
"
EXTRA_MAKEFILE=" -f Makefile.client"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ns-frameworkunified/ns-frameworkunified_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ns-frameworkunified/ns-frameworkunified_1.0.0.bb
index 104a98a0..aa86edeb 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ns-frameworkunified/ns-frameworkunified_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ns-frameworkunified/ns-frameworkunified_1.0.0.bb
@@ -8,6 +8,8 @@ inherit agl-basesystem-common
FILES_${PN} += " \
/usr/agl/lib/* \
/usr/agl/conf/ns_logger/* \
+ /nv/BS/ns/framework_unified/* \
+ /usr/agl/conf/BS/ns/framework_unified/rodata/* \
"
FILES_${PN}-staticdev += " \
/usr/agl/lib/*.a \
@@ -23,7 +25,6 @@ S = "${WORKDIR}/git"
# Common Dependencies
DEPENDS += " \
- os-vehicleparameterlibrary \
os-posixbasedos001legacylibrary \
ns-loglibrary \
ns-commonlibrary \
@@ -31,7 +32,6 @@ DEPENDS += " \
boost \
"
RDEPENDS_${PN} += " \
- os-vehicleparameterlibrary \
os-posixbasedos001legacylibrary \
ns-loglibrary \
ns-commonlibrary \
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb
index c171ea3f..a421bbd5 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb
@@ -16,7 +16,13 @@ SRCREV = "${AUTOREV}"
PV = "1.0.0+gitr${SRCPV}"
S = "${WORKDIR}/git"
-DEPENDS += " "
+#Added here because they are native recipes, although they are AGLs
+DEPENDS += " \
+ ns-backupmanager \
+"
+RDEPENDS_${PN} += " \
+ ns-backupmanager \
+"
EXTRA_MAKEFILE=" -f Makefile.client"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ps-communication/ps-communication_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ps-communication/ps-communication_1.0.0.bb
index 53b81c77..ebe1e052 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ps-communication/ps-communication_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ps-communication/ps-communication_1.0.0.bb
@@ -17,9 +17,11 @@ S = "${WORKDIR}/git"
DEPENDS += " \
ns-frameworkunified \
+ ps-communicationsubcpu \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
+ ps-communicationsubcpu \
"
EXTRA_MAKEFILE=" -f Makefile.client"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-config/ss-config_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-config/ss-config_1.0.0.bb
index 6d21db22..bf23fc36 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-config/ss-config_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-config/ss-config_1.0.0.bb
@@ -21,6 +21,7 @@ DEPENDS += " \
ss-versionlibrary \
ns-frameworkunified \
ps-communication \
+ os-vehicleparameterlibrary \
"
RDEPENDS_${PN} += " \
ss-interfaceunified \
@@ -28,6 +29,7 @@ RDEPENDS_${PN} += " \
ns-frameworkunified \
ps-communication \
ss-versionlibrary \
+ os-vehicleparameterlibrary \
"
EXTRA_MAKEFILE=" -f Makefile.client"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-interfaceunified/ss-interfaceunified_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-interfaceunified/ss-interfaceunified_1.0.0.bb
index 28544e1d..2b8b8dc7 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-interfaceunified/ss-interfaceunified_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-interfaceunified/ss-interfaceunified_1.0.0.bb
@@ -3,6 +3,8 @@ DESCRIPTION = "ss-interfaceunified to build AGL software"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+DIRFILES = ""
+
inherit agl-basesystem-common
FILES_${PN} += " \
/usr/agl/lib/* \
@@ -13,6 +15,9 @@ FILES_${PN} += " \
/usr/agl/share/systemmanager/scfg/* \
/usr/agl/conf/systemmanager \
/usr/agl/conf/systemmanager/* \
+ /usr/agl/conf/BS/ss/system_manager/rwdata/* \
+ /usr/agl/conf/BS/ss/power_service/rodata/* \
+ /usr/agl/conf/BS/ss/logger_service/rodata/* \
"
FILES_${PN}-dev += "/usr/agl/include/*"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-resourcemanager/ss-resourcemanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-resourcemanager/ss-resourcemanager_1.0.0.bb
index 073acf71..b4c98e73 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-resourcemanager/ss-resourcemanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-resourcemanager/ss-resourcemanager_1.0.0.bb
@@ -21,18 +21,18 @@ DEPENDS += " \
ss-interfaceunified \
ns-frameworkunified \
ns-commonlibrary \
- os-vehicleparameterlibrary \
os-rpclibrary \
os-eventlibrary \
+ libsoctemperature-hal \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
ss-interfaceunified \
ns-commonlibrary \
ns-frameworkunified \
- os-vehicleparameterlibrary \
os-rpclibrary \
os-eventlibrary \
+ libsoctemperature-hal \
"
EXTRA_MAKEFILE=" -f Makefile.client"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb
index e6c6ec86..6b45ee81 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb
@@ -17,9 +17,13 @@ S = "${WORKDIR}/git"
DEPENDS += " \
ns-frameworkunified \
+ ns-commonlibrary \
+ ns-memorygpioaccesslibrary \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
+ ns-commonlibrary \
+ ns-memorygpioaccesslibrary \
"
EXTRA_MAKEFILE=" -f Makefile.client"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-taskmanager/ss-taskmanager_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-taskmanager/ss-taskmanager_1.0.0.bb
index 55f19523..363e7d48 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/ss-taskmanager/ss-taskmanager_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/ss-taskmanager/ss-taskmanager_1.0.0.bb
@@ -7,8 +7,7 @@ inherit agl-basesystem-common
FILES_${PN} += " \
/usr/agl/lib/* \
- /usr/agl/conf/tm_launch/* \
- /usr/agl/conf/thread/* \
+ /usr/agl/conf/BS/ss/task_manager/rodata/* \
"
FILES_${PN}-dev += "/usr/agl/include/*"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioning/vs-positioning_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioning/vs-positioning_1.0.0.bb
index acccd9ac..ed6c5f80 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioning/vs-positioning_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioning/vs-positioning_1.0.0.bb
@@ -22,11 +22,13 @@ DEPENDS += " \
ns-frameworkunified \
os-vehicleparameterlibrary \
vs-positioningbaselibrary \
+ libpositioning-hal \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
os-vehicleparameterlibrary \
vs-positioningbaselibrary \
+ libpositioning-hal \
"
EXTRA_MAKEFILE=" -f Makefile.client"
EXTRA_OEMAKE += "${EXTRA_MAKEFILE} -j 1 'CXX=${CXX} -Wl,--warn-unresolved-symbols' 'CC=${CC} -Wl,--warn-unresolved-symbols'"
diff --git a/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb
index a1f1a98e..b168c663 100644
--- a/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-graphics/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e2
inherit agl-basesystem-common
FILES_${PN} += " \
/usr/agl/lib/* \
+ /nv/BS/vs/positioning_base_library/* \
"
FILES_${PN}-dev += "/usr/agl/include/*"
@@ -19,10 +20,12 @@ S = "${WORKDIR}/git"
DEPENDS += " \
ns-frameworkunified \
os-eventlibrary \
+ os-vehicleparameterlibrary \
"
RDEPENDS_${PN} += " \
ns-frameworkunified \
os-eventlibrary \
+ os-vehicleparameterlibrary \
"
EXTRA_MAKEFILE=" -f Makefile.client"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libboot-hal/libboot-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libboot-hal/libboot-hal_1.0.0.bb
new file mode 100644
index 00000000..0aaf69b3
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libboot-hal/libboot-hal_1.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "libboot_hal for AGL software"
+DESCRIPTION = "install libboot_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/boot_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "boot_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libcan-hal/libcan-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libcan-hal/libcan-hal_1.0.0.bb
new file mode 100644
index 00000000..2ff52d24
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libcan-hal/libcan-hal_1.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "libcan_hal for AGL software"
+DESCRIPTION = "install libcan_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += "/usr/agl/include/peripheral_service/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/can_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "can_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libclock-hal/libclock-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libclock-hal/libclock-hal_1.0.0.bb
new file mode 100644
index 00000000..71abcba8
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libclock-hal/libclock-hal_1.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "libclock_hal for AGL software"
+DESCRIPTION = "install libclock_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/clock_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "clock_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libdeck-hal/libdeck-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libdeck-hal/libdeck-hal_1.0.0.bb
new file mode 100644
index 00000000..b34729df
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libdeck-hal/libdeck-hal_1.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "libdeck_hal for AGL software"
+DESCRIPTION = "install libdeck_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/deck_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "deck_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libinput-hal/libinput-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libinput-hal/libinput-hal_1.0.0.bb
new file mode 100644
index 00000000..adc06b37
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libinput-hal/libinput-hal_1.0.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "libinput_hal for AGL software"
+DESCRIPTION = "install libinput_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/input_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+ ns-frameworkunified\
+ drm \
+ udev \
+"
+
+HAL_NAME = "input_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb
new file mode 100644
index 00000000..a752696c
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb
@@ -0,0 +1,20 @@
+SUMMARY = "libnv_hal for AGL software"
+DESCRIPTION = "install libnv_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN}-dev += "/usr/agl/include/native_service/* "
+
+do_package_qa[noexec] = "1"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/nv_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "nv_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb
new file mode 100644
index 00000000..bb1e34fd
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "libpositioning_hal for AGL software"
+DESCRIPTION = "install libpositioning_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN}-dev += "/usr/agl/include/vehicle_service/*"
+
+do_package_qa[noexec] = "1"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/positioning_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+ ns-frameworkunified \
+ ns-backupmanager \
+ vs-positioningbaselibrary \
+"
+
+HAL_NAME = "positioning_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libpower-hal/libpower-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libpower-hal/libpower-hal_1.0.0.bb
new file mode 100644
index 00000000..bec6af91
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libpower-hal/libpower-hal_1.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "libpower_hal for AGL software"
+DESCRIPTION = "install libpower_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN}-dev += "/usr/agl/include/peripheral_service/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/power_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "power_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libsecurity-hal/libsecurity-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libsecurity-hal/libsecurity-hal_1.0.0.bb
new file mode 100644
index 00000000..0cc9a011
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libsecurity-hal/libsecurity-hal_1.0.0.bb
@@ -0,0 +1,20 @@
+SUMMARY = "libsecurity_hal for AGL software"
+DESCRIPTION = "install libsecurity_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN}-dev += "/usr/agl/include/system_service/*"
+
+do_package_qa[noexec] = "1"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/security_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "security_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libsoctemperature-hal/libsoctemperature-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libsoctemperature-hal/libsoctemperature-hal_1.0.0.bb
new file mode 100644
index 00000000..6f7f9c31
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libsoctemperature-hal/libsoctemperature-hal_1.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "libsoc_temperature-hal for AGL software"
+DESCRIPTION = "install libsoc_temperature-hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += "/usr/agl/include/system_service/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/soctemperature_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "soc_temperature_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libupdate-hal/libupdate-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libupdate-hal/libupdate-hal_1.0.0.bb
new file mode 100644
index 00000000..10bcf5de
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libupdate-hal/libupdate-hal_1.0.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "libupdate_hal for AGL software"
+DESCRIPTION = "install libupdate_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+ /usr/* \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/update_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+"
+
+HAL_NAME = "update_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libusb-hal/libusb-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libusb-hal/libusb-hal_1.0.0.bb
new file mode 100644
index 00000000..6a50748c
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libusb-hal/libusb-hal_1.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "libusb_hal for AGL software"
+DESCRIPTION = "install libusb_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/usb_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "usb_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libvehicle-hal/libvehicle-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libvehicle-hal/libvehicle-hal_1.0.0.bb
new file mode 100644
index 00000000..b47e16fc
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libvehicle-hal/libvehicle-hal_1.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "libvehicle_hal for AGL software"
+DESCRIPTION = "install libvehicle_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/vehicle_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "vehicle_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-hal/libvideo-in-hal/libvideo-in-hal_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-hal/libvideo-in-hal/libvideo-in-hal_1.0.0.bb
new file mode 100644
index 00000000..2ae32812
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-hal/libvideo-in-hal/libvideo-in-hal_1.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "libvideo_in_hal for AGL software"
+DESCRIPTION = "install libvideo_in_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-hal
+
+FILES_${PN} += " \
+"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/video_in_hal"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+HAL_NAME = "video_in_hal"
diff --git a/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb b/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb
new file mode 100644
index 00000000..c9742c01
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "hal Package Groups"
+LICENSE = "CLOSED"
+PR = "r1"
+
+DEPENDS_qemux86-64 = "agl-basefiles"
+DEPENDS_qemuarm64 = "agl-basefiles"
+
+#
+# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
+#
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-agl-basesystem-hal \
+ "
+RDEPENDS_${PN} += " \
+ libboot-hal \
+ libcan-hal \
+ libclock-hal \
+ libdeck-hal \
+ libinput-hal \
+ libnv-hal \
+ libpositioning-hal \
+ libpower-hal \
+ libsecurity-hal \
+ libsoctemperature-hal \
+ libupdate-hal \
+ libusb-hal \
+ libvehicle-hal \
+ libvideo-in-hal \
+"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb b/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb
index 896eb670..305df526 100644
--- a/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb
+++ b/meta-agl/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb
@@ -21,6 +21,7 @@ RDEPENDS_${PN} += "\
packagegroup-agl-basesystem-core \
packagegroup-agl-basesystem-graphics \
packagegroup-agl-basesystem-service \
+ packagegroup-agl-basesystem-hal \
"
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb
new file mode 100644
index 00000000..0b2abb72
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "ns-memorygpioaccesslibrary for AGL software"
+DESCRIPTION = "ns-memorygpioaccesslibrary to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+FILES_${PN} += " /usr/agl/lib/* "
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " "
+
+MAKE_DIR ="memory_gpio_access_library"
+
+EXTRA_MAKEFILE = " -f Makefile"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationsubcpu/ps-communicationsubcpu_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationsubcpu/ps-communicationsubcpu_1.0.0.bb
new file mode 100644
index 00000000..a92b0aed
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationsubcpu/ps-communicationsubcpu_1.0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "ps-communicationsubcpu for AGL software"
+DESCRIPTION = "ps-communicationsubcpu to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+FILES_${PN} += " /usr/agl/lib/* "
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+MAKE_DIR ="communication_subcpu"
+
+EXTRA_MAKEFILE = " -f Makefile"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationusb/ps-communicationusb_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationusb/ps-communicationusb_1.0.0.bb
new file mode 100644
index 00000000..81e7a712
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/ps-communicationusb/ps-communicationusb_1.0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "ps-communicationusb for AGL software"
+DESCRIPTION = "ps-communicationusb to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+FILES_${PN} += " /usr/agl/lib/* "
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+MAKE_DIR = "communication_usb"
+
+EXTRA_MAKEFILE = " -f Makefile"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb
new file mode 100644
index 00000000..60d5af82
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "vs-clock for AGL software"
+DESCRIPTION = "vs-clock to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+FILES_${PN} += " /usr/agl/lib/* "
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+MAKE_DIR ="clock"
+
+EXTRA_MAKEFILE = " -f Makefile.client"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb
new file mode 100644
index 00000000..2b7ca917
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "vs-diagcode for AGL software"
+DESCRIPTION = "vs-diagcode to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+FILES_${PN} += " /usr/agl/lib/* "
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+# Common Dependencies
+DEPENDS += " ns-frameworkunified"
+
+# Build directory
+MAKE_DIR ="diag_code"
+
+EXTRA_MAKEFILE = " -f Makefile"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb
new file mode 100644
index 00000000..010b2d05
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "vs-diagrecord for AGL software"
+DESCRIPTION = "vs-diagrecord to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+FILES_${PN} += " /usr/agl/lib/* "
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+FILES_${PN}-staticdev = "/usr/agl/lib/*.a"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ns-frameworkunified"
+
+MAKE_DIR ="diag_record"
+
+EXTRA_MAKEFILE = " -f Makefile"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+
diff --git a/meta-agl/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb b/meta-agl/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb
new file mode 100644
index 00000000..7668f96a
--- /dev/null
+++ b/meta-agl/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb
@@ -0,0 +1,28 @@
+SUMMARY = "vs-vehicle for AGL software"
+DESCRIPTION = "vs-vehicle to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/${MAKE_DIR}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+inherit agl-basesystem-common
+
+FILES_${PN} += " \
+ /usr/agl/lib/* \
+"
+FILES_${PN}-staticdev += " \
+ /usr/agl/lib/*.a \
+"
+FILES_${PN}-dev += "/usr/agl/include/*"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/toyota.git;protocol=https;branch=sandbox/ToshikazuOhiwa/stub"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0.0+gitr${SRCPV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " ps-communication"
+
+MAKE_DIR ="vehicle"
+
+EXTRA_MAKEFILE = " -f Makefile"
+EXTRA_OEMAKE += "${EXTRA_MAKEFILE}"
+