Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,968
» Latest member: MichelleKonzack
» Forum threads: 16,334
» Forum posts: 117,438

Full Statistics

Latest Threads
Looking for engineer for ...
Forum: PinePhone Pro Hardware
Last Post: Andrey_voce
04-06-2026, 08:44 AM
» Replies: 0
» Views: 148
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
04-05-2026, 03:03 AM
» Replies: 19
» Views: 8,686
Finally got Kali working ...
Forum: General Discussion on Pinebook Pro
Last Post: qingss0
04-04-2026, 08:00 AM
» Replies: 0
» Views: 240
Charging problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
04-04-2026, 07:30 AM
» Replies: 0
» Views: 110
Latest firmware for PineP...
Forum: PinePhone Software
Last Post: baptx
04-03-2026, 08:37 AM
» Replies: 106
» Views: 216,897
Updates have gotten me ex...
Forum: General Discussion on PineNote
Last Post: bills2002
04-02-2026, 05:16 PM
» Replies: 0
» Views: 195
Voidlinux working on eMMC
Forum: General Discussion on PineTab
Last Post: tllim
04-01-2026, 04:14 PM
» Replies: 1
» Views: 280
Pinecil V2 doesn’t power ...
Forum: General Discussion on Pinecil
Last Post: Juptin
03-28-2026, 02:37 AM
» Replies: 1
» Views: 2,076
dead Pinebook - help plea...
Forum: General Discussion on Pinebook Pro
Last Post: williamcorlin
03-26-2026, 04:22 PM
» Replies: 3
» Views: 936
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
03-25-2026, 12:57 PM
» Replies: 1
» Views: 602

 
  USB Type-C Display cable support (for 2 in 1: Video + Power)
Posted by: Paprika88 - 02-12-2020, 06:47 AM - Forum: General Discussion on ROCKPRO64 - No Replies

I purchased a Lapscreen not so long ago and I would perfer to use it with only 1 USB type C cable. 
another product I have my eye on is the 15.6-inch ZenScreen MB16ACE USB-C Monitor


  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 Smile

Thanks in advance.


  Not recognising SIM
Posted by: Zweitaktmotor - 02-12-2020, 12:20 AM - Forum: UBPorts on PinePhone - Replies (1)

Ubuntu reports "No Sim", although Postmarket recognises it without problem.

I also find Ubuntu a bit slow. Back to PM for now...


  Making Calls
Posted by: Zweitaktmotor - 02-11-2020, 11:58 PM - Forum: PostmarketOS on PinePhone - Replies (11)

I was able to dial out and get my other mobile to ring, but when I answered the call, I had no sound transmitted between the two.


  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.


  Brightness Control
Posted by: Zweitaktmotor - 02-11-2020, 10:29 PM - Forum: PostmarketOS on PinePhone - Replies (5)

Just copied the latest image to my SD card and it booted up well.

However, be careful with the brightness control. ,If you move the slider completely to the left, the screen will go black and you cannot bring the brightness back up.

Fortunately, a reboot helps, but perhaps the developers should know this and adjust the minimum setting only to a very, very dim brightness.