Mt7628 soc emulator

I'm learning how to add peripherals into QEMU

I added mt7628's peripheral support and soc emulation in QEMU:

It can bootup uboot, openwrt, netbsd.
I tested it with mainline Linux/NetBSD/uboot,
If you need to start the firmware provided by the manufacturer (xiaomi/tplink), you may need to have some debugging knowledge, and then change it to make it closer to the real soc.

Here is some examples: https://newluhux.github.io/2023-02-14-qemu-emulate-mt7628.html

6 Likes

Welcome to the community. And wow, nice work! When I get some time I'm definitely going to poke around in this.