Bananian

manual for BPi - R1 setup

33 16112
Tido  
Edited by Tido at Mon Feb 23, 2015 15:25

Hi

I have started to write a 'manual' about the setup of a BPi-R1 (Router).
In the threads of the Forum, the information is scattered and it takes so much time for each to get along.
So I thought such a document would help to become not only faster, but better result as well.
My know how is getting better, but many things are missing.
If you like to help the 'community' with your know how, please edit the document to your best know how.

Google Docs

Thank you in advance - for your support

Cheers
Tido
Hi Tido,

First of all, THANK YOU.

I am having issues with my wireless. I am unable to build the source for the hostapd. I was wondering if you could help out.

I've downloaded from the realtek the driver you specified. Ran the install of make/gcc/libc6. But, for liunux-headers, it gives me the following options:

  linux-headers-3.2.0-4-vexpress 3.2.65-1+deb7u2
  linux-headers-3.2.0-4-omap 3.2.65-1+deb7u2
  linux-headers-3.2.0-4-mx5 3.2.65-1+deb7u2
  linux-headers-vexpress 3.2+46
  linux-headers-omap 3.2+46
  linux-headers-mx5 3.2+46

I iunstalled all. When I try to run install.sh, it errors out saying:

make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.4.104+/build M=/root/rtl8192cu/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911  modules
make: *** /lib/modules/3.4.104+/build: No such file or directory.  Stop.
make: *** [modules] Error 2

Where do I get the headers for the 3.4 if I installed Bananian 15.01?

My DMESG for the card is:
root@bananapi ~/rtl8192cu # dmesg | grep 8192
[    0.000000] PERCPU: Embedded 7 pages/cpu @d0808000 s7680 r8192 d12800 u32768
[    0.000000] pcpu-alloc: s7680 r8192 d12800 u32768 alloc=8*4096
[    6.706742] usbcore: registered new interface driver rtl8192cu

iw list shows
"nl80211 not found"

iwconfig is
wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Master  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retryff   RTS thrff   Fragment thrff
          Encryption keyff
          Power Managementff
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Thank you again for helping everyone out!


igorpec  
Where do I get the headers for the 3.4 if I installed Bananian 15.01?


I think desired headers does not exits. You can try with my kernel which is supplied with headers but I haven't add anything special regarding router R1 yet.

It's possible to compile drivers. Due to a bit different / modern approach you might need to replace a boot loader too.
http://mirror.igorpecovnik.com/k ... ananapi-default.tar

Tido  
Edited by Tido at Fri Feb 27, 2015 08:13
igorpec replied at Thu Feb 26, 2015 07:55
You can try with my kernel which is supplied with headers but I haven't add anything special regarding router R1 yet.

Hi Igor,

Thank you for your support, your website looks interesting.

Your Image is based on Kernel 3.14 or 3.19 - somewhere I read that the MALI GPU (driver) does only play nice with Kernel 3.4.x
Have you ever done some tests with your image, whether the HDMI output works well?

Cheers
Tido

igorpec  
Tido replied at Fri Feb 27, 2015 08:09
Hi Igor,

Thank you for your support, your website looks interesting.

Thanks. I am trying ;)

I provide separate images, one with 3.4.106 and the other with 3.19.0. Both are working well in desktop mode, HDMI output is normal. I can't comment the usage of MALI since I never even tested it. It's working as it works, probably there are still some problems. Probably it's working only in 3.4.x since in mainline we just came up with so called "simple graphics console". HDMI out in mainline started to work not before 3.19

There is one minor bug in current 3.19 release regarding desktop - no mouse - so wait for new release / kernel update. I am also planning to join both kernels on one image ASAP.

I had an error regarding "ncurses" not being there.

I found the package to get it, am I the only one or has everyone needed to do this?

apt-get install libncurses5-dev

nice doc ;)

Tido  
Thank you, but it is far from perfect.

Every help is appreciated
you can leave comments in the doc or here. I will update it daily - promise !

Tido  
Edited by Tido at Tue Mar 17, 2015 22:02
Tido replied at Sat Mar 14, 2015 18:22
Every help is appreciated

WiFi Driver compilation... now works

Tido  
It would be really interesting to know your situation and what can be done better. Please advise

Thank you

You have to log in before you can reply Login | Sign Up

Points Rules