Need help with chromiumos?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

arnoldthebat
231 Stars 29 Forks Other 64 Commits 132 Opened issues

Description

Stub Repo for chromiumos issues

Services available

!
?

Need anything else?

Contributors list

# 368,345
Shell
43 commits
# 290,653
Shell
1 commit

ChromiumOS

Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people who spend most of their time on the web.

This repo is for the special builds only

All downloads are located at https://chromium.arnoldthebat.co.uk/.

Clone this repo to your overlay name in your repo/src/overlays for example:

cd ~/chromiumos/src/overlays/
git clone [email protected]:arnoldthebat/chromiumos.git overlay-amd64-atb

AMD64 Setup

Setup the board

sed -i 's/ALL_BOARDS=(/ALL_BOARDS=(\n amd64-atb\n/' ${HOME}/chromiumos/src/third_party/chromiumos-overlay/eclass/cros-board.eclass

Special Build Setup

Running from inside cros_sdk:

export BOARD=amd64-atb
setup_board --board=${BOARD}
cros_workon --board=${BOARD} start sys-kernel/chromeos-kernel-4_14

Running from outside cros_sdk:

export BOARD=amd64-atb
cd ${HOME}/chromiumos
cros_sdk -- "setup_board" "--board=${BOARD}"
cros_sdk -- "cros_workon" "--board=${BOARD}" "start" "sys-kernel/chromeos-kernel-4_14"

Alpha Build Setup

Running from inside cros_sdk:

export BOARD=amd64-atb
setup_board --board=${BOARD}
# cros_workon --board=${BOARD} start sys-kernel/chromeos-kernel-5_4

Running from outside cros_sdk:

export BOARD=amd64-atb
cd ${HOME}/chromiumos
cros_sdk -- "setup_board" "--board=${BOARD}"
# cros_sdk -- "cros_workon" "--board=${BOARD}" "start" "sys-kernel/chromeos-kernel-5_4"

Special Build Kernel

Running from inside cros_sdk:

export BOARD=amd64-atb
cd ~/trunk/src/third_party/kernel/v4.14/
make menuconfig KCONFIG_CONFIG=/mnt/host/source/src/overlays/overlay-${BOARD}/kconfigs/.config

Running from outside cros_sdk:

export BOARD=amd64-atb
cd ${HOME}/chromiumos/src/third_party/kernel/v4.14/
make menuconfig KCONFIG_CONFIG=${HOME}/chromiumos/src/overlays/overlay-${BOARD}/kconfigs/.config

Alpha Build Kernel

Running from inside cros_sdk:

export BOARD=amd64-atb
cd ~/trunk/src/third_party/kernel/v5.4/
make menuconfig KCONFIG_CONFIG=/mnt/host/source/src/overlays/overlay-${BOARD}/kconfigs/.config

Running from outside cros_sdk:

export BOARD=amd64-atb
cd ${HOME}/chromiumos/src/third_party/kernel/v5.4/
make menuconfig KCONFIG_CONFIG=${HOME}/chromiumos/src/overlays/overlay-${BOARD}/kconfigs/.config

Amend/Add/Remove as needed for your requirements.

Build AMD64 Packages

Running from inside cros_sdk:

export BOARD=amd64-atb
cd ~/trunk/src/scripts/
./build_packages --board=${BOARD}

Running from outside cros_sdk:

export BOARD=amd64-atb
cd ${HOME}/chromiumos
cros_sdk -- "./build_packages" "--board=${BOARD}"

This will take a long time!

Unibuild reqs:

cros_workon --board ${BOARD} start chromeos-base/chromeos-config-bsp
cros_workon_make --board ${BOARD} chromeos-base/chromeos-config-bsp --install
emerge-$BOARD chromeos-config

Build AMD64 Image

Running from inside cros_sdk:

export BOARD=amd64-atb
export CHROMEOS_VERSION_AUSERVER=http://chromeota.arnoldthebat.co.uk:8080/update
export CHROMEOS_VERSION_DEVSERVER=http://chromeota.arnoldthebat.co.uk:8080
./build_image --board=${BOARD} --noenable_rootfs_verification dev

Copying to USB

Running from outside cros_sdk:

sudo dd if=/path/to/chromiumos_image.bin of=/dev/sdb bs=4096 status=progress && sync

Other hacks

Alpha Kernel patches

Running from inside cros_sdk:

sudo tee -a ~/trunk/chroot/etc/sandbox.conf <<

Running from outside cros_sdk:

sudo tee -a ${HOME}/chromiumos/chroot/etc/sandbox.conf <<

Special Kernel patches

Running from inside cros_sdk:

sudo tee -a ~/trunk/chroot/etc/sandbox.conf <<

Running from outside cros_sdk:

sudo tee -a ${HOME}/chromiumos/chroot/etc/sandbox.conf <<

Change Logs

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.