Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 6 ++
include/hw/arm/bcm2838_peripherals.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw/arm/bcm2838_peripherals.c
index 6badda3045..1f41028649 100644
--- a/hw/arm
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2835_property.c | 21 +
include/hw/arm/raspberrypi-fw-defs.h | 11 +++
2 files changed, 32 insertions(+)
diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c
index 5c48f8d743..bdd9a6bbce 100644
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2838_peripherals.c | 3 +++
include/hw/arm/bcm2838_peripherals.h | 2 ++
include/hw/arm/raspi_platform.h | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw
This commit adds RPi4B device tree modifications:
- disable pcie, rng200, thermal sensor and genet devices
(they're going to be re-enabled in the following commits)
- create additional memory region in device tree
if RAM amount exceeds VC base address.
Signed-off-by: Sergey Kambalin
Rev
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 37
include/hw/net/bcm2838_genet.h | 77 +-
2 files changed, 113 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 4420486e00
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 221 -
include/hw/net/bcm2838_genet.h | 17 +++
2 files changed, 237 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 1fae3ecbc2..4c9b39a3ca 100644
Signed-off-by: Sergey Kambalin
---
include/hw/net/bcm2838_genet.h | 37 ++
1 file changed, 37 insertions(+)
diff --git a/include/hw/net/bcm2838_genet.h b/include/hw/net/bcm2838_genet.h
index 1bd004785a..94c2f3ebca 100644
--- a/include/hw/net/bcm2838_genet.h
+++ b
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 177 ++
1 file changed, 177 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index 9222b38bad..1360fbb8cf 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/gpio/bcm2838_gpio.c | 153 +
hw/gpio/meson.build| 5 +-
include/hw/gpio/bcm2838_gpio.h | 40 +
3 files changed, 197 insertions(+), 1 deletion(-)
create mode 100644 hw
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index c96a9ba3f3..ff7c347e7c 100644
--- a/tests/qtest/bcm2838
Pre-setup for BCM2838 introduction
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2835_peripherals.c | 198 +++
hw/arm/bcm2836.c | 24 ++--
include/hw/arm/bcm2835_peripherals.h | 29 +++-
include/hw/arm/bcm2836.h
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 4 +
hw/arm/bcm2838_peripherals.c | 17 ++
hw/arm/raspi4b.c | 1 -
hw/misc/bcm2838_rng200.c | 405 +++
hw/misc/meson.build | 1 +
hw
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
docs/system/arm/raspi.rst | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/system/arm/raspi.rst b/docs/system/arm/raspi.rst
index d0a6f08b2b..c21b27744e 100644
--- a/docs/system/arm/raspi.rst
+++ b
Signed-off-by: Sergey Kambalin
---
tests/avocado/boot_linux_console.py | 92 +
1 file changed, 92 insertions(+)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index a00202df3c..f5ec6de0f1 100644
--- a/tests/avocado
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 6 ++
hw/arm/bcm2838_peripherals.c | 11 +++
hw/arm/raspi4b.c | 20 +---
include/hw/arm/bcm2838_peripherals.h | 2 ++
4 files changed, 20 insertions(+), 19
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_pcie.c | 82 +++
hw/arm/meson.build| 5 ++-
include/hw/arm/bcm2838_pcie.h | 53 ++
3 files changed, 139 insertions(+), 1 deletion(-)
create mode 100644 hw/arm
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 126 -
include/hw/net/bcm2838_genet.h | 3 +-
2 files changed, 126 insertions(+), 3 deletions(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 56ff6a6f39..1fae3ecbc2 100644
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.c| 1 -
tests/qtest/bcm2838-mbox-property-test.c | 207 +++
tests/qtest/meson.build | 2 +-
3 files changed, 208 insertions(+), 2 deletions(-)
create mode 100644 tests/qtest
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_pcie.c | 217 +-
hw/arm/trace-events | 4 +
include/hw/arm/bcm2838_pcie.h | 22
3 files changed, 241 insertions(+), 2 deletions(-)
diff --git a/hw/arm/bcm2838_pcie.c b/hw/arm
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 152 ++
1 file changed, 152 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index 1360fbb8cf..b4f7b7b314 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/gpio/bcm2838_gpio.c | 52 +-
include/hw/gpio/bcm2838_gpio.h | 5
2 files changed, 56 insertions(+), 1 deletion(-)
diff --git a/hw/gpio/bcm2838_gpio.c b/hw/gpio/bcm2838_gpio.c
index
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 196 ++-
1 file changed, 195 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index acb421915b..b251d3f552 100644
--- a
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 89 ++
include/hw/net/bcm2838_genet.h | 89 ++
2 files changed, 178 insertions(+)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 0d98d1b30e
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 189 +++--
include/hw/net/bcm2838_genet.h | 2 +
2 files changed, 182 insertions(+), 9 deletions(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index be899b68f8..56ff6a6f39 100644
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.c | 60 +++
tests/qtest/bcm2838-mailbox.h | 37 +
tests/qtest/meson.build | 1 +
3 files changed, 98 insertions(+)
create mode 100644 tests/qtest/bcm2838-mailbox.c
create
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/gpio/bcm2838_gpio.c | 193 -
1 file changed, 190 insertions(+), 3 deletions(-)
diff --git a/hw/gpio/bcm2838_gpio.c b/hw/gpio/bcm2838_gpio.c
index a312490bbd..69d15dbb49 100644
--- a/hw/gpio
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.c | 1 +
tests/qtest/bcm2838-mailbox.h | 88 +++
2 files changed, 89 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.c b/tests/qtest/bcm2838-mailbox.c
index 0928a3dff8..1efd3c628a 100644
--- a
Pre setup for BCM2838 introduction
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2836.c | 103 ++-
hw/arm/raspi.c | 2 +-
include/hw/arm/bcm2836.h | 26 +-
3 files changed, 84 insertions(+), 47 deletions
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 78 +++
1 file changed, 78 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index b4f7b7b314..d753f17fb2 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
keep the commits less than 200 changes,
but had to make some of them a bit more in order to
keep their integrity.
Sergey Kambalin (41):
Split out common part of BCM283X classes
Split out common part of peripherals
Split out raspi machine common part
Introduce BCM2838 SoC
Add GIC-400 to
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2838_peripherals.c | 11
hw/arm/raspi4b.c | 1 -
hw/misc/bcm2838_thermal.c| 98
hw/misc/meson.build | 1 +
include/hw/arm
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 9 +
hw/arm/bcm2838_peripherals.c | 24
hw/arm/meson.build | 7 ---
hw/arm/raspi4b.c | 1 -
include/hw/arm/bcm2838_peripherals.h | 2
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2835_peripherals.c| 17 ++--
hw/arm/bcm2836.c| 2 +
hw/arm/bcm2838.c| 2 +
hw/arm/meson.build | 2 +-
hw/arm/raspi.c | 27 -
hw/arm
Signed-off-by: Sergey Kambalin
---
include/hw/net/bcm2838_genet.h | 76 ++
1 file changed, 76 insertions(+)
diff --git a/include/hw/net/bcm2838_genet.h b/include/hw/net/bcm2838_genet.h
index 94c2f3ebca..e7a76cda81 100644
--- a/include/hw/net/bcm2838_genet.h
+++ b
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 213 ++-
1 file changed, 212 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index b251d3f552..c96a9ba3f3 100644
--- a
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2838.c | 98
hw/arm/bcm2838_peripherals.c | 72
hw/arm/meson.build | 2 +
include/hw/arm/bcm2838.h | 29
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2838.c | 167 ++-
hw/arm/trace-events | 3 +
include/hw/arm/bcm2838.h | 2 +
include/hw/arm/bcm2838_peripherals.h | 37 ++
4 files changed
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 265 -
include/hw/net/bcm2838_genet.h | 1 +
2 files changed, 265 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 4c9b39a3ca..61c1981e10 100644
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2838_thermal.c| 2 +-
hw/net/bcm2838_genet.c | 99
hw/net/meson.build | 2 +
hw/net/trace-events | 16 +
include/hw/arm/bcm2838_peripherals.h | 2
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 88 ++
include/hw/net/bcm2838_genet.h | 88 ++
2 files changed, 176 insertions(+)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 9a99f34c4a
Pre-setup for raspberry pi 4 introduction
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/raspi.c | 112 ++--
include/hw/arm/raspi_platform.h | 21 ++
2 files changed, 85 insertions(+), 48 deletions(-)
diff --git a/hw/arm
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
hw/arm/bcm2838_peripherals.c | 143 +++
include/hw/arm/bcm2838_peripherals.h | 8 ++
2 files changed, 151 insertions(+)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw/arm/bcm2838_peripherals.c
index
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2838_thermal.c| 2 +-
hw/net/bcm2838_genet.c | 99
hw/net/meson.build | 2 +
hw/net/trace-events | 16 +
include/hw/arm/bcm2838_peripherals.h | 2
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2835_property.c | 21 +
include/hw/arm/raspberrypi-fw-defs.h | 11 +++
2 files changed, 32 insertions(+)
diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c
index 5c48f8d743..bdd9a6bbce 100644
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 89 ++
include/hw/net/bcm2838_genet.h | 89 ++
2 files changed, 178 insertions(+)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 0d98d1b30e
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 126 -
include/hw/net/bcm2838_genet.h | 3 +-
2 files changed, 126 insertions(+), 3 deletions(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 56ff6a6f39..1fae3ecbc2 100644
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 213 ++-
1 file changed, 212 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index b251d3f552..c96a9ba3f3 100644
--- a
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_pcie.c | 82 +++
hw/arm/meson.build| 5 ++-
include/hw/arm/bcm2838_pcie.h | 53 ++
3 files changed, 139 insertions(+), 1 deletion(-)
create mode 100644 hw/arm
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 196 ++-
1 file changed, 195 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index acb421915b..b251d3f552 100644
--- a
Signed-off-by: Sergey Kambalin
---
tests/avocado/boot_linux_console.py | 92 +
1 file changed, 92 insertions(+)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index 3f0180e1f8..40e4aa86e1 100644
--- a/tests/avocado
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 189 +++--
include/hw/net/bcm2838_genet.h | 2 +
2 files changed, 182 insertions(+), 9 deletions(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index be899b68f8..56ff6a6f39 100644
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.c | 1 +
tests/qtest/bcm2838-mailbox.h | 88 +++
2 files changed, 89 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.c b/tests/qtest/bcm2838-mailbox.c
index 0928a3dff8..1efd3c628a 100644
--- a
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 27 ++--
hw/arm/raspi4b.c | 1 -
hw/misc/bcm2838_thermal.c| 98
hw/misc/meson.build | 3 +-
include/hw/arm/bcm2838_peripherals.h | 2
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 152 ++
1 file changed, 152 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index 1360fbb8cf..b4f7b7b314 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/gpio/bcm2838_gpio.c | 193 -
1 file changed, 190 insertions(+), 3 deletions(-)
diff --git a/hw/gpio/bcm2838_gpio.c b/hw/gpio/bcm2838_gpio.c
index a312490bbd..69d15dbb49 100644
--- a/hw/gpio/bcm2838_gpio.c
+++ b/hw
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 6 ++
include/hw/arm/bcm2838_peripherals.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw/arm/bcm2838_peripherals.c
index 48c5fd5978..35366386ca 100644
--- a/hw/arm
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 177 ++
1 file changed, 177 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index 9222b38bad..1360fbb8cf 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/gpio/bcm2838_gpio.c | 52 +-
include/hw/gpio/bcm2838_gpio.h | 5
2 files changed, 56 insertions(+), 1 deletion(-)
diff --git a/hw/gpio/bcm2838_gpio.c b/hw/gpio/bcm2838_gpio.c
index 69d15dbb49..2ddf62f695 100644
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.c | 60 +++
tests/qtest/bcm2838-mailbox.h | 37 +
tests/qtest/meson.build | 1 +
3 files changed, 98 insertions(+)
create mode 100644 tests/qtest/bcm2838-mailbox.c
create
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 9 +
hw/arm/bcm2838_peripherals.c | 23 +++
hw/arm/meson.build | 7 ---
hw/arm/raspi4b.c | 1 -
include/hw/arm/bcm2838_peripherals.h | 2
Signed-off-by: Sergey Kambalin
---
include/hw/net/bcm2838_genet.h | 76 ++
1 file changed, 76 insertions(+)
diff --git a/include/hw/net/bcm2838_genet.h b/include/hw/net/bcm2838_genet.h
index 94c2f3ebca..e7a76cda81 100644
--- a/include/hw/net/bcm2838_genet.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 88 ++
include/hw/net/bcm2838_genet.h | 88 ++
2 files changed, 176 insertions(+)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 9a99f34c4a
Signed-off-by: Sergey Kambalin
---
include/hw/net/bcm2838_genet.h | 37 ++
1 file changed, 37 insertions(+)
diff --git a/include/hw/net/bcm2838_genet.h b/include/hw/net/bcm2838_genet.h
index 1bd004785a..94c2f3ebca 100644
--- a/include/hw/net/bcm2838_genet.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 221 -
include/hw/net/bcm2838_genet.h | 17 +++
2 files changed, 237 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 1fae3ecbc2..4c9b39a3ca 100644
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_pcie.c | 217 +-
hw/arm/trace-events | 4 +
include/hw/arm/bcm2838_pcie.h | 22
3 files changed, 241 insertions(+), 2 deletions(-)
diff --git a/hw/arm/bcm2838_pcie.c b/hw/arm
Pre setup for BCM2838 introduction
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2836.c | 103 ++-
hw/arm/raspi.c | 2 +-
include/hw/arm/bcm2836.h | 26 +-
3 files changed, 84 insertions(+), 47 deletions(-)
diff --git a/hw/arm
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 6 ++
hw/arm/bcm2838_peripherals.c | 11 +++
hw/arm/raspi4b.c | 20 +---
include/hw/arm/bcm2838_peripherals.h | 2 ++
4 files changed, 20 insertions(+), 19
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 265 -
include/hw/net/bcm2838_genet.h | 1 +
2 files changed, 265 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 4c9b39a3ca..61c1981e10 100644
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 167 ++-
hw/arm/trace-events | 3 +
include/hw/arm/bcm2838.h | 2 +
include/hw/arm/bcm2838_peripherals.h | 37 ++
4 files changed, 207 insertions(+), 2
Signed-off-by: Sergey Kambalin
---
docs/system/arm/raspi.rst | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/system/arm/raspi.rst b/docs/system/arm/raspi.rst
index d0a6f08b2b..c21b27744e 100644
--- a/docs/system/arm/raspi.rst
+++ b/docs/system/arm/raspi.rst
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 37
include/hw/net/bcm2838_genet.h | 77 +-
2 files changed, 113 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 4420486e00
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2835_peripherals.c| 17 ++--
hw/arm/bcm2836.c| 2 +
hw/arm/bcm2838.c| 2 +
hw/arm/meson.build | 2 +-
hw/arm/raspi.c | 27 -
hw/arm/raspi4b.c| 70
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 4 +
hw/arm/bcm2838_peripherals.c | 14 +
hw/arm/raspi4b.c | 1 -
hw/misc/bcm2838_rng200.c | 405 +++
hw/misc/meson.build | 1 +
hw
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 78 +++
1 file changed, 78 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index b4f7b7b314..d753f17fb2 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 143 +++
include/hw/arm/bcm2838_peripherals.h | 8 ++
2 files changed, 151 insertions(+)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw/arm/bcm2838_peripherals.c
index 06110c724f..55ae56733f
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.c| 1 -
tests/qtest/bcm2838-mbox-property-test.c | 207 +++
tests/qtest/meson.build | 2 +-
3 files changed, 208 insertions(+), 2 deletions(-)
create mode 100644 tests/qtest
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index c96a9ba3f3..ff7c347e7c 100644
--- a/tests/qtest/bcm2838
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 98
hw/arm/bcm2838_peripherals.c | 72
hw/arm/meson.build | 2 +
include/hw/arm/bcm2838.h | 29
include/hw/arm
Pre-setup for raspberry pi 4 introduction
Signed-off-by: Sergey Kambalin
---
hw/arm/raspi.c | 112 ++--
include/hw/arm/raspi_platform.h | 21 ++
2 files changed, 85 insertions(+), 48 deletions(-)
diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c
Pre-setup for BCM2838 introduction
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2835_peripherals.c | 198 +++
hw/arm/bcm2836.c | 24 ++--
include/hw/arm/bcm2835_peripherals.h | 29 +++-
include/hw/arm/bcm2836.h | 3 +-
4 files
This commit adds RPi4B device tree modifications:
- disable pcie, rng200, thermal sensor and genet devices
(they're going to be re-enabled in the following commits)
- create additional memory region in device tree
if RAM amount exceeds VC base address.
Signed-off-by: Sergey Kambalin
--
keep the commits less than 200 changes,
but had to make some of them a bit more in order to
keep their integrity.
This is v5 patchset with the most of v1..v4 comments fixed.
Sergey Kambalin (41):
Split out common part of BCM283X classes
Split out common part of peripherals
Split out raspi
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 3 +++
include/hw/arm/bcm2838_peripherals.h | 2 ++
include/hw/arm/raspi_platform.h | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw/arm/bcm2838_peripherals.c
Signed-off-by: Sergey Kambalin
---
hw/gpio/bcm2838_gpio.c | 153 +
hw/gpio/meson.build| 5 +-
include/hw/gpio/bcm2838_gpio.h | 40 +
3 files changed, 197 insertions(+), 1 deletion(-)
create mode 100644 hw/gpio/bcm2838_gpio.c
create
Signed-off-by: Sergey Kambalin
---
include/hw/net/bcm2838_genet.h | 76 ++
1 file changed, 76 insertions(+)
diff --git a/include/hw/net/bcm2838_genet.h b/include/hw/net/bcm2838_genet.h
index 94c2f3ebca..e7a76cda81 100644
--- a/include/hw/net/bcm2838_genet.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 16
hw/arm/raspi4b.c | 17 -
include/hw/arm/bcm2838_peripherals.h | 2 ++
3 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/hw/arm/bcm2838_peripherals.c
Signed-off-by: Sergey Kambalin
---
docs/system/arm/raspi.rst | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/system/arm/raspi.rst b/docs/system/arm/raspi.rst
index 922fe375a6..db9e0949ef 100644
--- a/docs/system/arm/raspi.rst
+++ b/docs/system/arm/raspi.rst
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 88 ++
include/hw/net/bcm2838_genet.h | 88 ++
2 files changed, 176 insertions(+)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 9a99f34c4a
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_pcie.c| 3 +++
hw/arm/bcm2838_peripherals.c | 26 ++
hw/arm/meson.build | 7 ---
hw/arm/raspi4b.c | 1 -
include/hw/arm/bcm2838_peripherals.h | 3 +++
5
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838.c | 100 +++
hw/arm/bcm2838_peripherals.c | 72 +++
hw/arm/meson.build | 2 +
include/hw/arm/bcm2838.h | 29
include/hw/arm
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mailbox.h | 78 +++
1 file changed, 78 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index 49668668da..2b140a5d32 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2835_property.c | 47
include/hw/arm/raspberrypi-fw-defs.h | 12 ++-
2 files changed, 58 insertions(+), 1 deletion(-)
diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c
index ff55a4e2cd
Signed-off-by: Sergey Kambalin
---
tests/qtest/bcm2838-mbox-property-test.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/tests/qtest/bcm2838-mbox-property-test.c
b/tests/qtest/bcm2838-mbox-property-test.c
index 1b4a2ed9cb..3a2e7f9194 100644
--- a
Signed-off-by: Sergey Kambalin
---
tests/avocado/boot_linux_console.py | 92 +
1 file changed, 92 insertions(+)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index 6eab515718..b5c090ae64 100644
--- a/tests/avocado
Signed-off-by: Sergey Kambalin
---
hw/net/bcm2838_genet.c | 221 -
include/hw/net/bcm2838_genet.h | 17 +++
2 files changed, 237 insertions(+), 1 deletion(-)
diff --git a/hw/net/bcm2838_genet.c b/hw/net/bcm2838_genet.c
index 1fae3ecbc2..4c9b39a3ca 100644
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2838_rng200.c | 152 +++
hw/misc/meson.build | 1 +
hw/misc/trace-events | 9 ++
include/hw/misc/bcm2838_rng200.h | 51 +++
4 files changed, 213 insertions(+)
create mode
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 27 ++--
hw/arm/raspi4b.c | 1 -
hw/misc/bcm2838_thermal.c| 98
hw/misc/meson.build | 3 +-
include/hw/arm/bcm2838_peripherals.h | 2
Signed-off-by: Sergey Kambalin
---
hw/misc/bcm2838_rng200.c | 292 +--
include/hw/misc/bcm2838_rng200.h | 10 +-
2 files changed, 275 insertions(+), 27 deletions(-)
diff --git a/hw/misc/bcm2838_rng200.c b/hw/misc/bcm2838_rng200.c
index 8f64e6a20f..f91ea0754c
Pre setup for BCM2838 introduction
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2836.c | 102 ++-
hw/arm/raspi.c | 2 +-
include/hw/arm/bcm2836.h | 26 +-
3 files changed, 83 insertions(+), 47 deletions(-)
diff --git a/hw/arm
Pre-setup for raspberry pi 4 introduction
Signed-off-by: Sergey Kambalin
---
hw/arm/raspi.c | 112 ++--
include/hw/arm/raspi_platform.h | 21 ++
2 files changed, 85 insertions(+), 48 deletions(-)
diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c
1 - 100 of 364 matches
Mail list logo