Skip to contentSkip to conversation

ARM: enable AUTO_ZRELADDR at 16MB aligned of RAM ?

RFC/query Jisheng Zhang 1 participant 1 message Oct 17, 2013

lore
Share & tools
lore
#0 lore raw

Hi all,

I need your help about where the 128MB limitation of AUTO_ZRELADDR comes from? IOW, why
mov r4, pc
and r4, r4, #0xf8000000

rather than
mov r4, pc
and r4, r4, #0xff000000

Can we make the following change to arch/arm/boot/compressed/head.S?

@ determine final kernel image address
mov r4, pc
- and r4, r4, #0xf8000000
+ and r4, r4, #0xff000000
add r4, r4, #TEXT_OFFSET
#else
ldr r4, =zreladdr

Thanks in advance,
Jisheng