Re: Loading a simple "kernel" at the address other than default on Raspberry Pi 4

2021-11-04 Thread Mushahid Hussain
>There's another number, set during the kernel build, that tells the kernel what address it should expect to be loaded at. Thank you for the reply. I have added a linker script specifying the same load address as one one config.txt. The simple kernel(hello world) is only able to run, when both

Re: Loading a simple "kernel" at the address other than default on Raspberry Pi 4

2021-11-02 Thread Valdis Klētnieks
On Tue, 02 Nov 2021 17:13:16 +0500, Mushahid Hussain said: > I have written a simple kernel which prints Hello World to UART. The simple > kernel works successfully and prints Hello World to UART, if I load it at > 0x8, which is the default load address for the 64-bit kernel. > > There's a

Re: Loading a simple "kernel" at the address other than default on Raspberry Pi 4

2021-11-02 Thread Paulo Miguel Almeida
Disclaimer: I'm not an expert in ARM, I'm just trying to help because I've been (still am really) in the journey of writing a hobbist OS and know how small suggestions can help sometimes. On Tue, Nov 02, 2021 at 05:13:16PM +0500, Mushahid Hussain wrote: > There's a configuration(config.txt)[1]

Loading a simple "kernel" at the address other than default on Raspberry Pi 4

2021-11-02 Thread Mushahid Hussain
Hi, I have written a simple kernel which prints Hello World to UART. The simple kernel works successfully and prints Hello World to UART, if I load it at 0x8, which is the default load address for the 64-bit kernel. There's a configuration(config.txt)[1] kernel_address on Raspberry Pi 4 but