Skip to content

Commit a3409b1

Browse files
committed
Merge branch 'r114-dev' of ssh://gitlab.fydeos.xyz/openFyde/overlays/chromium_os-raspberry_pi into r114-dev
2 parents 24cfd2a + 8c5164e commit a3409b1

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ The next question gives detailed differences between these confusing terms.
9898

9999
# Introduction
100100

101-
This document describes how to build and run Google [Chromium OS](https://www.chromium.org/chromium-os) on Raspberry Pi 3B, 3B+, 4B and the Pi 400 personal computer kit(Pi400 hereafter), from its source code and the board overlay hosted in this repository.
101+
This document describes how to build and run Google [Chromium OS](https://www.chromium.org/chromium-os) on Raspberry Pi 4B, Pi 400 personal computer kit (Pi400 hereafter) and the latest Raspberry Pi 5, from its source code and the board overlay hosted in this repository. Earlier models such as Raspberry Pi 3B and 3B+ were supported in earlier releases, but we have decided to drop support because of hardware performance limitations.
102102

103-
These overlays and the document has been tested against Raspberry Pi 3B, 3B+, 4B and Pi400 by the FydeOS team. It **will not work** on an earlier version of the Raspberry Pi line-up.
103+
These overlays and the document have been tested against Raspberry Pi 3B, 3B+, 4B and Pi400 by the FydeOS team. It **will not work** on an earlier version of the Raspberry Pi line-up.
104104

105105
### Goal of this project
106106

@@ -151,7 +151,7 @@ Shell Commands are shown with different labels to indicate whether they apply to
151151
* An x86_64 system to perform the build. 64-bit hardware and OS are a must. The Chromium OS is a very large project, building from the source from scratch usually takes hours to over 10 hours, depending on the system configuration.
152152
* CPU: we recommend using a 4-core or higher processor. The Chromium OS build process runs in parallel so more cores can help shorten build time dramatically.
153153

154-
* Memory: we recommend at least 16GB, plus enough swap space because for this project you will need to build Chromium from source code. Linking Chromium required between 8GB and 28GB of RAM as of March 2017, so you will run into massive swapping or OOM if you have less memory. However, if you are not building your copy of Chromium, the RAM requirements will be substantially lower at a cost of losing some of the key features provided by this project.
154+
* Memory: we recommend at least 16GB, plus enough swap space because for this project you will need to build Chromium from source code. Linking Chromium required between 8GB and 28GB of RAM as of March 2017, so you will run into massive swapping or OOM if you have less memory. However, if you are not building your copy of Chromium, the RAM requirements will be substantially lower at the cost of losing some of the key features provided by this project.
155155

156156
* Disk: at least 100GB of free space, 200GB or more is recommended. SSD could noticeably shorten the build time as there are many gigabytes of files that need to be written to and read from the disk.
157157

overlay-rpi4/prebuilt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FULL_BINHOST="gs://chromeos-prebuilt/board/arm64-generic/full-R108-15134.0.0-rc1/packages/"
1+
# FULL_BINHOST="gs://chromeos-prebuilt/board/arm64-generic/full-R108-15134.0.0-rc1/packages/"

overlay-rpi4/scripts/board_specific_setup.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ install_raspberrypi_bootloader() {
4747
kernel_img=$(ls "${ROOT}/boot/Image"*)
4848
target_img="${efi_dir}/kernel8_a.img"
4949
fi
50-
mount -o "${mount_opts}" "$1" "${efi_dir}"
50+
sudo mount -o "${mount_opts}" "$1" "${efi_dir}"
5151

5252
info "Installing firmware, kernel and overlays"
53-
cp -r "${ROOT}/firmware/rpi/"* "${efi_dir}/"
53+
sudo cp -r "${ROOT}/firmware/rpi/"* "${efi_dir}/"
5454
modify_root $1 ${efi_dir}/cmdline.txt
5555
if [ -d ${ROOT}/usr/src/linux/arch/arm/boot/dts ]; then
56-
cp ${ROOT}/usr/src/linux/arch/arm/boot/dts/*.dtb "${efi_dir}/"
57-
cp -r ${ROOT}/usr/src/linux/arch/arm/boot/dts/overlays "${efi_dir}/"
56+
sudo cp ${ROOT}/usr/src/linux/arch/arm/boot/dts/*.dtb "${efi_dir}/"
57+
sudo cp -r ${ROOT}/usr/src/linux/arch/arm/boot/dts/overlays "${efi_dir}/"
5858
else
59-
cp ${ROOT}/usr/src/linux/arch/arm64/boot/dts/broadcom/*.dtb "${efi_dir}/"
60-
cp -r ${ROOT}/usr/src/linux/arch/arm64/boot/dts/overlays "${efi_dir}/"
59+
sudo cp ${ROOT}/usr/src/linux/arch/arm64/boot/dts/broadcom/*.dtb "${efi_dir}/"
60+
sudo cp -r ${ROOT}/usr/src/linux/arch/arm64/boot/dts/overlays "${efi_dir}/"
6161
fi
62-
gzip -9 -c ${kernel_img} > ${target_img}
63-
umount "${efi_dir}"
62+
gzip -9 -c ${kernel_img} | sudo tee ${target_img} > /dev/null
63+
sudo umount "${efi_dir}"
6464
rmdir "${efi_dir}"
6565
}
6666

6767
board_setup() {
68-
sudo install_raspberrypi_bootloader "$1"
68+
install_raspberrypi_bootloader "$1"
6969
install_hybrid_mbr "$1"
7070
}
7171

overlay-rpi5-vanilla/make.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
USE="${USE} vulkan"
2-
CHROMEOS_KERNEL_CONFIG="/mnt/host/source/src/overlays/overlay-rpi5-mini/kconfig/kernel-6_1-r114-4k-smallkernel"
2+
CHROMEOS_KERNEL_CONFIG="/mnt/host/source/src/overlays/overlay-rpi5-vanilla/kconfig/kernel-6_1-r114-4k-smallkernel"
33
TTY_CONSOLE="ttyAMA10"

project-cros-pi/chromeos-base/fyde-chromedev-flags/fyde-chromedev-flags-0.0.1.ebuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ src_prepare() {
1919
if use kiosk_demo; then
2020
CHROME_DEV_FLAGS="${CHROME_DEV_FLAGS} --force-kiosk-mode"
2121
fi
22+
default
2223
}

0 commit comments

Comments
 (0)