Skip to content

Can I pass arguments to my new kernel via the UART chainloader #130

Discussion options

You must be logged in to vote

Your approach should work, extern C will follow the AArch64 calling convention, which means the chainloaded kernel will find dtb_pointer in x0 when it starts to run in its own _start in boot.s.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by andre-richter
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants