I am working on Zynq Microzed board. It is booting perfectly with uramdisk.image.gz but I trying to boot it with initramfs.cpio.

In this regard I have made following changes in header files of u-boot:

zynq_common.h and zynq_common.h.save changes are as follows




in both the header files

I am getting following log messagesenter image description here

It is still looking for uramdisk.image.gz and giving an error

Wrong Ramdisk Image Format

Ramdisk image is corrupt or invalid

I am unable sought out where I am getting wrong and how to resolve it.


I think you should convert it to u-boot file like this and give it a try:

mkimage -n 'Ramdisk Image'  -A arm -O linux -T ramdisk -C gzip -d initramfs.cpio.gz initramfs.uImage

This might be a valid format for u-boot.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.