s-matyukevich / raspberry-pi-os

Learning operating system development using Linux kernel and Raspberry Pi
MIT License
12.98k stars 1.28k forks source link

[Lesson 01] Excerise 3 #222

Closed szediwy closed 3 years ago

szediwy commented 3 years ago

Hi there,

I am trying to solve the 3rd exercise for lession 01 on a Raspberry Pi 4B. So far I could manage to adapt all the code for the 4 with the help of the hints in the issues. But I do not manage to get all the cores running, just the processor 0.

image

I even built the other user solutions without any success.

UPDATE: With uart_2ndstage=1

image

What am I missing? Thanks for you help!

szediwy commented 3 years ago

These documents led me to the solution: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.rst?h=v5.3#n255 https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/bcm2711.dtsi https://github.com/raspberrypi/tools/blob/master/armstubs/armstub8.S

szediwy commented 3 years ago

Found a solution.