Open hipal31 opened 1 year ago
Can anyone help to run install_tools.sh ?
After running this command : python custom_ota_gen.py -hv v2 -c xz -d ddelta -i hello_world.bin -b current_app.bin
I'm getting below error.
src file is: hello_world.bin The compressed file will store in custom_ota_binaries An error 4 occured: No errorddelta_gen cmd failed
Sorry, the tools for making compressed packages can be used in the Windows environment, but the tools for making patch packages depend on the firmware compiled by the Unix system, so they cannot be used in the Windows environment. At present, there is no plan to rewrite this tool. You can install a virtual machine to run the Unix system.
Actually I've compiled firmware on windows. But I'm getting error as mentioned above. error: An error 4 occured: No errorddelta_gen cmd failed
. Can you please help me solve this problem?
Please check the storage path of the compiled ddelta_generate
. Please refer to here for tools for making patch packages. Under normal circumstances, the process of executing the patch package is as follows:
1) Execution difference
2) Compression
3) Add header information
If you are sure that the current ddelta_generate
can be run, you can modify the script to specify the correct path for using ddelta_generate
.
This script install.sh
is only used to compile ddelta_generate
and copy ddelta_generate
to the correct path.
Hey,
ddelta_generate
but it's showing error during execution. error is An error 4 occured: No error
Thanks
May I know in which directory you run script bootloader_components/tools/custom_ota_gen.py
?
If the executable program ddelta_generate
has been successfully compiled in the tools
directory, switch to the tools
directory, try to execute the ./ddelta_generate new_app.bin old_app.bin patch.bin
command, and see the output log.
I'm able to run that command in ubuntu.
But when I build ddelta_generate
in windows and run it on windows at that time I'm getting this error.
This is a problem caused by the running environment. I'm sorry that I have no experience in using this tool under Windows. I recommend that you only use this tool under ubuntu.
Thanks @WangYuxin-esp. I'll use this tool under ubuntu right now. but it'll be better if you make a GUI based tool which run on every platform.
Hello,
I'm trying to test diff ota but i'm not able to run command
bootloader_components/tools/custom_ota_gen.py -hv v2 -c xz -d ddelta -i build/hello_world.bin -b current_app.bin
and receiving error'ddelta_generate' is not recognized as an internal or external command, operable program or batch file. ddelta_gen cmd failed
as I'm not able to run install_tools.sh in windows.Please help me with proper steps to follow or provide binary of
ddelta_generate
.Thanks Hipal