P1022 nand boot issue

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

P1022 nand boot issue

Jump to solution
1,455 Views
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 Kudos
1 Solution
1,441 Views
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.

View solution in original post

0 Kudos
5 Replies
1,442 Views
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 Kudos
1,391 Views
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 Kudos
1,426 Views
Pavel
NXP Employee
NXP Employee

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

0 Kudos
1,433 Views
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 Kudos
1,425 Views
Pavel
NXP Employee
NXP Employee

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

0 Kudos