Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:Ok, however one PR requires conflicts resolve
p.kaczmarek2 wrote:what are stale KVs?
divadiow wrote:there are 3 files in FlashDumps that contain config outside of the KV
divadiow wrote:Upgrade Tools stub vs custom stub vs compressed tests
| Operation | Stub/mode | Time | Difference vs original | Read 2 MiB | Original Upgrade Tools | 34.679 s / 34,679 ms | Baseline | Read 2 MiB | Custom, uncompressed | 33.992 s / 33,992 ms | 2.0% faster | Read 2 MiB | Custom, compressed | 16.011 s / 16,011 ms | 53.8% faster | Write 2,088,960 bytes | Original Upgrade Tools | 51.965 s / 51,965 ms | Baseline | Write 2,088,960 bytes | Custom, uncompressed | 58.081 s / 58,081 ms | 11.8% slower | Write 2,088,960 bytes | Custom, compressed | 25.764 s / 25,764 ms | 50.4% faster | Erase writable flash | Original Upgrade Tools | 4.184 s / 4,184 ms | Baseline | Erase writable flash | Custom | 12.996 s / 12,996 ms | 210.6% slower |
| Operation | Stub/mode | Updated time | Difference vs original | Read 2 MiB | Original Upgrade Tools | 35.263 s / 35,263 ms | Baseline | Read 2 MiB | Custom, uncompressed | 33.183 s / 33,183 ms | 5.9% faster | Read 2 MiB | Custom, compressed | 16.072 s / 16,072 ms | 54.4% faster | Write 2,088,960 bytes | Original Upgrade Tools | 50.669 s / 50,669 ms | Baseline | Write 2,088,960 bytes | Custom, uncompressed | 42.447 s / 42,447 ms | 16.2% faster | Write 2,088,960 bytes | Custom, compressed | 25.646 s / 25,646 ms | 49.4% faster | Erase writable flash | Original Upgrade Tools | 4.208 s / 4,208 ms | Baseline | Erase writable flash | Custom | 4.931 s / 4,931 ms | 17.2% slower |
p.kaczmarek2 wrote:Maybe more automatic tests are needed? Something that could run with each build?
divadiow wrote:
p.kaczmarek2 wrote:1. Do we really need to check 1:1 human readable output? Maybe we do, but if someone formats it more, it will fail self test:
p.kaczmarek2 wrote:Do validation of json output checks existence of object fields, or does it blindly compare strings?
divadiow wrote:something like https://github.com/openshwprojects/OpenBK7231...ain...divadiow:OpenBK7231T_App:enableddrivers
https://github.com/divadiow/OpenBK7231T_App/b...29e03e01f00fa683ea4b5/docs/enabledFeatures.md Added after 1 [hours] 19 [minutes]:better https://github.com/divadiow/OpenBK7231T_App/blob/enableddrivers/docs/enabledFeatures.md
https://github.com/openshwprojects/OpenBK7231T_App/pull/2147
enabledFeatures.mdis now generated from the compiler state of every real platform and variant build. Previously, js attempted to reproduce the build rules and infer which features should be enabled. The new method records which macros are actually active during compilation, so platform-, SDK- and variant-specific settings are included automatically.
enabledFeatures.mdis generated, but these are deleted before completion.
TL;DR: New BK7231GUIFlashTool v98+ adds SPI flashing for Beken chips; sample 4,096 KB flash detected. “Only a CH341 SPI programmer is required.” Use CH341A D2 to toggle CEN, send 0xD2, then read/write like generic SPI. [Elektroda, p.kaczmarek2, post #21711721]
Why it matters: It lets you recover bricked BK7231/BK7252 devices without a working bootloader, using low‑cost tools.
Who this is for: DIYers, repair techs, and firmware engineers asking how to unbrick or mass‑flash Beken SoCs via SPI with a CH341A and the latest tool.