seemoo-lab / mobisys2018_nexmon_software_defined_radio

Proof of concept project for operating Broadcom Wi-Fi chips as arbitrary signal transmitters similar to software-defined radios (SDRs)
Other
763 stars 69 forks source link

Raspberry pi bcm43455c0 issues #6

Open rogerjames99 opened 5 years ago

rogerjames99 commented 5 years ago

The readme in this repository is incorrect in its instructions for the raspberry pi.

They can be simplified to.

  1. Install some dependencies: sudo apt-get install git gawk qpdf adb
  2. Only necessary for x86_64 systems, install i386 libs:
    1. sudo dpkg --add-architecture i386
    2. sudo apt-get update
    3. sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
  3. Clone the nexmon base repository: git clone https://github.com/seemoo-lab/nexmon.git.

The following two steps would not be needed if the nexmon utilities build could done without the ndk.

  1. Download and extract Android NDK r11c (use exactly this version!). This is not really needed for raspberry pi

  2. Export the NDK_ROOT environment variable pointing to the location where you extracted the ndk so that it can be found by our build environment.

  3. Navigate to the previously cloned nexmon directory and execute source setup_env.sh to set a couple of environment variables.

  4. Run make to extract ucode, templateram and flashpatches from the original firmwares.

  5. Navigate to utilities and run make to build all utilities such as nexmon.

  6. Navigate to patches/bcm43455c0/7_45_154 and clone this repository: git clone https://github.com/seemoo-lab/mobisys2018_nexmon_software_defined_radio.git

  7. Enter the created subdirectory mobisys2018_nexmon_software_defined_radio and run make.

  8. Copy brcmfmac43455-sdio.bin to your pi.

rogerjames99 commented 5 years ago

I have now realised that these instructions may have been superseeded by the ones in the main nexmon repository. Or, is this repository still needed for is the rtl-sdr libraries.