Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

18

threads

303

posts

9837

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9837
Published in 2015-10-23 20:42:14 | Show all floors
  1. root@OrangePI:~# lsmod
  2. Module                  Size  Used by
  3. rtl8192cu              87956  0
  4. rtlwifi                70757  1 rtl8192cu
  5. rtl8192c_common        52422  1 rtl8192cu
  6. mac80211              331125  3 rtlwifi,rtl8192c_common,rtl8192cu
Copy code


I edited /etc/modules aas below, but still not working.
  1. # /etc/modules: kernel modules to load at boot time.
  2. #
  3. # This file contains the names of kernel modules that should be loaded
  4. # at boot time, one per line. Lines beginning with "#" are ignored.

  5. #For SATA Support
  6. #sw_ahci_platform

  7. ##Display and GPU
  8. ##lcd
  9. ##hdmi
  10. #ump
  11. ##disp
  12. #mali
  13. ##mali_drm
  14. 8192cu
  15. ##8188eu
  16. ##8189es
  17. #gpio-sunxi
Copy code

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-23 20:57:14 | Show all floors
stone replied at 2015-10-23 13:28
@loboris: awesome trying it now.  I will update you.  What distro and architecture are you using (sh ...

I'm running the script on Ubuntu 15.04 64bit, but it should run on any Ubuntu/Debian distribution, you only have to install debootstrap and qemu-user-static packages.
It should run also on OPI, see "If running on ARM (OrangePI)" comment in create_image script.
After building check the *.log file for any errors (some may be ignored).

0

threads

8

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2015-10-23 21:42:49 | Show all floors
Edited by AndrewStone at 2015-10-24 04:41

EDIT: it worked

I was overwriting the default kernel with the one from your vivid tarball.  That got me this error:

Got: Usage: exec run-init [-d caps] [-c consoledev] /real-root /sbin/init [args]
then kernel panic.

When I used the opi-plus kernel in the OrangePi-BuildLinux image it worked...

0

threads

10

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-23 23:32:47 | Show all floors
Loboris,
please can you compile ubuntu kernels with CONFIG_BRIDGE=m ?
thanks

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-23 23:58:49 | Show all floors
orangepi@nohostname:~> sudo /usr/local/bin/install_to_emmc
root's passwordrangepi

Fri Oct 23 17:51:45 CEST 2015
===============================
Installing Linux system to emmc
===============================


WARNING: EMMC WILL BE ERASED !, Continue (y/N)?  y
Erasing EMMC ...
Creating new filesystem on EMMC ...
  New filesystem created on /dev/mmcblk1.
Partitioning EMMC ...
  Creating boot & linux partitions
  OK.
Formating fat partition ...
  fat partition formated.
Formating linux partition (ext4), please wait ...
  linux partition formated.

Instaling u-boot to EMMC ...

Mounting EMMC partitions...
FAT partitions mounted to /tmp/_fatdir
linux partition mounted to /tmp/_extdir

Copying file system to EMMC ...

  ERROR.
  Creating "fstab"
/usr/local/bin/install_to_emmc: line 194: /tmp/_extdir/etc/fstab: No such file or directory
/usr/local/bin/install_to_emmc: line 198: /tmp/_extdir/etc/fstab: No such file or directory
/usr/local/bin/install_to_emmc: line 200: /tmp/_extdir/etc/fstab: No such file or directory
/usr/local/bin/install_to_emmc: line 201: /tmp/_extdir/etc/fstab: No such file or directory
  ERROR.

*******************************
Linux system installed to EMMC.
*******************************
Orange Pi Plus

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-24 00:42:39 | Show all floors
Edited by Survive-Pi at 2015-10-23 09:59

Full path fs_resize worked, will boot from sd. Will not boot emmc. Blank screen. OpenSuseXFCE.
Orange Pi Plus

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-24 02:00:40 | Show all floors
AndrewStone replied at 2015-10-23 14:42
EDIT: it worked to the linux prompt (but no GUI)

I was overwriting the default kernel with the one ...

If you've cloned from GotHub, there is no need to update the kernel, it is already the newest.
The script creates only the minimal Ubuntu/debian system without any Desktop/GUI.
You can install desired Desktop directly on OPI running one of the included instal_xxx_desktop (in /usr/local/bin)

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-24 02:23:15 | Show all floors
birky replied at 2015-10-23 16:32
Loboris,
please can you compile ubuntu kernels with CONFIG_BRIDGE=m ?
thanks

I'll do it.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-24 04:18:57 | Show all floors
Edited by Survive-Pi at 2015-10-23 13:30

I'm getting better . Figured out how to change directories and see what they contained. Installed Ubuntu wily. Ran fs_resize. Re-boot. Ran nmcli. Ran install_xfce_desktop. Re-boot. Everything worked untill desktop. No desktop.

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
Orange Pi Plus

0

threads

8

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2015-10-24 04:45:07 | Show all floors
@Survive-PI  make sure you have internet connectivity.

Post the result of "ifconfig"

Also, try "ping www.google.com"

what "nmcli" command line did you run exactly?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list