writing to eeprom in imx6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

writing to eeprom in imx6q

815 次查看
ajayvk1
Contributor I

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 .

标签 (1)
0 项奖励
回复
2 回复数

797 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @ajayvk1 

 

The procedure seems ok, are you using a custom board, right?

Also you can verify that the driver for the EEPROM is properly initialized.

 

Best regards,

--... ...--

Salas.

0 项奖励
回复

814 次查看
ajayvk1
Contributor I

do i need to enable any configuration to write in initramfs it is working with normal os boot in mfgtool initramfs booting time im not able to write please help me to solve the issue 

0 项奖励
回复