• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Base address for boot?

andyo70

Android Enthusiast
Anyone know the base address for boot.img? I'm tinkering.

Actually what I'm looking for is the base address of the kernel. I believe it's 0x00200000
 
Okay so this question was answered but a how to was never made on how to find the base address.

If you need to find your base address pull your .config using this code in adb
Code:
adb pull /proc/config.gz
then unzip it and open it in gedit or notepad++ or whatever your favorite txt editor is scroll down to CONFIG_PHYS_OFFSET= the numbers/letters after the equal sign are your base address. I figured it out after looking at the memory.h file in the source code where it says
Code:
/* physical offset of RAM */
#define PHYS_OFFSET UL(CONFIG_PHYS_OFFSET)
I'm not a hundred percent positive but after define PHYS_OFFSET UL it used to have the base address.
 
Back
Top Bottom