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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 6206|Reply: 4

OPI PC Not all gpio ports under /sys/class/gpio_sw

[Copy link]

2

Threads

6

Posts

46

Credits

Novice

Rank: 1

Credits
46
Post time 2015-11-28 05:20:51 | Show all posts |Read mode
Hello,
want to access the gpio pins via /sys/class/gpio_sw. When I look into this folder I see some GPIO ports of the OPI PC ( and can access them) , but not all. As far as I understand, I should create a modified script.bin from the OPI PC fex file, but I cannot find the fex file for OPI PC on the internet. I guess it must exist somewhere, because the script.bin for the OPI PC exists and this derives from the fex file. Has somebody an idea where to get the correct fex file for this Alwinner Arm H3 board ? sunxi_boards (as explained under http://www.orangepi.org/Docs/Building.html )contains only the fex files for Orangepi, (A20)

medeiros
Post time 2015-11-28 07:00:04 | Show all posts
Take these: https://github.com/loboris/OrangePi-BuildLinux/tree/master/orange

They're the best except of default overvolting leading to all sorts of thermal and stability issues (all H3 users suffer from at the moment)

0

Threads

5

Posts

57

Credits

Registered member

Rank: 2

Credits
57
Post time 2015-11-28 19:57:34 | Show all posts
You can convert script.bin to fex with bin2fex tool, modify what you want in fex file and convert it again with fex2bin.

2

Threads

6

Posts

46

Credits

Novice

Rank: 1

Credits
46
 Author| Post time 2015-11-29 04:34:56 | Show all posts
Many thanks for the Information. I didnt realize, that bin files can be converted into fex. Thats exactly I was looking for.

medeiros

5

Threads

355

Posts

2135

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2135
Post time 2015-11-29 19:39:29 | Show all posts
@medeiros
maybe you should look at the sunxi-wiki page and read.
There are a lot of things documented.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
You have to log in before you can reply Login | Register

Points Rules

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

2020-7-13 03:24 GMT+8 , Processed in 0.029198 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list