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

Linux Distributions for Orange PI H3 boards

  [Copy link]

7

threads

100

posts

647

credits

Senior member

Rank: 4

credits
647
Published in 2015-8-31 03:28:35 | Show all floors
Thank you. It had worked. I had to copy the files from fat to emmc fat extra.

I think you are the same who had presented in freaktab forum a linux solution for mk808b+.
I have the prob that keyboard and lan do not work after switching from android tu mate. In android both work.
Any idea what ca happened.

Have you seen this
https://www.youtube.com/watch?v=mAs75Ck4RAU

Is it realistic that this is ok and a beginner than I can build such an image.

Thx for your kind reply

3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-8-31 16:41:55 | Show all floors
Hi!
Please tell me which of your assemblies
i can use
UART 1-3, USBtoCOM, SPI, i2c, PWM, intrrupt GPIO, intrrupt Timer?
and compiler GCC ?
how to modify your project (detail)
thank.

10

threads

448

posts

4418

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4418
 Author| Published in 2015-8-31 18:36:27 | Show all floors
Vladimir55 replied at 2015-8-31 09:41
Hi!
Please tell me which of your assemblies
i can use

gpio0-30, uart0, spi0, i2c0 (twi0) are enabled
usb2serial drivers are available for CP210x, FTDI and PL2302

In the next kernel version I'll enable pwm and uart1-3

I don't understand what do you mean by "and compiler GCC ?" and "how to modify your project"

10

threads

448

posts

4418

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4418
 Author| Published in 2015-8-31 18:59:24 | Show all floors
Edited by loboris at 2015-8-31 13:05

Update:
  • Debian Jessie with XFCE desktop uploaded to Mega.
  • desktop & install scripts (desktop_scripts.tar.gz) updated
  • build scripts (make_linux.tar.gz) updated
  • added new script install_to_sdcard. Use it to backup your emmc installation to bootable sd card. See 1st post for details


Hints:
  • When installing to emmc, you can use btrfs option to format your emmc Linux partition as btrfs, it will be mounted with compress=lzo option and you can save up to 40% of emmc size.
  • Check the 1st post to see if there are updated kernels, script.bin (scriptbin_kernel.tar.gz) and install scripts (desktop_scripts.tar.gz) available


3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-8-31 21:46:28 | Show all floors
Edited by Vladimir55 at 2015-8-31 21:48

Hi Loboris!
on line "gcc -o myfile myfile.c  " - he says there is no such "gcc".
can not install the compiler gcc.
you have examples of projects C use
gpio0-30, uart0, spi0, i2c0, CP210x, FTDI and PL2302
uart1-3 ?
What you image should I use?
thank.

10

threads

448

posts

4418

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4418
 Author| Published in 2015-8-31 22:52:27 | Show all floors
Edited by loboris at 2015-8-31 15:57
Vladimir55 replied at 2015-8-31 14:46
Hi Loboris!
on line "gcc -o myfile myfile.c  " - he says there is no such "gcc".
can not install the ...

You must install build-essential package.
There is nothing special about UARTS & USB2serial, you can use them same way as on any Linux PC (ttyUSB*, ttyS*)
About using gpio's see here, there is the link to some examples in the last post.
I'm planning to test i2c & spi next week...
You can use any image you want.

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-9-1 00:25:08 | Show all floors
loboris, I am having an issue building using the new script. I set my parameters like I did last time but I am not seeing the right values for UBOOT for Orange Pi Plus, I have tried these but get FATAL error.

  1. UIMAGE="orange/uImage_OPI-PLUS"
  2. BL1="orange/script.bin.OPI-PLUS_1080p60"
  3. UBOOT="orange/u-boot_OPI-PLUS.fex"
Copy code


Any plans to put this on github with a readme and stuff, will make it much easier to update and track bugs/issues.

10

threads

448

posts

4418

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4418
 Author| Published in 2015-9-1 01:06:54 | Show all floors
blindpet replied at 2015-8-31 17:25
loboris, I am having an issue building using the new script. I set my parameters like I did last tim ...

These parameters are no longer used and they don't exist in params.sh.
The script builds universal image for all OPI boards, you just have to to copy one of the uImage_* and script.bin.* files on fat partition before booting to the specific board (as described in the 1st post).
Download make_linux.tar.gz, extract, change params.sh for desired distro, release, and output options, do not add anything to it.
About github, maybe if I'll have more time, and the whole project becomes more complex.

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-9-1 01:28:44 | Show all floors
Edited by blindpet at 2015-9-1 01:55
loboris replied at 2015-9-1 01:06
These parameters are no longer used and they don't exist in params.sh.
The script builds universal ...

I thought that was the case, it seemed even after I removed the UBOOT parameters it still didn't like me giving an image name and kep throwing the FATAL error, any idea why?

How would I go about mounting the img file and copying the boot files you mentioned? I would like to prepare images for each OPI H3 which include my Media Server Installer, it will be nice not to have to recompile 5 times

Is there a place in params.sh I can put custom shell commands I want included? I think I mentioned it a while ago, did you every implement it?

I also see that the NO BUDGET COOLING option is gone, what happened with that, is it no longer necessary?

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-9-1 02:24:43 | Show all floors
Edited by blindpet at 2015-9-1 02:32

On the /boot partition I deleted everything but the uImage_OPI-PLUS and renamed script.bin.OPI-PLUS_720p50 to script.bin. I am not booting.
EDIT, uImage_OPI-PLUS must be renamed to uImage (I believe first post says only script.bin-xxxx needs renaming).
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list