Moving away from LMAC Firmware (since we got no code) ... Let's study the mysterious #BL602#WiFi Library "libwifi" ... Which has been decompiled into C by BraveHeartFLOSSDev
From Now On: We shall read and understand the AliOS / RivieraWaves Source Code ... While comparing it with the Decompiled Code for #BL602 libwifi ... Just to be sure that they are the same 🤝
Back to ke_evt_schedule, the function in #BL602#WiFi Driver Kernel that handles every WiFi Event ... Let's hunt for ke_evt_hdlr and discover the WiFi Events
txl_payload_handle handles #BL602#WiFi Payloads by doing ... nothing! But txl_payload_handle_backup seems to be the right function that handles WiFi Payloads 🤔
Let's do Quantitative Analysis of the Decompiled #BL602#WiFi Demo Firmware ... How many lines of code do we actually need to Reverse Engineer ... Now that we've found some matching source files?
Our #RustLang App compiles for Software Floating-Point, but Apache #NuttX RTOS expects Hardware Floating-Point ... Let's fix this with a Rust Custom Target for QEMU #RISCV
Apache #NuttX RTOS crashes on @ThePine64 Star64 #JH7110 #RISCV SBC because there's no Semihosting ... Let's modify NuttX to boot with an Initial RAM Disk instead (initrd)