"Kernel Panic" in SSD boot on T1040RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Kernel Panic" in SSD boot on T1040RDB

749 Views
surendradhobale
Contributor III

Hello,

        I have T1040RDB board. I am trying to boot the kernel and FS using the SATA HDD. I have refereed QorIQ-SDK-1.7-IC-RevB.pdf for Harddisk Deployment procedure.

 

I kept SDK1.7 kernel and dtb image and minimal rtfs in the ext2 partition of the HDD.

I am able to detect the HDD in the uboot,

=> sata init
SATA0 (3 Gbps)
=> sata info

SATA device 0: Model: ST3160215AS Firm: 4.AAB Ser#:             6RAD6Q25
            Type: Hard Disk
            Capacity: 152626.8 MB = 149.0 GB (312579695 x 512

Now i have to boot the kernel image and mount FS to get root prompt.

 

Then set the boot arguments for the sata boot as,

>> setenv sataboot 'setenv bootargs root=/dev/sda1 rw  console=ttyS0,115200;sata init;ext2load sata 0:1 1000000 /boot/uImage;ext2load sata 0:1 c00000 /boot/uImage.dtb;bootm 1000000 - c00000'

>> run sataboot

Kernel image starts booting, but get kernel panic

ata1: Signature Update detected @ 504 msecs
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
1f00          131072 mtdblock0  (driver?)
1f01            1024 mtdblock1  (driver?)
1f02            1024 mtdblock2  (driver?)
1f03           10240 mtdblock3  (driver?)
1f04          512000 mtdblock4  (driver?)
1f05           65536 mtdblock5  (driver?)
b300         7761920 mmcblk0  driver: mmcblk
  b301         2097152 mmcblk0p1 0006fc8d-01
  b302         5663744 mmcblk0p2 0006fc8d-02
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 3 PID: 1 Comm: swapper/0 Not tainted 3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b #1

I have attached detailed log.Here SSD is SATA 2.0 ( 3.0Gbps) from seagate 160GB.

I have checked the configuration of kernel w.r.t SerialATA. It is set as per the manual.

 

Could you please provide me some pointers to resolve this issue and able to boot from Harddisk.

 

Thanks !!

 

 

Regards,

Surendra

Original Attachment has been moved to: KernelPanic.txt.zip

0 Kudos
1 Reply

432 Views
surendradhobale
Contributor III

I have changed the Harddisk drive. With another Hardisk drive, I am able to boot the kernel.

Thanks.

0 Kudos