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?
Solved! Go to Solution.
Hi,
you need to change a U-boot enviroment variable value from mmcblk0p2 to mmcblk2p2.
Regards,
Jan
Hi,
you need to change a U-boot enviroment variable value from mmcblk0p2 to mmcblk2p2.
Regards,
Jan
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.