Difference between revisions of "User:Oogwaymaki"

From PINE64
Jump to navigation Jump to search
(Replaced content with "A variety of howto's for PinePhone")
Tag: Replaced
 
(59 intermediate revisions by 2 users not shown)
Line 1: Line 1:
All the information here, has been discussed in the open source community on web sites. I have simply developed a process on how to do this on the pine phone.
A variety of howto's for PinePhone
 
We use utilities such as Cross Compilation, Uboot, Patches, which will be credited.
 
First step, make sure you have a cross compiler for your Computer, for particularly the arm device, you will need to download a few packages, I assume were using Debian Linux (if your using another OS you can find similar commands by searching on the web or to make it simpler download a docker Debian image, and install the pre-requisites which I will list here for Debian)
 
You an also use vagrant/virtual box VMware or other virtualization platforms.
 
 
First please install these Dependencies:
 
apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu build-essential autoconf libtool cmake pkg-config git python-dev swig3.0 libpcre3-dev nodejs-dev crossbuild-essential-arm64 git
 
The following main sources are needed:
 
This will download quite a few sources needed for Uboot and existing OS's available to PinePhone
 
https://github.com/crust-firmware/meta.git
 
We will also apply this patch:
 
https://megous.com/git/u-boot/patch/?id=0ab6225154c3d8b74f06fb3b181b52a9a64b4602
 
(I will attach the one I used I had to modify the above patch to work with the code.)
 
The crust-firmware also says you need to download the or1k compiler:
 
https://musl.cc/or1k-linux-musl-cross.tgz
 
I suggest untarring this in the /opt folder.
 
 
Sites Referenced:
 
https://www.96boards.org/documentation/iot/

Latest revision as of 21:19, 29 June 2020

A variety of howto's for PinePhone