P1022 nand boot issue

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

P1022 nand boot issue

跳至解决方案
1,689 次查看
hemwant
Contributor IV

We are having a customised board with P1022 processor, we are booting the uboot via spi flash.  kernel, dtb , fs are booted using nand flash.  We are facing issue in booting the linux from nand flash and kernel throws exception continuously. Nand flash is connected on local bus with P1022 processor.

Part number of nand flash Micron MT29F4G08ABADAWP.

 

The logs of the same is attached in the file.

0 项奖励
回复
1 解答
1,675 次查看
Pavel
NXP Employee
NXP Employee

Is there similar problem if SPI is used for booting the kernel, rootfs and .dtb file? There is message in your log that there are bad blocks in your NAND. Test NAND Flash writing/reading under u-boot.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,676 次查看
Pavel
NXP Employee
NXP Employee

Is there similar problem if SPI is used for booting the kernel, rootfs and .dtb file? There is message in your log that there are bad blocks in your NAND. Test NAND Flash writing/reading under u-boot.

0 项奖励
回复
1,625 次查看
hemwant
Contributor IV

There seems to be an issue with nand flash as i was able to boot the processor using spi with same kernel , dtb and fs.

0 项奖励
回复
1,660 次查看
Pavel
NXP Employee
NXP Employee

It looks like that there is access to unknown device. Check your setting and .dts file.

0 项奖励
回复
1,667 次查看
hemwant
Contributor IV

@PavelWe will work on the two solution provided by you.

 

Meanwhile line number 264 in the attached logs

talitos ffe30000.crypto: failed to register hwrng: -19

 

This error seems to be only difference between working kernel in some other board and this board. Can you throw some light regarding this error?

0 项奖励
回复
1,659 次查看
Pavel
NXP Employee
NXP Employee

It looks like that there is access to unknown device. Check your setting and .dts file.

0 项奖励
回复