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.
Tool/software: TI C/C++ Compiler
Hello,
I need to solve this issue which I have got at the moment on J6. It was successful that I boot linux kernel from SD card and it can mount root file system .
The issue I am facing is that unabashed to mount the root file system when the boot mode was emmc boot mode. And this work refer to this http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Automotive_Software_Developers_Guide#Using_eMMC_Boot .
I see this fragment in the log:
[ 2.304766] ALSA device list:
[ 2.307743] #0: DRA7xx-EVM
[ 2.310645] #1: HDMI 58040000.encoder
[ 2.314491] #2: DRA7xx-JAMR3
[ 2.318230] VFS: PARTUUID= is invalid.
[ 2.318230] Expected PARTUUID=<valid-uuid-id>[/PARTNROFF=%d]
[ 2.327708] Disabling rootwait; root= is invalid.
[ 2.332711] VFS: Cannot open root device "PARTUUID=" or unknown-block(0,0): error -6
[ 2.340532] Please append a correct "root=" boot option; here are the available partitions:
[ 2.348944] 1f00 256 mtdblock0 (driver?)
[ 2.354077] 1f01 1024 mtdblock1 (driver?)
[ 2.359188] 1f02 512 mtdblock2 (driver?)
[ 2.364382] 1f03 64 mtdblock3 (driver?)
[ 2.369465] 1f04 64 mtdblock4 (driver?)
[ 2.374566] 1f05 8192 mtdblock5 (driver?)
[ 2.379646] 1f06 22656 mtdblock6 (driver?)
[ 2.384742] b300 7602176 mmcblk0 driver: mmcblk
[ 2.390086] b301 65536 mmcblk0p1 5181ef41-01
[ 2.395444] b302 7527176 mmcblk0p2 5181ef41-02
[ 2.400800] b320 8192 mmcblk0boot1 (driver?)
[ 2.406142] b310 8192 mmcblk0boot0 (driver?)
[ 2.411492] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
But,if the SD card is plugged in the board ,the board can boot linux kernel from emmc and mount root file system.
Hi LeeDream,
can you try to modify the kernel command line in uenv.txt and set root=/dev/mmcblk0p2 for eMMC boot and see if it help?
Regards,
Yordan
Hi,
thank you for your help .
According to your method ,the problem has been solved.
Best Regards,