Skip to content

Commit 94b89a6

Browse files
committed
vclog: Add DMA support (needed for Pi 3)
Pi 3 (BCM2710) has a 16MB hole in the ARM's address space where it can't see RAM because the I/O space is mapped there. This is the area where the firmware usually puts its logging information, so accessing it from the ARM requires the use of DMA to copy it to visible RAM. This major update adds DMA support, but also makes vclog more resilient when run in "follow" mode. Signed-off-by: Phil Elwell <[email protected]>
1 parent 8fc892d commit 94b89a6

File tree

3 files changed

+465
-761
lines changed

3 files changed

+465
-761
lines changed

vclog/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic")
66
project(vclog)
77

88
#add executables
9-
add_executable(vclog vcdbg.c)
9+
add_executable(vclog vclog.c)
1010
install(TARGETS vclog RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

0 commit comments

Comments
 (0)