EFlash Loader is the program that runs on to flash all firmware ... The ELF was uploaded recently (no source available) ... Let's look inside with Ghidra

github.com/bouffalolab/bl_iot_

You can't tell which way the train went by looking at the tracks ... So let's study the Firmware Flasher ... And see what Flashing Commands it sends to the EFlash Loader

github.com/bouffalolab/BLOpenF

Firmware Flasher works like a State Machine ... Each Flashing State triggers a Flashing Command ... Let's trace the Flashing States

github.com/bouffalolab/BLOpenF

Here are the Flashing States and Flashing Command IDs derived from the BL602 Firmware Flasher (BLOpenFlasher)

github.com/lupyuen/bl602-eflas

Now we can match the Flashing States ... With the Flashing Commands reversed from the EFlash Loader

github.com/lupyuen/bl602-eflas

Follow

Here are 5 Flashing Commands from EFlash Loader that we can probe further ... Let's dive into "Flash Program"

github.com/lupyuen/bl602-eflas

What's inside the EFlash Loader that flashes all firmware to ... All secrets shall be revealed in this article ... Thanks to !

lupyuen.github.io/articles/loa

Show newer
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.