This is a Linux 4.4 kernel source for Banana Pi R2 (BPI-R2) which includes sigcomm2010 CSI tool.
The kernel source is based on frank-w's kernel.
You can follow the method A, B, C or D.
If you already installed some linux distribution on your BPI-R2, follow method A. If not, I recommend method B.
- Download this file (140MB) and extract it.
sudo mount /dev/mmcblk0p1 /boot
on your R2.- Copy files in
BPI-BOOT
to/boot
in R2. - Copy files in
BPI-ROOT
to/
in R2. - Edit
/boot/bananapi/bpi-r2/linux/uEnv.txt
and changekernel=(...)
tokernel=uImage
at R2. - Reboot your R2.
- Install this image (7.08GB) on your sdcard. This image is a result of
dd
of 64GB sdcard. - Put the sdcard to BPI-R2 and power on.
- Log in to the linux with ID
i
and passwordme
. (hostname
isCSI-Tool
.) - Do
dmesg | grep iwl
and check the result. If there is a message which saysconnector callback registered
, this means that your installation of BPI-R2 CSITool-enabled kernel is successful.
- Prepare cross-compiling environment (
arm-linux-gnueabihf
). git clone https://github.com/wldh-g/iwlwifi-csitool-r2
cd iwlwifi-csitool-r2
- (Optional) Configure the build
make menuconfig ARCH=arm
make build_csitool ARCH=arm
make pack_csitool ARCH=arm
- Turn on your BPI-R2.
sudo mount /dev/mmcblk0p1 /boot
on R2.- Copy files in
packed/BPI-BOOT
to/boot
in R2. - Copy files in
packed/BPI-ROOT
to/
in R2. - Edit
/boot/bananapi/bpi-r2/linux/uEnv.txt
and changekernel=(...)
tokernel=uImage
at R2. - Reboot your R2.
- Resize
/dev/mmcblk0p2
partition to the end of your sdcard. git clone https://github.com/wldh-g/iwlwifi-csitool-r2
cd iwlwifi-csitool-r2
- (Optional) Configure the build
make menuconfig
make build_csitool
sudo mount /dev/mmcblk0p1 /boot
make install_csitool
- Edit
/boot/bananapi/bpi-r2/linux/uEnv.txt
and changekernel=(... may be uImage)
tokernel=uImage-csitool
at R2. - Reboot your BPI-R2.
- Do
dmesg | grep iwl
and check the result. If there is a message which saysconnector callback registered
, this means that your installation of BPI-R2 CSITool-enabled kernel is successful. - Please look at this README of CSI Collector.
Linux 4.4 kernel for BPI-R2 was not fully developed yet, so some Mediatek-related features are not included in this kernel.
The poweroff driver is not included in this kernel.
So the power of the device will stay on even after the OS successfully shut down.
Linux is under GPL-2.0 and CSI tool is under MIT license.