blob: 03964ac04d9c2b90ab6143cda81dd707d421b5e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
device: 0.658
mistranslation: 0.592
semantic: 0.508
graphic: 0.482
other: 0.433
instruction: 0.426
network: 0.300
vnc: 0.260
socket: 0.181
boot: 0.126
assembly: 0.105
KVM: 0.048
hw/at24c : not support 1 byte-address with eeprom size less than 256 byte
Description of problem:
I created the new platform base on aspeed/fuji,
that uses the virtual eeprom (at24c), some eeprom used 24c02, which size 256 bytes.
but when using /hw/at24c.c, the result will not same the real device.
Steps to reproduce:
1. create a machine with EEPROM size less then or equal 256 bytes
2. start the qemu
3. use i2cget/i2cset/i2cdump to write and display eeprom data
Additional information:
I fixed and validated, refer
https://gitlab.com/ssinprem/qemu/-/tree/at24c-1-byte-address-mode
|