dfu: Provide more verbose error message
It might be useful for user to see some human-readable root cause message in addition to "configuration failed" message, so that the issue can be fixed quickly. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
This commit is contained in:
parent
87a8ca985b
commit
28a5c88043
@ -71,6 +71,7 @@ int dfu_init_env_entities(char *interface, char *devstr)
|
||||
ret = dfu_config_entities(env_bkp, interface, devstr);
|
||||
if (ret) {
|
||||
pr_err("DFU entities configuration failed!\n");
|
||||
pr_err("(partition table does not match dfu_alt_info?)\n");
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user