It is required kvm-qemu to be available on a linux OS running on the T1040 RDB. So a fsl-image-virt image was created following SDK Technical Documentation. We deploy the image using the following commands:
=>tftp 1000000 < uImage_name>
=>tftp 2000000 fsl-image-core-<platform>.ext2.gz.u-boot
=>tftp c00000 <platform_dtb_name>
=>bootm 1000000 2000000 c00000
And we get the following errors:
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 284K (c0871000 - c08b8000)
EXT2-fs (ram0): error: ext2_check_page: bad entry in directory #3889: : rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
EXT2-fs (ram0): error: ext2_check_page: bad entry in directory #3734: : rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b #1
Call Trace:
[e7083e80] [c0006f50] show_stack+0x40/0x150 (unreliable)
[e7083ec0] [c06a186c] dump_stack+0x78/0xa0
[e7083ed0] [c069fbac] panic+0xd8/0x1fc
[e7083f20] [c000295c] kernel_init+0x16c/0x170
[e7083f40] [c000fe0c] ret_from_kernel_thread+0x5c/0x64
Rebooting in 180 seconds..
How can we solve this?
Thanks in advance.