Part Number: MMWCAS-DSP-EVM
Other Parts Discussed in Thread: DRA742 , DRA752 , PMP

I am getting 2 errors when booting Linux with the Vision SDK.

[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.

[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.

Here is the output from the systemctl commands:

root@dra7xx-evm:~# systemctl status systemd-modules-load.service --no-pager
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-12-03 04:46:43 UTC; 3min 36s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 91 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 91 (code=exited, status=1/FAILURE)

Dec 03 04:46:43 dra7xx-evm systemd-modules-load[91]: Failed to find module 'cmemk'
Dec 03 04:46:43 dra7xx-evm systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Dec 03 04:46:43 dra7xx-evm systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Dec 03 04:46:43 dra7xx-evm systemd[1]: Failed to start Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

root@dra7xx-evm:~# systemctl status systemd-networkd.service --no-pager
● systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-12-03 04:46:56 UTC; 5min ago
Docs: man:systemd-networkd.service(8)
Process: 817 ExecStart=/sbin/ifup eth0 (code=exited, status=1/FAILURE)
Main PID: 817 (code=exited, status=1/FAILURE)

Dec 03 04:46:56 dra7xx-evm systemd[1]: systemd-networkd.service: Service has no hold-off time (RestartSec=0), schedu… restart.
Dec 03 04:46:56 dra7xx-evm systemd[1]: systemd-networkd.service: Scheduled restart job, restart counter is at 8.
Dec 03 04:46:56 dra7xx-evm systemd[1]: Stopped Network Service.
Dec 03 04:46:56 dra7xx-evm systemd[1]: systemd-networkd.service: Start request repeated too quickly.
Dec 03 04:46:56 dra7xx-evm systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
Dec 03 04:46:56 dra7xx-evm systemd[1]: Failed to start Network Service.
Hint: Some lines were ellipsized, use -l to show in full.

I changed the Eth0 static IP address following the instructions in the mmWave Studio Cascade User Guide section 11.1.

I built Linux following the instructions in Vision SDK (v03.08.00) Linux User Guide sections 2 & 3.

I set MAKECONFIG?=tda2xx_cascade_linux_radar in vision_sdk/build/Rules.make but I had to change fdtfile=dra7-cascaderadar-infoadas.dtb manually in the /vision_sdk/binaries/apps/tda2xx_cascade_linux_radar/hlos/linux/boot/uenv.txt file, for some reason it was trying to use dra7-infoadas.dtb which does not exist in the /boot directory.

I tried building with and without the patches applied from Vision SDK Linux Cascade Radar Data Acquisition Tool User Guide.

How can I fix these 2 failures?

Hi Thomas,

Can you please share complete dmesg og?

I have not tried this with cascade radar dtb but with infoadas.dtb, did not see the issue.

Thanks

RamPrasad

Hi Tom,

I see dra7-evm-infoadas.dts in arch/arm/boot/dts directory. Can you build this and check the behaviour?

Thanks

Hello Ramprasad,

This .dtb file was not able to boot. The kernel boot stopped after a message saying "[ 4.222083] Waiting for root device PARTUUID=75860135-02..."

I build the .dtb file with the following 2 commands:

1. cpp -nostdinc -I <your base installation path>/Processor-Sdk-Vision_03_08_00_00/ti_components/os_tools/linux/kernel/omap/include -undef -x assembler-with-cpp dra7-evm-infoadas.dts dra7-evm-infoadas.dts.preprocessed
2. dtc -O dtb -o dra7-evm-infoadas.dtb dra7-evm-infoadas.dts.preprocessed

Here is the boot messge:

Starting kernel ...

Here is the contents of my uenv.txt file in case it helps:

fdtfile=dra7-evm-infoadas.dtb
args_mmc=part uuid mmc 0:2 uuid; setenv bootargs "console=ttyO0,115200n8 vram=16M root=PARTUUID=${uuid} rw rootwait ip=none mem=1024M cma=64M"

I get the following warnings when running the dtc command to build the .dtb file:

dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /opp-table/opp_high@1500000000 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/l4@4a000000/scm@2000/scm_conf@0/clocks/sys_32k_ck has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/regulator-abb-mpu has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/regulator-abb-ivahd has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/regulator-abb-dspeve has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/regulator-abb-gpu has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/ethernet@48484000/slave@48480200 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/ethernet@48484000/slave@48480300 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/vdrm@0 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/vdrm@0/crtc@0 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/vpe has a reg or ranges property, but no unit name
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /ocp/vip@0x48970000/ports/port@0/endpoint@0 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /connector@1 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /encoder@1 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /encoder@1/ports/port@0/endpoint@0 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (unit_address_vs_reg): Node /encoder@1/ports/port@1/endpoint@0 has a unit name, but no reg property
dra7-evm-infoadas.dtb: Warning (pci_device_reg): Node /ocp/axi@0/pcie@51000000/interrupt-controller missing PCI reg property
dra7-evm-infoadas.dtb: Warning (pci_device_reg): Node /ocp/axi@1/pcie@51800000/interrupt-controller missing PCI reg property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4a000000/scm@2000/scm_conf@0/clocks missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4a000000/cm_core_aon@5000/clocks missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4a000000/cm_core_aon@5000/clockdomains missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4a000000/cm_core@8000/clocks missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4a000000/cm_core@8000/clockdomains missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4ae00000/prm@6000/clocks missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/l4@4ae00000/prm@6000/clockdomains missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/axi@0 simple-bus unit address format error, expected "51000000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/axi@1 simple-bus unit address format error, expected "51800000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/regulator-abb-mpu simple-bus unit address format error, expected "4ae07ddc"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/regulator-abb-ivahd simple-bus unit address format error, expected "4ae07e34"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/regulator-abb-dspeve simple-bus unit address format error, expected "4ae07e30"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/regulator-abb-gpu simple-bus unit address format error, expected "4ae07de4"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/sata@4a141100 simple-bus unit address format error, expected "4a140000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/target-module@4a0dd000 simple-bus unit address format error, expected "4a0dd038"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/target-module@4a0d9000 simple-bus unit address format error, expected "4a0d9038"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/vdrm@0 missing or empty reg/ranges property
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/sham@53100000 simple-bus unit address format error, expected "4b101000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/vpe simple-bus unit address format error, expected "489d0000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/vip@0x48970000 simple-bus unit address format error, expected "48970000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/vip@0x48990000 simple-bus unit address format error, expected "48990000"
dra7-evm-infoadas.dtb: Warning (simple_bus_reg): Node /ocp/vip@0x489b0000 simple-bus unit address format error, expected "489b0000"

Thanks,

Did you see the text in the original question?

"I set MAKECONFIG?=tda2xx_cascade_linux_radar in vision_sdk/build/Rules.make but I had to change fdtfile=dra7-cascaderadar-infoadas.dtb manually in the /vision_sdk/binaries/apps/tda2xx_cascade_linux_radar/hlos/linux/boot/uenv.txt file, for some reason it was trying to use dra7-infoadas.dtb which does not exist in the /boot directory."