Use WSL to generate porting file

I have port almost all build.bat to build.sh for those who use WSL but in build.bat there is use of imagegen.exe. Could it be possible to see source code to do similar thing to linux ? Or maybe is there already a tool to do same thing :wink:

Sorry: I have try and wsl is capable to execute imagegen.exe so there is no problem ! --> :door:

For future reference at least, the source isn’t available for that tool. All it does is turn the provided binary into a GLB or GHI file. You can find a basic description of the GLB file format on the bootloader docs that may help.

1 Like

Good reference indeed.

Port of build.bat done. It may fails if path have whitespaces sometimes. PR has been done.