on real hardware do not enter U-Boot! To be investigated.
Signed-off-by: Patrick Rudolph
Cc: Matthias Brugger
Cc: Peter Robinson
Cc: Tom Rini
---
arch/arm/mach-bcm283x/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
Allows to build the RPi4 with ACPI enabled.
TEST: - Boots on qemu-system-aarch64 -machine raspi4b
- Boots on real hardware with arm_64bit=1 in config.txt
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Matthias Brugger
Cc: Peter Robinson
---
configs/rpi_4_acpi_defconfig | 79
ed the APs are released from reset
and will enter U-Boot after it has been relocated as well.
By default ARMV8_MULTIENTRY is not selected, keeping existing behaviour.
TEST: All APs enter U-Boot when run on qemu-system-aarch64
Signed-off-by: Patrick Rudolph
Cc: Matthias Brugger
Cc: Peter Robinson
Cc
rms.
TEST: Boots all CPUs on qemu-system-aarch64 -machine raspi4b
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Tom Rini
---
arch/arm/cpu/armv8/Makefile | 1 +
arch/arm/cpu/armv8/parking_protocol_v8.S | 102 +++
arch/arm/cpu/armv8/start.S |
9.0 without
modifications, since it doesn't emulate PCIe yet.
Signed-off-by: Simon Glass
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Matthias Brugger
Cc: Peter Robinson
---
board/raspberrypi/rpi/.gitignore | 3 +
board/raspberrypi/rpi/Makefile | 2 +
board/raspberrypi/rpi
functions that needs to be implemented.
When ACPI is not enabled the added code does nothing, keeping existing
behaviour.
TEST: Booted on RPi4 with only ACPI enabled, providing no FDT to the OS.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Matthias Brugger
Cc: Peter Robinson
Cc: Tom Rini
From: Simon Glass
These header files presumably duplicate things already in the U-Boot
devicetree. For now, bring them in to get the ASL code and ACPI table
code to compile.
Signed-off-by: Simon Glass
Signed-off-by: Patrick Rudolph
Cc: Matthias Brugger
Cc: Peter Robinson
Cc: Tom Rini
d accessed the GIC in C code without crash.
1: https://datasheets.raspberrypi.com/bcm2711/bcm2711-peripherals.pdf
Signed-off-by: Patrick Rudolph
Cc: Matthias Brugger
Cc: Peter Robinson
---
arch/arm/mach-bcm283x/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arc
Return the ACPI table revision in acpi_get_table_revision() for
PPTT and GTDT. Match both to ACPI 6.2.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
---
include/acpi/acpi_table.h | 2 ++
lib/acpi/acpi_table.c | 4
2 files changed, 6 insertions(+)
diff --git a/include/acpi
The FADT structure found in U-Boot represents FADT revision 6 and the
GICC and GICD structures defined in U-Boot are based on ACPI revision
6.3.
Bump the table revision to fix FWTS failures seen on aarch64.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/x86/cpu/tangier
Add generic ACPI code to generate
- MADT GICC
- MADT GICD
as commonly used on arm platforms.
Signed-off-by: Patrick Rudolph
Cc: Tom Rini
Cc: Simon Glass
---
arch/arm/include/asm/acpi_table.h | 18 +
arch/arm/lib/Makefile | 1 +
arch/arm/lib/acpi_table.c | 44
Add the interrupt flag used in ACPI GTDT table as define.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
---
include/acpi/acpi_table.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index 0de3d3f439..19771c133a 100644
--- a/include
From: Maximilian Brune
When ACPI is enabled on arm it will use the getinfo function to fill
the SPCR ACPI table.
Signed-off-by: Maximilian Brune
Cc: Simon Glass
Cc: Tom Rini
---
boot/bootflow.c | 8 ++--
drivers/serial/serial_pl01x.c | 24
Rename ACPI tables MADR to MADT.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
---
include/acpi/acpi_table.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index 904c54e38e..0de3d3f439 100644
Write MADT in common code and let the SoC fill out the body by
calling acpi_fill_madt() which must be implemented at SoC level.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/sandbox/lib/Makefile | 9 +++---
arch/sandbox/lib/acpi_table.c | 7 +
arch/x86
From: Maximilian Brune
Write the FADT in common code since it's used on all architectures.
Let the cpu code fill out the FADT body by introducing a new weak
function acpi_fill_fadt().
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/x86/cpu/apollolake/acpi.c| 20
From: Maximilian Brune
This moves the SPCR and DBG2 table generation into common code, so that
they can be used by architectures other than x86.
Signed-off-by: Maximilian Brune
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/x86/include/asm/acpi_table.h | 11 --
arch
.
- PCI isn't working on real hardware since the pcie_brcmstb Linux kernel
module doesn't support ACPI yet.
Maximilian Brune (3):
acpi: x86: Move SPCR and DBG2 into common code
acpi: x86: Write FADT in common code
serial: serial_pl01x: Implement .getinfo() for PL01
Patrick Rudolph (12
Hi Tom,
can you please clarify or point us to some documentation that explains
the new DT setup?
I thought the u-boot DT is only used for u-boot internal drivers.
Do we need to upstream the kernel DT first?
Do we need to provide a complete "kernel DT" to u-boot as well?
Regards,
Patri
reboot.org/
[2]: https://review.coreboot.org/
Kind Regards,
Patrick Rudolph
9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany
Email: patrick.rudo...@9elements.com
Phone: +49 234 / 68 94 188
Sitz der Gesellschaft: Bochum
Handelsregister: Amtsgericht Bochum, HRB 13207
Geschäftsführung:
20 matches
Mail list logo