RoganDawes / P4wnP1_nexmon_additions

GNU General Public License v3.0
80 stars 23 forks source link

Other Kernels supported? #1

Open E3V3A opened 6 years ago

E3V3A commented 6 years ago

Hi! What an awesome project! Found it from Nexmon repos.

You write:

The binaries are build for Raspbian Stretch with Kernel 4.9.51+

But the latest Raspbian Stretch is using: 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux Their release-notes stated that they had fixed some Broadcom vulnerabilities but did not mention which.

IDK what exactly the v7 part is about, but is this project compatible? It seem that the 43430 FW is still using 7.45.41.46 (r666254 CY).

So can I just use this project or do we need to recompile anything?

mame82 commented 6 years ago

The P4wnP1 installer forces kernel 4.9.51+, that's why I compiled for this version. Along with the firmware itself, the brcmfmac.ko module has been modified.

Acvording vulns, as far as I know at least broadpwn has been fixed in 7.46.41.46 firmware.

I doubt that the driver module would load on a diffetent kernel version.

Anyway, the sources of my mod are here https://github.com/mame82/nexmon/tree/bcm43430a1_KARMA

Recompiling for a newer kernel should be easy.

I'll migrate P4wnP1 and the nexmon additions for latest kernel, as soon as I confirmed everything is working (bluez stack + usb gadgets)