Re: [PATCH] aspeed: Enable backend file for eeprom

2022-07-28 Thread Cédric Le Goater
On 7/28/22 09:20, John Wang wrote: Cédric Le Goater 于2022年7月28日周四 14:28写道: Hello John, On 7/28/22 08:12, John Wang wrote: tested on a fp5280g2: $QEMU_BIN -machine fp5280g2-bmc \ -nographic \ -drive file="${IMAGE_PATH}",format=raw,if=mtd \ -drive file="eeprom.bin",

Re: [PATCH] aspeed: Enable backend file for eeprom

2022-07-28 Thread John Wang
Cédric Le Goater 于2022年7月28日周四 14:28写道: > > Hello John, > > On 7/28/22 08:12, John Wang wrote: > > tested on a fp5280g2: > > > > $QEMU_BIN -machine fp5280g2-bmc \ > > -nographic \ > > -drive file="${IMAGE_PATH}",format=raw,if=mtd \ > > -drive file="eeprom.bin",format=raw,if

Re: [PATCH] aspeed: Enable backend file for eeprom

2022-07-27 Thread Cédric Le Goater
Hello John, On 7/28/22 08:12, John Wang wrote: tested on a fp5280g2: $QEMU_BIN -machine fp5280g2-bmc \ -nographic \ -drive file="${IMAGE_PATH}",format=raw,if=mtd \ -drive file="eeprom.bin",format=raw,if=pflash,index=1 \ ${NIC} root@fp5280g2:/sys/bus/i2c/

[PATCH] aspeed: Enable backend file for eeprom

2022-07-27 Thread John Wang
tested on a fp5280g2: $QEMU_BIN -machine fp5280g2-bmc \ -nographic \ -drive file="${IMAGE_PATH}",format=raw,if=mtd \ -drive file="eeprom.bin",format=raw,if=pflash,index=1 \ ${NIC} root@fp5280g2:/sys/bus/i2c/devices/1-0050# hexdump eeprom -C 00 00