Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

10

threads

448

posts

5193

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5193
 Author| Published in 2015-10-12 14:18:57 | Show all floors
jacer replied at 2015-10-12 03:07
which file to edit then?

/etc/udev/rules.d/70-persistent-net.rules, try to comment the last line

10

threads

448

posts

5193

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5193
 Author| Published in 2015-10-12 14:25:06 | Show all floors
fork replied at 2015-10-12 05:05
root@OrangePI:~# uname -a
Linux OrangePI 3.4.39 #1 SMP PREEMPT Wed Sep 16 13:39:07 CEST 2015 armv7l  ...

What is your point?
Use the latest uImage (kernel), script-bin and lib from scriptbin_kernel_test.tar.gz.

orangepi@OrangePI:~$ uname -a
Linux OrangePI 3.4.39 #1 SMP PREEMPT Sun Oct 11 14:50:34 CEST 2015 armv7l armv7l armv7l GNU/Linux


0

threads

2

posts

46

credits

Novice

Rank: 1

credits
46
Published in 2015-10-12 15:20:34 | Show all floors
Loboris, please update git-hub.
Thank you

18

threads

303

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10296
Published in 2015-10-12 16:08:18 | Show all floors
loboris replied at 2015-10-12 14:18
/etc/udev/rules.d/70-persistent-net.rules, try to comment the last line

Do you mean this line? I changed wlan1 to wlan0 and delete the unkonw part and 8192cu.ko from net/driver. Now I have wlan0 and wlan1 instead of remanev7 and wlan1.
KERNEL=="wlan*", NAME="<font color="#ff0000">wlan1</font>"
Do you mean like this below?
#KERNEL=="wlan*", NAME="<font color="#ff0000">wlan1</font>"

0

threads

6

posts

85

credits

Registered member

Rank: 2

credits
85
Published in 2015-10-12 18:03:01 | Show all floors
I tried compiling the kernel myself from your github source and had issues with booting from it afterwards, what am I missing?
The bootlog is available here
https://gist.github.com/Alberts0 ... e-bootlog-L464-L465
Orange Pi PC with Debian Jessie mini.

10

threads

448

posts

5193

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5193
 Author| Published in 2015-10-12 18:28:30 | Show all floors
Makenai replied at 2015-10-12 11:03
I tried compiling the kernel myself from your github source and had issues with booting from it afte ...

Have you copied generated lib/modules ?
GitHub repo updated. You can now generate also the script.bin files.

10

threads

448

posts

5193

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5193
 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

85

credits

Registered member

Rank: 2

credits
85
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

5193

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5193
 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

5193

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5193
 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)

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

Points Rule

Quick reply Top Return list