Hi Greg,

On Tue, Aug 7, 2012 at 7:38 AM, Greg Ungerer <g...@snapgear.com> wrote:

> So it looks like LMA's are wrong now. What config switches do you
> have enabled, and what are they set to for the kernel memory layout?
>
> Important ones to look at are:
>
>   CONFIG_RAMBASE
0x1000

>   CONFIG_RAMSIZE
0x7ff000

>   CONFIG_VECTORBASE
0x0

>   CONFIG_KERNELBASE
0x810000

>   CONFIG_ROM
y

>   CONFIG_RAMKERNEL
not set

>   CONFIG_ROMKERNEL
y



>
> You may need to change this too, with the new linker script:
>
>   $(CROSS_COMPILE)objcopy -O binary \
>         -j .rodata \
>         -j __param \
>         -j __modver \
>
>         -j .data \
>         -j .init.text \
>         -j .init.data \
>         $(ROOTDIR)/$(LINUXDIR)/linux $(IMAGEDIR)/linux.data
>

Well, it works with these changes.
I was pretty sure I had tried that, I guess I screwed up somewhere...


Thanks a lot,
Luis
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to