Skip to content

WIP support for snapdragon x elite #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Configuration settings
DISTRO_CODE?=pop-os
DISTRO_VERSION?=24.04
DISTRO_ARCH?=$(shell dpkg --print-architecture)
#DISTRO_ARCH?=$(shell dpkg --print-architecture)
DISTRO_ARCH?=arm64

DISTRO_EPOCH?=$(shell date +%s)
DISTRO_DATE?=$(shell date +%Y%m%d)
Expand Down
11 changes: 11 additions & 0 deletions config/pop-os/24.04.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ else
DISTRO_VOLUME_LABEL=$(DISTRO_NAME) $(DISTRO_VERSION) $(DISTRO_ARCH)
endif

ifeq ($(DISTRO_ARCH),arm64)
DISTRO_PARAMS+=\
arm64.nopauth \
clk_ignore_unused \
cma=128M \
efi=novamap \
fw_devlink=off \
pd_ignore_unused \
rd.driver.blacklist=msm
else
# Show splash screen
#TODO DISTRO_PARAMS+=quiet splash
endif

GNOME_INITIAL_SETUP_STAMP=21.04

Expand Down
1 change: 1 addition & 0 deletions data/grub/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ set timeout_style=menu

menuentry "Try or Install DISTRO_NAME" --class DISTRO_CODE {
set gfxpayload=keep
devicetree /dtb/qcom/x1e80100-crd.dtb
linux /CASPER_PATH/vmlinuz.efi boot=casper live-media-path=/CASPER_PATH hostname=DISTRO_CODE username=DISTRO_CODE noprompt DISTRO_PARAMS ---
initrd /CASPER_PATH/initrd.gz
}
4 changes: 4 additions & 0 deletions mk/iso.mk
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ else ifeq ($(DISTRO_ARCH),arm64)
mkdir -p "$(BUILD)/iso/boot/grub/arm64-efi"
cp "$(BUILD)/pool/usr/lib/grub/arm64-efi/"*.mod "$(BUILD)/iso/boot/grub/arm64-efi/"

# Copy devicetree files
rm -rf "$(BUILD)/iso/dtb"
cp -r "$(BUILD)/chroot/usr/lib/firmware/"*"/device-tree" "$(BUILD)/iso/dtb"

endif

touch "$@"
Expand Down