Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: jacer

Debian Jessie with GPU driver, WiringOP, Wifi, Retroarch etc preinstalled

  [Copy link]

18

Threads

303

Posts

7732

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7732
 Author| Post time 2016-2-21 20:40:46 | Show all posts
melanrz replied at 2016-1-23 23:12
kodi work on debian,only need odroid version to compile

Care to write a tutorial? Is HW playback implemented as Openelec version?

0

Threads

6

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2016-3-5 13:15:48 | Show all posts
Hi Jacer,

I would really like to try your distribution, but I downloaded it from both userscloud and mega and the image seems to be corrupted

I'm in China too BTW

0

Threads

4

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2016-3-7 04:19:21 | Show all posts
Hi.
This distribution may have boot!
But WringPi don't agree fo OrangePi PC board? When I'm start sh blink.sh from example, LED nothing do it.
In readme.md don't use Pin = 0 in wPi.

0

Threads

6

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2016-3-7 18:56:07 | Show all posts
Edited by nicolettacau at 2016-3-9 20:29

Thanks to this post by jyotighosh:
http://www.orangepi.org/orangepi ... 9769&fromuid=761516
I was able to verify that the md5sum of the image that I downloaded is correct.

I wrote the image to an SD card and booted from it (I have OPI Plus, so at first I tried with the default uImage and script.bin, then with another script.bin that suited my screen)

But when I try to boot the OPI Plus from the SD card, it shows the following errors and doesn't boot up (no matter which script.bin I use):
  1. [FAILED] Failed to start Modem Manager
  2. [FAILED] Failed to start A high performance web server and a reverse proxy server
  3. [FAILED] Failed to start Network Manager
  4. [FAILED] Failed to start Login Service
  5. [FAILED] Failed to start LSB: start Samba NetBIOS nameserver (nmbd).
  6. [FAILED] Failed to start LSB: Start NTP daemon.
Copy the Code
What am I doing wrong?

EDIT: I managed to make it boot up by choosing a different script.bin

1

Threads

3

Posts

23

Credits

Novice

Rank: 1

Credits
23
Post time 2016-3-7 20:53:05 | Show all posts
Thanks for sharing this Jacer!
It's the only image out of many I've tried that allowed me to get my realtek wifi dongle working.

However, network-manager kept trying to connect to a (non-connected) ethernet connection, so I disabled eth0.
In the end I removed network-manager and apt-get install wicd - which made configuring the networks a lot easier, you can see any errors when connecting. Try this if you're having any issues with wifi.

My board idles around 50 degrees, is that normal?

0

Threads

6

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2016-3-9 20:51:44 | Show all posts
Edited by nicolettacau at 2016-3-9 20:53

I am trying to use this distribution to learn how to use the GPIO pins.
I'm following this tutorial:
https://projects.drogon.net/raspberry-pi/gpio-examples/tux-crossing/gpio-examples-1-a-single-led/
I set up this circuit:

But when I write:
  1. gpio mode 0 out
  2. gpio write 0 1
Copy the Code
the LED doesn't turn on.
I tried connecting the LED directly to the first pin (3.3V) and it works, so I know the problem is not the circuit!
Help...!!! What am I doing wrong????

I should also mention:
During boot, the following message is displayed:
  1. [FAILED] Failed to start Load Kernel Modules
  2. See 'systemctl status system-modules-load.service' for details
Copy the Code

And using that command in a shell:
  1. orangepi@OrangePI:~$ systemctl status systemd-modules-load.service
  2. ● systemd-modules-load.service - Load Kernel Modules
  3.    Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
  4.    Active: failed (Result: exit-code) since Thu 1970-01-01 08:03:48 CST; 46 years 2 months ago
  5.      Docs: man:systemd-modules-load.service(8)
  6.            man:modules-load.d(5)
  7.   Process: 176 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
  8. Main PID: 176 (code=exited, status=1/FAILURE)
  9. orangepi@OrangePI:~$
Copy the Code


I'm using Orange Pi Plus, by the way.

18

Threads

303

Posts

7732

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7732
 Author| Post time 2016-3-10 19:49:29 | Show all posts
Edited by jacer at 2016-3-10 19:54
nicolettacau replied at 2016-3-9 20:51
I am trying to use this distribution to learn how to use the GPIO pins.
I'm following this tutorial: ...

You can also try this one below. But the HW plackback with MPV is not working a.t.m.
http://mirror.igorpecovnik.com/A ... 3.4.110_desktop.zip
Using a tool named rufus to flash the zip file to your MicroSD card, no need to unzip it.
Flash tool
Use root/1234 as user/pass during the first boot, then it will promote you to creat a new user/pass and boot into desktop the next time.

0

Threads

6

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2016-3-10 20:38:51 | Show all posts
I'm using dd command on linux to flash the sd card. Is that ok?

Do you happen to know about any complete tutorials to use GPIO on Orange Pi? My ultimate goal is to learn how to pilot the GPIO pins.

18

Threads

303

Posts

7732

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7732
 Author| Post time 2016-3-10 21:22:19 | Show all posts
Edited by jacer at 2016-3-10 21:26
nicolettacau replied at 2016-3-10 20:38
I'm using dd command on linux to flash the sd card. Is that ok?

Do you happen to know about any com ...

You can try these below.
https://github.com/zhaolei/WiringOP
https://github.com/majsi/OpiGpioH3
https://github.com/duxingkei33/orangepi_PC_gpio_pyH3
Check below.
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=523&pid=4766&page=1&extra=page%3D1#pid4766

1

Threads

3

Posts

23

Credits

Novice

Rank: 1

Credits
23
Post time 2016-3-13 00:50:47 | Show all posts
nicolettacau replied at 2016-3-9 20:51
I am trying to use this distribution to learn how to use the GPIO pins.
I'm following this tutorial: ...

I have the exact same problem, except instead of and LED I'm trying a cooling fan.

The only minor control I can achieve over the board is controlling the built-in LEDs
See if this works for you

  1. su
  2. modprobe gpio-sunxi
  3. echo 1 > /sys/class/gpio_sw/standby_led/data
  4. echo 0 > /sys/class/gpio_sw/standby_led/data
  5. echo 1 > /sys/class/gpio_sw/normal_led/data
  6. echo 0 > /sys/class/gpio_sw/normal_led/data
Copy the Code

If you type

  1. ls /sys/class/gpio_sw/
Copy the Code

It lists all the controllable(?) gpio pins, so maybe you could play around with this.

For example

  1. echo 1 > /sys/class/gpio_sw/PA7/data
Copy the Code

Should turn on whatever PA7 is.

Also, I get the Kernel boot error with most opi images.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-11-15 07:52 GMT+8 , Processed in 0.035432 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list