initrd

Ruedi.Hofer at ascom.ch Ruedi.Hofer at ascom.ch
Fri Feb 4 02:39:30 EST 2000


Hi

Is there something wrong with the mapping???

Boot message in case of failure..

loaded at:     0011C000 001271BC
relocated to:  00100000 0010B1BC
board data at: 00FF0000 00FF001C
relocated to:  00200100 0020011C
zimage at:     00122000 00182FEC
initrd at:     00182FEC 00236655
avail ram:     00237000 01000000


Did you change something in this part of the Makefile (in mbxboot) to get it working?

zvmlinux.initrd: zvmlinux
        $(LD) $(ZLINKFLAGS) -o zvmlinux.initrd.tmp $(OBJECTS)
        $(OBJCOPY) $(OBJCOPY_ARGS) -R .comment \
                --add-section=initrd=ramdisk.image.gz \
                --add-section=image=../coffboot/vmlinux.gz \
                zvmlinux.initrd.tmp zvmlinux.initrd
        $(CC) $(CFLAGS) -DINITRD_OFFSET=`sh offset $(OBJDUMP)
zvmlinux.initrd initrd` \
                -DINITRD_SIZE=`sh size $(OBJDUMP) zvmlinux.initrd
initrd` \
                -DZIMAGE_OFFSET=`sh offset $(OBJDUMP) zvmlinux.initrd
image` \
                -DZIMAGE_SIZE=`sh size $(OBJDUMP) zvmlinux.initrd image`
\
                -c -o misc.o misc.c
        $(LD) $(ZLINKFLAGS) -o zvmlinux.initrd.tmp $(OBJECTS)
        $(OBJCOPY) $(OBJCOPY_ARGS) -R .comment \
                --add-section=initrd=ramdisk.image.gz \
                --add-section=image=../coffboot/vmlinux.gz \
                zvmlinux.initrd.tmp $@
        rm zvmlinux.initrd.tmp



Any ideas?

TIA
\Ruedi









More information about the Linuxppc-embedded mailing list