| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 30,067
» Latest member: ckowboi78
» Forum threads: 16,349
» Forum posts: 117,502
Full Statistics
|
| Latest Threads |
PinePhone Game Thread
Forum: General Discussion on PinePhone
Last Post: elinkser
06-11-2026, 02:50 PM
» Replies: 31
» Views: 79,837
|
Introducing RoutineHero: ...
Forum: General Discussion on PineTime
Last Post: oscar-gardiazabal
06-06-2026, 03:33 PM
» Replies: 3
» Views: 2,666
|
rAudio for Rock64 V2
Forum: Linux on Rock64
Last Post: shinzuka
06-05-2026, 06:22 AM
» Replies: 9
» Views: 1,211
|
Rii mini 4 keyboard and t...
Forum: PinePhone Accessories
Last Post: elinkser
06-04-2026, 12:16 PM
» Replies: 2
» Views: 3,363
|
Movuan distribution for P...
Forum: PinePhone Software
Last Post: merom
06-04-2026, 02:10 AM
» Replies: 6
» Views: 6,340
|
Avaota A1 - Mainline
Forum: General
Last Post: tllim
06-03-2026, 12:24 PM
» Replies: 1
» Views: 390
|
Totally disabling auto-bo...
Forum: General
Last Post: tllim
06-03-2026, 12:22 PM
» Replies: 1
» Views: 253
|
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
05-29-2026, 01:07 PM
» Replies: 21
» Views: 10,619
|
RockPro64 automatically r...
Forum: General Discussion on ROCKPRO64
Last Post: tllim
05-28-2026, 05:29 PM
» Replies: 1
» Views: 471
|
Volumio 3 Pine A64+ unoff...
Forum: Linux on Pine A64(+)
Last Post: tllim
05-28-2026, 02:13 PM
» Replies: 6
» Views: 1,104
|
|
|
| UART2 on PI header (pin 8 and 10) |
|
Posted by: martinayotte - 04-14-2016, 07:38 PM - Forum: Pi2, Euler and Exp GPIO Ports
- Replies (8)
|
 |
If you wish to interact with UART2 on PI header (pin 8 and 10), you will maybe find soon that /dev/ttyS2 that isn't available.
The problem is only that it is not enabled into the DTB.
You can fix that by doing (along with backups)
Code: mv /boot/pine64/sun50i-a64-pine64-plus.dtb /boot/pine64/sun50i-a64-pine64-plus.dtb-ORIG
dtc -I dtb -O dts -o sun50i-a64-pine64-plus.dts /boot/pine64/sun50i-a64-pine64-plus.dtb-ORIG
Then edit the "sun50i-a64-pine64-plus.dts" and change "disable" to "okay" in the "status" of the "uart@01c28800" paragraph !
Push the change back into binary :
Code: dtc -I dts -O dtb -o /boot/pine64/sun50i-a64-pine64-plus.dtb sun50i-a64-pine64-plus.dts
Then, reboot !
you should now have the /dev/ttyS2 working !
|
|
|
|
| Python GPIOs |
|
Posted by: martinayotte - 04-14-2016, 07:23 PM - Forum: Pi2, Euler and Exp GPIO Ports
- Replies (3)
|
 |
I wished to control GPIO with python !
I've tried to use the same library I'm used to on A20, so, I've copied pyA20-0.2.1 from my Olimex board into my PinA64.
Compile it and try it out ... Segmentation fault !
Digging with GDB, I've figured it out : some pointers were 32bits while we are now on 64bits plateform !
Here are the changes to achieve :
Code: root@pineA64:~# diff pyA20-0.2.1/pyA20/gpio/gpio_lib.c~ pyA20-0.2.1/pyA20/gpio/gpio_lib.c
67c67
< SUNXI_PIO_BASE = (unsigned int) pc;
---
> SUNXI_PIO_BASE = (unsigned long) pc;
root@pineA64:~# diff pyA20-0.2.1/pyA20/gpio/gpio_lib.h~ pyA20-0.2.1/pyA20/gpio/gpio_lib.h
123c123
< extern unsigned int SUNXI_PIO_BASE;
---
> extern unsigned long SUNXI_PIO_BASE;
|
|
|
|
| Getting Android source under version control |
|
Posted by: jonsmirl - 04-14-2016, 03:38 PM - Forum: Android on Pine A64(+)
- Replies (4)
|
 |
If people are going to contribute code back to Pine, the source has to get under version control. Without version control is is chaos to contribute code back since you never know what to base it off from.
Currently you are posting tarballs...
http://wiki.pine64.org/index.php/Pine_A6...SP_Related
Some places like Gitlab allow repos up to 10GB in size. Can someone from Pine get this code checked into a version control system? Pine people need to do this so that you will be the owner of the accounts.
Maybe an Android expert can help out with this. If should be possible to do a reposync to the main AOSP repository and then apply only the deltas needed for Allwinner A64 and Pine support. These device specific delta should be fairly small. Is someone experienced at turning these tarballs back into deltas against the AOSP repos?
|
|
|
|
| WiFi module causes boot loop |
|
Posted by: BnEc - 04-14-2016, 01:51 AM - Forum: Getting Started
- Replies (17)
|
 |
So I received my pine the other day, it looks amazing though I'm slightly disappointed, I had added to my pledge the WiFi module and that lovely looking acrylic case.
No case in the package but everything else was present. However having formatted a 32Gb Samsung SD card with archlinux veriant, I have found that if the WiFi module is plugged in to the board it refuses to boot, it goes through the process of loading the kernal, then just restarts always at the same point. However if I remove the WiFi module, happy days it boots fine.
Any suggestions would be welcome. Or if this a case of the WiFi module being DOA?
|
|
|
|
| Question about Ubuntu |
|
Posted by: skardoska - 04-14-2016, 01:39 AM - Forum: Linux on Pine A64(+)
- Replies (12)
|
 |
I'm currently using the Ubuntu image of Longsleep but I'm getting these errors and it takes quiet sometime then to boot. Is this normal or a bug and is there anyway how I can fix this?
|
|
|
|
|