Other Parts Discussed in Thread: AM3354
When booting the linux kernel on am3354 board, the console output the nothing except 'Starting kernel ...', I traced that the kernel do not return on invoking schedule() via calling machine_restart(), the full invoking route is:
start_kernel()-->rest_init()-->schedule_preempt_disabled()-->schedule().
I also found that the do_initcalls() only run two levels and the thread invoking the do_initcalls() not runing any more. the full thread route is :
start_kernel()-->rest_init()-->kernel_thread(kernel_init, NULL, CLONE_FS)-->kernel_init()-->kernel_init_freeable()-->do_basic_setup()-->do_initcalls().
the bootargs I'm using is:
set hzmmcargs "set bootargs console=ttyS0,115200n8 loglevel=8 earlyprintk initcall_debug root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rw;";
set hzmmccmd "run hzmmcargs;mmc dev 0;load mmc 0:2 ${loadaddr} /boot/zImage;load mmc 0:2 ${fdtaddr} /boot/am335x-evm.dtb;bootz ${loadaddr} - ${fdtaddr}";
set bootcmd "run hzmmccmd";
boot
the sdk version is:ti-processor-sdk-linux-am335x-evm-06.01.00.08
the linux version is:linux-4.19.59+gitAUTOINC+5f8c1c6121-g5f8c1c6121
I have no idea on this issue, could some one help me? thanks.