[PATCH qemu] arm: aspeed: Add palmetto and evb EEPROM I2C devices

Joel Stanley joel at jms.id.au
Mon Sep 18 22:49:32 AEST 2017


On Mon, Sep 18, 2017 at 5:29 PM, Cédric Le Goater <clg at kaod.org> wrote:
> On 09/18/2017 05:26 AM, Joel Stanley wrote:
>> On Fri, Sep 15, 2017 at 4:55 PM, Cédric Le Goater <clg at kaod.org> wrote:
>>> On 09/15/2017 08:18 AM, Joel Stanley wrote:
>>>> Signed-off-by: Joel Stanley <joel at jms.id.au>
>>>
>>> We could fill the eeprom_buf with some valid data if needed.
>>
>>
>>
>> That's a good idea.
>>
>> When I use this I see the following error:
>>
>> # pwd
>> /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c at 1e78a000/1e78a100.i2c-bus
>
> hmm, the address is I2C bus 3.
>
>> # hexdump -C i2c-0/0-0050/eeprom
>
> But you use bus 0 ? weird.

The devicetree I was using lacked aliases. I fixed this (so bus 3
shows up at i2c-0), and I get the same results.

Palmetto worked fine for me, so it's just the EVB produces this behaviour.

Cheers,

Joel


More information about the openbmc mailing list