IMX6Q Android 6 "Starting kernel" freeze

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6Q Android 6 "Starting kernel" freeze

1,666 次查看
leonardoprates
Contributor III

I have a custom board based on IMX6Q SabreSD. I have created the images using Android Users Guide. Uboot works well and calls kernel, but after "Starting kernel" it freezes.

For test purpose I have changed boot.img and recovery.img to prebuilt images. The uboot.imx and system.img (compiled by me) are untouched in SDCard and with this configuration kernel starts. This test excludes problems in uboot or env variables passed to the kernel.

I followed exactly the android user guide procedures, what can be wrong?

IIn kernel compile process address passed is LOADADDR=0x10008000, but when uboot calls I see addresses with 0x12000000 and 0x14000000. Why?

I have created boot.img and recovery.img using second step in documentation with:

make bootimage BUILD_TARGET_DEVICE=sd

make recoveryimage BUILD_TARGET_DEVICE=sd

How can I be sure that images created are really for SD? I think my problem could be related with these memory address or boot.img not correct for SD.

Thanks,

Leonardo

标签 (2)
0 项奖励
回复
3 回复数

1,389 次查看
leonardoprates
Contributor III

User's guide instructs to flash boot.img, but the correct (in my case) is boot-imx6q.img. Now I can boot android.

0 项奖励
回复

1,389 次查看
SergioSolis
NXP Employee
NXP Employee

Thank you for posting the solution Leonardo.

0 项奖励
回复

1,389 次查看
wimvanloocke
Contributor I

Hi,

I have the same issue.  Used the mfgtool to flash the sd card with the prebuilds i have downloaded,... Starting kernel freezes,..

If i do a warm boot, sometimes i goes further but crashes in paging,..

I have also build from the sources, i have same issue.

I have noticed that the system.img file in de prebuild is not the raw version, but when using the script to format SD card and copy the images on the SD card, sim2img is used to create raw image and to copy it on the SD card.

Kind regards,

Wim

0 项奖励
回复