Kernel panic on flashing demo images to imx6sllevk board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kernel panic on flashing demo images to imx6sllevk board

1,273件の閲覧回数
sujay1
Contributor V

I'm using imx6sllevk board with 512 MB LPDDR2 DRAM I ran into this issue while flashing the images I built with yocto bsp.

I'm flashing to emmc 

this was the log at the end:

UTP: sending Success to kernel for command $ umount /mnt/mmcblk1p1.
utp_poll: pass returned.
UTP: received command '$ mkfs.ext3 -F -E nodiscard /dev/mmcblk1p2'
UTP: executing "mkfs.ext3 -F -E nodiscard /dev/mmcblk1p2"
mke2fs 1.43.5 (04-Aug-2017)
Creating filesystem with 813056 4k blocks and 203600 inodes
Filesystem UUID: 257828fc-50a1-4d98-8a05-97248e244a82
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

UTP: sending Non-success to kernel for command $ mkfs.ext3 -F -E nodiscard /dev/mmcblk1p2.
utp_poll: exit with status 11

I've gone through previous threads and they all seem to have modified the dts file, I implemented all the changes mentioned but I still run into this issue.

I've also tried flashing the demo images 

found here https://www.nxp.com/webapp/sps/download/preDownload.jsp. (L4.9.88_2.0.0_MX6SLL demo images).

but I still get kernel panic.

I've attached my complete flash log, mfg tool log (while using the images I built) and my dts file.

Does anyone have any idea why I'm getting stuck here?

[Note] I ran the ddr callibration and it succeded.

ラベル(2)
0 件の賞賛
返信
4 返答(返信)

1,040件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

nxp  "imx6sllevk board" uses 2GB lpddr3 memory according to

i.MX 6SLL Evaluation Kit | NXP 

so MX6SLL EVK demo images will not work.

For lpddr2 option it is necessary to use

imx6sll-lpddr2-arm2.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

and update uboot ddr coefficients running ddr test in

imximage_lpddr2.cfg\mx6sll_arm2\freescale\board - uboot-imx - i.MX U-Boot 

Adust memory size using #define PHYS_SDRAM_SIZE in

mx6sll_arm2.h\configs\include - uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,040件の閲覧回数
sujay1
Contributor V

Hi Igor,

I ran DDR Callibration test and it succeeded as you could see in the attached flash logs dram size is mentioned as 512 MB.

The other two modifications you made were also done but no change was noticed.. Is there anything else I can try? 

0 件の賞賛
返信

1,040件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

also it is necessary to update Mfg Tool firmware
image with new ddr calibration coefficients found from test
https://community.nxp.com/docs/DOC-105652
Update coefficients (example is for i.MX6Q Sabre SD board) in uboot/../mx6sabresd/mx6q_4x_mt41j128.cfg and
rebuild Mfg Tool firmware (files in  ../firmware folder, fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot).
For rebuilding use sect.6.2 Manufacturing Tool, MFGTool attached Yocto Guide.

Best regards
igor

0 件の賞賛
返信

1,040件の閲覧回数
sujay1
Contributor V

Hi Igor,

Tried that too.. still goes into kernel panic

Also I think I need to mention I used to use imx6slevk processor on my board before, I've just had the processor replaced to imx6sllevk and inserted the dram chip to my board, will that have any impact?

0 件の賞賛
返信