07-05-2020, 01:25 PM
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 .
How are Oses compiled for the Pinebook Pro?
|
07-05-2020, 01:25 PM
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 .
Google "linux from scratch" , maybe go thru the steps
(on pbp, I mean)
07-05-2020, 07:41 PM
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
07-06-2020, 08:37 AM
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!
07-06-2020, 10:13 AM
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
07-06-2020, 10:48 AM
(This post was last modified: 07-06-2020, 11:02 AM by Der Geist der Maschine.
Edit Reason: spacing
)
(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/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.
07-06-2020, 04:42 PM
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 |