| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Looking for engineer for ...
Forum: PinePhone Pro Hardware
Last Post: Andrey_voce
04-06-2026, 08:44 AM
» Replies: 0
» Views: 158
|
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
04-05-2026, 03:03 AM
» Replies: 19
» Views: 8,695
|
Finally got Kali working ...
Forum: General Discussion on Pinebook Pro
Last Post: qingss0
04-04-2026, 08:00 AM
» Replies: 0
» Views: 248
|
Charging problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
04-04-2026, 07:30 AM
» Replies: 0
» Views: 111
|
Latest firmware for PineP...
Forum: PinePhone Software
Last Post: baptx
04-03-2026, 08:37 AM
» Replies: 106
» Views: 216,930
|
Updates have gotten me ex...
Forum: General Discussion on PineNote
Last Post: bills2002
04-02-2026, 05:16 PM
» Replies: 0
» Views: 204
|
Voidlinux working on eMMC
Forum: General Discussion on PineTab
Last Post: tllim
04-01-2026, 04:14 PM
» Replies: 1
» Views: 290
|
Pinecil V2 doesn’t power ...
Forum: General Discussion on Pinecil
Last Post: Juptin
03-28-2026, 02:37 AM
» Replies: 1
» Views: 2,081
|
dead Pinebook - help plea...
Forum: General Discussion on Pinebook Pro
Last Post: williamcorlin
03-26-2026, 04:22 PM
» Replies: 3
» Views: 938
|
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
03-25-2026, 12:57 PM
» Replies: 1
» Views: 602
|
|
|
| External DVD/CD |
|
Posted by: MIchael - 02-01-2020, 02:46 PM - Forum: General Discussion on Pinebook Pro
- Replies (22)
|
 |
Let me preface to saying I neither "need nor want" to be able to use a DVD or CD on the PBP, I'm just curious.
I tried hooking up an external DVD drive and nothing I did could get it to play. Tried many players and added the codecs it said it needed. Nothing will play a DVD
It will play whatever digital video I click on including 1080p .mkv.
I'm curious if anyone else has tried and what the outcome was.
|
|
|
|
Help broke my pcie connector on the mother board. |
|
Posted by: roncromberge - 02-01-2020, 01:14 PM - Forum: General Discussion on Pinebook Pro
- Replies (16)
|
 |
Hello,
I broke the hinge of the pcie nvme connector on the motherboard!
Now i'm seaching for a replacement part.
On the wiki the connector is referenced as U7001 and in the schematics as U7001 / BL102-G35-1FR
Is there someone on the forum who can tell me the (digi-key) partnumber is? Any partnumber of a suplier is ok.
Sorry for my crappy english not my native language
Grtz, Ron
|
|
|
|
| No SIM |
|
Posted by: petrus - 02-01-2020, 10:45 AM - Forum: General Discussion on PinePhone
- Replies (11)
|
 |
Hi,
Just received my pinephone yesterday. Everything is fine except that my SIM card isn't recognize. On the factory test Modem status is OK, Call status is "Ready for call" but Sim status is mentioning "No sim" while there is a working SIM card plugged in.
I managed to try Ubuntu touch : it also says that there is no SIM card.
Does it has something to do with my location (France) ? Or with the kill switch (I didn't touch anything) ?
Thanks !
|
|
|
|
| Running into problems while installing RStudio from sources |
|
Posted by: FingO - 02-01-2020, 07:05 AM - Forum: Linux on Pinebook Pro
- No Replies
|
 |
Hi,
new user here. After I was able to compile R from the source codes and encouraging links in the internet (see http://ramseygurley.blogspot.com/2014/02...n-arm.html). However, when I try to invoke
sudo ./install-dependencies-debian
I am, first of all, quite puzzled that all R/libraries are again installed from scratch, second I get the following error:
Traceback (most recent call last):
File "/opt/rstudio-tools/depot_tools/gn.py", line 75, in <module>
sys.exit(main(sys.argv))
File "/opt/rstudio-tools/depot_tools/gn.py", line 70, in main
return subprocess.call([gn_path] + args[1:])
File "/usr/lib/python2.7/subprocess.py", line 168, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
I read at the rstudio-forums about a similar issue (https://community.rstudio.com/t/setting-...b/18982/44) but found there no answer.
Does somebody had any success with compiling Rstudio on a pinebook pro and/or know what to make of the above error?
|
|
|
|
| Using DD to Backup and Restore EMMC |
|
Posted by: appdev46 - 01-31-2020, 04:08 PM - Forum: Linux on Pinebook Pro
- Replies (6)
|
 |
I have the Intel 660p NVME (SSDPEKNW512G8X1) installed in my pinebook pro. I was attempting to backup the EMMC to the NVME drive as an .img and then restore that to the EMMC. My intent was to find a way to do a backup and a restore for testing purposes.
I used a process similar to this. Don't recall exact details...
Backup: dd if=/dev/mmcblk1 of=/NVME_Folder/emmc_Backup.img
Restore: dd if=/NVME_Folder/emmc_Backup.img of=/dev/mmcblk1
After the restore I could boot to login screen but I could not log in with my user. I CAN log in with root.
Any ideas what I missed or could be wrong with this process?
|
|
|
|
| Installing Wine i386 on Pinebook Pro |
|
Posted by: wrzomar - 01-31-2020, 03:52 PM - Forum: Pinebook Pro Tutorials
- No Replies
|
 |
I've mostly followed the Novaspirit's tutorial from:
https://www.novaspirit.com/2019/04/15/run-x86-arm/
First, I've built and run vmsplit checking code from wine (from https://gist.github.com/liuqi/ccf638adc675a3b00c98):
Code: #include <sys/mman.h>
#include <stdio.h>
#include <errno.h>
static void check_vmsplit( void *stack )
{
printf("user space is %x\n", stack);
if (stack < (void *)0x80000000)
{
/* if the stack is below 0x80000000, assume we can safely try a munmap there */
if (munmap( (void *)0x80000000, 1 ) == -1 && errno == EINVAL)
fprintf( stderr,
"Warning: memory above 0x80000000 doesn't seem to be accessible.\n"
"Wine requires a 3G/1G user/kernel memory split to work properly.\n" );
}
}
int main()
{
int temp;
check_vmsplit( &temp );
}
I assume, if above code doesn't print warning, everything is OK and I don't need to rebuild kernel.
Then we need to install prerequisites:
Quote:sudo apt update && sudo apt upgrade
sudo apt install qemu qemu-user qemu-user-static binfmt-support debootstrap binutils
After successful install, run:
Quote:sudo debootstrap --foreign --arch i386 stretch ./chroot-stretch-i386 http://ftp.us.debian.org/debian
Then prepare system to run chroot:
Quote:sudo mount -t sysfs sys ./chroot-stretch-i386/sys/
sudo mount -t proc proc ./chroot-stretch-i386/proc/
sudo mount --bind /dev ./chroot-stretch-i386/dev/
sudo mount --bind /dev/pts ./chroot-stretch-i386/dev/pts/
sudo mount --bind /dev/shm ./chroot-stretch-i386/dev/shm/
With system qemu-i386-static there may be 'illegal instruction' errors, so we'll build qemu from source. I've followed instructions from
http://logan.tw/posts/2018/02/18/build-q...urce-code/
Quote:sudo apt-get build-dep qemu
$ git clone git://git.qemu.org/qemu.git
$ cd qemu
$ git submodule update --init --recursive
$ ./configure --prefix=$(cd ..; pwd)/qemu-user-static --static --disable-system --enable-linux-user --target-list=i386-linux-user --disable-tools
make -j6
make install
cd ../qemu-user-static/bin
mv qemu-i386 qemu-i386-static
sudo mv qemu-i386-static ./chroot-stretch-i386/usr/bin
Without --disable-tools there were linker errors, --target-list=i386-linux-user will build only qemu-i386 binary.
And start second stage:
Quote:sudo chroot ./chroot-stretch-i386/ /debootstrap/debootstrap --second-stage
On my Pinebook Pro it took 28 minutes 30 seconds to finish second stage.
Next, we'll chroot as root user:
Quote:sudo chroot ~/chroot-stretch-i386/ /bin/su -l root
If your DNS isn't working inside chroot check /etc/resolv.conf and fix your name server address!
Quote:nano .bashrc
Then we need to add this:
Code: export LANGUAGE="C"
export LC_ALL="C"
export DISPLAY=:0
to the end of .bashrc file and run:
Quote:source ~/.bashrc
so change will to effect.
Then run:
Quote:apt update
And create user account:
Quote:adduser -uid 1000 <username>
where <username> is your chosen username.
Then install leafpad or xterm to install all needed dependencies.
Quote:apt install leafpad
Then open second terminal window and enter:
Quote:sudo chroot /home/marek/chroot-stretch-i386/ /bin/su -l <username>
to chroot as your newly created user.
Quote:nano .bashrc
Add at the end:
Code: export LANGUAGE="C"
export LC_ALL="C"
export DISPLAY=:0
and run:
Quote:source ~/.bashrc
and then run leafpad (or xterm):
Quote:leafpad
Now we are ready to install Wine.
Switch focus to your root terminal window or run:
Quote:sudo chroot ~/chroot-stretch-i386/ /bin/su -l root
To make things easier first install apt-transport-https package:
Quote:apt install apt-transport-https
It will install all dependencies for SSL certificates to work (and we might need apt-transport-https it in the future).
Download Wine from Playonlinux with:
Quote:wget -c https://www.playonlinux.com/wine/binarie...ux-x86.pol
I've chosen version 3.20, but you can choose a different version (and maybe have better luck with running Windows programs).
Then install bzip2:
Quote:apt install bzip2
and then unpack previously downloaded Wine and "install' it:
Quote:tar -jxf PlayOnLinux-wine-3.20-linux-x86.pol --strip-components=1
mv ./3.20/bin/wine-preloader ./3.20/bin/wine-preloader.renamed
mv ./3.20 /opt/wine-3.20/
cd /opt
ln -s wine-3.20 wine
cd
Symbolic link will help with switching wine versions in the future.
Then open .bashrc:
Quote:nano .bashrc
and add this:
Quote:export PATH=/opt/wine/bin:$PATH
at the end and run:
Quote:source ~/.bashrc
to refresh session then do the same line to the .bashrc file of your new i386 user account.
Run:
Quote:sudo chroot ~/chroot-stretch-i386/ /bin/su -l <username>
Then open .bashrc:
Quote:nano .bashrc
and add this:
Quote:export PATH=/opt/wine/bin:$PATH
at the end and run:
Quote:source ~/.bashrc
to refresh session.
Now you need to check, if Wine is working, run:
Quote:winecfg
The window should appear and it will download gecko and stuff, finally Wine config window should appear.
Novaspirit has prepared winetricks but I haven't tried them, yet.
https://github.com/novaspirit/winetricks
Let's finish the installation.
Outside of chroot we'll create script to mount /sys, /proc and the rest at start.
Quote:sudo mkdir -p /opt/chrootscript/
sudo nano /opt/chrootscript/chrootmount
Paste this:
Code: #!/bin/sh
mount -t sysfs sys /opt/chroot-stretch-i386/sys/
mount -t proc proc /opt/chroot-stretch-i386/proc/
mount --bind /dev /opt/chroot-stretch-i386/dev/
mount --bind /dev/pts /opt/chroot-stretch-i386/dev/pts/
mount --bind /dev/shm /opt/chroot-stretch-i386/dev/shm/
As you can see I've moved chroot-stretch-i386 to /opt but I've forgot to umount previously mounted sys, proc and the rest, which wasn't probably a good idea
Next, make above script executable:
Quote:sudo chmod a+x /opt/chrootscript/chrootmount
Then create service file:
Quote:sudo nano /etc/systemd/system/chrootmount.service
paste this:
Code: [Unit]
Description = mounts chroot on boot
[Service]
Type=one-shot
ExecStart=/opt/chrootscript/chrootmount
[Install]
WantedBy=multi-user.target
Then enable service:
Quote:sudo systemctl enable chrootmount.service
Then we will make scripts to make chrooting easier:
Quote:sudo nano /opt/chrootscript/start_x86_user
And paste:
Code: #!/bin/sh
/usr/sbin/chroot /opt/chroot-stretch-i386/ /bin/su -l <username>
Make it executable:
Quote:sudo chmod a+x /opt/chrootscript/start_x86_user
Repeat this process for root:
Quote:sudo nano /opt/chrootscript/start_x86_root
Code: #!/bin/sh
/usr/sbin/chroot /opt/chroot-stretch-i386/ /bin/su -l root
Quote:sudo chmod a+x /opt/chrootscript/start_x86_root
At last create desktop shortcuts:
Quote:nano ~/Desktop/chroot_user.desktop
Code: [Desktop Entry]
Type=Application
Comment=Start Wine x86 Environment
Name=Wine x86 User
Exec=mate-terminal -e 'sudo /opt/chrootscript/start_x86_user'
Icon=utilities-terminal
Terminal=false
Categories=Utility
StartupNotify=True
Quote:nano ~/Desktop/chroot_root.desktop
Code: [Desktop Entry]
Type=Application
Comment=Start Wine x86 Environment
Name=Wine x86 Root
Exec=mate-terminal -e 'sudo /opt/chrootscript/start_x86_root'
Icon=gksu-root-terminal
Terminal=false
Categories=Utility
StartupNotify=True
And make them executable:
Quote:chmod a+x ~/Desktop/chroot_user.desktop
chmod a+x ~/Desktop/chroot_root.desktop
Restart Pinebook Pro. After restart check status of our mounting service:
Quote:sudo systemctl status chrootmount.service
If there are no error, you can double click on one of Wine x86 shortcuts to open terminal.
Unfortunately, I was only able to run installers but installed programs (like Notepad++ or Treesheets) crashed but I haven't used Wine for years, so maybe recent Notepad++ or Treesheets are not good starting points. Don't look at me, I didn't touch it, I swear
Maybe different Wine version would do the trick.
Good luck, and good night.
EDIT: One of the problems was broken qemu-i386-static (there was qemu's 'illegal instruction' error at one of last lines of messages when putty crashed), so I've added instructions to build qemu. I've also changed icons of desktop shortcuts.
Now putty works and I was able to install Notepad++ 6.7.4, but it crashed anyway with wine client bad descriptor error.
|
|
|
|
| FOSDEM 2020 PineTime BoF |
|
Posted by: bergzand - 01-31-2020, 09:04 AM - Forum: General Discussion on PineTime
- Replies (8)
|
 |
Hi all,
For those of us PineTime developers/users attending FOSDEM, maybe we could have a small meet-up during a BoF slot. With all the development ideas floating around here, it would be nice to meet up in person and sync ideas and opinions.
Please let me know if you will be at FOSDEM and if you would like to meet up and share ideas. Also let me know if you have a preference for either Sunday or Saturday.
I don't mind organizing this, but the community mods are of course welcome to take over
|
|
|
|
|