Re: [meta-freescale] u-boot can't read mtd flash partition writen by linux

2017-04-07 Thread Otavio Salvador
On Fri, Apr 7, 2017 at 10:30 AM, Jonathan Poulin  wrote:
> Hello,
>
> I answer to me for archive and help others.
>
> My problem is effectively related to ECC strength used. I try the
> configuration and the patch proposed by the following thread and it solve my
> problem.
>
> https://community.nxp.com/thread/443085

So please prepare a patch for the kernel :-)


-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] u-boot can't read mtd flash partition writen by linux

2017-04-07 Thread Jonathan Poulin
Hello,

I answer to me for archive and help others.

My problem is effectively related to ECC strength used. I try the
configuration and the patch proposed by the following thread and it solve
my problem.

https://community.nxp.com/thread/443085

thanks
Jonathan


2017-03-31 16:45 GMT-04:00 Jonathan Poulin :

> Hello,
>
> I built an image for a imx6-dual custom board using yocto krogoth with
> meta-fsl-arm. I used u-boot-fslc_2016.07 and linux-fslc-imx_4.1-1.0.x.
>
> I successfully burnt u-boot and the kernel to nand with mfgtool. But when
> I tried to boot it; u-boot got an error in accessing the kernel partition.
>
> 
> NAND read: device 0 offset 0x50, size 0x1e0
> NAND read from offset 50 failed -74
>  0 bytes read: ERROR
> -
>
> If I write the kernel from u-boot then I can boot the kernel correctly.
>
> I also tried to erase and write the kernel from the kernel with
> flash_ereae and nand_write. Then I couldn't reboot and got the same error.
>
> I suspect an incompatibility in the ECC encoding protocol used by kernel
> and u-boot.
>
> The NAND chip used is MT29F8G08ABABAWP.
>
>
> Do anyone have a solution or a clue about this ?
>
> thanks
> Jonathan
>
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale