Hi @YuriMuhin,
Thank you for quick reply. I try to type this command with small modify to compatible with my device. When boot device i stop at autoboot and type command:
$ mtdparts=21e0000.qspi:1m(uboot),14m(kernel),1m(dtb),-(user)
It's show no error:
U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:36:22 -0500)
CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 33C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
Net: FEC1
Normal Boot
Hit any key to stop autoboot: 0
=> mtdparts=21e0000.qspi:1m(uboot),14m(kernel),1m(dtb),-(user)
=> saveenv
Saving Environment to SPI Flash...
SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Erasing SPI flash...Writing to SPI flash...done
But when I check with:
$ cat /proc/mtd
I get:
root@imx6ulevk:~# cat /proc/mtd
dev: size erasesize name
mtd0: 02000000 00010000 "21e0000.qspi"
I seem no effect or I did wrong way ?
Thank you so much,
Toan