please choosego to mobile | Continue to access the PC version
Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-9-2 16:01:29 | Show all floors
Ok!
but if not possible to change the cycle.
need to get into the H3 PLL registers...
cp2101-3 work, but it's USB and it is not very reliable.

SPI 0-1 has a question - will it work?


0

threads

16

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2015-9-2 17:16:45 | Show all floors
HI,

I still cannot get x2go server working. trying with both ubuntu mate img and debian jessie xfce img.
follow loboris instruction downloaded desktop_script.tar.gz copy to /usr/local/bin sudo install_x2goserver  
everything installed without any error. even with fresh image.

but when connect with x2go client

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '20746'.
Session: Starting session at 'Wed Sep  2 16:47:46 2015'.
Info: Using abstract X11
NXPROXY - Version 3.5.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '20804'.
Session: Starting session at 'Wed Sep  2 16:49:23 2015'.
Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0.
Info: Connecting to remote host 'localhost:31007'.
Info: Connection to remote proxy 'localhost:31007' established.
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Wed Sep  2 16:49:23 2015'.
Session: Session terminated at 'Wed Sep  2 16:49:23 2015'.
socket in kernel namespace for accessing DISPLAY=:0.
Info: Connecting to remote host 'localhost:31004'.
Info: Connection to remote proxy 'localhost:31004' established.
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Wed Sep  2 16:47:46 2015'.
Session: Session terminated at 'Wed Sep  2 16:47:46 2015'.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-9-2 18:41:36 | Show all floors
Edited by makama80 at 2015-9-2 18:42

@raid3868: Maybe you can try x11vnc as an alternative. I use it as well and it works also great, however: I prefer the x2go because it is a real X-window system.

@loboris: do you have the Mali also on your radar? I have a pcduino3 nano (A20/Mali400) where the Mali actually works in Linux. So it is possible to have it running under Linux.
Because I just received my OPI+, I did not yet try your images (which I certainly will!) and also do an attempt to get the Mali working. Any idea if it is possible with the way Linux runs on the OPI H3 boards?

I am going to start a.s.a.p. to create a document with screenshots and (hopefully!) clear instructions / tutorials to document what's in the forum. Currently a lot info is scattered here and there, and I think a single document with all info together can be of great help.

10

threads

448

posts

5116

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5116
 Author| Published in 2015-9-2 20:52:08 | Show all floors
Edited by loboris at 2015-9-2 19:25
raid3868 replied at 2015-9-2 10:16
HI,

I still cannot get x2go server working. trying with both ubuntu mate img and debian jessie xfce ...

It is problem of your x2go client, try to use another. I'm always using pyhoca-gui as x2go client.

10

threads

448

posts

5116

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5116
 Author| Published in 2015-9-3 02:24:59 | Show all floors
Edited by loboris at 2015-9-2 19:52


uImage upgraded:
  • uImage upgraded, now it is possible to boot to USB drive partition
  • to boot to USB partition, the file named cmdline.txt must exist on BOOT (fat) partition on sd card/emmc
  • the content of that file must be: root=/dev/sdXn, where /dev/sdXn is the USB drive partition (as visible from OPI) to which to boot (for example root=/dev/sda1)
  • the line which mounts / in /etc/fstab on USB partition must point to the right partition
  • install_to_usb script automaticaly creates right cmdline.txt and fstab
  • if cmdline.txt does not exist, or USB drive partition is not accesible (USB drive not attached), system boots to /dev/mmcblk0p1
  • Bootable SD Card or EMMC must be accesible when booting to USB, but it is not necessary that the second partition contains valid Linux fs, sd card can have only the 1st (fat) partition
  • You can have different Linux installations on different USB drive partitions, just edit the cmdline.txt to select to which to boot.
  • Download script_kernel.tar.gz extract to BOOT (fat) partition and copy the right uImage_* to uImage


Install scripts updated:

  • added script install_to_usb to install Linux to USB drive (partition). Can be used to backup your SDCard/EMMC installation.
    1. sudo install_to_usb /dev/sdXn [btrfs]|[noformat]
    Copy code

  • /dev/sdXn is the USB drive partition to which to install (for example /dev/sda1)
  • if the second parameter is btrfs, USB partition will be formated as btrfs, otherwise as ext4
  • if the second parameter is noformat, USB partition will not be formated, content of the partition will be updated (in case you have used install_to_usb to backup your sdcard/emmc before)
  • be careful not to select the wrong USB partition, it will be erased/updated!
  • Download desktop_scripts.tar.gz, unpack to /usr/local/bin.
  • You must have the new uImage version, with boot to usb enabled.





0

threads

4

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2015-9-3 03:03:48 | Show all floors
loboris replied at 2015-9-3 02:24
uImage upgraded:
  • uImage upgraded, now it is possible to boot to USB drive partition

  • Thanks a lot for this update and yours hard work

    4

    threads

    47

    posts

    214

    credits

    Intermediate member

    Rank: 3Rank: 3

    credits
    214
    Published in 2015-9-3 03:23:07 | Show all floors
    Edited by blindpet at 2015-9-3 04:25

    You are awesome. I fixed the Plex issue (it was a symlink that needed fixing and the repo is now fixed thanks to the maintainer) and I will release the Orange Pi Plus Media Server Installer image tomorrow. Is the default uImage the one working for the Orange Pi PC? I will prepare images for the other models since all I have to do is rename the uBoots uImage.

    10

    threads

    448

    posts

    5116

    credits

    Moderator

    Rank: 7Rank: 7Rank: 7

    credits
    5116
     Author| Published in 2015-9-3 04:00:17 | Show all floors
    blindpet replied at 2015-9-2 20:23
    You are awesome. I fixed the Plex issue (it was a symlink that needed fixing and the repo is now fix ...

    Default uImage is for OPI-PC / OPI-2
    You have to rename/copy uImage & script.bin, not uBoot (u-boot is writen ito the sectors on sdcard/emmc before the 1st partition start sector)
    Why create multiple images, isn't it easy enough to rename two files ?

    4

    threads

    47

    posts

    214

    credits

    Intermediate member

    Rank: 3Rank: 3

    credits
    214
    Published in 2015-9-3 04:17:35 | Show all floors
    Edited by blindpet at 2015-9-3 04:24
    loboris replied at 2015-9-3 04:00
    Default uImage is for OPI-PC / OPI-2
    You have to rename/copy uImage & script.bin, not uBoot (u-boo ...

    I see your point, however, noobs want something they can just burn and use with minimal effort.

    uImage and opi-pc script.bin can then be used for both Orange Pi PC and Opi-2 image so I only need to make one of those instead of two separate ones, right? The script.bin just needs to be there and be valid for the device, it only actually does something if you use a monitor with it?

    Once your scripts are on github I will just make a howto to build your own image, it is not currently worth it because of manual updates from mega but once it is streamlined I will just make a noob-proof step-by-step to making their own image. Ideally the correct uimage and script.bin files will be part of the final image based on a variable in params.sh

    Should be able to make another donation when you've moved over to github.

    10

    threads

    448

    posts

    5116

    credits

    Moderator

    Rank: 7Rank: 7Rank: 7

    credits
    5116
     Author| Published in 2015-9-3 04:52:57 | Show all floors
    blindpet replied at 2015-9-2 21:17
    I see your point, however, noobs want something they can just burn and use with minimal effort.

    uI ...

    The right script.bin must be pressent for each board (OPI-PC, OPI-2, OPI-PLUS), it defines the whole hardware, not only monitor resolution (ethernet,wifi, usb...).
    So you must have at least 3 images, plus 2 script.bin version on each (for 1080 and 720 resolution)

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

    Points Rule

    Quick reply Top Return list