remove model from boot (change MPC8313e revision)

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

remove model from boot (change MPC8313e revision)

跳至解决方案
1,407 次查看
medina
Contributor III

Some time ago we developed a system based on MPC8313erdb REVA4 (MPC8313E rev1.0) and MPC8313E_RDB_K26_20070831-LTIB.

Then we assembled a second batch of systems and by mistake mounted the MPC8313 rev2.1, and upon a power up sequence the bootloader gets stucked saying "CPU: rev unknown". We have reviewed the AN3545 and decided to update the ltib. This is a hard work becouse we made some changes in it.

 

We adapted u-boot and it worked fine. We disabled some driver in kernel but it hang on boot, it stops after the usb module loads. We don't have USB so we have disabled in the kernel but it still boots.

 

We think the USB module stop the boot,if this is right how can we remove this module from the kernel/initramfs?

 

Thanks in advance.
Best Regards.

0 项奖励
回复
1 解答
1,078 次查看
medina
Contributor III

We have found a solution. We have modifed the dts file from the older ltib. Now we are testing it but we see one problem:

The new uboot modifed is compatible with two revision. The kernel and rootfs don't change. We have two diferent dtb files, one per revision.

Can we do a dts/dtb compatible with two revisions?

How can we read the different revision and load the different dtb file depending of the revision read?

 

Thanks in advance.

Best regard

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,079 次查看
medina
Contributor III

We have found a solution. We have modifed the dts file from the older ltib. Now we are testing it but we see one problem:

The new uboot modifed is compatible with two revision. The kernel and rootfs don't change. We have two diferent dtb files, one per revision.

Can we do a dts/dtb compatible with two revisions?

How can we read the different revision and load the different dtb file depending of the revision read?

 

Thanks in advance.

Best regard

0 项奖励
回复