Takoru said:
If I add "debug=1" to my config, it's showing me following:
base_path: sd:/usb-loader
apps_path:
So it seems like the apps_path won't get recognized => I can't update via the loader then.
Would be great if you could help me, oggzee.
And there is no argv[0]= value? Then it looks like the forwarder you are using doesn't provide the app path to the loader, which I consider to be a bug in the forwarder you use. In this case the cfg loader assumes the location is sd:/apps/usbloader, but that's guessing. If I understand correctly, that forwarder can be configured to use a specific path, and you specified apps/usbloader_cfg, right? Is that because you have some other loader in apps/usbloader? If not, then the easiest work-around this problem is to:
1) just use the default path of sd:/apps/usbloader instead.
If you can't use that path then I guess you'll have to either:
2) run the loader through HBC instead of the forwarder when you want to update. HBC passes the app location correctly and that should let you update correctly.
3) use a different forwarder
4) update manually
5) wait for us to add an option to override the app location, but it might take a while. Besides I'm not convinced if I should be fixing the problem because of a broken forwarder.
Let me know if any of the 1/2/3 alternatives solves your problem