Issue booting Imx6 with 3.16 kernel

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

Issue booting Imx6 with 3.16 kernel

ソリューションへジャンプ
1,272件の閲覧回数
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,090件の閲覧回数
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,091件の閲覧回数
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,090件の閲覧回数
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 件の賞賛
返信