Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and features #1

Merged
merged 3 commits into from Sep 19, 2016

Conversation

Projects
None yet
2 participants
@XePeleato
Copy link
Contributor

commented Sep 16, 2016

Alright, these 3 commits address some problems I had while I compiled the brcmfmac module for the first time:

Issues

  • There are some missing includes: This is solved in 74e903f by adding brcm.h and the u8 definition inside types.h
  • Insmod wouldn't load the module: I could read in dmesg "no symbol version for module_layout" and that happened because the kernel needs to be completely built, I just added the function in 62bd78e

Feature(s)

While I was playing with it, I run the command source ../../setup_env.sh while I was at another directory, and as a result, the Cross Compiler wasn't found, so it can just be executed from the root directory 83c2c0d

XePeleato added some commits Sep 16, 2016

Add missing includes
* Add brcm.h missing file.
* Add u8 > uint8_t data type.
Compile the full kernel
* Insmod won't load modules that haven't been built with a full prebuilt kernel, so in order to make it easy, the full kernel must be compiled.
Restrict setup_env.sh execution directory
* If setup_env is executed while you are at another folder, the CC paths will not work, so now it won't run if it isn't executed inside its original folder.

@DanielAW DanielAW merged commit 83c2c0d into seemoo-lab:master Sep 19, 2016

DanielAW added a commit that referenced this pull request Sep 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.