INITRAMFS problem in DigiEL 5.7


I’m trying to use INITRAMFS as root filesystem with DigiEL 5.7 on a Digi Connect ME 9210 (8/16) Ethernet.
I have done the following steps:

  • In kernel configuration, these options are activated: BLK_DEV_RAM, BLK_DEV_INITRD, RD_GZIP
  • In rootfs configuration, INITRAMFS is selected, but NOT bundled into kernel
  • The rootfs partition is selected as “Filesystem, initrd, rootfs”
  • flpart setenv_mtdparts; flpart setenv_mtdroot; saveenv; was executed in bootloader
  • Updating kernel and rootfs was successful
  • “imls” confirms that the CRCs are correct

But the kernel cannot load the initramfs:

Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
RAMDISK: Couldn't find valid RAM disk image starting at 0.

Loading the kernel and initramfs from RAM also doesn’t work but without a diffrent error:

# tftpboot 200000 uImage-cme9210js
# tftpboot 340000 rootfs-cme9210js.initramfs
# bootm 200000 340000
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (uncompression error); looks like an initrd
RAMDISK: gzip image found at block 0
uncompression error

Have I missed something?
Please let me know if you have any hints how to install initramfs.

Thanks in advance,
F. Kerkhoff


finally I managed it:

The default extraction addresses of kernel and initramfs collided with the kernel relocation area. To avoid this, I changed the load adresses to values at the end of RAM:
These values are obviously only correct for modules with 8MB flash and 16MB RAM.

F. Kerkhoff