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

Username
  

Password
  





Search Forums



(Advanced Search)

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: 308
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,136
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: 154
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: 209
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,656

 
  postmarketos-mkinitfs upgrade failing
Posted by: HL34n - 06-14-2020, 11:25 PM - Forum: PostmarketOS on PinePhone - Replies (3)

Hello,

Today, a new version of postmarketos-mkinitfs tried to install when I ran apk upgrade.
However, the trigger script errored out, so it couldn't install the upgrade. I ran apk fix to try and redo the installation, but it failed again.

Code:
pinephone:~$ sudo apk fix
(1/1) Reinstalling postmarketos-mkinitfs (0.12.1-r1)
Executing busybox-1.31.1-r20.trigger
Executing postmarketos-mkinitfs-0.12.1-r1.trigger
==> initramfs: creating /boot/initramfs-postmarketos-allwinner
Scanning kernel module dependencies...
NOTE: ** modprobe warnings below can be ignored ** if your device does not run the
mainline kernel yet (most devices!) or if the related kernel options are enabled
with 'y' instead of 'm' (module).
- deviceinfo: sun6i_mipi_dsi sun4i_drm pwm_sun4i sun8i_mixer
- 00-default.modules: dm_crypt ext4 usb_f_rndis
==> kernel: device-tree blob operations
==> kernel: copying dtb allwinner/sun50i-a64-pinephone-1.1 to boot partition
==> initramfs: creating uInitrd
Image Name:   uInitrd
Created:      Sun Jun 14 23:09:53 2020
Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
Data Size:    1427565 Bytes = 1394.11 KiB = 1.36 MiB
Load Address: 00000000
Entry Point:  00000000
==> kernel: creating uImage
mkimage: Can't open /boot/vmlinuz-postmarketos-allwinner: No such file or directory
ERROR: postmarketos-mkinitfs-0.12.1-r1.trigger: script exited with error 1
Executing postmarketos-base-3-r34.trigger
Configuring a getty on port ttyS0 with baud rate 115200
OK: 1420 MiB in 583 packages
pinephone:~$ ls /boot/
initramfs-postmarketos-allwinner  uImage-postmarketos-allwinner
sun50i-a64-pinephone-1.1.dtb      uInitrd-postmarketos-allwinner

Running apk fix, it gets picked up as improperly installed again.
The file it is looking for does not exist, there is an ls output at the bottom.
Any ideas? It'd be much appreciated.

Thanks in advance!


  PBP just 'sploded
Posted by: Phillip Bell - 06-14-2020, 05:32 PM - Forum: General Discussion on Pinebook Pro - No Replies

I've had it for a few weeks and was using it today.  Installing QT5 so that I could eventually flash the new 20.6 i3 that strit just put out.

I heard a tiny "pop", screen went blank, and now, it won't boot.  Battery was charging with 5V3A charger, had it hooked up to Auzai external monitor, and installing QT5.  Battery was a little warm under the bottom, but not red hot.  

I think I now have a brick.  Any recommendations?


OK, good news, D-0 is back (yes, I have my PBP themed for a Star Wars droid, complete with ogg sound-clips and custom wallpaper).

After he cooled off for about an hour, I plugged in the power adapter and was then able to boot the machine.

I'm wondering if this is a thermal failsafe? Does the board or batteries shut off with high temp?


  Power consumption and suspend to ram
Posted by: robt - 06-14-2020, 03:01 PM - Forum: General Discussion on Pinebook Pro - Replies (33)

The battery life of my PBP is really good, I get 8+ hours with my usage (browsing, bit of vnc, paying attention to brightness levels).

However, I have some problems with suspend to ram.
First, it wasn't always going into suspend to ram, though since some updates yesterday, this seems to have been fixed.

Second, when suspending to ram, after 2.5 hrs the battery still lost about 13% (82% to 69%), so that's barely better than keeping it running.

Is that normal?

The reason I ask: I have a Huawei tablet (M5 Lite) which runs seemingly forever, but also when just leaving it, it does fetch update information (so at some point wifi and other stuff is somewhat active), but otherwise it will lose about 20% in a week or more. I unplugged it this morning and it just sat idle all day, and just now it still has 100% charge...

Then another question: is it possible to do a suspend to disk? Or are there special reasons why that isn't recommended?
On my commute, there's a crap data connection, so I'd like to load a bunch of webpages at home or at work, then read on the go. With suspend to ram consuming a lot of battery, esp. when forgetting about it at work, I'll be stuck with a dead battery...

Any thoughts?




[Edit 2020-06-21 after getting proper suspend to ram working]

I got my Pinebook Pro in May 2020, these fixes are therefore for an ootb Manjaro 19 PBP.
With the guidance in this thread below I managed to get to where I'm at now.

My PBP is up to date in terms of software updates, so it already runs kernel 5.7.0-1-MANJARO-ARM. Kernel 5.6+ is one of the prerequisites for proper suspend to ram.

With dmesg and journalctl -f I could figure out that the sleep mode (closing the lid or Fn+ESC = Zz) was indeed not really suspend to ram.

I modified /etc/systemd/sleep.conf
#SuspendState=freeze
SuspendState=mem
and disallowed any Hibernate lines, not sure if that would be necessary, so just in case.

I installed bsp uboot, package name and version: uboot-pinebookpro-bsp (1.5-7), which tells me this at the end of the installation:
A new U-Boot version needs to be flashed our install drive. Please use lsblk to determine your drive, before proceeding.
You can do this by running:
# dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc
# dd if=/boot/uboot.img of=/dev/mmcblkX seek=16384 conv=notrunc
# dd if=/boot/trust.img of=/dev/mmcblkX seek=24576 conv=notrunc
Transaction successfully finished.

lsblk outputs this:
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk2 179:0 0 58.2G 0 disk
├─mmcblk2p1 179:1 0 213.6M 0 part /boot
└─mmcblk2p2 179:2 0 58G 0 part /
mmcblk2boot0 179:32 0 4M 1 disk
mmcblk2boot1 179:64 0 4M 1 disk
zram0 252:0 0 5.6G 0 disk [SWAP]

So then I had to do this:
# dd if=/boot/idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc
# dd if=/boot/uboot.img of=/dev/mmcblk2 seek=16384 conv=notrunc
# dd if=/boot/trust.img of=/dev/mmcblk2 seek=24576 conv=notrunc

after which a reboot got me to functional suspend to ram - I can see that the CPUs are put to sleep with journalctl, and overnight, the battery lost less than 3%.


  Getting started in nRF52 in pinetime64
Posted by: Quim - 06-14-2020, 02:02 PM - Forum: Getting Started - No Replies

Hi everybody,

I am starting to learn how to program with the nRF52 and I have decided to start with the PineTime64.

I would like to know which ID is better to start developing with the device and with the software that comes with the smartwatch (if possible). I have a Segger JLINK programmer, will it be a good option the Segger Embedded studio to modify this repository and make my modifications? 

Thank you very much.


Quim


  Will Raspbian binaries run on the Pinbook pro?
Posted by: dieselnutjob - 06-14-2020, 12:21 PM - Forum: General Discussion on Pinebook Pro - Replies (10)

Hi
I compile software using freepascal and fpgui for customers on Windows, Linux, MacOS and Raspian.
I am currently using my Pi as a WiFi router so I was sort of tempted to buy a Pi4 to replace it.  But Pi's are such a faff with cables and SD cards and maybe I would just be better to get a Pinebook Pro.
Can I essentially treat a Pinebook Pro as a Pi laptop? It seems to use a similar processor as a Pi 4.
Would I be able to run 32 bit Raspbian binaries on it?
and I can install freepascal and Lazarus-IDE on it right?
If I buy one then I'll be most likely using Debian.
A laptop with a long battery life and a proper UART would be kind of cool.
thanks, DNJ


  Cannot Activate Developer Mode
Posted by: KeithMcN - 06-14-2020, 11:18 AM - Forum: UBPorts on PinePhone - Replies (6)

Hi,
      I have the UBPorts Community Edition and attempted to activate the Developer Mode, but the option does not seem to exist.

I have a BQ Aquaris with UBPorts and the options is under 'System Settings - About - Developer Mode'. However, this is not the case on the Pinephone.

Will this feature be added at a later date?


  PineTab options and accessories
Posted by: bcnaz - 06-14-2020, 11:06 AM - Forum: PineTab Hardware - Replies (20)

1) One of the pictures I saw of the internals of the PineTab showed a SSD installed,  but I did not see that adapter in the store.
   IS it   or will it be available ?

2) Will it be possible to add a phone/data modem  ? 

3) Can the 64gb eMMC be upgraded to a 128gb,  or perhaps larger ?
 
The speaker placement in the picture,  kinda wish they were forward pointing instead of rear pointing.
   It looks like the sides of the screen bezel would support forward facing speakers.

4)  Does it have a GPS module installed ?

5) When will they offer more of them "For Sale"  ?

Thanks


  Trackpad woes
Posted by: robt - 06-14-2020, 10:47 AM - Forum: General Discussion on Pinebook Pro - Replies (22)

I just got my PBP two weeks ago. My trackpad is a bit cumbersome.
First and foremost, it seems not to be properly seated. Please see the photo.

I'm not quite sure if it is an assembly problem that I can fix, or if they "just are like that". Any idea?

Next, I have trouble to get a three finger tap to be recognized (middle mouse button), so I have configured Manjaro/KDE to take a right top and left top corner tap as middle button. According to xev (xorg-xev package) no three finger tap ever gets detected. The two finger tap for right mouse button is also not registered half the time.

I don't think that my device was made in 2019, should I do the keyboard firmware update? Or how can I tell if mine is from last year or this one?



Attached Files
.jpg   2020-06-07_11.15.46_m.jpg (Size: 306.71 KB / Downloads: 781)

  Development platform for PineTime images?
Posted by: ichibon-brosan - 06-14-2020, 10:03 AM - Forum: General Discussion on PineTime - Replies (4)

Hello friends... I have received my first few batches of Pine hardware, specifically a USA version of the PineBook Pro, the PineTime developer kit, a clusterboard, and 7 modules. I have a PinePhone on order but no information on expected arrival.

I would like to start learning to program the PineTime but all the forum postings I have read so far refer to programming the watch using an Android phone, which I don't happen to own. So I have some easy questions, in no particular order... 

Can I develop firmware for the PineTime using my PineBook Pro? 

Can I do any of this before I receive my PinePhone or am I out of business until then?

Is my iPhone 7Plus of any value in this matrix in the mean time?

I have a j-link mini (edu) and a j-link edu. Can either of these be used to program the PineTime using OpenOCD?

Or do I need to buy something else specifically? If so what?

I am really looking forward to getting started :-)

Thanks, Douglas


  Boot process
Posted by: bero - 06-14-2020, 07:51 AM - Forum: Linux on Pinebook Pro - Replies (14)

Hi,
I'm trying to port OpenMandriva to the PineBook Pro (not that there's anything wrong with the preloaded Manjaro - that one works pretty well too!)

Is there any documentation on the device's boot process?

So far I've gathered:
The most interesting kernel is this one: https://gitlab.manjaro.org/tsys/linux-pinebook-pro
U-boot is probably the generic rk3399 version(?)

I couldn't find anything on what to put where on the SD card for a successful SD boot (other than looking at existing OS images to see where they put stuff), or how to install a new u-boot (and particularly testing it without bricking the device), etc.
Is any such information available?