Skip to content

Commit f6d7863

Browse files
committed
tweak kernel-config/config.txt and add nano dep
1 parent 94eca7a commit f6d7863

File tree

2 files changed

+32
-13
lines changed

2 files changed

+32
-13
lines changed
Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Chromium OS for Raspberry Pi
2+
# Copyright (c) 2021 Fyde Innovations. All rights reserved.
3+
#
4+
# Use of this source code is governed by a BSD-style license that can be
5+
# found in the LICENSE file.
6+
#
7+
# The Raspberry Pi uses a configuration file instead of the BIOS you would expect
8+
# to find on a conventional PC. The system configuration parameters, which would
9+
# traditionally be edited and stored using a BIOS, are stored instead in this
10+
# optional text file. This is read by the GPU before the ARM CPU and Linux
11+
# are initialised.
12+
#
13+
# For more info:
14+
# https://www.raspberrypi.com/documentation/computers/config_txt.html
15+
16+
117
#hdmi_drive=2
218
#config_hdmi_boost=7
319
disable_overscan=1
@@ -6,20 +22,22 @@ cma_lwm=16
622
cma_hwm=32
723
gpu_mem=256
824

9-
# better graphic performance,but need fydeos-force-cursor-compositing in /etc/chrome_dev.conf
10-
dtoverlay=vc4-kms-v3d
11-
12-
# fit for rpi3/rpi4
13-
#dtoverlay=vc4-fkms-v3d
14-
15-
# for more power
16-
#force_turbo=1
17-
18-
# for debug
19-
#enable_uart=1
20-
#start_debug=1
21-
2225
arm_64bit=1
2326
max_framebuffers=2
2427
kernel=kernel8_a.img
2528
disable_splash=1
29+
30+
31+
# Display mode
32+
# Defaulting to "kms" mode for better graphics performance, it requires an optional flag
33+
# "fydeos-force-cursor-compositing" in /etc/chrome_dev.conf
34+
# Should you run into display issues, such as black-screen or GUI graphics not being able
35+
# to render properly, you can toggle the display mode to "fkms" to enable a compatibility
36+
# mode, by commenting/uncommenting the corresponding lines.
37+
dtoverlay=vc4-kms-v3d
38+
#dtoverlay=vc4-fkms-v3d
39+
40+
41+
# Uncomment the following lines to enable overclocking
42+
#over_voltage=8
43+
#arm_freq=2147

overlay-rpi4/virtual/chromeos-bsp/chromeos-bsp-0.0.1.ebuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ RDEPEND="
1616
virtual/fyde-packages
1717
virtual/cros-camera-hal
1818
virtual/cros-camera-hal-configs
19+
app-editors/nano
1920
chromeos-base/chromeos-bsp-rpi4"
2021

2122
DEPEND="${RDEPEND}"

0 commit comments

Comments
 (0)