ucb-bar / fpga-zynq

Support for Rocket Chip on Zynq FPGAs
http://bar.eecs.berkeley.edu/projects/2014-rocket_chip.html
Other
397 stars 192 forks source link

make ramdisk-close ERROR mkimage not found #62

Closed ninode closed 7 years ago

ninode commented 7 years ago

I copied a binary in ramdisk and this happened when closing the ramdisk. Would you know why ? Thank you !

root@alpha-VirtualBox:/home/alpha/fpga-zynq/zedboard# make ramdisk-close
sh -c 'cd ramdisk/ && sudo find . | sudo cpio -H newc -o' | gzip -9 > uramdisk.cpio.gz
37049 blocks
mkimage -A arm -O linux -T ramdisk -d uramdisk.cpio.gz fpga-images-zedboard/uramdisk.image.gz
/bin/bash: mkimage: command not found
make: *** [ramdisk-close] Error 127
davidbiancolin commented 7 years ago

Do you have mkimage installed?

ninode commented 7 years ago

sudo apt-get install u-boot-tools solves it. I thought it had something to do with the arm-uboot problems in the other issue.