This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm terence who is now building early boot with vision SDK 03 05 in TDA2PXEVM board.When I patched the directory of "linux-kernel-addon/ earlyboot-kernel-patches/* " for omap, just refer to VisionSDK_Linux_UserGuide.pdf, system is booting but stop in "Started D-Bus System Message Bus." every time. Could you help me have a look.The following is the boot log.
Thank you very much
Terence Xia from China
=============================================================================
mount: unknown filesystem type 'dev'
Welcome to Arago 2016.12!
[ SKIP ] Ordering cycle found, skipping alignment.service
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Created slice User and Session Slice.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Reached target Swap.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting Temporary Directory...
Starting Setup Virtual Console...
Mounting Debug File System...
Starting Create list of required st... nodes for the current kernel...
[ OK ] Reached target Slices.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
Mounting POSIX Message Queue File System...
Starting Load Kernel Modules...
Starting Remount Root and Kernel File Systems...
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
Starting Journal Service...
[ OK ] Reached target Remote File Systems.
[ OK ] Created slice system-getty.slice.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Mounted Temporary Directory.
[ OK ] Started Journal Service.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
Starting Load/Save Random Seed...
Starting udev Coldplug all Devices...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /media/ram...
[ OK ] Mounted /media/ram.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Found device /dev/ttyS9.
[ OK ] Started Network Time Synchronization.
Starting Synchronize System and HW clocks...
[ OK ] Reached target System Time Synchronized.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting rc.pvr.service...
[ OK ] Started Kernel Logging Service.
Starting Permit User Sessions...
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
Hi Terence,
The error is because the kernel isn't able to load the kernel modules. The below line from your logs indicates this.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
This is because the contents of the /lib/modules aren't updated. I would recommend re-flashing the file-system and running the steps.
1. Apply the early-boot kernel patches
2. In vision-SDK run the below commands:
a) make clean
b) make dep
c) make linux
d) make linux_install
e) make vision_sdk
3. After this you can will find the updated file-system in binaries/apps/tda2px_evm_linux_all/hlos/ (tar.gz file) folder. Untar this to get the file-system
4. Now run the early-boot scripts passing as arguments the media containing the file-system.
Regards
Shravan
Hi Shravan,
We try it on a new SD card. The system stopped at "[ **] (1 of 3) A start job is running for dev-ttyO0.device (23s / 1min 30s) [ TIME ] Timed out waiting for device dev-ttyS0.device. ", and then turned off/on power to reset , the system run and stopped at "[ OK ] Started D-Bus System Message Bus", just like before. The following is the log.
Thank you very much
Terence Xia
===========================boot log====================================
mount: mount point /sys does not exist
mount: mount point /dev does not exist
mount: mount point /proc does not exist
mount: mount point /var/volatile does not exist
mkdir: can't create directory '/var/volatile/tmp': No such file or directory
System time before build time, advancing clock.
Welcome to Arago 2016.12!
[ SKIP ] Ordering cycle found, skipping alignment.service
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Swap.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice System Slice.
Starting Setup Virtual Console...
[ OK ] Created slice system-getty.slice.
Starting Remount Root and Kernel File Systems...
Mounting Debug File System...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Network Service Netlink Socket.
Mounting POSIX Message Queue File System...
Starting Journal Service...
Starting Create list of required st... nodes for the current kernel...
Starting Load Kernel Modules...
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
Mounting Temporary Directory...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Temporary Directory.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
Starting Rebuild Hardware Database...
Starting Rebuild Dynamic Linker Cache...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /media/ram...
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
[ OK ] Mounted /media/ram.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Rebuild Journal Catalog...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Opkg first boot configure...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Network Time Synchronization.
[ OK ] Started Rebuild Journal Catalog.
Starting Synchronize System and HW clocks...
[ OK ] Reached target System Time Synchronized.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Rebuild Hardware Database.
Starting udev Coldplug all Devices...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Opkg first boot configure.
[ OK ] Started Rebuild Dynamic Linker Cache.
Starting Update is Completed...
[ OK ] Started Update is Completed.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
Starting Login Service...
[ OK ] Started Kernel Logging Service.
Starting rc.pvr.service...
Starting Network Service...
Starting Permit User Sessions...
[ OK ] Started Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Login Service.
[ OK ] Started Network Service.
[ OK ] Reached target Network.
Starting Network Name Resolution...
[ OK ] Started Network Name Resolution.
[ OK ] Started rc.pvr.service.
Starting weston.service...
[ OK ] Started weston.service.
Starting telnetd.service...
Starting tiipclad-daemon.service...
[ OK ] Started telnetd.service.
[ OK ] Started tiipclad-daemon.service.
Starting ecarxinit.service...
[ OK ] Started ecarxinit.service.
[ **] (1 of 3) A start job is running for dev-ttyO0.device (23s / 1min 30s)
[ TIME ] Timed out waiting for device dev-ttyS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyS0.
[ TIME ] Timed out waiting for device dev-ttyO0.device.
[DEPEND] Dependency failed for Serial Getty on ttyO0.
[ TIME ] Timed out waiting for device dev-ttyS9.device.
[DEPEND] Dependency failed for Serial Getty on ttyS9.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Welcome to Arago 2016.12!
[ SKIP ] Ordering cycle found, skipping alignment.service
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Swap.
[ OK ] Created slice User and Session Slice.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on Journal Socket.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting Temporary Directory...
[ OK ] Reached target Slices.
Starting Remount Root and Kernel File Systems...
Mounting Debug File System...
Starting Load Kernel Modules...
Starting Setup Virtual Console...
Starting Create list of required st... nodes for the current kernel...
Mounting POSIX Message Queue File System...
[ OK ] Created slice system-getty.slice.
Starting Journal Service...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Temporary Directory.
[ OK ] Started Remount Root and Kernel File Systems.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Journal Service.
Starting Create Static Device Nodes in /dev...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /media/ram...
[ OK ] Mounted /media/ram.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Network Time Synchronization.
[ OK ] Found device /dev/ttyS0.
Starting Synchronize System and HW clocks...
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
Starting rc.pvr.service...
Starting Permit User Sessions...
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.