Skip to content

Commit

Permalink
Update Odin2 Config
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasyGmm authored and igorpecovnik committed Jan 24, 2025
1 parent 9e48c39 commit 2d00d09
Show file tree
Hide file tree
Showing 2 changed files with 324 additions and 179 deletions.
6 changes: 1 addition & 5 deletions config/boards/ayn-odin2.eos → config/boards/ayn-odin2.csc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare -g DESKTOP_AUTOLOGIN="yes"
function post_family_config_branch_sm8550__edk2_kernel() {
declare -g KERNELSOURCE='https://github.com/edk2-porting/linux-next'
declare -g KERNEL_MAJOR_MINOR="6.7" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="branch:integration/ayn-odin2"
declare -g KERNELBRANCH="branch:ci/odin2/stable"
declare -g LINUXCONFIG="linux-${ARCH}-${BRANCH}" # for this board: linux-arm64-sm8550
display_alert "Setting up kernel ${KERNEL_MAJOR_MINOR} for" "${BOARD}" "info"
}
Expand All @@ -45,10 +45,6 @@ function post_family_tweaks__enable_services() {
# We need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.list

# Add zink env
echo '__GLX_VENDOR_LIBRARY_NAME=mesa' | tee -a "${SDCARD}"/etc/environment
echo 'MESA_LOADER_DRIVER_OVERRIDE=zink' | tee -a "${SDCARD}"/etc/environment
echo 'GALLIUM_DRIVER=zink' | tee -a "${SDCARD}"/etc/environment
# Add Gamepad udev rule
echo 'SUBSYSTEM=="input", ATTRS{name}=="Ayn Odin2 Gamepad", MODE="0666", ENV{ID_INPUT_MOUSE}="0", ENV{ID_INPUT_JOYSTICK}="1"' > "${SDCARD}"/etc/udev/rules.d/99-ignore-gamepad.rules
# No driver support for suspend
Expand Down
Loading

0 comments on commit 2d00d09

Please sign in to comment.