[uClinux-dev] uClinux dist changes from 20120401 to 20120620

Luis Alves ljalvs at gmail.com
Thu Aug 9 19:31:08 EDT 2012


Hi Greg,

On Tue, Aug 7, 2012 at 7:38 AM, Greg Ungerer <gerg at 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



More information about the uClinux-dev mailing list