Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

10

threads

448

posts

5160

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5160
 Author| Published in 2015-10-12 18:30:03 | Show all floors
UPDATED scriptbin_kernel_test.tar.gz
some fixes related to GPIO
GitHub kernel sources also updated, added building script.bin files.

0

threads

6

posts

79

credits

Registered member

Rank: 2

credits
79
Published in 2015-10-12 18:37:57 | Show all floors
loboris replied at 2015-10-12 18:28
Have you copied generated lib/modules ?
GitHub repo updated. You can now generate also the script. ...

Yep, I tried copying them and then booting or booting with the old ones, both had the same kernel panic.
Thank you for updating github

10

threads

448

posts

5160

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5160
 Author| Published in 2015-10-12 18:39:35 | Show all floors
Edited by loboris at 2015-10-12 11:41
jacer replied at 2015-10-12 09:08
Do you mean this line? I changed wlan1 to wlan0 and delete the unkonw part and 8192cu.ko from net/ ...

I have only one line in /etc/udev/rules.d/70-persistent-net.rules
(the lines with # are comments)

orangepi@OrangePI:~$ cat /etc/udev/rules.d/70-persistent-net.rules
  1. # This file was automatically generated by the /lib/udev/write_net_rules
  2. # program, run by the persistent-net-generator.rules rules file.
  3. #
  4. # You can modify it, as long as you keep each rule on a single
  5. # line, and change only the value of the NAME= key.

  6. # Unknown net device (/devices/platform/sunxi-mmc.1/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0) (rtl8189es)
  7. SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Copy code
Replace "xx:xx:xx:xx:xx:xx" with your MAC address.


10

threads

448

posts

5160

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5160
 Author| Published in 2015-10-12 19:14:37 | Show all floors
Edited by loboris at 2015-10-12 12:15
jacer replied at 2015-10-12 09:08
Do you mean this line? I changed wlan1 to wlan0 and delete the unkonw part and 8192cu.ko from net/ ...

It looks like two wlan interfaces are created automaticaly for OPI wifi adapter, wlan0 & wlan1
Both can be connected and each get its own IP address:
orangepi@OrangePI:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 32:58:f2:b7:b3:7a   
          inet addr:192.168.178.105  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::3058:f2ff:feb7:b37a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:653 errors:0 dropped:0 overruns:0 frame:0
          TX packets:715 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000  
          RX bytes:96945 (96.9 KB)  TX bytes:74723 (74.7 KB)
          Interrupt:114  

lo        Link encap:Local Loopback   
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:470 errors:0 dropped:0 overruns:0 frame:0
          TX packets:470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0  
          RX bytes:59170 (59.1 KB)  TX bytes:59170 (59.1 KB)

wlan0     Link encap:Ethernet  HWaddr 00:e0:4c:f0:1c:d8   
          inet addr:192.168.178.103  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fef0:1cd8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:214 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000  
          RX bytes:67347 (67.3 KB)  TX bytes:1960 (1.9 KB)

wlan1     Link encap:Ethernet  HWaddr 02:e0:4c:f0:1c:d8   
          inet addr:192.168.178.111  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::e0:4cff:fef0:1cd8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:171 errors:0 dropped:42 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000  
          RX bytes:52216 (52.2 KB)  TX bytes:1811 (1.8 KB)

0

threads

9

posts

76

credits

Registered member

Rank: 2

credits
76
Published in 2015-10-12 20:10:13 | Show all floors
loboris replied at 2015-10-12 18:30
UPDATED scriptbin_kernel_test.tar.gz
some fixes related to GPIO
GitHub kernel sources also updated,  ...

Thanks ! After upgrade everything works fine!

root@OrangePI:~# uname -a
Linux OrangePI 3.4.39 #1 SMP PREEMPT Mon Oct 12 12:02:29 CEST 2015 armv7l GNU/Linux
root@OrangePI:~# uptime
14:08:58 up 10 min,  3 users,  load average: 0.14, 0.55, 0.39





18

threads

303

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10124
Published in 2015-10-12 22:11:06 | Show all floors
loboris replied at 2015-10-12 19:14
It looks like two wlan interfaces are created automaticaly for OPI wifi adapter, wlan0 & wlan1
Both ...

That is exactly what  I`m talking about. Already have the right MAC.

0

threads

5

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2015-10-12 23:50:54 | Show all floors
loboris replied at 2015-10-11 21:49
I've never had any problem installing to emmc.
Please use the latest kernel and script.bin, don't  ...

Thanks loboris
Now it is working fine , I did 2 things , do not know what solved it
1) ran sudo visudo and added user name for superuser access for all time
2) used install to emmc without btrfs file system .
After that it is booting properly

another thing to ask , I want to attach a 5V fan on top of my PI puls , and give the power from GPIO , which pins should I use . Do not want to fry the board.

10

threads

448

posts

5160

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5160
 Author| Published in 2015-10-13 01:11:19 | Show all floors
BUGBEAR replied at 2015-10-12 16:50
Thanks loboris
Now it is working fine , I did 2 things , do not know what solved it
1) ran sudo vi ...

You can't connect fan to GPIO pin (unless you connect it via transistor). Connect it to +5V pin.
I will soon test cheep i2c fan speed controller, I'll post the results.

5

threads

17

posts

85

credits

Registered member

Rank: 2

credits
85
Published in 2015-10-13 02:33:41 | Show all floors
Hi. I'm using OrangePI_Jessie_Xfce.img on OPi PC. All usb ports are working now. I have Ralink rt73 usb card, but i can't install it. I followed instruction from here : https://wiki.debian.org/WiFi/rt73 I can see this card when type "lsusb" : "Bus 004 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter", but I can't see this card in network-manager, in ifconfig should be wlan0 or rausb0. I don't know how to install this card properly. Maybe someone has solution ?

0

threads

6

posts

79

credits

Registered member

Rank: 2

credits
79
Published in 2015-10-13 02:41:00 | Show all floors
kris85 replied at 2015-10-13 02:33
Hi. I'm using OrangePI_Jessie_Xfce.img on OPi PC. All usb ports are working now. I have Ralink rt73  ...

I'm having a similiar issue with Atheros card, from what I've found we need to enable the device support in kernel first. The kernel can be compiled using this github repo. Though I'm currently having problems booting it. If I will be able to successfully boot from the new kernel I can include your modules and send it to you.
If my understanding of this is incorrect, please correct me.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list