This layer will allow you to build a (partially) functional image of LuneOS for the PinePhone(Pro) and PineTab2.
Note: rendering is done using Mesa and the Mali driver.
First, setup the webOS ports build directory (see webOS-Ports documentation).
Then, build the image
cd webos-ports
. setup-env
MACHINE=pinephone bb luneos-dev-image
To flash the image to your SD card, first you need to find which device is the correct one. Run lsblk
or df -h
and find the one that looks like your card. For example, mine is /dev/sdd, but it will likely differ for you.
Unmount your drive
sudo umount /dev/sdd*
Flash the image using wic:
sudo su
. setup-env
sudo wic write tmp-glibc/deploy/images/pinephone/luneos-dev-image-pinephone.wic /dev/sdd
Note: for Pinephone Pro/PineTab2, replace pinephone with pinephonepro/pinetab2 in all the previous steps.
Please note that it's still a work-in-progress code, and at this stage it's useless to report the tons of issues you'll be experiencing with this image.
Unless otherwise specified, all content, including all source code files and documentation files in this repository are:
Copyright (c) 2019-2023 Christophe Chapuis Copyright (c) 2021-2023 Herman van Hazendonk
Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.