How are Oses compiled for the Pinebook Pro?
#1
Question 
How do people like @ayufan compile OSes for the Pinebook Pro? As far as I have been able to figure out so far it is simply magic  Big Grin .
#2
Google "linux from scratch" , maybe go thru the steps
(on pbp, I mean)
#3
When I owned 2 low performance x86 devices, (EeePC 900 & FitPC-1), I experimented with cross-compiling on my AMD64 octa-core server. It worked, but took time to both setup and then maintain. But, in our case, it may make sense. Using a high performance computer, (cloud server, etc...), to make the packages will be faster and less error prone, (no over heating).

My old laptop might need to resort to this, as the Intel Inside security flaws have caused it to be horrible slow at updates. (It's still reasonably fast for normal use.)

I do have a ROCKPro64 I have been meaning to setup. Since it can have a fan installed, it will likely run longer and faster, (less thermal throttling). That would be native arch., though options would have to be tuned for any package differences, (single board verses laptop).
--
Arwen Evenstar
Princess of Rivendale
#4
Could someone give me a little more detailed view of the process of compiling (or cross-compiling) in general? When I googled Linux From Scratch at @wdt's suggestion, all I got was a really long .pdf file. Thanks for the information in advance and thank you to the developers who have made contributions to the PBP so far!
#5
You didn't think it was easy, did you?
www.linuxfromscratch.org ,,, shortened to LFS
the first time, it would certainly take more than a day,
when done, your knowledge base would be way more than doubled
If you don't know how to cli copy and paste, it would be quite painful, I suggest you learn
#6
(07-05-2020, 01:25 PM)TDC_PBP Wrote: How do people like @ayufan compile OSes for the Pinebook Pro? As far as I have been able to figure out so far it is simply magic  Big Grin .

Your question leaves a lot of room for interpretation.

Ayufan did not compile the os.

Ayufan took the kernel and device tree from rockchip's repro https://github.com/rockchip-linux/kernel, tweaked it and compiled it.

The base system - all the debs - come from Ubuntu. I don't think Ayufan compiled them on his own. Maybe a few? The starting point was then probably the source debs.

Read Daniel's installer https://github.com/daniel-thompson/pineb...-installer script to see how Debian gets installed onto an disk. From there, one can shrink the filesystem and dd into an image for distribution.
#7
If you are serious about cross compiles, Gentoo Linux mostly installs packages by compiling from source.

This may help;

https://wiki.gentoo.org/wiki/Cross_build_environment
--
Arwen Evenstar
Princess of Rivendale
#8
read the docs debian installer and debootstrap


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 123 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 943 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 403 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,904 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,119 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,232 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,515 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,958 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,710 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 7,455 08-31-2023, 04:20 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)