Skip to content

Conversation

@nico
Copy link
Contributor

@nico nico commented Sep 30, 2021

After building and running

 objcopy -O binary Build/aarch64/Kernel/Prekernel/Prekernel \
                   /media/sdcard/kernel8.img

things start booting on an actual RPi4 :^)

(Assuming the sdcard contains RPi firmware, an empty config.txt,
and no other kernel*.img files).

After building and running

     objcopy -O binary Build/aarch64/Kernel/Prekernel/Prekernel \
                       /media/sdcard/kernel8.img

things start booting on an actual RPi4 :^)

(Assuming the sdcard contains RPi firmware, an empty config.txt,
and no other kernel*.img files).
@nico
Copy link
Contributor Author

nico commented Sep 30, 2021

This is now at RPi4-bare-metal "Hello world" level. It's something.

Hangs either querying firmware revision or printing it, but having any output at all means printf* debugging is yes.

(*: No actual printf yet.)

PXL_20210930_132804767

@nico
Copy link
Contributor Author

nico commented Sep 30, 2021

Now it prints Firmware version: 0. That's not right either, but at least it's more clear it doesn't hang. (It printed the \r\n before, so if you looked closely it was clear before too.)

@linusg linusg merged commit 94d0562 into SerenityOS:master Sep 30, 2021
@nico nico deleted the bss branch September 30, 2021 14:40
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

Successfully merging this pull request may close these issues.

2 participants