Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions build_library/oem/gce/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
set oem_id="gce"

# GCE only has a serial console.
set linux_console="console=ttyS0,115200n8"
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
if [ "$grub_cpu" = arm64 ]; then
set linux_console="console=tty0 console=ttyAMA0,115200n8"
else
set linux_console="console=ttyS0,115200n8"
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
fi
1 change: 1 addition & 0 deletions changelog/changes/2026-11-12-gce-arm64.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added arm64 support for GCE (T2A, C4A and other Axion/Ampere machine types), including the gVNIC driver (`CONFIG_GVE`) in the arm64 kernel, the `oem-gce` OEM sysext and OS Login ([flatcar/Flatcar#2000](https://github.com/flatcar/Flatcar/issues/2000))
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ S="${WORKDIR}/guest-configs-${PV}"

LICENSE="Apache-2.0 BSD ZLIB"
SLOT="0"
KEYWORDS="amd64"
KEYWORDS="amd64 arm64"

RDEPEND="
!<app-emulation/google-compute-engine-20190124-r3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SRC_URI="https://github.com/GoogleCloudPlatform/compute-image-packages/archive/$
S="${WORKDIR}/compute-image-packages-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
KEYWORDS="amd64 arm64"

# These dependencies cover all commands called by the scripts.
RDEPEND="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ RDEPEND="${RDEPEND}

# OEM specific bits that need to go in USR
RDEPEND+="
amd64? (
sys-auth/google-oslogin
)
sys-auth/google-oslogin
"

# Group and user packages to eventually replace passwd in baselayout.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
KEYWORDS="amd64 arm64"

RDEPEND="
app-admin/google-guest-configs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ S="${WORKDIR}/${MY_P}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
KEYWORDS="amd64 arm64"
IUSE="systemd"

inherit pam systemd toolchain-funcs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ DEPEND="
>=sys-kernel/coreos-firmware-20180103-r1:=
sys-process/procps
virtual/udev
amd64? (
app-admin/google-guest-configs
sys-firmware/intel-microcode:=
)
app-admin/google-guest-configs
amd64? ( sys-firmware/intel-microcode:= )
"

src_prepare() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ CONFIG_FPROBE=y
CONFIG_FUNCTION_PROFILER=y
CONFIG_GART_IOMMU=y
CONFIG_GET_FREE_REGION=y
CONFIG_GVE=m
CONFIG_HANGCHECK_TIMER=m
CONFIG_HARDLOCKUP_DETECTOR=y
CONFIG_HID=m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y
CONFIG_GRO_CELLS=y
CONFIG_GTP=m
CONFIG_GVE=m
CONFIG_HARDENED_USERCOPY=y
CONFIG_HIDRAW=y
CONFIG_HID_APPLE=m
Expand Down