Re: Issue with 'ubi part' ubi_io_read: error -74 (ECC error)

2020-05-22 Thread Jupiter
Hi Heiko, Thanks for your response. On 5/22/20, Heiko Schocher wrote: >> Are there any ways or tools in Linux to change MTD settings (most >> likely the ECC or DTB) to the same setting in u-boot? I do have mtd >> and fw_setenv in Linux. > > No for U-Boot (as I am aware of). You need to fix the

Re: Issue with 'ubi part' ubi_io_read: error -74 (ECC error)

2020-05-21 Thread Heiko Schocher
Hello Jupiter, Am 19.05.2020 um 14:06 schrieb Jupiter: Thanks Richard for the response. On 5/19/20, Richard Weinberger wrote: Neither UBI nor UBIFS care about ECC. The MTD stack does. If you write something in Linux you cannot read back in u-boot a common problem is that u-boot and Linux use

Re: Issue with 'ubi part' ubi_io_read: error -74 (ECC error)

2020-05-19 Thread Jupiter
Thanks Richard for the response. On 5/19/20, Richard Weinberger wrote: > Neither UBI nor UBIFS care about ECC. The MTD stack does. > If you write something in Linux you cannot read back in u-boot a common > problem is that u-boot and Linux use different MTD settings (layout, > ECC, etc...).

Re: Issue with 'ubi part' ubi_io_read: error -74 (ECC error)

2020-05-19 Thread Richard Weinberger
On Sun, May 17, 2020 at 1:28 PM Jupiter wrote: > > Sorry for a bit recalcitrant with the issue of calling 'ubi part" > error -74 -EBADMSG, is it MTD issue or u-boot issue? > > I used Linux kernel 4.19 to flash UBIFS volume images ubi.img to > imx6ull NAND using following command in Linux: > >

Issue with 'ubi part' ubi_io_read: error -74 (ECC error)

2020-05-17 Thread Jupiter
Sorry for a bit recalcitrant with the issue of calling 'ubi part" error -74 -EBADMSG, is it MTD issue or u-boot issue? I used Linux kernel 4.19 to flash UBIFS volume images ubi.img to imx6ull NAND using following command in Linux: flash_erase /dev/mtd2 0 0 ubiformat /dev/mtd2 -f ubi.img The