[PATCH v2 04/11] MAX78000: UART Implementation

2025-06-18 Thread Jackson Donaldson
This commit implements UART support for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/char/Kconfig | 3 + hw/char/max78000_uart.c | 285 hw/char/meson.build | 1 + include/hw

[PATCH v2 00/11] MAX78000FTHR Implementation

2025-06-18 Thread Jackson Donaldson
ays true when enabled. As such I don't think a handler function is really necessary v1: This patch series implements basic support for the MAX78000FTHR machine https://github.com/JacksonDonaldson/max78000Test Contains instructions for building a test program against the MAX78000FTHR as well a

[PATCH v2 07/11] MAX78000: Add GCR to SOC

2025-06-18 Thread Jackson Donaldson
This commit adds the Global Control Register to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 21 +++-- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm

[PATCH v2 02/11] MAX78000: ICC Implementation

2025-06-18 Thread Jackson Donaldson
This commit implements the Instruction Cache Controller for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_icc.c | 120 + hw/misc/meson.build

[PATCH v2 05/11] MAX78000: Add UART to SOC

2025-06-18 Thread Jackson Donaldson
This commit adds UART to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 28 include/hw/arm/max78000_soc.h | 3 +++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index

[PATCH v2 08/11] MAX78000: TRNG Implementation

2025-06-18 Thread Jackson Donaldson
This commit implements the True Random Number Generator for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig | 3 + hw/misc/max78000_gcr.c | 6 ++ hw/misc/max78000_trng.c | 127

[PATCH v2 10/11] MAX78000: AES implementation

2025-06-18 Thread Jackson Donaldson
This commit implements AES for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_aes.c | 232 + hw/misc/max78000_gcr.c | 6 + hw/misc/meson.build

[PATCH v2 11/11] MAX78000: Add AES to SOC

2025-06-18 Thread Jackson Donaldson
This commit adds AES to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 12 +--- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index 09667b578c

[PATCH v2 03/11] MAX78000: Add ICC to SOC

2025-06-18 Thread Jackson Donaldson
This commit adds the instruction cache controller to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 19 +++ include/hw/arm/max78000_soc.h | 6 ++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw

[PATCH v2 09/11] MAX78000: Add TRNG to SOC

2025-06-18 Thread Jackson Donaldson
This commit adds TRNG to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 10 +- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index 1a36bba2fc

[PATCH v2 06/11] MAX78000: GCR Implementation

2025-06-18 Thread Jackson Donaldson
This commit implements the Global Control Register for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_gcr.c | 339 + hw/misc/meson.build| 1

[PATCH v2 01/11] MAX78000: Add MAX78000FTHR Machine

2025-06-18 Thread Jackson Donaldson
Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig| 10 ++ hw/arm/max78000_soc.c | 172 ++ hw/arm/max78000fthr.c | 50 ++ hw/arm/meson.build| 2 + include/hw/arm/max78000_soc.h | 35 +++ 5 files changed

[PATCH v2 1/2] docs/system: arm: Add max78000 board description

2025-07-11 Thread Jackson Donaldson
This adds the target guide for the max78000FTHR Signed-off-by: Jackson Donaldson --- docs/system/arm/max78000.rst | 35 +++ docs/system/target-arm.rst | 1 + 2 files changed, 36 insertions(+) create mode 100644 docs/system/arm/max78000.rst diff --git a/docs

[PATCH v2 0/2] MAX78000: documentation and test

2025-07-11 Thread Jackson Donaldson
v2: Docs now build. Sorry about that v1: Adds .rST documentation and a functional test for the MAX78000FTHR machine as requested by Peter Maydell. Jackson Donaldson (2): docs/system: arm: Add max78000 board description tests/functional: Add a test for the MAX78000 arm machine docs/system

[PATCH v2 2/2] tests/functional: Add a test for the MAX78000 arm machine

2025-07-11 Thread Jackson Donaldson
Runs a binary from the max78000test repo used in developing the qemu implementation of the max78000 to verify that the machine and implemented devices generally still work. Signed-off-by: Jackson Donaldson Reviewed-by: Thomas Huth --- tests/functional/meson.build | 1 + tests

Re: [PATCH v2 1/2] docs/system: arm: Add max78000 board description

2025-07-11 Thread Jackson Donaldson
Confirmed. -Jackson On Fri, Jul 11, 2025, 8:29 AM Peter Maydell wrote: > On Fri, 11 Jul 2025 at 12:06, Jackson Donaldson > wrote: > > > > This adds the target guide for the max78000FTHR > > > > Signed-off-by: Jackson Donaldson > > --- > > Checkpatch w

[PATCH 2/2] tests/functional: Add a test for the MAX78000 arm machine

2025-07-10 Thread Jackson Donaldson
Runs a binary from the max78000test repo used in developing the qemu implementation of the max78000 to verify that the machine and implemented devices generally still work. Signed-off-by: Jackson Donaldson --- tests/functional/meson.build | 1 + tests/functional

[PATCH 1/2] docs/system: arm: Add max78000 board description

2025-07-10 Thread Jackson Donaldson
This adds the target guide for the max78000FTHR Signed-off-by: Jackson Donaldson --- docs/system/arm/max78000.rst | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 docs/system/arm/max78000.rst diff --git a/docs/system/arm/max78000.rst b/docs/system

[PATCH 0/2] MAX78000: documentation and test

2025-07-10 Thread Jackson Donaldson
Adds .rST documentation and a functional test for the MAX78000FTHR machine as requested by Peter Maydell. Jackson Donaldson (2): docs/system: arm: Add max78000 board description tests/functional: Add a test for the MAX78000 arm machine docs/system/arm/max78000.rst | 35

[PATCH v4 05/11] MAX78000: Add UART to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds UART to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 28 include/hw/arm/max78000_soc.h | 3 +++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/hw/arm/max78000_soc.c b

[PATCH v4 09/11] MAX78000: Add TRNG to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds TRNG to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 10 +- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index 45c6088312

[PATCH v4 04/11] MAX78000: UART Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements UART support for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/char/Kconfig | 3 + hw/char/max78000_uart.c | 285 hw/char/meson.build

[PATCH v4 06/11] MAX78000: GCR Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements the Global Control Register for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_gcr.c | 339 + hw/misc

[PATCH v4 03/11] MAX78000: Add ICC to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds the instruction cache controller to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 20 include/hw/arm/max78000_soc.h | 6 ++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a

[PATCH v4 01/11] MAX78000: Add MAX78000FTHR Machine

2025-07-04 Thread Jackson Donaldson
Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig| 10 ++ hw/arm/max78000_soc.c | 172 ++ hw/arm/max78000fthr.c | 50 ++ hw/arm/meson.build| 2 + include/hw/arm/max78000_soc.h | 35

[PATCH v4 07/11] MAX78000: Add GCR to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds the Global Control Register to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 18 -- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/hw/arm

[PATCH v4 10/11] MAX78000: AES implementation

2025-07-04 Thread Jackson Donaldson
This commit implements AES for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_aes.c | 223 + hw/misc/max78000_gcr.c

[PATCH v4 08/11] MAX78000: TRNG Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements the True Random Number Generator for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig | 3 + hw/misc/max78000_gcr.c | 6 ++ hw/misc/max78000_trng.c

[PATCH v4 00/11] MAX78000FTHR Implementation

2025-07-04 Thread Jackson Donaldson
//github.com/JacksonDonaldson/max78000Test Contains instructions for building a test program against the MAX78000FTHR as well as results of the test suite run on QEMU and hardware. Jackson Donaldson (11): MAX78000: Add MAX78000FTHR Machine MAX78000: ICC Implementation MAX78000: Add ICC to SO

[PATCH v4 02/11] MAX78000: ICC Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements the Instruction Cache Controller for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_icc.c | 120 + hw

[PATCH v4 11/11] MAX78000: Add AES to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds AES to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 12 +--- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm

[PATCH v3 07/11] MAX78000: Add GCR to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds the Global Control Register to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 22 -- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm

[PATCH v3 10/11] MAX78000: AES implementation

2025-07-04 Thread Jackson Donaldson
This commit implements AES for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_aes.c | 223 + hw/misc/max78000_gcr.c | 6 + hw/misc/meson.build

[PATCH v3 06/11] MAX78000: GCR Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements the Global Control Register for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_gcr.c | 339 + hw/misc

[PATCH v3 02/11] MAX78000: ICC Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements the Instruction Cache Controller for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_icc.c | 120 + hw

[PATCH v3 11/11] MAX78000: Add AES to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds AES to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 14 +++--- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index 074fb1da8b

[PATCH v3 04/11] MAX78000: UART Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements UART support for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/char/Kconfig | 3 + hw/char/max78000_uart.c | 285 hw/char/meson.build

[PATCH v3 08/11] MAX78000: TRNG Implementation

2025-07-04 Thread Jackson Donaldson
This commit implements the True Random Number Generator for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig | 3 + hw/misc/max78000_gcr.c | 6 ++ hw/misc/max78000_trng.c | 139

[PATCH v3 00/11] MAX78000FTHR Implementation

2025-07-04 Thread Jackson Donaldson
a test program against the MAX78000FTHR as well as results of the test suite run on QEMU and hardware. Jackson Donaldson (11): MAX78000: Add MAX78000FTHR Machine MAX78000: ICC Implementation MAX78000: Add ICC to SOC MAX78000: UART Implementation MAX78000: Add UART to SOC MAX78000: GCR Im

[PATCH v3 01/11] MAX78000: Add MAX78000FTHR Machine

2025-07-04 Thread Jackson Donaldson
Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig| 10 ++ hw/arm/max78000_soc.c | 172 ++ hw/arm/max78000fthr.c | 50 ++ hw/arm/meson.build| 2 + include/hw/arm/max78000_soc.h | 35

[PATCH v3 09/11] MAX78000: Add TRNG to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds TRNG to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 12 +++- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index eddd9616f0

[PATCH v3 05/11] MAX78000: Add UART to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds UART to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 28 include/hw/arm/max78000_soc.h | 3 +++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm/max78000_soc.c index

[PATCH v3 03/11] MAX78000: Add ICC to SOC

2025-07-04 Thread Jackson Donaldson
This commit adds the instruction cache controller to max78000_soc Signed-off-by: Jackson Donaldson --- hw/arm/max78000_soc.c | 20 include/hw/arm/max78000_soc.h | 6 ++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw

[PATCH] hw/misc/max78000_aes: Comment Internal Key Storage

2025-07-15 Thread Jackson Donaldson
Coverity Scan noted an unusual pattern in the MAX78000 aes device, with duplicated calls to set_decrypt. This commit adds a comment noting why the implementation is correct. Signed-off-by: Jackson Donaldson --- hw/misc/max78000_aes.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/hw

[PATCH v5 10/11] MAX78000: AES implementation

2025-07-14 Thread Jackson Donaldson
This commit implements AES for the MAX78000 Signed-off-by: Jackson Donaldson --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_aes.c | 229 + hw/misc/max78000_gcr.c | 6 + hw/misc/meson.build

[PATCH v5 03/11] MAX78000: Add ICC to SOC

2025-07-14 Thread Jackson Donaldson
This commit adds the instruction cache controller to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 20 include/hw/arm/max78000_soc.h | 6 ++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a

[PATCH v5 01/11] MAX78000: Add MAX78000FTHR Machine

2025-07-14 Thread Jackson Donaldson
Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig| 10 ++ hw/arm/max78000_soc.c | 172 ++ hw/arm/max78000fthr.c | 50 ++ hw/arm/meson.build| 2 + include/hw/arm/max78000_soc.h | 35

[PATCH v5 00/11] MAX78000FTHR Implementation

2025-07-14 Thread Jackson Donaldson
t;. In this case there is only one possible interrupt condition (is there random data ready), which is always true when enabled. As such I don't think a handler function is really necessary v1: This patch series implements basic support for the MAX78000FTHR machine https://github.com/JacksonD

[PATCH v5 05/11] MAX78000: Add UART to SOC

2025-07-14 Thread Jackson Donaldson
This commit adds UART to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 28 include/hw/arm/max78000_soc.h | 3 +++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/hw/arm/max78000_soc.c b

[PATCH v5 02/11] MAX78000: ICC Implementation

2025-07-14 Thread Jackson Donaldson
This commit implements the Instruction Cache Controller for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_icc.c | 120 + hw

[PATCH v5 04/11] MAX78000: UART Implementation

2025-07-14 Thread Jackson Donaldson
This commit implements UART support for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/char/Kconfig | 3 + hw/char/max78000_uart.c | 285 hw/char/meson.build

[PATCH v5 08/11] MAX78000: TRNG Implementation

2025-07-14 Thread Jackson Donaldson
This commit implements the True Random Number Generator for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig | 3 + hw/misc/max78000_gcr.c | 6 ++ hw/misc/max78000_trng.c

[PATCH v5 11/11] MAX78000: Add AES to SOC

2025-07-14 Thread Jackson Donaldson
This commit adds AES to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 12 +--- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm

[PATCH v5 06/11] MAX78000: GCR Implementation

2025-07-14 Thread Jackson Donaldson
This commit implements the Global Control Register for the MAX78000 Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/Kconfig | 1 + hw/misc/Kconfig| 3 + hw/misc/max78000_gcr.c | 339 + hw/misc

[PATCH v5 07/11] MAX78000: Add GCR to SOC

2025-07-14 Thread Jackson Donaldson
This commit adds the Global Control Register to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 18 -- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/hw/arm

[PATCH v5 09/11] MAX78000: Add TRNG to SOC

2025-07-14 Thread Jackson Donaldson
This commit adds TRNG to max78000_soc Signed-off-by: Jackson Donaldson Reviewed-by: Peter Maydell --- hw/arm/max78000_soc.c | 10 +- include/hw/arm/max78000_soc.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/hw/arm/max78000_soc.c b/hw/arm