Hi there,
I would like to customize the install.scr provided by F&S, in my special case, I want to install a bitmap to UserDef partition and setup the display settings in UBoot.
Doing this manually worked great. However, placing the commands in install.scr will fail the installation.
I did some research and found, the install.scr needs to be compiled to an image script with a certain CRC in its header. I did this using mkimage:
- $ mkimage -A arm -O u-boot -T script -C none -n "F&S install script" -d install.cmd install.scr
So I have generated a new install.scr from a install.cmd, which includes my changes. I can check, that the script is compiled correctly
- $ mkimage -l install.scr
- Image Name: F&S install script
- Created: Mon Sep 15 12:17:15 2025
- Image Type: ARM U-Boot Script (uncompressed)
- Data Size: 3039 Bytes = 2.97 KiB = 0.00 MiB
- Load Address: 00000000
- Entry Point: 00000000
- Contents:
- Image 0: 3031 Bytes = 2.96 KiB = 0.00 MiB
But when placing it onto a USB drive alongside with my files to install, it fails:
- ---- Trying install from usb 0 with install.scr ----
- Loading /install.scr ... done!
- Failed!
- ---- No install script found ----
I have attached the install.cmd file to this post. I can see, that the header in my new install.scr shows a lot of NULs (when opened in VS code or Notepad++). I also made sure, the install.cmd is written in Unix-style (using dos2unix command).
Any suggestions on how to get a custom install.scr running?
Thanks!