* [U-Boot] How to read content of eeprom from uboot
@ 2012-08-28 4:37 Fierce
0 siblings, 0 replies; only message in thread
From: Fierce @ 2012-08-28 4:37 UTC (permalink / raw)
To: u-boot
Hi guys,
I have a beaglebone and would like to read the content of thee
eeprom from uboot.
i2c probe gives me the following:
U-Boot# i2c probe
Valid chip addresses: 00 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12
13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B
2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44
45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D
5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76
77 78 79 7A 7B 7C 7D 7E 7F
U-Boot# i2c dev
Current bus is 0
-Boot
# i2c read 0 0x24 4
i2c - I2C sub-system
Usage:
i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
i2c dev [dev] - show or set current I2C bus
i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device
i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)
i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)
i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)
i2c probe - show devices on the I2C bus
i2c read chip address[.0, .1, .2] length memaddress - read to memory
i2c reset - re-init the I2C Controller
i2c speed [speed] - show or set I2C bus speed
What is the right command to read from an address?
--
View this message in context: http://old.nabble.com/How-to-read-content-of-eeprom-from-uboot-tp34348207p34348207.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-28 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28 4:37 [U-Boot] How to read content of eeprom from uboot Fierce
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.