3 ms·
Mainly by looking at what addresses the original bootloader loads them into. The addresses don't matter too much, as long as you load them into valid memory, si
by redfast00 4y ago
Mainly by looking at what addresses the original bootloader loads them into. The addresses don't matter too much, as long as you load them into valid memory, since for most you pass a reference to them anyway in later steps.
- n8henrie 4y agoThanks for your response! I'm a hobbyist that's been tinkering with uboot now and again for years and can never figure out the right addresses for stuff, or where / how to learn this. I assume this memory is subsequently released for the OS? Or does the OS just work around it? Are you hobbling your runtime experience in some way if you load to the wrong address?
- redfast00 4y agoThis is raw memory, so the concept of malloc/free does not really exist: the OS will just overwrite the data. I think (not entirely sure) that the kernel gets relocated to a more or less fixed address in memory anyway, this won't affect your runtime experience.