View: 12177|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
Published in 2015-11-28 05:20:51 | Show all floors |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
Published in 2015-11-28 07:00:04 | Show all floors
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
Published in 2015-11-28 19:57:34 | Show all floors
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| Published in 2015-11-29 04:34:56 | Show all floors
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

354

posts

2623

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2623
Published in 2015-11-29 19:39:29 | Show all floors
@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 need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list