How are Oses compiled for the Pinebook Pro? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: How are Oses compiled for the Pinebook Pro? (/showthread.php?tid=10571) |
How are Oses compiled for the Pinebook Pro? - TDC_PBP - 07-05-2020 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 . RE: How are Oses compiled for the Pinebook Pro? - wdt - 07-05-2020 Google "linux from scratch" , maybe go thru the steps (on pbp, I mean) RE: How are Oses compiled for the Pinebook Pro? - Arwen - 07-05-2020 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). RE: How are Oses compiled for the Pinebook Pro? - TDC_PBP - 07-06-2020 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! RE: How are Oses compiled for the Pinebook Pro? - wdt - 07-06-2020 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 RE: How are Oses compiled for the Pinebook Pro? - Der Geist der Maschine - 07-06-2020 (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 . 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/pinebook-pro-debian-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. RE: How are Oses compiled for the Pinebook Pro? - Arwen - 07-06-2020 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 RE: How are Oses compiled for the Pinebook Pro? - xmixahlx - 07-06-2020 read the docs debian installer and debootstrap |