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

Linux Distributions for Orange PI H3 boards

  [Copy link]

7

threads

19

posts

228

credits

Intermediate member

Rank: 3Rank: 3

credits
228
Published in 2015-7-7 19:49:02 | Show all floors
Edited by jslav at 2015-7-7 19:51



Changing line in ./build_linux_kernel.sh resolved the issue
  1. #export PATH="$PATH":"$PWD/brandy/gcc-linaro/bin"
  2. export PATH="$PWD/brandy/gcc-linaro/bin":"$PATH"
Copy code

/usr/bin/arm-linux-gnueabi-gcc
- was first in my path.

10

threads

448

posts

4478

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4478
 Author| Published in 2015-7-8 02:49:16 | Show all floors
jslav replied at 2015-7-7 19:49
Changing line in ./build_linux_kernel.sh resolved the issue

/usr/bin/arm-linux-gnueabi-gcc - was  ...

Sorry about that stupid mistake.
I only have arm-linux-gnueabihf installed, so there was no arm-linux-gnueabi-gcc to find on my machine except in brandy/gcc-linaro/bin and there was no error.

7

threads

19

posts

228

credits

Intermediate member

Rank: 3Rank: 3

credits
228
Published in 2015-7-9 19:12:47 | Show all floors
loboris

Can you add raspbian build into your script?
Is it possible to add MATE or other GUI on PC rather than on orange PI?

Yaroslav.

10

threads

448

posts

4478

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4478
 Author| Published in 2015-7-10 07:52:19 | Show all floors
jslav replied at 2015-7-9 19:12
loboris

Can you add raspbian build into your script?

It is possible to build desktop on PC, but the chrooted environment must be prepared for it and I recommend build on OPI.
It takes more then 60 min on OPI, but you build it only once ...

I'm testing raspbian, it can be built, I'll upload updated script soon.

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-7-12 05:30:36 | Show all floors
Edited by blindpet at 2015-7-13 00:27
loboris replied at 2015-7-10 07:52
It is possible to build desktop on PC, but the chrooted environment must be prepared for it and I r ...

I don't get the minimal image to boot on the Orange Pi Plus. If I understand your original post it should boot o nthe Pi Plus but then I have to run update_boot.sh
Could you make build scripts that have nice menus to prepare images for each Orange Pi board like Igor's scripts do?

Edit: I misunderstood I think. I have built an image using your script on Ubuntu and edited params.sh to be all Orange Pi Plus values, it then boots just fine.
Edit 2: Here is an Orange Pi Plus Ubuntu 14.10 Image
Edit 3: I have noticed none of my init.d scripts work, the same scripts work on Raspbian, Minibian, Banana Pi Bananian and Igor's images, ODROID etc. Anybody else noticed something similar?
An example init.d script that doesn't work is here https://github.com/RuudBurger/Co ... /master/init/ubuntu I just get the error message Killed after it tries to start, enabling logging still only gives me the 'Killed' in the log file

10

threads

448

posts

4478

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4478
 Author| Published in 2015-7-12 20:36:33 | Show all floors
@blindpet, about Edit3:

There is something strange about Debian images on OPI. Some programs only run if started as root.
For example, nano and htop only run if started with sudo, if started as regular user they just stop with "Killed" message.
I've tried to copy nano and htop binaries from Ubuntu, and they run fine started as regular user, so it has something to do with how they are compiled.
It is complete mystery to me, I've built similar images on many arm boards, an never had problem like that.

Your init.d scripts runs as user, so that is the reason for "Killed" message. If you don't have some special reason to use Debian, use Ubuntu, there is no such problem with it.


4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-7-13 00:29:15 | Show all floors
loboris replied at 2015-7-12 20:36
@blindpet, about Edit3:

There is something strange about Debian images on OPI. Some programs only r ...

Thank you, Debian is then not very useful for  me at this point, hopefully it will work better in the future.

I did build Orange Pi Plus Ubuntu 14.10 and put the HTPCGuides Media Server Installer on it for those who want a server. After I updated my installer to support jessie/vivid I will upload that image too.

I will publish how I made the image with your script, thank you very much for your efforts. Do you take donations in bitcoin or PayPal?

10

threads

448

posts

4478

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4478
 Author| Published in 2015-7-13 01:47:05 | Show all floors
Edited by loboris at 2015-7-13 06:32
blindpet replied at 2015-7-13 00:29
Thank you, Debian is then not very useful for  me at this point, hopefully it will work better in  ...

I hope I'll solve the Debian problem.
PayPal donations are welcome.

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-7-13 05:40:21 | Show all floors
loboris replied at 2015-7-13 01:47
I hope I'll solve the Debian problem.
PayPal donations are welcome.

Donation trying to send 'Your recipient is not able to receive funds at this time. Your recipient must first set up his or her account to receive funds.', BTC would have been more ;)

Built Ubuntu Vivid and systemd isn't enabled but it is installed. While I appreciate you are not forcing people to switch from init.d (an annoying change I might add), I would like to use systemd to test scripts. Is there a setting in the script I can set to enable systemd?

Edit: This works to enable systemd on your Ubuntu Vivid
  1. apt-get install systemd systemd-sysv
Copy code


10

threads

448

posts

4478

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4478
 Author| Published in 2015-7-13 16:23:42 | Show all floors
@blindpet
For Ubuntu-vivid upstart-sysv package is installed by default. It is in second_stage script, you can easily disable it.
Good idea to put it as an option, I'll do it.

PayPal link should now work, if not, I think email address is sufficient to to send donation with PayPal ...

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

Points Rule

Quick reply Top Return list