03-18-2022, 01:04 PM
(This post was last modified: 03-18-2022, 01:35 PM by neil_swann80.)
Does the file:
/boot/mkscr
exist? It should be with the files '/boot/boot.txt' and '/boot/boot.scr'
And is it executable (-rwxr-xr-x) ?
to list the files and their permissions in the '/boot' directory:
cd /boot
ls -l
If it doesn't exist, manually create it:
sudo nano /boot/mkscr
To save changes and close Nano, type CTRL-X, Y, and Enter.
and set permissions to executable:
sudo chmod 755 /boot/mkscr
/boot/mkscr
exist? It should be with the files '/boot/boot.txt' and '/boot/boot.scr'
And is it executable (-rwxr-xr-x) ?
to list the files and their permissions in the '/boot' directory:
cd /boot
ls -l
If it doesn't exist, manually create it:
sudo nano /boot/mkscr
Code:
#!/bin/bash
if [[ ! -x /usr/bin/mkimage ]]; then
echo "mkimage not found. Please install uboot-tools:"
echo " pacman -S uboot-tools"
exit 1
fi
mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr
and set permissions to executable:
sudo chmod 755 /boot/mkscr