PiCLFS Save

Cross Linux From Scratch (CLFS) on the Raspberry Pi

Project README

Cross Linux From Scratch (CLFS) on the Raspberry Pi 4

Cross Linux From Scratch (CLFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source.

There is no root password. Use passwd to change the root password.

Preparing Build Environment

Debian 9 or Ubuntu 18.04 is recommended.

sudo apt update
sudo apt install gcc g++ make wget

Step 1) Download All The Packages

./01-download-packages.sh

Step 2) Build Toolchain

./02-build-toolchain.sh
$ aarch64-linux-gnu-gcc --version
aarch64-linux-gnu-gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Step 3) Build Root File System

./03-build-root-file-system.sh

Step 4) Build Kernel

./04-build-kernel.sh

Step 5) Generate PiCLFS sdcard image

./05-generate-image.sh

How to installing PiCLFS image

sudo dd if=out/image/sdcard.img of=/dev/sdX bs=4M
sync

Thanks to

Open Source Agenda is not affiliated with "PiCLFS" Project. README Source: LeeKyuHyuk/PiCLFS
Stars
31
Open Issues
1
Last Commit
3 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating