id = 1485 title = "hw/at24c : not support 1 byte-address with eeprom size less than 256 byte" state = "closed" created_at = "2023-02-10T07:04:15.680Z" closed_at = "2023-03-14T08:15:20.712Z" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/1485" host-os = "Ubuntu 20.04.5 LTS" host-arch = "ARM" qemu-version = "7.2.0" guest-os = "n/a" guest-arch = "n/a" description = """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.""" 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 = """I fixed and validated, refer https://gitlab.com/ssinprem/qemu/-/tree/at24c-1-byte-address-mode"""