Sergey Belov
Sergey Belov
@kuba2k2 I've got another SoC Beken BK7238, with different flash ID: `85 20 15` I added it like this: ```patch diff --git a/bk7231tools/serial/cmd_hl_flash.py b/bk7231tools/serial/cmd_hl_flash.py index 1e6c322..045af62 100644 --- a/bk7231tools/serial/cmd_hl_flash.py +++...
Patch: ```patch diff --git a/bk7231tools/serial/cmd_hl_flash.py b/bk7231tools/serial/cmd_hl_flash.py index 1e6c322..0ca1528 100644 --- a/bk7231tools/serial/cmd_hl_flash.py +++ b/bk7231tools/serial/cmd_hl_flash.py @@ -23,6 +23,7 @@ class BK7231SerialCmdHLFlash(BK7231SerialInterface): b"\x51\x40\x13": 1, b"\x51\x40\x14": 1, b"\x5E\x40\x14": 1, + b"\x85\x20\x15": 1, b"\x85\x42\x15": 1,...
@kuba2k2 Here are all the bootloaders I have, not only for bk7238. [bk-bootloaders.zip](https://github.com/tuya-cloudcutter/bk7231tools/files/15001332/bk-bootloaders.zip) --- Here is rom. ``` ltchiptool flash read --rom bk72xx bk7238-rom.bin ``` [bk7238-rom.bin.zip](https://github.com/tuya-cloudcutter/bk7231tools/files/15001368/bk7238-rom.bin.zip)
> Are these bootloaders taken from some SDK? @kuba2k2 Yes. > They look like they don't come from a flash chip of the BK7238. `bootloader_bk7238_uart1_v1.0.14.bin` this one for bk7238 and...
@kuba2k2 Here is dumped from flash bootloader: [bootloader_bk7238.bin.zip](https://github.com/tuya-cloudcutter/bk7231tools/files/15002091/bootloader_bk7238.bin.zip) PS: You were right, it is different from the one from SDK.
@kuba2k2 Could you tell, please, is it possible to add support for BK7238 to `bk7231tools`?
@kuba2k2 Okay =) Is it possible to add support for BK7238 with different flash? Do you need more info / artifacts for that?
@vinniefalco Fixed =)
One more example: https://github.com/asciidoctor/asciidoctor/issues/4701