| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Hardware Feature Suggesti...
Forum: Quartz64 Hardware and Accessories
Last Post: Independent Researcher
08-30-2026, 07:19 PM
» Replies: 0
» Views: 56
|
Single-board computers an...
Forum: General
Last Post: Spaker
08-29-2026, 08:12 PM
» Replies: 0
» Views: 94
|
Pinephone visibly losing ...
Forum: General Discussion on PinePhone
Last Post: baptx
08-29-2026, 11:18 AM
» Replies: 9
» Views: 8,420
|
Fixing the Quartz64 USB3 ...
Forum: Quartz64 Tutorials
Last Post: mig
08-28-2026, 01:32 AM
» Replies: 1
» Views: 12,780
|
Pinecil as a Pocket-Sized...
Forum: General
Last Post: Arsen
08-27-2026, 09:15 AM
» Replies: 0
» Views: 138
|
SlateOS feedback needed!
Forum: Development Discussion on PineTime
Last Post: highjumpman
08-24-2026, 08:00 AM
» Replies: 0
» Views: 213
|
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: Nambo
08-23-2026, 12:17 AM
» Replies: 18
» Views: 13,670
|
Hello, I am a new member ...
Forum: General
Last Post: WhiteRabbit0
08-20-2026, 12:17 PM
» Replies: 0
» Views: 416
|
Need help compiling andro...
Forum: Android on Pine A64(+)
Last Post: ahegarosib97
08-20-2026, 08:45 AM
» Replies: 2
» Views: 2,048
|
RAM-free SBCs with SODIMM...
Forum: General
Last Post: anchor
08-20-2026, 08:21 AM
» Replies: 0
» Views: 183
|
|
|
| my pinephone battery is dead :/ |
|
Posted by: emptyfortress - 02-12-2020, 11:17 AM - Forum: PinePhone Hardware
- Replies (7)
|
 |
Pretty much what the title said, dead as in 0v on the multimeter
what happened was I was testing Ubuntu Touch, had the bug where the wifi drops and can't be raised again. I didn't know yet you could turn the chip off and on again by hand so I shut the phone down (via the UT power button menu IIRC), the battery was over 90% charged according to the charge UI. That was a few days ago, when I picked the phone again yesterday, oops
Not sure it's relevant but I should also mention that when I first got the pinephone it wouldn't recognize the battery (it booted fine when hooked to a charger), I have since read people mentioning having problem with adhesive residue on the pins or the battery being wrongly sitted so I assume that's what happened (it resolved itself after a few sd card swaps, I imagine I ended up putting the battery in the correct position).
could it be the wifi chip not being shutdown properly that drained the battery flat despite the phone being off?
question number 2, shouldn't this have triggered some sort of overdischarge protection circuitry?
|
|
|
|
| Texting works (But...) |
|
Posted by: Zweitaktmotor - 02-12-2020, 06:21 AM - Forum: PostmarketOS on PinePhone
- Replies (7)
|
 |
As indicated in the notes for the latest build, I am able to receive texts and reply to them.
However, I am not able to initiate a new chat. neither a number typed in manually nort one taken from the Contacts list is recognised.
Still, quite happy that we have a useful function now (other, such as the camera bor sound recorder are still merely placeholders).
|
|
|
|
| wasp-bootloader: a robust SoftDevice bootloader for PineTime |
|
Posted by: danielt - 02-12-2020, 04:58 AM - Forum: Development Discussion on PineTime
- Replies (3)
|
 |
I got chatting on pinetime IRC channel (and the many bridged rooms using other protocols) yesterday evening and the discussion swung round to bootloaders... as I think all PineTime chats must eventually do ;-). So... having been encouraged to discuss the bootloader separately from the MicroPython stuff in the other thread let me summarize what I've been doing.
The very first thing I did when I got my PineTime was extend an existing bootloader to allow me to develop without relying on SWD. In other words I wanted my watch to be capable of BLE OTA updates *and* robust enough that it was difficult (although not impossible) for a broken application to lock me out of my watch.
https://github.com/daniel-thompson/wasp-bootloader
This is derived from the Adafruit nRF52 bootloader used on some of their feather boards.
The main changes are:
- It uses the PineTime display rather than LEDs to share status with the user
- It shows a nice pine logo as a splash screen ;-)
- It preconfigures the watchdog timer with a fairly generous (5 second) timeout
- It automatically enters OTA DFU mode on a watchdog reset
It is designed to pair with a special WDT feeding routine in the application. In C-ish pseudo-code it would look like the below. Note that writing button_tamper_check_ok() is a work-in-progress. It is very hard to tamper check on an nRF52 because the pin control is decentralized; we have to tour most of the peripherals and check it hasn't tried to "steal" pin 13 or pin 15 (for now I have just been careful when writing code to activate a new peripheral):
Code: void feed_wdt(void) {
if (button_tamper_check_ok() && !button_pressed())
nrf_wdt_reload_request_set(0);
}
The recommendation is to setup a periodic interrupt (for a 5 second timeout this needs to be roughly every second) in the application and feed the watchdog from it. Normally it is not a great idea to feed a WDT exclusively from an interrupt (unless it implements a soft watchdog) but because the button press can be used to inhibit the feeding of the watchdog then this essentially implements a long-press reset instead of a traditional watchdog.
The bootloader should work well for any SoftDevice based application providing the version numbers align (currently using S132 6.1.1). In principle it can also support other applications but the SoftDevice uses so much FLASH I think it would not be very practical. Various people on the chat caught me up on the discussions at FOSDEM and a bootloader needs to get a lot more sophisticated if we are to support OTA updates where the payload can use an "arbitrary" BLE stack.
However if you are already using SoftDevice this bootloader should work well... to use it all you have to do is relink you application with the flash size set 24K shorter.
At present the only missing robustness feature (that I have thought off) is providing deep sleep support. At present it is easy for an application to enter deep sleep without setting up a suitable wake up source. If that happens the WDT gets disabled and, worse, the system will use so little power that I suspect it could take over a month for battery to run out and make it possible to reboot the watch. Note that I don't think it is practical to prevent the app from sleeping but we can provide a bootloader service to set up a deep sleep in a safe and well tested way so the application can use that instead.
[Use this direct link if the forum video embedding doesn't work for you: https://www.youtube.com/watch?v=W0CmqOnl4jk ]
|
|
|
|
| Request for a favor |
|
Posted by: as400 - 02-12-2020, 12:44 AM - Forum: Pinebook Pro Hardware and Accessories
- Replies (2)
|
 |
I'm trying to come up with some idea of better cooling for pbp.
For this I need some measurments. I know that the CPU itself is 20x20mm. But I need the exact measurment for this bulge which is on CPU.
So if you have your pbp open or planning to open it - please measure the bulge for me 
Thanks in advance.
|
|
|
|
| Screen Layout |
|
Posted by: Zweitaktmotor - 02-11-2020, 11:57 PM - Forum: PostmarketOS on PinePhone
- No Replies
|
 |
One thingb I do not like is the home screen layout with running apps shown at the top. These take up too much space. Android has experimented with various ways of accessing running applications, but they were always on a separate screen.
|
|
|
|
| Where is sdk 8.1 source? |
|
Posted by: ericseo - 02-11-2020, 11:44 PM - Forum: Android on RockPro64
- Replies (1)
|
 |
I found ROCKPro64_20180828_stock_android_8.1_emmcboot.img and it work with my rockpro64.
My rockpro64 doesn't work with ROCKPro64_20190417_stock_android_9.0_emmcboot.img.
So I need sdk 8.1 source.
|
|
|
|
|