An nRF52 implementation and a new web console was introduced.
The old web console is hosted in a different URL now.
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/canokey.rst | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/docs/system/devices
canokey-qemu contains submodules so it needs
recursive cloning
Reported-By: tlaurion
Link: https://github.com/canokeys/canokey-qemu/issues/3
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/canokey.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs
/qemu-devel/ZE5z+2WbvVpTa82H@Sun/
Thanks,
Hongren (Zenithal) Zheng (2):
docs/system/devices/canokey: fix recursive cloning
docs/system/devices/canokey: update implementations and web console
docs/system/devices/canokey.rst | 11 +++
1 file changed, 7 insertions(+), 4 deletions
nokeys.org
* Written by Hongren (Zenithal) Zheng
*
- * This code is licensed under the Apache-2.0.
+ * This code is licensed under the GPL v2 or later.
*/
#include "qemu/osdep.h"
diff --git a/hw/usb/canokey.h b/hw/usb/canokey.h
index 24cf304203..e528889d33 100644
--- a/hw/usb/ca
On Fri, Jul 01, 2022 at 12:51:06PM +0200, Gerd Hoffmann wrote:
> On Thu, Jun 23, 2022 at 11:16:39PM +0800, Hongren (Zenithal) Zheng wrote:
> > On Mon, Jun 13, 2022 at 08:12:38PM +0800, Hongren (Zenithal) Zheng wrote:
> >
> > > ---
> > > v2:
> > &g
On Thu, Jun 23, 2022 at 11:16:39PM +0800, Hongren (Zenithal) Zheng wrote:
> BTW, as the commit "add myself as CanoKey maintainer" has been
> merged, how should I submit patches on CanoKey to you and QEMU?
Also I want to add CanoKey in ChangeLog/7.1 in QEMU wiki.
But the account fo
On Mon, Jun 13, 2022 at 08:12:38PM +0800, Hongren (Zenithal) Zheng wrote:
> ---
> v2:
> * use usb_ep_get instead of recording ep_in_pointer
> as suggested by kraxel
> * CI result for v2 is at
> https://gitlab.com/ZenithalHourlyRate/qemu/-/pipelines/562306905
Hi kr
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/canokey.rst | 10 --
1 file changed, 10 deletions(-)
diff --git a/docs/system/devices/canokey.rst b/docs/system/devices/canokey.rst
index 169f99b8eb..c2c58ae3e7 100644
--- a/docs/system/devices/canokey.rst
+++ b/docs/system
CCID could send zero-length packet (ZLP)
if we invoke two data_in, two packets would be concated
and we could not distinguish them.
The CANOKEY_EMU_EP_CTAPHID is imported from canokey-qemu.h
Reported-by: MkfsSion
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 7 +++
1 file
XHCI wont poll interrupt IN endpoint if NAKed, and needs wakeup
Suggested-by: Gerd Hoffmann
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canokey.c
index 86548923eb..8da0d65556
lines/561801062
---
v2:
* use usb_ep_get instead of recording ep_in_pointer
as suggested by kraxel
* CI result for v2 is at
https://gitlab.com/ZenithalHourlyRate/qemu/-/pipelines/562306905
Hongren (Zenithal) Zheng (3):
hw/usb/canokey: Fix CCID ZLP
hw/usb/canokey: fix compatibili
lines/561801062
Hongren (Zenithal) Zheng (3):
hw/usb/canokey: Fix CCID ZLP
hw/usb/canokey: fix compatibility of qemu-xhci
docs/system/devices/usb/canokey: remove limitations on qemu-xhci
docs/system/devices/canokey.rst | 10 --
hw/usb/canokey.c
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/canokey.rst | 10 --
1 file changed, 10 deletions(-)
diff --git a/docs/system/devices/canokey.rst b/docs/system/devices/canokey.rst
index 169f99b8eb..c2c58ae3e7 100644
--- a/docs/system/devices/canokey.rst
+++ b/docs/system
XHCI wont poll interrupt IN endpoint if NAKed, and needs wakeup
Suggested-by: Gerd Hoffmann
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 28
hw/usb/canokey.h | 1 +
2 files changed, 29 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb
CCID could send zero-length packet (ZLP)
if we invoke two data_in, two packets would be concated
and we could not distinguish them.
The CANOKEY_EMU_EP_CTAPHID is exported from canokey-qemu.h
Reported-by: MkfsSion
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 7 +++
1 file
On Mon, May 23, 2022 at 09:22:15AM +1000, Alistair Francis wrote:
> On Wed, May 18, 2022 at 10:50 PM Hongren (Zenithal) Zheng
> wrote:
> >
> > Zicsr/Zifencei is not in 'I' since ISA version 20190608,
> > thus to fully express the capability of the CPU,
> &
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c| 13 +
hw/usb/trace-events | 16
2 files changed, 29 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canokey.c
index 6cb8b7cdb0..4a08b1cbd7 100644
--- a/hw/usb/canokey.c
+++ b/hw/usb/canokey.c
Signed-off-by: Hongren (Zenithal) Zheng
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index dff0200f70..03856c558f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2397,6 +2397,14 @@ F: hw/intc/s390_flic*.c
F: include/hw/s390x/s390_flic.h
L
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 5 +
meson.build | 6 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
5 files changed, 21 insertions(+)
diff --git a/hw
APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 300 +++
hw/usb/canokey.h | 69 +++
2 files changed, 369 insertions(+)
create mode 100644 h
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/usb.rst | 4
1 file changed, 4 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c226..872d916758 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/device-emulation.rst | 1 +
docs/system/devices/canokey.rst | 168 +++
2 files changed, 169 insertions(+)
create mode 100644 docs/system/devices/canokey.rst
Note on the qemu-xhci issue:
For FIDO2 packets
4/6] for more detail
This patchset passes the CI, see
https://gitlab.com/ZenithalHourlyRate/qemu/-/pipelines/543016316
Hongren (Zenithal) Zheng (6):
hw/usb: Add CanoKey Implementation
hw/usb/canokey: Add trace events
meson: Add CanoKey
docs: Add CanoKey documentation
docs/system/devi
Zicsr/Zifencei is not in 'I' since ISA version 20190608,
thus to fully express the capability of the CPU,
they should be exposed in isa_string.
Signed-off-by: Hongren (Zenithal) Zheng
---
target/riscv/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/riscv/cpu.c b/ta
On Fri, Mar 04, 2022 at 11:51:19AM +0100, Gerd Hoffmann wrote:
> On Sat, Feb 12, 2022 at 09:29:47PM +0800, Hongren (Zenithal) Zheng wrote:
> > Hi,
> >
> > Is there any further feedback on this patch set.
>
> Sorry for the looong delay, I'm rather busy with edk2.
Hi,
Is there any further feedback on this patch set.
Regards,
Zenithal
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/device-emulation.rst | 1 +
docs/system/devices/canokey.rst | 158 +++
2 files changed, 159 insertions(+)
create mode 100644 docs/system/devices/canokey.rst
diff --git a/docs/system/device-emulation.rst b
Signed-off-by: Hongren (Zenithal) Zheng
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e4b3a4bcdf..e46e9cdf1b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2376,6 +2376,14 @@ F: hw/intc/s390_flic*.c
F: include/hw/s390x/s390_flic.h
L
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 3 +++
meson.build | 6 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
5 files changed, 19 insertions(+)
diff --git a/hw
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/usb.rst | 4
1 file changed, 4 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c226..872d916758 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 298 +++
hw/usb/canokey.h | 69 +++
2 files changed, 367 insertions(+)
create mode 100644 h
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c| 13 +
hw/usb/trace-events | 16
2 files changed, 29 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canokey.c
index 3c2efa43fc..1753a30be9 100644
--- a/hw/usb/canokey.c
+++ b/hw/usb/canokey.c
e docs/canokey.txt to docs/system/devices/canokey.rst
v3 -> v4:
* Refactor canokey.c into single thread version. This version
is much easier to understand and review
* Add more comments
* Add links to canokey.rst in usb.rst
* Update MAINTAINERS canokey docs file
Hongren (Zenithal)
On Tue, Jan 18, 2022 at 10:28:49AM +0100, Thomas Huth wrote:
> On 13/01/2022 19.11, Hongren (Zenithal) Zheng wrote:
> > Signed-off-by: Hongren (Zenithal) Zheng
> > ---
> > docs/system/devices/usb.rst | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > d
On Fri, Jan 14, 2022 at 02:12:12AM +0800, Hongren (Zenithal) Zheng wrote:
> +F: docs/canokey.txt
I forgot to change this line, I will change it in the next version
along with other requested changes.
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/usb.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c226..341694403a 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
e docs/canokey.txt to docs/system/devices/canokey.rst
Hongren (Zenithal) Zheng (6):
hw/usb: Add CanoKey Implementation
hw/usb/canokey: Add trace events
meson: Add CanoKey
docs: Add CanoKey documentation
docs/system/devices/usb: Add CanoKey to USB devices examples
MAINTAINERS:
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/device-emulation.rst | 1 +
docs/system/devices/canokey.rst | 158 +++
2 files changed, 159 insertions(+)
create mode 100644 docs/system/devices/canokey.rst
diff --git a/docs/system/device-emulation.rst b
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 3 +++
meson.build | 6 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
5 files changed, 19 insertions(+)
diff --git a/hw
Signed-off-by: Hongren (Zenithal) Zheng
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f871d759fd..51dae611fa 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2296,6 +2296,14 @@ F: hw/timer/mips_gictimer.c
F: include/hw/intc/mips_gic.h
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c| 18 ++
hw/usb/trace-events | 17 +
2 files changed, 35 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canokey.c
index 6bd4dedfd2..2899515b6e 100644
--- a/hw/usb/canokey.c
+++ b/hw/usb
APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 326 +++
hw/usb/canokey.h | 60 +
2 files changed, 386 insertions(+)
create mode 100644 h
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c| 17 +
hw/usb/trace-events | 17 +
2 files changed, 34 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canokey.c
index 6bd4dedfd2..c8cc31ba9e 100644
--- a/hw/usb/canokey.c
+++ b/hw/usb
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 3 +++
meson.build | 6 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
5 files changed, 19 insertions(+)
diff --git a/hw
the host to the guest.
---
v1 -> v2:
* Use trace events instead of printf to log canokey.c function call
* Update debug instructions (trace, pcap) in CanoKey doc
* Drop commit about legacy -usbdevice usage
Hongren (Zenithal) Zheng (6):
hw/usb: Add CanoKey Implementation
hw/usb/
APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 326 +++
hw/usb/canokey.h | 60 +
2 files changed, 386 insertions(+)
create mode 100644 h
Signed-off-by: Hongren (Zenithal) Zheng
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f871d759fd..51dae611fa 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2296,6 +2296,14 @@ F: hw/timer/mips_gictimer.c
F: include/hw/intc/mips_gic.h
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/usb.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c226..341694403a 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/canokey.txt | 140 +++
1 file changed, 140 insertions(+)
create mode 100644 docs/canokey.txt
diff --git a/docs/canokey.txt b/docs/canokey.txt
new file mode 100644
index 00..6d6ba19740
--- /dev
Signed-off-by: Hongren (Zenithal) Zheng
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5456536805..522b0e5687 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2295,6 +2295,14 @@ F: hw/timer/mips_gictimer.c
F: include/hw/intc/mips_gic.h
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/qdev-device-use.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt
index 2408889334..278fb66c0a 100644
--- a/docs/qdev-device-use.txt
+++ b/docs/qdev-device-use.txt
@@ -342,6 +342,7 @@ The
the host to the guest.
Hongren (Zenithal) Zheng (6):
hw/usb: Add CanoKey Implementation
meson: Add CanoKey
docs: Add CanoKey documentation
docs/system/devices/usb: Add CanoKey to USB devices examples
docs/qdev-device-use: Add CanoKey to QDEV devices examples
MAINTAINERS: add my
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/canokey.txt | 133 +++
1 file changed, 133 insertions(+)
create mode 100644 docs/canokey.txt
diff --git a/docs/canokey.txt b/docs/canokey.txt
new file mode 100644
index 00..69262194c4
--- /dev
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/usb.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c226..341694403a 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 3 +++
meson.build | 6 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
5 files changed, 19 insertions(+)
diff --git a/hw
APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
---
hw/usb/canokey.c | 378 +++
hw/usb/canokey.h | 60
2 files changed, 438 insertions(+)
create mode 100644 hw/usb/cano
56 matches
Mail list logo