Compare commits
27 Commits
vcu3-llce-
...
vcu3
| Author | SHA1 | Date |
|---|---|---|
|
|
f9cac0d428 | |
|
|
cf356b06b9 | |
|
|
299c657bb1 | |
|
|
104298e31d | |
|
|
f6509f8058 | |
|
|
25daf7270d | |
|
|
572e91d6f7 | |
|
|
2bbfbc4a78 | |
|
|
04c9478555 | |
|
|
5e88af9c56 | |
|
|
f0a15d0846 | |
|
|
b0f282d300 | |
|
|
c671ea5941 | |
|
|
1a8d34d655 | |
|
|
da4fec6935 | |
|
|
7b6299ce98 | |
|
|
74c8cb2d9f | |
|
|
e70463fa81 | |
|
|
212ea42fe1 | |
|
|
67323f4756 | |
|
|
dd3c65148d | |
|
|
0f042cdcd2 | |
|
|
d4e76ebcbd | |
|
|
36b943c06a | |
|
|
7a153b17ed | |
|
|
cad80eca49 | |
|
|
d132a774fc |
|
|
@ -16,7 +16,7 @@
|
|||
branch = dunfell
|
||||
[submodule "meta-netmodule-bsp"]
|
||||
path = meta-netmodule-bsp
|
||||
url = git@gitlab.com:netmodule/procv_v2x/meta-netmodule-bsp.git
|
||||
url = git@gitlab.com:netmodule/yoctoproject/meta-netmodule-bsp.git
|
||||
branch = develop-procv22
|
||||
[submodule "meta-netmodule-distro"]
|
||||
path = meta-netmodule-distro
|
||||
|
|
@ -25,3 +25,6 @@
|
|||
[submodule "meta-netmodule-wlan"]
|
||||
path = meta-netmodule-wlan
|
||||
url = git@gitlab.com:netmodule/yoctoproject/meta-netmodule-wlan.git
|
||||
[submodule "meta-vcu3-bsp"]
|
||||
path = meta-vcu3-bsp
|
||||
url = git@gitlab.com:netmodule/procv_v2x/meta-vcu3-bsp.git
|
||||
|
|
|
|||
81
README.md
81
README.md
|
|
@ -11,14 +11,11 @@ git submodule init
|
|||
git submodule update
|
||||
```
|
||||
|
||||
### Copy PFE firmware
|
||||
Please make sure that you copy the PFE firmware with the right version meta-netmodule-bsp/recipes-kernel/pfe/pfe_<version> to meta-netmodule-bsp/recipes-kernel/pfe/pfe/. You need to copy the class and util firmware files. This is necessary because the firmware is currently only available under NDA.
|
||||
|
||||
## Selecting hardware target
|
||||
The hardware target can be selected by sourcing the machine_select script:
|
||||
```
|
||||
source machine_select
|
||||
9 # Selecting ProCV2.2
|
||||
9 # Selecting VCU3
|
||||
```
|
||||
|
||||
## Building an image
|
||||
|
|
@ -54,79 +51,3 @@ It can be build with the following commands:
|
|||
source env.image-ostree
|
||||
bitbake netmodule-linux-image-dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### 1000BaseT1
|
||||
|
||||
The PFE driver comes up automatically. However, it does by default rely on autoneg. This doesn't seem to work with the Göpel Media Converter EasyCON. Therefore, a reset is required. Currently pfe0 shares the reset signal with eth0. That's why the following works:
|
||||
```
|
||||
brginup.sh enable-pfe
|
||||
ifconfig eth0 down
|
||||
ifconfig eth0 up
|
||||
```
|
||||
Now the 1000BaseT1 PHY works in default mode.
|
||||
|
||||
### Modem
|
||||
The modem is disabled by default. However, it is possible to enable it with the following command:
|
||||
```
|
||||
bringup.sh enable-modem
|
||||
```
|
||||
|
||||
To use adb you have to do the following:
|
||||
```
|
||||
echo 0x2c7c >> ~/.android/adb_usb.ini
|
||||
adb shell
|
||||
```
|
||||
|
||||
### Wifi
|
||||
Enable the Wifi module (make sure you enable the modem first):
|
||||
```
|
||||
bringup.sh enable-wifi
|
||||
```
|
||||
|
||||
### ADCs
|
||||
Read out the SPI ADCs:
|
||||
```
|
||||
bringup.sh read-adc
|
||||
```
|
||||
|
||||
### IMU
|
||||
To enable the IMU you can call enable-imu.sh:
|
||||
```
|
||||
bringup.sh enable-imu.sh
|
||||
```
|
||||
|
||||
To communicate with the imu you can use test-imu.sh:
|
||||
```
|
||||
# Read/Write
|
||||
bringup.sh read-write-imu /dev/spidev1.0 1 2020
|
||||
# Read
|
||||
bringup.sh read-write-imu /dev/spidev1.0 1
|
||||
```
|
||||
|
||||
### Secure Element
|
||||
To enable the secure elelment call enable-secure-element:
|
||||
```
|
||||
bringup.sh enable-secure-element
|
||||
```
|
||||
There is no helper for the secure element available yet. You can use spidev_test to communicate with it:
|
||||
```
|
||||
spidev_test --help
|
||||
```
|
||||
|
||||
### V2X
|
||||
Enable the V2X and load a firmware (make sure you enable the modem first):
|
||||
```
|
||||
bringup.sh enable-v2x <path to fw>
|
||||
```
|
||||
|
||||
### GPIOS
|
||||
Set gpio:
|
||||
```
|
||||
bringup.sh set-gpio <gpio> <value>
|
||||
```
|
||||
Get gpio:
|
||||
```
|
||||
bringup.sh get-gpio <gpio>
|
||||
```
|
||||
|
|
|
|||
2
bitbake
2
bitbake
|
|
@ -1 +1 @@
|
|||
Subproject commit 017a39ed05d065bf28fd38f91bcde8a098300551
|
||||
Subproject commit 0784db7dd0fef6f0621ad8d74372f44e87fef950
|
||||
|
|
@ -17,4 +17,5 @@ BBLAYERS ?= " \
|
|||
${YOCTOROOT}/meta-openembedded/meta-networking \
|
||||
${YOCTOROOT}/meta-openembedded/meta-filesystems \
|
||||
${YOCTOROOT}/meta-updater \
|
||||
${YOCTOROOT}/meta-vcu3-bsp \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
DISTRO_VERSION = "1.2.4"
|
||||
DISTRO_VERSION = "1.5.2"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,5 @@ PREMIRRORS_prepend = "\
|
|||
https://.*/.* file://${YOCTOROOT}/sla-mirror/ \n"
|
||||
|
||||
require distro_version.inc
|
||||
require release_revisions.inc
|
||||
require public-mirrors.inc
|
||||
require proprietary-dev-tools.inc
|
||||
|
|
|
|||
|
|
@ -1,19 +1,12 @@
|
|||
# Changing internal SRC_URI to public
|
||||
|
||||
## Bootloaders
|
||||
UBOOT_TI_SRC = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;user=git;branch=2016.05/standard/am335x;protocol=ssh;"
|
||||
SRC_URI_pn-u-boot-am335x-nrhw16-v2 = "${UBOOT_TI_SRC}"
|
||||
SRC_URI_pn-u-boot-am335x-nrhw20-v1 = "${UBOOT_TI_SRC}"
|
||||
SRC_URI_pn-u-boot-am335x-nmhw21 = "${UBOOT_TI_SRC}"
|
||||
SRC_URI_pn-u-boot-am335x-nmhw24 = "${UBOOT_TI_SRC}"
|
||||
SRC_URI_pn-u-boot-am335x-hw25 = "${UBOOT_TI_SRC}"
|
||||
|
||||
SRC_URI_pn-u-boot-armada-385-nrhw18-v2 = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;user=git;branch=2017.11/standard/armada-385;protocol=ssh;"
|
||||
|
||||
SRC_URI_pn-u-boot-ti33x = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;user=git;branch=2016.05/standard/am335x;protocol=ssh;"
|
||||
SRC_URI_pn-u-boot-armada = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;user=git;branch=2017.11/standard/armada-385;protocol=ssh;"
|
||||
SRC_URI_pn-u-boot-imx8-nmhw23 = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;user=git;branch=2018.03/imx/imx8-nmhw23;protocol=ssh"
|
||||
|
||||
## Kernel
|
||||
KERNEL_SRC = "git://gitlab.com/netmodule/kernel/linux-netmodule.git;user=git;branch=4.19/standard/base;protocol=ssh"
|
||||
KERNEL_SRC = "git://gitlab.com/netmodule/kernel/linux-netmodule.git;user=git;branch=5.10/standard/base;protocol=ssh"
|
||||
SRC_URI_pn-linux-netmodule = "${KERNEL_SRC}"
|
||||
SRC_URI_pn-linux-netmodule-initramfs = "${KERNEL_SRC}"
|
||||
|
||||
|
|
@ -21,12 +14,10 @@ KERNEL_HW23_SRC = "git://gitlab.com/netmodule/kernel/linux-netmodule.git;user=gi
|
|||
SRC_URI_pn-linux-netmodule_imx8-nmhw23 = "${KERNEL_HW23_SRC}"
|
||||
SRC_URI_pn-linux-netmodule-initramfs_imx8-nmhw23 = "${KERNEL_HW23_SRC}"
|
||||
|
||||
# sys-mon
|
||||
SRC_URI_pn-scripts-nm = "git://gitlab.com/netmodule/tools/features.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-json2textlog = "git://gitlab.com/netmodule/tools/json2textlog.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-sys-mon = "git://gitlab.com/netmodule/tools/features.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-sys-mon-native = "git://gitlab.com/netmodule/tools/features.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-nativesdk-sys-mon = "git://gitlab.com/netmodule/tools/features.git;user=git;branch=develop;protocol=ssh"
|
||||
# tools
|
||||
SRC_URI_pn-sys-mon = "git://gitlab.com/netmodule/tools/sys-mon.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-sys-mon-native = "git://gitlab.com/netmodule/tools/sys-mon.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-nativesdk-sys-mon = "git://gitlab.com/netmodule/tools/sys-mon.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-libnmapp = "git://gitlab.com/netmodule/tools/libnmapp.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-libnmapp-native = "git://gitlab.com/netmodule/tools/libnmapp.git;user=git;branch=develop;protocol=ssh"
|
||||
SRC_URI_pn-nativesdk-libnmapp = "git://gitlab.com/netmodule/tools/libnmapp.git;user=git;branch=develop;protocol=ssh"
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ HW23="hw23 - VCU2"
|
|||
HW24="hw24 - NB800 facelift"
|
||||
HW25="hw25 - TC Router"
|
||||
HW26="hw26 - NG800"
|
||||
ProCV2X="ProCV2X - ZF ProCV2X"
|
||||
VCU3="ZF - VCU3"
|
||||
|
||||
set -a
|
||||
select opt in "$HW16" "$HW18" "$HW20" "$HW21" "$HW23" "$HW24" "$HW25" "$HW26" "$ProCV2X"
|
||||
select opt in "$HW16" "$HW18" "$HW20" "$HW21" "$HW23" "$HW24" "$HW25" "$HW26" "$VCU3"
|
||||
do
|
||||
case $opt in
|
||||
"$HW16")
|
||||
|
|
@ -52,8 +52,8 @@ do
|
|||
MACHINE=am335x-hw26
|
||||
break
|
||||
;;
|
||||
"$ProCV2X")
|
||||
MACHINE=s32g274a-procv22
|
||||
"$VCU3")
|
||||
MACHINE=s32g274a-vcu3
|
||||
break
|
||||
;;
|
||||
*) echo "invalid option $opt";;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 5e4566b521048c58b6b4ad5e8102ca2280447761
|
||||
Subproject commit 87cf99189df44ae290407cd40d2e8a76a8c1c14d
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 719b0a2fdeb6ca1ddb1eafc335368808f3339a67
|
||||
Subproject commit 6c6702a8cfa7832153439da5d159fe40533cacb7
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit ab04a2ac667067516f51ddbd3ac499986a606813
|
||||
Subproject commit afeb746c8e8d3b6daf5f05cdb1e692ea593db696
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit c1a50683225b0bf10f8d7a18280acefa7469ecc2
|
||||
Subproject commit 8ff12bfffcf0840d5518788a53d88d708ad3aae0
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 5d49b28570ed030924ed5d45fbced24d3cb6e588
|
||||
Subproject commit f2f5ca077baa1f08001cff9608ae59ed4dbeca3d
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 728aed98b3a83a4c72f7d0264b2437dc3dc74036
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2cc9e06807026b86038db88c2175c626feadc0be
|
||||
Subproject commit 8e81d38048c953d0823abf04d5b2506cd988f0bb
|
||||
Loading…
Reference in New Issue