| 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: 289
|
Real women, real desire, ...
Forum: General
Last Post: Spaker
Yesterday, 01:04 AM
» Replies: 0
» Views: 54
|
Weatherproof case build
Forum: Enclosures
Last Post: ltorsini
07-07-2026, 07:01 PM
» Replies: 12
» Views: 38,534
|
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: PinePhoneProUser
07-07-2026, 04:47 PM
» Replies: 16
» Views: 11,107
|
pinecil v2 dosent negotia...
Forum: General Discussion on Pinecil
Last Post: moses
07-07-2026, 07:28 AM
» Replies: 0
» Views: 110
|
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
07-05-2026, 11:02 AM
» Replies: 0
» Views: 145
|
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,110
|
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 353
|
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 201
|
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,650
|
|
|
| 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.
|
|
|
|
| Root FS partition size |
|
Posted by: Zweitaktmotor - 02-11-2020, 11:00 PM - Forum: PostmarketOS on PinePhone
- Replies (1)
|
 |
The image set my root FS partition size originally to 2 GB and I quickly ran out of space. Used Gparted in my PC to enlarge it to 32 GB and received an error message about "Web support size checking" (I have a SanDisk Ultra 128 GB). After ignoring this and putting the card back into the Pinephone, I now seem have plenty of space.
Perhaps the root FS size should be set bigger?
My hope is that we will later be able to have several images on one card and can choose at startup, using something like a Grub menu.
|
|
|
|
|