-
Notifications
You must be signed in to change notification settings - Fork 327
w800 + berry #1629
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
base: main
Are you sure you want to change the base?
w800 + berry #1629
Conversation
Thank you, it seems very good at the first glance. Just to be sure - no breaking changes? I see EasyFlash, but that's still not used for OBK config, correct? Unified makefile is also great, I would like to have it unified futher. One concert - why remove retry for XRadio? As far as I know, the partition config calibration retry may be required at random point of time when one of the partition grows too big to fit current layout. So, if in the future we add much more code to, let's say, app partition of XR872, it may require config rearrangement. That's why retry cfg is here. Apart from that, if no breaking changes, then I can merge it even today. |
EF currently only for flash vars on W800. I thought about adding it to W600 - but it is already constipated in flash. And regarding XRadio, it can be fixed more neatly, by replacing this line:
I don't know how it is done in 806 and 872, but it can probably be solved the same way. Also added lfs to w600 |
Hm ok, so, if you are disabling retry then add this line in PR. Apart from that, I think I can merge this PR as is today, if there are no breaking changes/broken ota/worse WiFi quality/etc. |
@NonPIayerCharacter is OTA working for you with this version? Starting OTA shows no change in LOG, it simply continues, and after about one minute it's showing many watchdog entries and later reboots:
|
@MaxineMuster
|
Strange, I just retried: Flashing latest release 1.18.98 Could I do something wrong? Tried with HLK-W801-KIT -V1.1 |
Can running drivers affect OTA? I am not sure if we disable drivers tick during OTA already |
Do not merge yet, for some reason on BK7238 situation is like on W600 - generic wifi hals are linked |
b61fec9
to
f52cf36
Compare
Solved, the problem was that OBK objs were archived into static library and then linked without --whole-archive. |
UART 1.18.98 -> 1629_merge_365dcc027b6f also fine. 1629_merge_365dcc027b6f -> 1.18.98 OTA seems to work but the console output is different, no flash progress before reboot:
with 1.18.98 to OTA other:
this is with HLK-W801 ~60cm away from NIC with ext aerial/Windows hotspot (Wifi RSSI: Fair (-63dBm)) |
Check the log i posted earlier, progress is now reported via ADDLOG_DEBUG, not just in console. |
changes are what previously discussed on the forum
plus:
Unified makefiles for all platforms except esp, ln882, bl602 and default bekens.
OBK_VARIANT is now defined for all platforms bar esp, ln882 and bl602.
Wire library instead of i2c functions for berry.
Flash can be read on W600/W800.
Berry prebuild generation fixed (done in makefile, + fixed rebuilding)
XR806 and XR872 don't suffer from calibration file problems, so removed build retrying.
XR809 and XR872 now use BK7231T gcc, instead of downloading it from external server.