Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

1

threads

25

posts

141

credits

Registered member

Rank: 2

credits
141
Published in 2015-10-26 00:30:21 | Show all floors
loboris replied at 2015-10-25 23:36
You can download Ubuntu_trusty_mini.img and install Lubuntu (LXDE) Desktop using script.
You can al ...

I have installed desktop to trusty but there is no install_x2goserver script (

0

threads

10

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-26 00:49:28 | Show all floors
Edited by birky at 2015-10-26 03:13
loboris replied at 2015-10-25 23:48
@birky   @toxuin   @ALL  you can try new kernel version with included dvb, v4l drivers and CONFIG_BR ...

thanks i do a try. [edit] the update_kernel.sh worked perfectly. now i try the bridging.
bdw: i find the way how to compile kernel. here is the guide:
  1. #kernel compilation:
  2. #new instal to vmware of ubuntu 15.04 64 bit
  3. sudo apt-get install git build-essential zlib1g:i386 ncurses-* gcc-arm-linux-gnueabi u-boot-tools libusb-1.0-0-dev sunxi-tools

  4. git clone https://github.com/loboris/OrangePI-Kernel.git
  5. cd OrangePI-Kernel
  6. #####now should do#####
  7. ./config_linux_kernel.sh plus
  8. ./build_linux_kernel.sh plus
  9. ./build_scripts.sh
  10. ##########
Copy code




10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-10-26 01:21:17 | Show all floors
Riconec replied at 2015-10-25 17:30
I have installed desktop to trusty but there is no install_x2goserver script (

You can download desktop_scripts.tar.gz, it contains all the newest scripts.
Unpack to /usr/local/bin.

10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-10-26 01:23:40 | Show all floors
birky replied at 2015-10-25 17:49
thanks i do a try. [edit] the update_kernel.sh worked perfectly. now i try the bridging.
bdw: i fin ...

sunxi-tools package is available in Ubuntu repo.

2

threads

34

posts

406

credits

Intermediate member

Rank: 3Rank: 3

credits
406
Published in 2015-10-26 04:10:23 | Show all floors
@loboris I can confirm my old webcam works with this new kernel! Thank you!

1

threads

2

posts

27

credits

Novice

Rank: 1

credits
27
Published in 2015-10-26 05:57:04 | Show all floors
sauberpauli replied at 2015-10-9 23:18
@loboris:
1 wire support is amazing!  

Hi.
May I ask what GPIO pin you used and which module arguments you needed to provide in order to get 1-wire working with your sensors? I tried the same last weekend on my new Orange Pi PC, but failed. That is, after hours of testing I ended up having some kind of 1-wire communication (sensors are enumerated and show up in the directory), but in 90% of the cases I got a CRC error when trying to read the register dump. Using my Raspberry Pi I got it perfectly working in no time. And in the meantime I also successfully got it working on an AVR. So the sensors are perfectly fine. I just failed using the Orange Pi PC. Which is a shame, because I planned to use an OPi PC for my new heating controller project (need a lot of DS18S20 sensors there).

I found no documentation that explains the assignment of GPIO numbers (that need to be provided to the kernel module) to the actual GPIO pins.

If you have any hint about getting 1-wire working (pin numbers, kernel module parameters), I would be very grateful! Btw, I am using my DS18S20 in VCC-provided (non-parasitic) mode on 3V3.

@Loboris: Great work! Your images work very nice on my OPi PC!

Many thanks in advance!
Mark

0

threads

3

posts

18

credits

Novice

Rank: 1

credits
18
Published in 2015-10-26 06:25:18 | Show all floors
Edited by Solo761 at 2015-10-26 06:54

Hi again, I've finally set up my OPi PC with your ubuntu mate image and I still have that same speed problem. But I think I've figured something out, it seems this is not network issue but USB issue. Files I've tried to copy over network were on USB stick that was connected to Orange Pi PC.

I tried copying file from USB stick to SD card to try if that would copy faster and problem showed immediately. It was also 900-1000 kB/s, same as when copying over network. Then I remembered that USB 1.1 speed was around this 900-1000 kB/s.

I tried with "sudo lsusb -v", and from what I figured out it seems that some ports work as USB1.1 and some as USB 2.0, and my USB stick (Bus 006 Device 002: ID 0781:556b SanDisk Corp.) was connected to port that worked as USB1.1 (Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub, bcdUSB 1.10).
After that I tried to connect it to vertical port and lsusb output now says that my stick is "Bus 003 Device 002: ID 0781:556b SanDisk Corp." and it's connected to "Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub" that has bcdUSB 2.00. When I tried to copy over network I got speeds up to 11 MB/s which is right for 100Mbps.

So it seems that problem is with USB controller or controller drivers, for some reason it uses OHCI standard for some of them, but at least one port works with EHCI standard at USB 2.0 so all is not lost, I haven't tried upper one so I can't say at what speed it works, but I'd guess it's also USB 1.1.




This thread contains more resources

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

x

10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-10-26 06:26:39 | Show all floors
MarkH replied at 2015-10-25 22:57
Hi.
May I ask what GPIO pin you used and which module arguments you needed to provide in order to  ...

You can find the GPIO mapping for 1-wire in the file OPI_GPIO.txt in scriptbin_kernel.tar.gz.
Use the 1-wire pin number as parameter when loading the module:
  1. sudo modprobe w1-sunxi gpio=n
Copy code
Default 1-wire pin number is 20 -> PA20

When connecting DS1820, don't forget pull-up resistor between vcc and D (~4.7K).

0

threads

10

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-26 07:02:43 | Show all floors
root@Leela:~# systemctl enable create_ap
-bash: systemctl: command not found

why there is no systemctl? how to run AP on startup?

10

threads

448

posts

5037

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5037
 Author| Published in 2015-10-26 07:15:55 | Show all floors
birky replied at 2015-10-26 00:02
root@Leela:~# systemctl enable create_ap
-bash: systemctl: command not found

If you are running Ubuntu Trusty, there is no systemctl, Ubuntu Trusty uses upstart.
Yu can create start/stop script in /etc/ini.d, but the easier way is to put the command in /etc/rc.local.

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

Points Rule

Quick reply Top Return list