Issue booting Imx6 with 3.16 kernel

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

Issue booting Imx6 with 3.16 kernel

跳至解决方案
1,280 次查看
prathamrahate
Contributor III

I am working on imx6-sabresd board. I am trying to port linux kernel 3.16( from kernel.org) to board. I have used the link https://community.nxp.com/docs/DOC-330147 to set up u-boot, kernel and rootfs. I am able to boot board with u-boot.

But when it is starting kernel, it is trying to load rootfs from mmcblk0p2 instead of mmcblk2p2 which is my sdcard having rootfs.  I tried with kernel 3.14 from above page it is able to boot with no issues. Any guess why it is happening ? Is there something that needs to be done in kernel source code?

标签 (3)
标记 (3)
0 项奖励
回复
1 解答
1,098 次查看
jan_spurek
NXP Employee
NXP Employee

Hi,

you need to change a U-boot enviroment variable value from mmcblk0p2 to mmcblk2p2.

Regards,

Jan

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,099 次查看
jan_spurek
NXP Employee
NXP Employee

Hi,

you need to change a U-boot enviroment variable value from mmcblk0p2 to mmcblk2p2.

Regards,

Jan

0 项奖励
回复
1,098 次查看
prathamrahate
Contributor III

Hi, Jan

thanks for reply. In u-boot, there is environment variable mmcdev, it default set to 1, If i change it to 2 then try to boot, it is working fine, no issues. But my question is why it is happening with 3.16 kernel only??

With 3.14 kernel i dont need to change mmcdev, it boots properly.

0 项奖励
回复