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

Linux Distributions for Orange PI H3 boards

  [Copy link]

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-7-13 20:52:35 | Show all floors
Edited by blindpet at 2015-7-13 20:55
loboris replied at 2015-7-13 16:23
@blindpet
For Ubuntu-vivid upstart-sysv package is installed by default. It is in second_stage scrip ...

Upstart is not systemd though. When I type systemd freshly I get this error

  1. Trying to run as user instance, but the system has not been booted with systemd.
Copy code
I think you need the packages I mentioned above, then I can use systemd.
Donation sent


10

threads

448

posts

5024

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5024
 Author| Published in 2015-7-13 21:27:15 | Show all floors
Edited by loboris at 2015-7-13 21:29
blindpet replied at 2015-7-13 20:52
Upstart is not systemd though. When I type systemd freshly I get this error

I think you need the p ...

You misunderstood me, what I wanted to say is that I intentionally replaced systemd with upstart to make some things simpler (the script was originally created for Odroid C1).
Anyhow, it is easy to switch Systemd <-> Upstart.
Thank you for the donation.

4

threads

47

posts

214

credits

Intermediate member

Rank: 3Rank: 3

credits
214
Published in 2015-7-14 01:33:12 | Show all floors
loboris replied at 2015-7-13 21:27
You misunderstood me, what I wanted to say is that I intentionally replaced systemd with upstart to ...

Gotcha, have a link to your odroid build scripts? I need to build a new Debian. Any other devices you have build scripts for?

Do you have plans to do a whiptail menu for them? The base code is on Igor's github https://github.com/igorpecovnik/lib

10

threads

448

posts

5024

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5024
 Author| Published in 2015-7-14 06:08:10 | Show all floors
blindpet replied at 2015-7-14 01:33
Gotcha, have a link to your odroid build scripts? I need to build a new Debian. Any other devices  ...

I don't have plans to add menu or anything like that, I don't see much point in it.
My intention was to make a basic learning tool, to help people to better understand the structure of linux system, and the development boards like OPI or Odroid are great for that.
I'm working on scripts collection for Odroid XU, it will be released soon.
Odroid C1 related scripts are here and here.

7

threads

19

posts

228

credits

Intermediate member

Rank: 3Rank: 3

credits
228
Published in 2015-7-14 08:26:03 | Show all floors
Edited by jslav at 2015-7-14 08:33

Module loading issue

I run Ubuntu_vivid_Mate on OrangePi Mini 2
I connected ov2640 camera and attempt to use it.
I built raspbian raspicam and launch raspistill, but got message "failed to open vchiq instance"
Then I supposed, that I camera driver is missing.
However, ov2640.ko file exists
I tried insmod ov2640, but got message "insmod: ERROR:Could not load module ov2640: No such file or directory"
modprobe ov2640 just silently exits

besides, I tried to force MODPATH variable exactly to path of ov2640.ko file.
Vainly
I got the same behaviour.

1. Why couold module could not be found?
2. Does kernel need to be configured with some additional options to support CSI camera?

10

threads

448

posts

5024

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5024
 Author| Published in 2015-7-14 16:58:20 | Show all floors
jslav replied at 2015-7-14 08:26
Module loading issue

I run Ubuntu_vivid_Mate on OrangePi Mini 2

insmod requires full path to the module, you must run
  1. insmod /lib/modules/3.4.39/kernel/drivers/media/video/sunxi-vfe/device/ov2640.ko
Copy code
if modprobe "silently exits" it means that the module is loaded, check witk lsmod.

You can load the module at boot time, just put its name (without extension) in /etc/modules


Published in 2015-7-15 17:32:36 | Show all floors
jslav replied at 2015-7-14 08:26
I built raspbian raspicam and launch raspistill, but got message "failed to open vchiq instance"

This will never work on other hardware than Raspberry Pis since both tools rely on the RPi's VideoCore GPU/VPU where all the magic happens.

You've been fooled by the name 'Raspbian' the manufacturer chose to cash in on the RPi's popularity. You won't be able to do this stuff on any of the Orange Pis since there's no HW VPU acceleration and even most basic support for OmniVision cameras is missing.

3

threads

16

posts

131

credits

Registered member

Rank: 2

credits
131
Published in 2015-7-20 20:55:11 | Show all floors
Is this any way to use this image on older boards like Orange Pi mini?
I know it's a totally different SoC

10

threads

448

posts

5024

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5024
 Author| Published in 2015-7-20 21:37:52 | Show all floors
Bunyu replied at 2015-7-20 20:55
Is this any way to use this image on older boards like Orange Pi mini?
I know it's a totally differe ...

You can't use the image on any other board because it contains specific bootloader, u-boot and kernel.
But, it should be easy to adapt the build scripts for another board. I've used similar scripts to build linux system on many boards (amlogic, exynos, rockchip).
You must know the boot process, partition structure, and have the means to build kernel and u-boot...

2

threads

37

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
Published in 2015-7-21 11:53:06 | Show all floors
Dear All,

Anyone have the hostapd for OPI 2???
I tried compiling from RTL link but still doesnt work.

Hope someone can post the working hostapd. Thanks.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list