| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 30,120
» Latest member: benstoke
» Forum threads: 16,364
» Forum posts: 117,538
Full Statistics
|
| Latest Threads |
Pinephone software
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
Yesterday, 02:21 PM
» Replies: 3
» Views: 307
|
Real women, real desire, ...
Forum: General
Last Post: Spaker
Yesterday, 01:04 AM
» Replies: 0
» Views: 65
|
Weatherproof case build
Forum: Enclosures
Last Post: ltorsini
07-07-2026, 07:01 PM
» Replies: 12
» Views: 38,543
|
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: PinePhoneProUser
07-07-2026, 04:47 PM
» Replies: 16
» Views: 11,133
|
pinecil v2 dosent negotia...
Forum: General Discussion on Pinecil
Last Post: moses
07-07-2026, 07:28 AM
» Replies: 0
» Views: 125
|
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
07-05-2026, 11:02 AM
» Replies: 0
» Views: 152
|
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,117
|
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 368
|
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 208
|
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,656
|
|
|
| GPIO Kernel Module |
|
Posted by: Foxchild - 03-09-2020, 03:10 PM - Forum: PinePhone Software
- Replies (5)
|
 |
So, I would like to use the pinephone to learn more about device driver kernel modules in linux and device nodes. My main goal would be to write a kernel module that I can load, to control an LED in user space but I know, that's a long way to go. As you can see, there's going to be some very naive things I'm going to say, so please bear with me... I'd really like to know how this works!
I am fairly new to the subject and by now I was only developing firmware for STM32 devices and some software backend things, but no embedded linux at all. On a microcontroller I would look up on which GPIO pin the LED is connected, then search the programming manual for the registers that configure and controle the pin and write to those register addresses.
Still, I think I know at least SOME things about how the linux kernel works. Correct me if I'm wrong, but I suppose there is a kernel module which is basically executable machine code and does the "writing-to-register-addresses"-part? This module can be "loaded" in order to control a peripheral. The module then uses files (or nodes) to offer some sort of interface to applications in user space, in order to easily control the peripheral. These files are located either in /sys or /dev (I guess?). Is that kind of true so far? I already saw the files that can be used to turn an LED on or off in /sys/platform/leds/leds/.
If the above isn't too far off, I have many follow-up questions, but one after the other. 
It would be really kind if someone would like to take time and provide some inside knowledge and just help me find my way here!
|
|
|
|
| sw4 jumper for disabling eMMC boot / multiboot |
|
Posted by: ChriChri - 03-09-2020, 08:54 AM - Forum: General Discussion on ROCKPRO64
- No Replies
|
 |
Ran into the following: I wanted to connect a little switch to choose between sdcard and emmc boot.
Didn't work: Open was fine - eMMC booted.
But closed seemed to boot from eMMC, too, but the archlinux didn't come up and got stuck while looking for its root device.
After some fiddling around, trying and reading serial console I tried a _jumper_.
Worked. As described in the layout the jumper shortens the clock of the emmc to ground. Is it possible that already a 5cm wire has too much resistance to disable the eMMC?
And if so, is there a smarter way to multiboot?
|
|
|
|
| Howto test the 7" LCD |
|
Posted by: ChriChri - 03-09-2020, 02:37 AM - Forum: RockPro64 Hardware and Accessories
- Replies (3)
|
 |
Just got a Rock64Pro 4GB, an eMMC 128GB and the LCD 7" Touchscreen.
I successfully tested the Rock64Pro with Linux, LibreELEC and Android 7.
But never saw lights on the 7" LCD screen.
Could anybody provide a working setup for just checking the function of the screen?
E.g. Which Android version and url to download? Where installed (sdcard or emmc)? Anything else needed to make it work? HDMI-Monitor connected or not?
|
|
|
|
| sales@ non-responsive |
|
Posted by: olegb - 03-09-2020, 02:13 AM - Forum: General Discussion on PinePhone
- Replies (2)
|
 |
I ordered my PinePhone on jan. 2. and on that same day I wrote sales@.
Since I gotten no respons, I also wrote sales@ on 11/1, 04/02 and 16/02. With no respons from sales@ (I checked my spam-folder).
On 27/2 I wrote sales@ asking that my order is canceled and my money refunded ... No reply.
So, how does one contect the sales-team?
|
|
|
|
| Did anyone experiment with pogopins? |
|
Posted by: kreyren - 03-08-2020, 06:44 PM - Forum: Development Discussion on PineTime
- Replies (1)
|
 |
Did anyone experiment with pogopins added to the pcb yet?
I was thinking about sordering the pogopins to the pcb in a way taht would allow connecting to the custom contacts on the backplate so that the watch could be connected to the custom charger that would have a socket for the debugging cable (or ideally solution that would allow flashing via USB)
|
|
|
|
|