Message ID | 20220401083850.15266-1-jamin_lin@aspeedtech.com (mailing list archive) |
---|---|
Headers | show |
Series | Add support for AST1030 SoC | expand |
Hello Jamin, Thanks for these new models and machine. They are queued for QEMU 7.1. There are a couple of patchsets adding support for the AST1030 GPIO controller and the I2C new mode that would be good extensions but they need review first. What are the next steps? any plans for network ? The NIC should be a FTGMAC100 if I am correct. Thanks, C. On 4/1/22 10:38, Jamin Lin wrote: > Changes from v5: > - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > - remove ast1030_machine_instance_init function > > Changes from v4: > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v3: > - remove AspeedMiniBmcMachineState state structure and > AspeedMiniBmcMachineClass class > - remove redundant new line in hw/arm/aspeed_ast10xx.c > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v2: > - replace aspeed_ast1030.c with aspeed_ast10xx.c for minibmc SOCs family support > - Add "ast1030-evb" machine in aspeed.c and removes aspeed_minibmc.c > > Changes from v1: > The patch series supports ADC, SCU, SMC, TIMER, and WDT for AST1030 SoC. > Add avocado test case for "ast1030-evb" machine. > > Test steps: > 1. Download image from > https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/ast1030-evb-demo.zip > 2. Extract the zip file to obtain zephyr.elf > 3. Run ./qemu-system-arm -M ast1030-evb -kernel $PATH/zephyr.elf -nographic > 4. Test IO by Zephyr command line, commands are refer to Aspeed Zephyr > SDK User Guide below > https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/Aspeed_Zephy_SDK_User_Guide_v00.01.04.pdf > - ADC(channel 0): > uart:~$ adc ADC0 resolution 10 > uart:~$ adc ADC0 calibrate 1 > uart:~$ adc ADC0 read_format 1 > uart:~$ adc ADC0 read 0 > [Result] > read: 1416mv > > - SCU > uart:~$ md 7e6e2040 > uart:~$ md 7e6e2080 > uart:~$ md 7e6e20d0 > uart:~$ md 7e6e2200 > uart:~$ md 7e6e2300 > uart:~$ md 7e6e25b0 > [Result] > The register value should match the value of ast1030_a1_resets > in aspeed_scu.c > > - Flash(fmc_cs0): > uart:~$ flash write fmc_cs0 0 0x12345678 0x87654321 0x34127856 0x78563412 > uart:~$ flash read fmc_cs0 0 10 > [Result] > 00000000: 78 56 34 12 21 43 65 87 56 78 12 34 12 34 56 78 |xV4.!Ce. Vx.4.4Vx| > > uart:~$ flash erase fmc_cs0 0 > uart:~$ flash read fmc_cs0 0 10 > [Result] > 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |........ ........| > > - Timer(TIMER0): > uart:~$ timer start TIMER0 -p 2000 -t 0 > TIMER0: period 20000 ms, type 0 > [Result] > timer expired after 2 seconds > > - Watchdog(WDT1): > uart:~$ mw 7e785008 4755 > uart:~$ mw 7e78500c 1 > [Result] > soc reset after 22 seconds > > Based-on: 20220315075753.8591-3-steven_lee@aspeedtech.com > ([v2,2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute) > > Jamin Lin (2): > aspeed: Add an AST1030 eval board > test/avocado/machine_aspeed.py: Add ast1030 test case > > Steven Lee (7): > aspeed/adc: Add AST1030 support > aspeed/smc: Add AST1030 support > aspeed/wdt: Fix ast2500/ast2600 default reload value > aspeed/wdt: Add AST1030 support > aspeed/timer: Add AST1030 support > aspeed/scu: Add AST1030 support > aspeed/soc : Add AST1030 support > > hw/adc/aspeed_adc.c | 16 ++ > hw/arm/aspeed.c | 66 +++++++ > hw/arm/aspeed_ast10xx.c | 299 +++++++++++++++++++++++++++++++ > hw/arm/meson.build | 6 +- > hw/misc/aspeed_scu.c | 63 +++++++ > hw/ssi/aspeed_smc.c | 157 ++++++++++++++++ > hw/timer/aspeed_timer.c | 17 ++ > hw/watchdog/wdt_aspeed.c | 34 +++- > include/hw/adc/aspeed_adc.h | 1 + > include/hw/arm/aspeed_soc.h | 3 + > include/hw/misc/aspeed_scu.h | 25 +++ > include/hw/timer/aspeed_timer.h | 1 + > include/hw/watchdog/wdt_aspeed.h | 3 + > tests/avocado/machine_aspeed.py | 36 ++++ > 14 files changed, 724 insertions(+), 3 deletions(-) > create mode 100644 hw/arm/aspeed_ast10xx.c > create mode 100644 tests/avocado/machine_aspeed.py >
Hi Cedric, Joel and Andrew First all, thanks for all your kindly support and review. We are so glad that QEMU v7.1 will support AST1030 model. 1. The ast1030 and ast2600 HACE controller are identical. Steven submitted the patch to support HACE ACC mode. Once his patch accept. We will submit patch to support ast1030 model. 2. I submitted the patch to support GOIO index mode because ast1030 driver was implement by index mode. I am waiting for review and any suggestion will be appreciated. 3. Troy submitted the patch to support I2C new model which included ast1030 model. 4. As for NIC plan, once AST1030 NIC driver ready, we will upstream, too. BTW, do you have a plan to upstream it, https://github.com/openbmc/qemu/blob/master/hw/misc/aspeed_pwm.c Thanks again - Jamin ************* Email Confidentiality Notice ******************** DISCLAIMER: This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. -----Original Message----- From: Cédric Le Goater <clg@kaod.org> Sent: Friday, April 1, 2022 4:55 PM To: Jamin Lin <jamin_lin@aspeedtech.com>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org> Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> Subject: Re: [PATCH v5 0/9] Add support for AST1030 SoC Hello Jamin, Thanks for these new models and machine. They are queued for QEMU 7.1. There are a couple of patchsets adding support for the AST1030 GPIO controller and the I2C new mode that would be good extensions but they need review first. What are the next steps? any plans for network ? The NIC should be a FTGMAC100 if I am correct. Thanks, C. On 4/1/22 10:38, Jamin Lin wrote: > Changes from v5: > - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > - remove ast1030_machine_instance_init function > > Changes from v4: > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v3: > - remove AspeedMiniBmcMachineState state structure and > AspeedMiniBmcMachineClass class > - remove redundant new line in hw/arm/aspeed_ast10xx.c > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v2: > - replace aspeed_ast1030.c with aspeed_ast10xx.c for minibmc SOCs > family support > - Add "ast1030-evb" machine in aspeed.c and removes aspeed_minibmc.c > > Changes from v1: > The patch series supports ADC, SCU, SMC, TIMER, and WDT for AST1030 SoC. > Add avocado test case for "ast1030-evb" machine. > > Test steps: > 1. Download image from > > https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/a > st1030-evb-demo.zip 2. Extract the zip file to obtain zephyr.elf 3. > Run ./qemu-system-arm -M ast1030-evb -kernel $PATH/zephyr.elf > -nographic 4. Test IO by Zephyr command line, commands are refer to Aspeed Zephyr > SDK User Guide below > https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/Aspeed_Zephy_SDK_User_Guide_v00.01.04.pdf > - ADC(channel 0): > uart:~$ adc ADC0 resolution 10 > uart:~$ adc ADC0 calibrate 1 > uart:~$ adc ADC0 read_format 1 > uart:~$ adc ADC0 read 0 > [Result] > read: 1416mv > > - SCU > uart:~$ md 7e6e2040 > uart:~$ md 7e6e2080 > uart:~$ md 7e6e20d0 > uart:~$ md 7e6e2200 > uart:~$ md 7e6e2300 > uart:~$ md 7e6e25b0 > [Result] > The register value should match the value of ast1030_a1_resets > in aspeed_scu.c > > - Flash(fmc_cs0): > uart:~$ flash write fmc_cs0 0 0x12345678 0x87654321 0x34127856 0x78563412 > uart:~$ flash read fmc_cs0 0 10 > [Result] > 00000000: 78 56 34 12 21 43 65 87 56 78 12 34 12 34 56 78 > |xV4.!Ce. Vx.4.4Vx| > > uart:~$ flash erase fmc_cs0 0 > uart:~$ flash read fmc_cs0 0 10 > [Result] > 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > |........ ........| > > - Timer(TIMER0): > uart:~$ timer start TIMER0 -p 2000 -t 0 > TIMER0: period 20000 ms, type 0 > [Result] > timer expired after 2 seconds > > - Watchdog(WDT1): > uart:~$ mw 7e785008 4755 > uart:~$ mw 7e78500c 1 > [Result] > soc reset after 22 seconds > > Based-on: 20220315075753.8591-3-steven_lee@aspeedtech.com > ([v2,2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute) > > Jamin Lin (2): > aspeed: Add an AST1030 eval board > test/avocado/machine_aspeed.py: Add ast1030 test case > > Steven Lee (7): > aspeed/adc: Add AST1030 support > aspeed/smc: Add AST1030 support > aspeed/wdt: Fix ast2500/ast2600 default reload value > aspeed/wdt: Add AST1030 support > aspeed/timer: Add AST1030 support > aspeed/scu: Add AST1030 support > aspeed/soc : Add AST1030 support > > hw/adc/aspeed_adc.c | 16 ++ > hw/arm/aspeed.c | 66 +++++++ > hw/arm/aspeed_ast10xx.c | 299 +++++++++++++++++++++++++++++++ > hw/arm/meson.build | 6 +- > hw/misc/aspeed_scu.c | 63 +++++++ > hw/ssi/aspeed_smc.c | 157 ++++++++++++++++ > hw/timer/aspeed_timer.c | 17 ++ > hw/watchdog/wdt_aspeed.c | 34 +++- > include/hw/adc/aspeed_adc.h | 1 + > include/hw/arm/aspeed_soc.h | 3 + > include/hw/misc/aspeed_scu.h | 25 +++ > include/hw/timer/aspeed_timer.h | 1 + > include/hw/watchdog/wdt_aspeed.h | 3 + > tests/avocado/machine_aspeed.py | 36 ++++ > 14 files changed, 724 insertions(+), 3 deletions(-) > create mode 100644 hw/arm/aspeed_ast10xx.c > create mode 100644 tests/avocado/machine_aspeed.py >
Hi Cedric, One more question, what is the progress about SFDP patch, https://patchwork.kernel.org/project/qemu-devel/list/?series=342081&archive=both We need these patches for future SPI support. Thanks-Jamin ************* Email Confidentiality Notice ******************** DISCLAIMER: This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. -----Original Message----- From: Jamin Lin <jamin_lin@aspeedtech.com> Sent: Friday, April 1, 2022 5:24 PM To: Cédric Le Goater <clg@kaod.org>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org>; Jamin Lin <jamin_lin@aspeedtech.com> Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> Subject: RE: [PATCH v5 0/9] Add support for AST1030 SoC Hi Cedric, Joel and Andrew First all, thanks for all your kindly support and review. We are so glad that QEMU v7.1 will support AST1030 model. 1. The ast1030 and ast2600 HACE controller are identical. Steven submitted the patch to support HACE ACC mode. Once his patch accept. We will submit patch to support ast1030 model. 2. I submitted the patch to support GOIO index mode because ast1030 driver was implement by index mode. I am waiting for review and any suggestion will be appreciated. 3. Troy submitted the patch to support I2C new model which included ast1030 model. 4. As for NIC plan, once AST1030 NIC driver ready, we will upstream, too. BTW, do you have a plan to upstream it, https://github.com/openbmc/qemu/blob/master/hw/misc/aspeed_pwm.c Thanks again - Jamin ************* Email Confidentiality Notice ******************** DISCLAIMER: This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. -----Original Message----- From: Cédric Le Goater <clg@kaod.org> Sent: Friday, April 1, 2022 4:55 PM To: Jamin Lin <jamin_lin@aspeedtech.com>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org> Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> Subject: Re: [PATCH v5 0/9] Add support for AST1030 SoC Hello Jamin, Thanks for these new models and machine. They are queued for QEMU 7.1. There are a couple of patchsets adding support for the AST1030 GPIO controller and the I2C new mode that would be good extensions but they need review first. What are the next steps? any plans for network ? The NIC should be a FTGMAC100 if I am correct. Thanks, C. On 4/1/22 10:38, Jamin Lin wrote: > Changes from v5: > - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > - remove ast1030_machine_instance_init function > > Changes from v4: > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v3: > - remove AspeedMiniBmcMachineState state structure and > AspeedMiniBmcMachineClass class > - remove redundant new line in hw/arm/aspeed_ast10xx.c > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v2: > - replace aspeed_ast1030.c with aspeed_ast10xx.c for minibmc SOCs > family support > - Add "ast1030-evb" machine in aspeed.c and removes aspeed_minibmc.c > > Changes from v1: > The patch series supports ADC, SCU, SMC, TIMER, and WDT for AST1030 SoC. > Add avocado test case for "ast1030-evb" machine. > > Test steps: > 1. Download image from > > https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/a > st1030-evb-demo.zip 2. Extract the zip file to obtain zephyr.elf 3. > Run ./qemu-system-arm -M ast1030-evb -kernel $PATH/zephyr.elf > -nographic 4. Test IO by Zephyr command line, commands are refer to Aspeed Zephyr > SDK User Guide below > https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/Aspeed_Zephy_SDK_User_Guide_v00.01.04.pdf > - ADC(channel 0): > uart:~$ adc ADC0 resolution 10 > uart:~$ adc ADC0 calibrate 1 > uart:~$ adc ADC0 read_format 1 > uart:~$ adc ADC0 read 0 > [Result] > read: 1416mv > > - SCU > uart:~$ md 7e6e2040 > uart:~$ md 7e6e2080 > uart:~$ md 7e6e20d0 > uart:~$ md 7e6e2200 > uart:~$ md 7e6e2300 > uart:~$ md 7e6e25b0 > [Result] > The register value should match the value of ast1030_a1_resets > in aspeed_scu.c > > - Flash(fmc_cs0): > uart:~$ flash write fmc_cs0 0 0x12345678 0x87654321 0x34127856 0x78563412 > uart:~$ flash read fmc_cs0 0 10 > [Result] > 00000000: 78 56 34 12 21 43 65 87 56 78 12 34 12 34 56 78 > |xV4.!Ce. Vx.4.4Vx| > > uart:~$ flash erase fmc_cs0 0 > uart:~$ flash read fmc_cs0 0 10 > [Result] > 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > |........ ........| > > - Timer(TIMER0): > uart:~$ timer start TIMER0 -p 2000 -t 0 > TIMER0: period 20000 ms, type 0 > [Result] > timer expired after 2 seconds > > - Watchdog(WDT1): > uart:~$ mw 7e785008 4755 > uart:~$ mw 7e78500c 1 > [Result] > soc reset after 22 seconds > > Based-on: 20220315075753.8591-3-steven_lee@aspeedtech.com > ([v2,2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute) > > Jamin Lin (2): > aspeed: Add an AST1030 eval board > test/avocado/machine_aspeed.py: Add ast1030 test case > > Steven Lee (7): > aspeed/adc: Add AST1030 support > aspeed/smc: Add AST1030 support > aspeed/wdt: Fix ast2500/ast2600 default reload value > aspeed/wdt: Add AST1030 support > aspeed/timer: Add AST1030 support > aspeed/scu: Add AST1030 support > aspeed/soc : Add AST1030 support > > hw/adc/aspeed_adc.c | 16 ++ > hw/arm/aspeed.c | 66 +++++++ > hw/arm/aspeed_ast10xx.c | 299 +++++++++++++++++++++++++++++++ > hw/arm/meson.build | 6 +- > hw/misc/aspeed_scu.c | 63 +++++++ > hw/ssi/aspeed_smc.c | 157 ++++++++++++++++ > hw/timer/aspeed_timer.c | 17 ++ > hw/watchdog/wdt_aspeed.c | 34 +++- > include/hw/adc/aspeed_adc.h | 1 + > include/hw/arm/aspeed_soc.h | 3 + > include/hw/misc/aspeed_scu.h | 25 +++ > include/hw/timer/aspeed_timer.h | 1 + > include/hw/watchdog/wdt_aspeed.h | 3 + > tests/avocado/machine_aspeed.py | 36 ++++ > 14 files changed, 724 insertions(+), 3 deletions(-) > create mode 100644 hw/arm/aspeed_ast10xx.c > create mode 100644 tests/avocado/machine_aspeed.py >
On 4/1/22 11:47, Jamin Lin wrote: > Hi Cedric, > One more question, what is the progress about SFDP patch, https://patchwork.kernel.org/project/qemu-devel/list/?series=342081&archive=both > We need these patches for future SPI support. Francisco had comments I didn't have time to address. Theses were mostly related to how the table entries are defined. I can respin and see what we can do. Anyhow, the series is still in use in the aspeed branch : https://github.com/legoater/qemu/commits/aspeed-7.0 We really needed it when SFDP support was introduced in the Linux kernel. There were plenty of issues with the 4B opcodes usage. Thanks, C. > Thanks-Jamin > > ************* Email Confidentiality Notice ******************** > DISCLAIMER: > This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. > > -----Original Message----- > From: Jamin Lin <jamin_lin@aspeedtech.com> > Sent: Friday, April 1, 2022 5:24 PM > To: Cédric Le Goater <clg@kaod.org>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org>; Jamin Lin <jamin_lin@aspeedtech.com> > Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> > Subject: RE: [PATCH v5 0/9] Add support for AST1030 SoC > > Hi Cedric, Joel and Andrew > First all, thanks for all your kindly support and review. We are so glad that QEMU v7.1 will support AST1030 model. > > 1. The ast1030 and ast2600 HACE controller are identical. > Steven submitted the patch to support HACE ACC mode. Once his patch accept. We will submit patch to support ast1030 model. > 2. I submitted the patch to support GOIO index mode because ast1030 driver was implement by index mode. I am waiting for review and any suggestion will be appreciated. > 3. Troy submitted the patch to support I2C new model which included ast1030 model. > 4. As for NIC plan, once AST1030 NIC driver ready, we will upstream, too. > BTW, do you have a plan to upstream it, https://github.com/openbmc/qemu/blob/master/hw/misc/aspeed_pwm.c > > Thanks again - Jamin > > ************* Email Confidentiality Notice ******************** > DISCLAIMER: > This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. > > -----Original Message----- > From: Cédric Le Goater <clg@kaod.org> > Sent: Friday, April 1, 2022 4:55 PM > To: Jamin Lin <jamin_lin@aspeedtech.com>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org> > Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> > Subject: Re: [PATCH v5 0/9] Add support for AST1030 SoC > > Hello Jamin, > > Thanks for these new models and machine. They are queued for QEMU 7.1. > There are a couple of patchsets adding support for the AST1030 GPIO controller and the I2C new mode that would be good extensions but they need review first. > > What are the next steps? any plans for network ? The NIC should be a > FTGMAC100 if I am correct. > > Thanks, > > C. > > > On 4/1/22 10:38, Jamin Lin wrote: >> Changes from v5: >> - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE >> - remove ast1030_machine_instance_init function >> >> Changes from v4: >> - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c >> >> Changes from v3: >> - remove AspeedMiniBmcMachineState state structure and >> AspeedMiniBmcMachineClass class >> - remove redundant new line in hw/arm/aspeed_ast10xx.c >> - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c >> >> Changes from v2: >> - replace aspeed_ast1030.c with aspeed_ast10xx.c for minibmc SOCs >> family support >> - Add "ast1030-evb" machine in aspeed.c and removes aspeed_minibmc.c >> >> Changes from v1: >> The patch series supports ADC, SCU, SMC, TIMER, and WDT for AST1030 SoC. >> Add avocado test case for "ast1030-evb" machine. >> >> Test steps: >> 1. Download image from >> >> https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/a >> st1030-evb-demo.zip 2. Extract the zip file to obtain zephyr.elf 3. >> Run ./qemu-system-arm -M ast1030-evb -kernel $PATH/zephyr.elf >> -nographic 4. Test IO by Zephyr command line, commands are refer to Aspeed Zephyr >> SDK User Guide below >> https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/Aspeed_Zephy_SDK_User_Guide_v00.01.04.pdf >> - ADC(channel 0): >> uart:~$ adc ADC0 resolution 10 >> uart:~$ adc ADC0 calibrate 1 >> uart:~$ adc ADC0 read_format 1 >> uart:~$ adc ADC0 read 0 >> [Result] >> read: 1416mv >> >> - SCU >> uart:~$ md 7e6e2040 >> uart:~$ md 7e6e2080 >> uart:~$ md 7e6e20d0 >> uart:~$ md 7e6e2200 >> uart:~$ md 7e6e2300 >> uart:~$ md 7e6e25b0 >> [Result] >> The register value should match the value of ast1030_a1_resets >> in aspeed_scu.c >> >> - Flash(fmc_cs0): >> uart:~$ flash write fmc_cs0 0 0x12345678 0x87654321 0x34127856 0x78563412 >> uart:~$ flash read fmc_cs0 0 10 >> [Result] >> 00000000: 78 56 34 12 21 43 65 87 56 78 12 34 12 34 56 78 >> |xV4.!Ce. Vx.4.4Vx| >> >> uart:~$ flash erase fmc_cs0 0 >> uart:~$ flash read fmc_cs0 0 10 >> [Result] >> 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> |........ ........| >> >> - Timer(TIMER0): >> uart:~$ timer start TIMER0 -p 2000 -t 0 >> TIMER0: period 20000 ms, type 0 >> [Result] >> timer expired after 2 seconds >> >> - Watchdog(WDT1): >> uart:~$ mw 7e785008 4755 >> uart:~$ mw 7e78500c 1 >> [Result] >> soc reset after 22 seconds >> >> Based-on: 20220315075753.8591-3-steven_lee@aspeedtech.com >> ([v2,2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute) >> >> Jamin Lin (2): >> aspeed: Add an AST1030 eval board >> test/avocado/machine_aspeed.py: Add ast1030 test case >> >> Steven Lee (7): >> aspeed/adc: Add AST1030 support >> aspeed/smc: Add AST1030 support >> aspeed/wdt: Fix ast2500/ast2600 default reload value >> aspeed/wdt: Add AST1030 support >> aspeed/timer: Add AST1030 support >> aspeed/scu: Add AST1030 support >> aspeed/soc : Add AST1030 support >> >> hw/adc/aspeed_adc.c | 16 ++ >> hw/arm/aspeed.c | 66 +++++++ >> hw/arm/aspeed_ast10xx.c | 299 +++++++++++++++++++++++++++++++ >> hw/arm/meson.build | 6 +- >> hw/misc/aspeed_scu.c | 63 +++++++ >> hw/ssi/aspeed_smc.c | 157 ++++++++++++++++ >> hw/timer/aspeed_timer.c | 17 ++ >> hw/watchdog/wdt_aspeed.c | 34 +++- >> include/hw/adc/aspeed_adc.h | 1 + >> include/hw/arm/aspeed_soc.h | 3 + >> include/hw/misc/aspeed_scu.h | 25 +++ >> include/hw/timer/aspeed_timer.h | 1 + >> include/hw/watchdog/wdt_aspeed.h | 3 + >> tests/avocado/machine_aspeed.py | 36 ++++ >> 14 files changed, 724 insertions(+), 3 deletions(-) >> create mode 100644 hw/arm/aspeed_ast10xx.c >> create mode 100644 tests/avocado/machine_aspeed.py >> >
Hello Jamin, On 4/1/22 11:23, Jamin Lin wrote: > Hi Cedric, Joel and Andrew > First all, thanks for all your kindly support and review. We are so > glad that QEMU v7.1 will support AST1030 model. QEMU 7.1 is for after the summer. > > 1. The ast1030 and ast2600 HACE controller are identical. > Steven submitted the patch to support HACE ACC mode. Once his patch > accept. We will submit patch to support ast1030 model. I think Joel is tracking these changes. > 2. I submitted the patch to support GOIO index mode because ast1030 > driver was implement by index mode. I am waiting for review and any > suggestion will be appreciated. That's Andrew's turf. Or Rashmica if she has time ? I could do it but not now and it will take longer since I know less this area of the HW. > 3. Troy submitted the patch to support I2C new model which included ast1030 model. Yes. I think there is another submission on the topic. I reviewed the one Troy sent and some rework is needed. The I2C model is becoming quite complex and changes need to me introduced progressively. > 4. As for NIC plan, once AST1030 NIC driver ready, we will upstream, too. It's not a FTGMAC100 ? > BTW, do you have a plan to upstream it, https://github.com/openbmc/qemu/blob/master/hw/misc/aspeed_pwm.c I don't. That's really an empty skeleton. There is no problem in merging it but if someone of your team has time to grow the model, please do ! Thanks, C. > > Thanks again - Jamin > > ************* Email Confidentiality Notice ******************** > DISCLAIMER: > This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. > > -----Original Message----- > From: Cédric Le Goater <clg@kaod.org> > Sent: Friday, April 1, 2022 4:55 PM > To: Jamin Lin <jamin_lin@aspeedtech.com>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org> > Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> > Subject: Re: [PATCH v5 0/9] Add support for AST1030 SoC > > Hello Jamin, > > Thanks for these new models and machine. They are queued for QEMU 7.1. > There are a couple of patchsets adding support for the AST1030 GPIO controller and the I2C new mode that would be good extensions but they need review first. > > What are the next steps? any plans for network ? The NIC should be a > FTGMAC100 if I am correct. > > Thanks, > > C. > > > On 4/1/22 10:38, Jamin Lin wrote: >> Changes from v5: >> - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE >> - remove ast1030_machine_instance_init function >> >> Changes from v4: >> - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c >> >> Changes from v3: >> - remove AspeedMiniBmcMachineState state structure and >> AspeedMiniBmcMachineClass class >> - remove redundant new line in hw/arm/aspeed_ast10xx.c >> - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c >> >> Changes from v2: >> - replace aspeed_ast1030.c with aspeed_ast10xx.c for minibmc SOCs >> family support >> - Add "ast1030-evb" machine in aspeed.c and removes aspeed_minibmc.c >> >> Changes from v1: >> The patch series supports ADC, SCU, SMC, TIMER, and WDT for AST1030 SoC. >> Add avocado test case for "ast1030-evb" machine. >> >> Test steps: >> 1. Download image from >> >> https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/a >> st1030-evb-demo.zip 2. Extract the zip file to obtain zephyr.elf 3. >> Run ./qemu-system-arm -M ast1030-evb -kernel $PATH/zephyr.elf >> -nographic 4. Test IO by Zephyr command line, commands are refer to Aspeed Zephyr >> SDK User Guide below >> https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/Aspeed_Zephy_SDK_User_Guide_v00.01.04.pdf >> - ADC(channel 0): >> uart:~$ adc ADC0 resolution 10 >> uart:~$ adc ADC0 calibrate 1 >> uart:~$ adc ADC0 read_format 1 >> uart:~$ adc ADC0 read 0 >> [Result] >> read: 1416mv >> >> - SCU >> uart:~$ md 7e6e2040 >> uart:~$ md 7e6e2080 >> uart:~$ md 7e6e20d0 >> uart:~$ md 7e6e2200 >> uart:~$ md 7e6e2300 >> uart:~$ md 7e6e25b0 >> [Result] >> The register value should match the value of ast1030_a1_resets >> in aspeed_scu.c >> >> - Flash(fmc_cs0): >> uart:~$ flash write fmc_cs0 0 0x12345678 0x87654321 0x34127856 0x78563412 >> uart:~$ flash read fmc_cs0 0 10 >> [Result] >> 00000000: 78 56 34 12 21 43 65 87 56 78 12 34 12 34 56 78 >> |xV4.!Ce. Vx.4.4Vx| >> >> uart:~$ flash erase fmc_cs0 0 >> uart:~$ flash read fmc_cs0 0 10 >> [Result] >> 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> |........ ........| >> >> - Timer(TIMER0): >> uart:~$ timer start TIMER0 -p 2000 -t 0 >> TIMER0: period 20000 ms, type 0 >> [Result] >> timer expired after 2 seconds >> >> - Watchdog(WDT1): >> uart:~$ mw 7e785008 4755 >> uart:~$ mw 7e78500c 1 >> [Result] >> soc reset after 22 seconds >> >> Based-on: 20220315075753.8591-3-steven_lee@aspeedtech.com >> ([v2,2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute) >> >> Jamin Lin (2): >> aspeed: Add an AST1030 eval board >> test/avocado/machine_aspeed.py: Add ast1030 test case >> >> Steven Lee (7): >> aspeed/adc: Add AST1030 support >> aspeed/smc: Add AST1030 support >> aspeed/wdt: Fix ast2500/ast2600 default reload value >> aspeed/wdt: Add AST1030 support >> aspeed/timer: Add AST1030 support >> aspeed/scu: Add AST1030 support >> aspeed/soc : Add AST1030 support >> >> hw/adc/aspeed_adc.c | 16 ++ >> hw/arm/aspeed.c | 66 +++++++ >> hw/arm/aspeed_ast10xx.c | 299 +++++++++++++++++++++++++++++++ >> hw/arm/meson.build | 6 +- >> hw/misc/aspeed_scu.c | 63 +++++++ >> hw/ssi/aspeed_smc.c | 157 ++++++++++++++++ >> hw/timer/aspeed_timer.c | 17 ++ >> hw/watchdog/wdt_aspeed.c | 34 +++- >> include/hw/adc/aspeed_adc.h | 1 + >> include/hw/arm/aspeed_soc.h | 3 + >> include/hw/misc/aspeed_scu.h | 25 +++ >> include/hw/timer/aspeed_timer.h | 1 + >> include/hw/watchdog/wdt_aspeed.h | 3 + >> tests/avocado/machine_aspeed.py | 36 ++++ >> 14 files changed, 724 insertions(+), 3 deletions(-) >> create mode 100644 hw/arm/aspeed_ast10xx.c >> create mode 100644 tests/avocado/machine_aspeed.py >> >
Hello Jamin, On 4/1/22 10:38, Jamin Lin wrote: > Changes from v5: > - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > - remove ast1030_machine_instance_init function > > Changes from v4: > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > Changes from v3: > - remove AspeedMiniBmcMachineState state structure and > AspeedMiniBmcMachineClass class > - remove redundant new line in hw/arm/aspeed_ast10xx.c Do we want to be in sync with the zephyr naming and use ast10x0.c ? https://github.com/zephyrproject-rtos/zephyr/tree/main/soc/arm/aspeed This is just a question. Don't resend for this. Thanks, C.
The 04/01/2022 13:25, Cédric Le Goater wrote: Hi Cedric, > Hello Jamin, > > On 4/1/22 11:23, Jamin Lin wrote: > > Hi Cedric, Joel and Andrew > > First all, thanks for all your kindly support and review. We are so > > glad that QEMU v7.1 will support AST1030 model. > > QEMU 7.1 is for after the summer. > > > > > 1. The ast1030 and ast2600 HACE controller are identical. > > Steven submitted the patch to support HACE ACC mode. Once his patch > > accept. We will submit patch to support ast1030 model. > > I think Joel is tracking these changes. > > > 2. I submitted the patch to support GOIO index mode because ast1030 > > driver was implement by index mode. I am waiting for review and any > > suggestion will be appreciated. > > That's Andrew's turf. Or Rashmica if she has time ? I could do it but not > now and it will take longer since I know less this area of the HW. > > > 3. Troy submitted the patch to support I2C new model which included ast1030 model. > > Yes. I think there is another submission on the topic. I reviewed the one > Troy sent and some rework is needed. The I2C model is becoming quite complex > and changes need to me introduced progressively. > > > > 4. As for NIC plan, once AST1030 NIC driver ready, we will upstream, too. > > It's not a FTGMAC100 ? > It seems we can use FTGMAC100 model for AST1030 model. However, we do not have NIC driver to support zephyr os for AST1030. Once the driver ready, we will test it in qemu and upstream, too. Thanks-Jamin > > > BTW, do you have a plan to upstream it, https://github.com/openbmc/qemu/blob/master/hw/misc/aspeed_pwm.c > > I don't. That's really an empty skeleton. There is no problem in merging it > but if someone of your team has time to grow the model, please do ! > > Thanks, > > C. > > > > > > Thanks again - Jamin > > > > ************* Email Confidentiality Notice ******************** > > DISCLAIMER: > > This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it in error, please notify the sender by reply e-mail and immediately delete the e-mail and any attachments without copying or disclosing the contents. Thank you. > > > > -----Original Message----- > > From: Cédric Le Goater <clg@kaod.org> > > Sent: Friday, April 1, 2022 4:55 PM > > To: Jamin Lin <jamin_lin@aspeedtech.com>; Alistair Francis <alistair@alistair23.me>; Peter Maydell <peter.maydell@linaro.org>; Andrew Jeffery <andrew@aj.id.au>; Joel Stanley <joel@jms.id.au>; Cleber Rosa <crosa@redhat.com>; Philippe Mathieu-Daudé <f4bug@amsat.org>; Wainer dos Santos Moschetta <wainersm@redhat.com>; Beraldo Leal <bleal@redhat.com>; open list:STM32F205 <qemu-arm@nongnu.org>; open list:All patches CC here <qemu-devel@nongnu.org> > > Cc: Steven Lee <steven_lee@aspeedtech.com>; Troy Lee <troy_lee@aspeedtech.com> > > Subject: Re: [PATCH v5 0/9] Add support for AST1030 SoC > > > > Hello Jamin, > > > > Thanks for these new models and machine. They are queued for QEMU 7.1. > > There are a couple of patchsets adding support for the AST1030 GPIO controller and the I2C new mode that would be good extensions but they need review first. > > > > What are the next steps? any plans for network ? The NIC should be a > > FTGMAC100 if I am correct. > > > > Thanks, > > > > C. > > > > > > On 4/1/22 10:38, Jamin Lin wrote: > >> Changes from v5: > >> - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > >> - remove ast1030_machine_instance_init function > >> > >> Changes from v4: > >> - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > >> > >> Changes from v3: > >> - remove AspeedMiniBmcMachineState state structure and > >> AspeedMiniBmcMachineClass class > >> - remove redundant new line in hw/arm/aspeed_ast10xx.c > >> - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > >> > >> Changes from v2: > >> - replace aspeed_ast1030.c with aspeed_ast10xx.c for minibmc SOCs > >> family support > >> - Add "ast1030-evb" machine in aspeed.c and removes aspeed_minibmc.c > >> > >> Changes from v1: > >> The patch series supports ADC, SCU, SMC, TIMER, and WDT for AST1030 SoC. > >> Add avocado test case for "ast1030-evb" machine. > >> > >> Test steps: > >> 1. Download image from > >> > >> https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/a > >> st1030-evb-demo.zip 2. Extract the zip file to obtain zephyr.elf 3. > >> Run ./qemu-system-arm -M ast1030-evb -kernel $PATH/zephyr.elf > >> -nographic 4. Test IO by Zephyr command line, commands are refer to Aspeed Zephyr > >> SDK User Guide below > >> https://github.com/AspeedTech-BMC/zephyr/releases/download/v00.01.04/Aspeed_Zephy_SDK_User_Guide_v00.01.04.pdf > >> - ADC(channel 0): > >> uart:~$ adc ADC0 resolution 10 > >> uart:~$ adc ADC0 calibrate 1 > >> uart:~$ adc ADC0 read_format 1 > >> uart:~$ adc ADC0 read 0 > >> [Result] > >> read: 1416mv > >> > >> - SCU > >> uart:~$ md 7e6e2040 > >> uart:~$ md 7e6e2080 > >> uart:~$ md 7e6e20d0 > >> uart:~$ md 7e6e2200 > >> uart:~$ md 7e6e2300 > >> uart:~$ md 7e6e25b0 > >> [Result] > >> The register value should match the value of ast1030_a1_resets > >> in aspeed_scu.c > >> > >> - Flash(fmc_cs0): > >> uart:~$ flash write fmc_cs0 0 0x12345678 0x87654321 0x34127856 0x78563412 > >> uart:~$ flash read fmc_cs0 0 10 > >> [Result] > >> 00000000: 78 56 34 12 21 43 65 87 56 78 12 34 12 34 56 78 > >> |xV4.!Ce. Vx.4.4Vx| > >> > >> uart:~$ flash erase fmc_cs0 0 > >> uart:~$ flash read fmc_cs0 0 10 > >> [Result] > >> 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > >> |........ ........| > >> > >> - Timer(TIMER0): > >> uart:~$ timer start TIMER0 -p 2000 -t 0 > >> TIMER0: period 20000 ms, type 0 > >> [Result] > >> timer expired after 2 seconds > >> > >> - Watchdog(WDT1): > >> uart:~$ mw 7e785008 4755 > >> uart:~$ mw 7e78500c 1 > >> [Result] > >> soc reset after 22 seconds > >> > >> Based-on: 20220315075753.8591-3-steven_lee@aspeedtech.com > >> ([v2,2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute) > >> > >> Jamin Lin (2): > >> aspeed: Add an AST1030 eval board > >> test/avocado/machine_aspeed.py: Add ast1030 test case > >> > >> Steven Lee (7): > >> aspeed/adc: Add AST1030 support > >> aspeed/smc: Add AST1030 support > >> aspeed/wdt: Fix ast2500/ast2600 default reload value > >> aspeed/wdt: Add AST1030 support > >> aspeed/timer: Add AST1030 support > >> aspeed/scu: Add AST1030 support > >> aspeed/soc : Add AST1030 support > >> > >> hw/adc/aspeed_adc.c | 16 ++ > >> hw/arm/aspeed.c | 66 +++++++ > >> hw/arm/aspeed_ast10xx.c | 299 +++++++++++++++++++++++++++++++ > >> hw/arm/meson.build | 6 +- > >> hw/misc/aspeed_scu.c | 63 +++++++ > >> hw/ssi/aspeed_smc.c | 157 ++++++++++++++++ > >> hw/timer/aspeed_timer.c | 17 ++ > >> hw/watchdog/wdt_aspeed.c | 34 +++- > >> include/hw/adc/aspeed_adc.h | 1 + > >> include/hw/arm/aspeed_soc.h | 3 + > >> include/hw/misc/aspeed_scu.h | 25 +++ > >> include/hw/timer/aspeed_timer.h | 1 + > >> include/hw/watchdog/wdt_aspeed.h | 3 + > >> tests/avocado/machine_aspeed.py | 36 ++++ > >> 14 files changed, 724 insertions(+), 3 deletions(-) > >> create mode 100644 hw/arm/aspeed_ast10xx.c > >> create mode 100644 tests/avocado/machine_aspeed.py > >> > > >
The 04/05/2022 16:12, Cédric Le Goater wrote: Hi Cedric, > Hello Jamin, > > On 4/1/22 10:38, Jamin Lin wrote: > > Changes from v5: > > - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > > - remove ast1030_machine_instance_init function > > > > Changes from v4: > > - drop the ASPEED_SMC_FEATURE_WDT_CONTROL flag in hw/ssi/aspeed_smc.c > > > > Changes from v3: > > - remove AspeedMiniBmcMachineState state structure and > > AspeedMiniBmcMachineClass class > > - remove redundant new line in hw/arm/aspeed_ast10xx.c > > Do we want to be in sync with the zephyr naming and use ast10x0.c ? > > https://github.com/zephyrproject-rtos/zephyr/tree/main/soc/arm/aspeed > We used aspeed_ast10xx.c to support minibmc family such as ast1030 and may support ast1060 in the future. If need, I can submit the new patch to change its filename to aspeed_ast10x0.c. Thanks-Jamin > This is just a question. Don't resend for this. > > Thanks, > > C.
Hello Jamin, [ ... ] >> Do we want to be in sync with the zephyr naming and use ast10x0.c ? >> >> https://github.com/zephyrproject-rtos/zephyr/tree/main/soc/arm/aspeed >> > We used aspeed_ast10xx.c to support minibmc family such as ast1030 and > may support ast1060 in the future. > If need, I can submit the new patch to change its filename to aspeed_ast10x0.c. I did the rename. Please check what I did in : https://github.com/legoater/qemu/commits/aspeed-7.0 and tell me if you agree. Thanks, C.
The 04/11/2022 08:23, Cédric Le Goater wrote: > Hello Jamin, > > [ ... ] > > >> Do we want to be in sync with the zephyr naming and use ast10x0.c ? > >> > >> https://github.com/zephyrproject-rtos/zephyr/tree/main/soc/arm/aspeed > >> > > We used aspeed_ast10xx.c to support minibmc family such as ast1030 and > > may support ast1060 in the future. > > If need, I can submit the new patch to change its filename to aspeed_ast10x0.c. > > I did the rename. Please check what I did in : > > https://github.com/legoater/qemu/commits/aspeed-7.0 > > and tell me if you agree. > Agree and thanks for your help. Thanks-Jamin > Thanks, > > C. >