I tried to write the zero bytes to the imx6 patt eeprom using the command dd if=/dev/zero of=/sys/bus/nvmem/devices/spi4.40/nvmem in the initramfs using mfg tool the driver CONFIG_EEPROM_AT25 =y enabled and the nvmem file also present in the expected path when i try to write using mfgtool or if i execute directly in iniramfs command line it is throwing the below error :-
sh-3.2# dd if=/dev/zero of=/sys/bus/nvmem/devices/spi4.40/nvmem
at25 spi4.4: write 128 bytes offset 0, timeout after 2004 msecs
dd: writing to '/sys/bus/nvmem/devices/spi4.40/nvmem': Connection timed out
1+0 records in
0+0 records out
0 bytes copied, 2.01249 s, 0.0 kB/s
not writing throwing the connection timed out error .