I am new to linux and I really need your help
I am working on project for my end of studies internship : controlling sensors and displaying the result on an LCD screen
for that I will use raspberry and create a QT application for displaying the result of the sensors.
The boot time need to be very minimal so for that I want to create a minimal kernel for my raspberri pi-4 b
I did the cross compilation for arm64:
mkdir rasp_arm64cd rasp_arm64/git clone --depth=1 https://github.com/raspberrypi/linuxsudo apt-get install qemu-system-armsudo apt-get install lzopsudo apt-get install gcc-aarch64-linux-gnucd linux/make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- mrpropermake -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcm2711_defconfigmake -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs
this is what I did
How can I actually make a .img file for my a bootalbe SDcard for my raspberry pi 4?
I also worked on https://www.raspberrypi.org/documentation/linux/kernel/building.md
and I added (cen someone also clarify why we need this)KERNEL=kernel8
and after that I didmake ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs
mkdir mnt
mkdir mnt/fat32
mkdir mnt/ext4
sudo mount /dev/sdb6 mnt/fat32
sudo mount /dev/sdb7 mnt/ext4
sudo env PATH=$PATH make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- INSTALL_MOD_PATH=mnt/ext4 modules_installsudo cp mnt/fat32/$KERNEL.img mnt/fat32/$KERNEL-backup.img
I got an error telling that mnt/fat32/.img no such file or directory
I will be grateful if someone could help