Live data from Hacker News

Reverse engineering ESP32 Wi-Fi driver: the road ahead

esp32-open-mac.be

61–66 of 66 posts

Re: Reverse engineering ESP32 Wi-Fi driver: the road ahead

#61
post #44
post #28

Earlier quoted context omitted.

There are no newer-than-803.11n cards that are usable with a Linux-libre kernel (which doesn't load binary blobs).

The whole "no binary blob" argument has always felt very arbitrary to me. Everyone seems fine with read-only firmware permanently burned into chips during production. It is part of the hardware, so it would be silly to treat it like software. Most people seem fine with firmware stored on in-device flash chips. It's basically the same story as before, only it might in some cases be able to update that firmware. But th…

We are not fine with any proprietary firmware or hardware, but we have to be realistic, use the hardware we have and open up as many layers as we can, one step at a time.

Re: Reverse engineering ESP32 Wi-Fi driver: the road ahead

#62
post #19

I wonder if they use any of the decompiler tools that are available. There is decompiler support for the Xtensa esp32 instruction in ghidra version 11.0. I also guess that rev.ng, which uses QEMU as its disassembler, could be used for decompiling as QEMU has support for the Xtensa esp32 instructions as well. My experience with decompilers is that are not 100% perfect and that the output often still needs a lot of cle…

One of the posts mentioned they use Ghidra and Qemu forks for their work.

Re: Reverse engineering ESP32 Wi-Fi driver: the road ahead

#64
post #50
post #44

Earlier quoted context omitted.

The whole "no binary blob" argument has always felt very arbitrary to me. Everyone seems fine with read-only firmware permanently burned into chips during production. It is part of the hardware, so it would be silly to treat it like software. Most people seem fine with firmware stored on in-device flash chips. It's basically the same story as before, only it might in some cases be able to update that firmware. But th…

For me, the distinction is simple. Binary blobs in software are incompatible with the GPL, and can't be included in the Linux kernel. Binary blobs in firmware, meanwhile, can exist entirely on the hardware. There isn't any licensing issue because there is nothing to license. (And, sure. That's an incomplete solution if truly libre hardware is the goal. But we humans accept and deal with incompetent solutions all the…

Autoderp: "incompetent" was supposed to be "incomplete"

Re: Reverse engineering ESP32 Wi-Fi driver: the road ahead

#66

Earlier quoted context omitted.

What do you mean by FOSS Wi-Fi cards? Aren't there lots of open source drivers for Wi-Fi cards?

This is about ESP32, it does not run Linux. And doesn’t have a WiFi card, the WiFi hardware is part of the MCU. It’s single processor is tasked with running both the user application as well as the 'baseband' or MAC layer

With it reverse engineered, you could write software for the ESP32 to have it become the only fully open WiFi card for a Linux host.
Post reply on HN