Issue booting Imx6 with 3.16 kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue booting Imx6 with 3.16 kernel

Jump to solution
834 Views
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?

Labels (3)
Tags (3)
0 Kudos
Reply
1 Solution
652 Views
jan_spurek
NXP Employee
NXP Employee

Hi,

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

Regards,

Jan

View solution in original post

0 Kudos
Reply
2 Replies
653 Views
jan_spurek
NXP Employee
NXP Employee

Hi,

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

Regards,

Jan

0 Kudos
Reply
652 Views
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 Kudos
Reply