Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

0

threads

8

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2015-10-23 10:56:28 | Show all floors
downloaded from where?  and what is the output of lsmod?

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-23 11:27:01 | Show all floors
Edited by Survive-Pi at 2015-10-22 20:36
AndrewStone replied at 2015-10-22 19:56
downloaded from where?  and what is the output of lsmod?

Are you asking me? I am only trying loboris images from his mega site. Link on Post #1. I don't have a clue how to modify anything so looking for something complete that works. His images are the most complete and working systems with simple one line directions. They are as close to orangepienean? as I can find.   Everything else is roll your own or "You wait some time...".
If I can go to terminal and type in lsmod I will post results in a few minutes.
lsmod
module 8189es
size 887631
used 0
Orange Pi Plus

18

threads

303

posts

9837

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9837
Published in 2015-10-23 12:35:58 | Show all floors
loboris replied at 2015-10-23 06:06
@jacer Could you try this to test wifi firmware loading problem (I don't have any wifi adapter at th ...

Tried to install firmware-linux, still not working. No wlan0, although lsmod shows rtl8192cu.

18

threads

303

posts

9837

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9837
Published in 2015-10-23 12:37:02 | Show all floors
melanrz replied at 2015-10-22 22:04
sudo ifconfig wlan0 down
sudo ifconfig rename7 down
sudo ifconfig wlan0 up

Tried that, not working. No rename7 or wlan0 devices showed when running ifconfig -a.

0

threads

9

posts

76

credits

Registered member

Rank: 2

credits
76
Published in 2015-10-23 13:09:28 | Show all floors
loboris replied at 2015-10-23 06:06
@jacer Could you try this to test wifi firmware loading problem (I don't have any wifi adapter at th ...

root@OPInew:/# modprobe rtl8192cu  debug=5

[  670.185289] usbcore: registered new interface driver rtl8192cu
[  791.444050] usbcore: deregistering interface driver rtl8192cu
[  797.707336] rtl8192cu: Chip version 0x10
[  797.748593] rtl8192cu:_rtl92cu_read_adapter_info():<0-0> EEPROM ID(0xffff) is invalid!!<-- i thing its a problem
[  797.831101] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[  797.831371] usbcore: registered new interface driver rtl8192cu



3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-23 13:35:25 | Show all floors
Survive-Pi replied at 2015-10-22 20:27
Are you asking me? I am only trying loboris images from his mega site. Link on Post #1. I don't hav ...

@loboris, Just re-read the page 1 instructions...I haven't been moving the lib folder from scriptbin.kernel.tar to linux partition (windows machine, can't see it.) Is that part(all) of my problem with install or resize with the latest images?
OpenSUSE xfce and fedora 22 mate on Opi Plus.
As-posted on mega they find and connect with on-board WiFi right away.
Currently using OpenSUSE.
Thanks.

Orange Pi Plus

1

threads

90

posts

780

credits

Senior member

Rank: 4

credits
780
Published in 2015-10-23 13:49:12 | Show all floors
jacer replied at 2015-10-23 12:35
Tried to install firmware-linux, still not working. No wlan0, although lsmod shows rtl8192cu.

I don't think the firmware-linux package contains any wireless adapter firmwares.

You should be installing (depending on the brand/make of your wireless adapter):

firmware-ralink [ Binary firmware for Ralink wireless cards ]
firmware-realtek  [ Binary firmware for Realtek wired and wireless network adapters ]
firmware-atheros  [ Binary firmware for Atheros wireless cards ]
firmware-zd1211  [ binary firmware for the zd1211rw wireless driver ]
firmware-brcm80211 [ Binary firmware for Broadcom 802.11 wireless cards ]
firmware-ti-connectivity  [ Binary firmware for TI Connectivity wireless network adapters ]
firmware-libertas  [ Binary firmware for Marvell Libertas 8xxx wireless cards ]

there are more/other wireless firmware packages available, but these don't seem to be supported by the kernel 3.4.39 (no drivers available)


0

threads

9

posts

76

credits

Registered member

Rank: 2

credits
76
Published in 2015-10-23 14:20:10 | Show all floors

from working machine

Edited by fork at 2015-10-23 14:22

root@OPIkotlownia:~# strace modprobe rtl8192cu
execve("/sbin/modprobe", ["modprobe", "rtl8192cu"], [/* 17 vars */]) = 0
brk(0)                                  = 0xb6fa0000
uname({sys="Linux", node="OPIkotlownia", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f72000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54693, ...}) = 0
mmap2(NULL, 54693, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f64000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0Mw\1\0004\0\0\0"..., 512) = 512
lseek(3, 899996, SEEK_SET)              = 899996
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2880) = 2880
lseek(3, 896548, SEEK_SET)              = 896548
read(3, "A4\0\0\0aeabi\0\1*\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\3\f"..., 53) = 53
fstat64(3, {st_mode=S_IFREG|0755, st_size=902876, ...}) = 0
mmap2(NULL, 972200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e5f000
mprotect(0xb6f38000, 61440, PROT_NONE)  = 0
mmap2(0xb6f47000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd8000) = 0xb6f47000
mmap2(0xb6f4a000, 9640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f4a000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e5e000
set_tls(0xb6e5e850, 0xb6f75050, 0xb6e5ef38, 0xb6e5e850, 0xb6f75050) = 0
mprotect(0xb6f47000, 8192, PROT_READ)   = 0
mprotect(0xb6f9e000, 4096, PROT_READ)   = 0
mprotect(0xb6f74000, 4096, PROT_READ)   = 0
munmap(0xb6f64000, 54693)               = 0
brk(0)                                  = 0xb6fa0000
brk(0xb6fc1000)                         = 0xb6fc1000
uname({sys="Linux", node="OPIkotlownia", ...}) = 0
stat64("/etc/modprobe.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents64(3, /* 4 entries */, 32768)   = 128
newfstatat(3, "fbdev-blacklist.conf", {st_mode=S_IFREG|0644, st_size=390, ...}, 0) = 0
newfstatat(3, "modesetting.conf", {st_mode=S_IFREG|0644, st_size=51, ...}, 0) = 0
getdents64(3, /* 0 entries */, 32768)   = 0
close(3)                                = 0
stat64("/run/modprobe.d", 0xbed188d0)   = -1 ENOENT (No such file or directory)
stat64("/lib/modprobe.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/lib/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
getdents64(3, /* 3 entries */, 32768)   = 80
newfstatat(3, "aliases.conf", {st_mode=S_IFREG|0644, st_size=655, ...}, 0) = 0
getdents64(3, /* 0 entries */, 32768)   = 0
close(3)                                = 0
open("/lib/modprobe.d/aliases.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_GETFL)                     = 0xa0000 (flags O_RDONLY|O_LARGEFILE|O_CLOEXEC)
fstat64(3, {st_mode=S_IFREG|0644, st_size=655, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f71000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "# These are the standard aliases"..., 4096) = 655
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb6f71000, 4096)                = 0
open("/etc/modprobe.d/fbdev-blacklist.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_GETFL)                     = 0xa0000 (flags O_RDONLY|O_LARGEFILE|O_CLOEXEC)
fstat64(3, {st_mode=S_IFREG|0644, st_size=390, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f71000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "# This file blacklists most old-"..., 4096) = 390
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb6f71000, 4096)                = 0
open("/etc/modprobe.d/modesetting.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_GETFL)                     = 0xa0000 (flags O_RDONLY|O_LARGEFILE|O_CLOEXEC)
fstat64(3, {st_mode=S_IFREG|0644, st_size=51, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f71000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "options cirrus modeset=1\noptions"..., 4096) = 51
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb6f71000, 4096)                = 0
open("/lib/modules/3.4.39/modules.softdep", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_GETFL)                     = 0xa0000 (flags O_RDONLY|O_LARGEFILE|O_CLOEXEC)
fstat64(3, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f71000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "# Soft dependencies extracted fr"..., 4096) = 55
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb6f71000, 4096)                = 0
open("/proc/cmdline", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "earlyprintk=ttyS0,115200 logleve"..., 4095) = 98
read(3, "", 3997)                       = 0
close(3)                                = 0
open("/lib/modules/3.4.39/modules.dep.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20313, ...}) = 0
mmap2(NULL, 20313, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f6d000
close(3)                                = 0
open("/lib/modules/3.4.39/modules.alias.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=97038, ...}) = 0
mmap2(NULL, 97038, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6e46000
close(3)                                = 0
open("/lib/modules/3.4.39/modules.symbols.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=32534, ...}) = 0
mmap2(NULL, 32534, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f65000
close(3)                                = 0
open("/lib/modules/3.4.39/modules.builtin.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19686, ...}) = 0
mmap2(NULL, 19686, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6e41000
close(3)                                = 0
stat64("/lib/modules/3.4.39/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko", {st_mode=S_IFREG|0664, st_size=1931068, ...}) = 0
stat64("/lib/modules/3.4.39/kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko", {st_mode=S_IFREG|0664, st_size=933107, ...}) = 0
stat64("/lib/modules/3.4.39/kernel/net/mac80211/mac80211.ko", {st_mode=S_IFREG|0664, st_size=7145310, ...}) = 0
open("/sys/module/rtl8192cu/initstate", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/sys/module/rtl8192cu", 0xbed18878) = -1 ENOENT (No such file or directory)
open("/sys/module/mac80211/initstate", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "live\n", 31)                   = 5
read(3, "", 26)                         = 0
close(3)                                = 0
open("/sys/module/rtl8192c_common/initstate", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "live\n", 31)                   = 5
read(3, "", 26)                         = 0
close(3)                                = 0
open("/sys/module/rtlwifi/initstate", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "live\n", 31)                   = 5
read(3, "", 26)                         = 0
close(3)                                = 0
open("/sys/module/rtl8192cu/initstate", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/sys/module/rtl8192cu", 0xbed18878) = -1 ENOENT (No such file or directory)
open("/lib/modules/3.4.39/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=1656525, ...}) = 0
mmap2(NULL, 1656525, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6cac000
finit_module(3, "", 0)                  = -1 ENOSYS (Function not implemented)
init_module(0xb6cac000, 1656525, "")    = 0
munmap(0xb6cac000, 1656525)             = 0
close(3)                                = 0
munmap(0xb6f6d000, 20313)               = 0
munmap(0xb6e46000, 97038)               = 0
munmap(0xb6f65000, 32534)               = 0
munmap(0xb6e41000, 19686)               = 0
exit_group(0)                           = ?
+++ exited with 0 +++

0

threads

16

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2015-10-23 15:54:47 | Show all floors
Edited by raid3868 at 2015-10-23 15:58

Hi

Try opensuse but got kernel modules failed to load. Anyone know what happen.?

orangepi@nohostname:~> systemctl status -l systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 1970-01-01 07:40:27 MALT; 45 years 9 months ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 179 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 179 (code=exited, status=1/FAILURE)

orangepi@nohostname:~> sudo /usr/lib/systemd/systemd-modules-load
Failed to find module 'sg'

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-23 17:04:46 | Show all floors
@giacomo892 if you want to build the dvb modules yourself, you can clone linux sources from GitHub. Use the included scripts to enable the desired modules and build the kernel.
You must build on i386 machine (tested on ubuntu/debian 64bit), not on OPI.

@Harald  There were several wi-fi adapters reported as working. If the adapter is working it will work on any OS and any board.

@stone  on-board wifi on opi-2/plus works without problem, if not check if 8189es module is loaded

@Survive-Pi  I've already answered about fs_resize on Fedora, use full path to command:  sudo /usr/local/bin/fs_resize

@lymon   linux-firmware package does contain RTL8192cu firmware (at least the ubuntu's one).

@jacer @Survive-Pi wifi interface name has nothing to do with kernel module loading (the interface is renamed if the same image is used on different board)

@fork  does your RTL8192cu work or not? If yes, can't you remember what have you done to make it work?

@raid3868  I don't know the reason for "kernel modules failed to load" message on OpenSuse, but it looks like it has no negative effect, everything is working as expected.

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

Points Rule

Quick reply Top Return list