cd /boot

cp -v boot.scr boot.scr.ori

dd if=boot.scr of=boot.script bs=72 skip=1

61+1 records in 61+1 records out 4459 bytes (4.5 kB, 4.4 KiB) copied, 0.00135526 s, 3.3 MB/s

then modify boot.script'

mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr

Image Name: Bedian boot script Created: Sat Nov 11 13:33:58 2023 Image Type: ARM Linux Script (uncompressed) Data Size: 4488 Bytes = 4.38 KiB = 0.00 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 4480 Bytes = 4.38 KiB = 0.00 MiB