New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bchardev freezes on close on OTA partiton #1690
Comments
@jeongchanKim Please check this. |
I checked your code(https://github.com/pholat/TizenRT/tree/ota_tests), but that is not from our repo. |
@jeongchanKim I don't understand what you need not from your repo? It's forked form TizenRT here. II've just added lacking driver as I need it, though have some issue with bchdev which can't seem to get closed. |
In our code, there is no issue for fota without bchdev. So I don't know why you added the bch. |
@jeongchanKim there was no fota driver at all, that's why I've used bchdev to write the update onto the flash. There was no issue, because there was no fota driver at all. If it was there - I would have never tried to do it myself. |
Okay I understand what you're saying. |
@jeongchanKim I hope I was 100% clear now :) |
I need OTA functionality for our application and added some (dirty WIP) code for just that, as well as updated example in apps/examples directory here:
https://github.com/pholat/TizenRT/tree/ota_tests
I've just one issue in line:
os/drivers/fota/fota_driver.c:192 close(fota_fd);
This close closes bchrdev created on fota partition driver, though for some reason in hangs.
When I restart the board ota partion is being read and app is being updated. I'm quite convinced that it shouldn't be hanging itself on close I'll be very glad to any pointers how it could be possibly fixed, so I could clean it up and make PR with OTA working fine.
The text was updated successfully, but these errors were encountered: