Tool/software: Linux
Hi everyone,
I recently had issue regarding touch screen event, TI suggested me to use ftrace to look into this issue. By default, trace is not set in kernel, so I have to recompile the kernel with Kernel hacking ---> [*] Tracers ---> [*] Interrupts-off Latency Tracer [*] Preemption-off Latency Tracer. However, after enable these(and only enable these, nothing else), the following failed occurred.
[ OK ] Mounted Temporary Directory. [ 6.207053] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [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 Remount Root and Kernel File Systems.
However, I am able to login through minicom from my host, while the board stuck at "Please wait".
Here is what I did: (I load the sdk path of course)
1) Clean.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
2) Load default config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am57xx-evm_defconfig
3) Config in Menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
Only enable above items.
4) Compile zImage. (with 8 cores)
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j8
5) Compile dtb file
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am57xx-evm.dtb
6) Compile modules
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j8
7) install kernel
cd /ti-processor-sdk-linux-am57xx-evm-03.
02.00.05
/board-support/linux-4.4.32+gitAUTOINC+db0b54cdad-gdb0b54cdad
sudo cp arch/arm/boot/zImage /media/<username>/rootfs/boot
sudo cp arch/arm/boot/dts/am57xx-evm.dtb /media/<username>/rootfs/boot/
8) install modules
sudo make ARCH=arm INSTALL_MOD_PATH=/media/<username>/rootfs modules_install
9) insert the SD back to the board. boot.
Any suggestion is appreciated.
Peter