Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support BCM2711 #7

Open
TyphoonWu opened this issue Jul 5, 2021 · 0 comments
Open

Please support BCM2711 #7

TyphoonWu opened this issue Jul 5, 2021 · 0 comments

Comments

@TyphoonWu
Copy link

I found Pi4 MEM_FLAG = 0x04
#elif (RASPI) == 4 // Raspberry Pi 4
#define PERIPH_VIRT_BASE 0xfe000000
#define PERIPH_PHYS_BASE 0x7e000000
#define DRAM_PHYS_BASE 0xc0000000
#define MEM_FLAG 0x04
#define XTAL_CLOCK 54.0e6

So in dma.cpp please add BCM2711
if (strstr(modelstr, "BCM2708"))
hw.board_model = 1;
else if (strstr(modelstr, "BCM2709") || strstr(modelstr, "BCM2835"))
hw.board_model = 2;
else
fatal("rpio-pwm: Cannot parse the hardware name string\n");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant