Hi terry ,
I have created lnitrd.img , But i couldn’t create Ramdisk image . Error shown is ,
cinesoft@Cinesoft-Electronics-dept:~/project/khadas/ubuntu/u-boot/linux$ ./utils/mkbootimg --kernel linux/arch/arm64/boot/Image --ramdisk images/initrd.img -o images/ramdisk.img
bash: ./utils/mkbootimg: No such file or directory
folder “utils” is created under - /home/cinesoft/project/khadas/ubuntu.
I have copyed this file to present working directory. But i can 't build this Ramdisk image.
Hi terry,
Thanks for the link. But it doesn’t work. I have downloaded the folder ‘utils’ from github. The link and the command is working fine. I got a ‘utils’ folder and it contains 4 items , one of them is " mkbootimg " as an executable type . Total file size of ’ utils ’ is 8.5 Mb. But i couldn’t create Ramdisk image . Same error shows for the command " /utils/mkbootimg --kernel linux/arch/arm64/boot/Image --ramdisk images/initrd.img -o images/ramdisk.img "
Error shown is -
root@Cinesoft-Electronics-dept:/home/cinesoft/project/khadas/ubuntu/u-boot/linux# ./utils/mkbootimg --kernel linux/arch/arm64/boot/Image --ramdisk images/initrd.img -o images/ramdisk.img
bash: ./utils/mkbootimg: No such file or directory
is there is any issue related to the file " mkbootimg ". Present " mkbootimg " file has 34.5 Kb size.
is that ok?
You should go to the path ‘/home/cinesoft/project/khadas/ubuntu/’ and run './utils/mkbootimg --kernel linux/arch/arm64/boot/Image --ramdisk images/initrd.img -o images/ramdisk.img’
It is not the path ‘home/cinesoft/project/khadas/ubuntu/u-boot/linux’
I have tried the path that u have given. But the same error has been shown . I have downloaded the 'utils' file to the path u have given. But it doesn't work.
I have tried the command ,that you have given and it works fine. we got the output like this " 3ddea229f94b8be9d8756bdbf5288f65 utils/mkbootimg ". Please go through the attachment.
Thank you so much for your valuable time. I have executed the commands, which you have given in the reply. The screen shots is showing the results we got for executing that commands. Please check the screen shots and do the needful for further processing.
The ubuntu system of your host pc is 64bit and the file ‘mkbootimg’ is 32bit
You may be need to install some libraries to support it
Please search for google.
Thanks.
Hi
thank you Gouwa. I have installed the libraries that you have given. That was Ok. But now i got an another error in the same command. "error: could not load kernel ‘linux/arch/arm64/boot/Image’ " I am attaching the screen shot along with the mail.
double check if you really have the file /home/cinesoft/project/khadas/ubuntu/linux/arch/arm64/boot/Image you tell him to use
you might have messed up your pathes as your filexplorer shows another location where you put Image
i have read through your guide. That was nice. I have tried to compile the Kernal. I got the following errors.
root@Cinesoft-Electronics-dept:/home/cinesoft/project/khadas/ubuntu# make ARCH=arm64 kvim_defconfig
make: *** No rule to make target `kvim_defconfig’. Stop.
Hi all,
I have reached at " Build Ubuntu Rootfs via a Pre-built Image ". I have chooses " Armbian_5.27_S9xxx_Ubuntu_xenial_3.14.29_mate_KODI_20170702.img ".
While i building root file system, i couldn’t mount the pre-build image . Step is given below