Skip to content

Commit

Permalink
Support Orange Pi 4A
Browse files Browse the repository at this point in the history
  • Loading branch information
baiywt committed Nov 19, 2024
1 parent ca72325 commit 0a00a8b
Show file tree
Hide file tree
Showing 40 changed files with 33,698 additions and 171 deletions.
11 changes: 11 additions & 0 deletions external/config/boards/orangepi4a.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Allwinner T527 quad core 2GB/4GB RAM
BOARD_NAME="OPI 4A"
BOARDFAMILY="sun55iw3"
BOOTCONFIG="sun55iw3p1_t527_defconfig"
BOOT_FDT_FILE="allwinner/sun55i-t527-orangepi-4a.dtb"
MODULES="bcmdhd vin_v4l2"
KERNEL_TARGET="current"
DISTRIB_TYPE_CURRENT="bookworm jammy"
BOOT_LOGO="desktop"
REVISION="1.0.0"
SRC_EXTLINUX="yes"
1 change: 1 addition & 0 deletions external/config/cli/bookworm/debootstrap/packages
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ ucf
udev
whiptail
wireless-regdb
dconf-cli
3 changes: 3 additions & 0 deletions external/config/cli/bookworm/main/packages
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ sysfsutils
toilet
u-boot-tools
usbutils
libpython3-dev
python3-dev
python3.11-venv
186 changes: 19 additions & 167 deletions external/config/desktop/bookworm/environments/gnome/config_base/packages
Original file line number Diff line number Diff line change
@@ -1,180 +1,41 @@
anacron
apt-config-auto-update
apt-xapian-index
at-spi2-core
bubblewrap
colord
cups
dbus-x11
dictionaries-common
dmz-cursor-theme
evolution-data-server
evolution-data-server-common
fonts-freefont-ttf
fonts-urw-base35
dconf-cli
eject
foomatic-db-compressed-ppds
gcr
fonts-noto-cjk
fonts-ubuntu
fonts-ubuntu-console
gdebi
gdm3
genisoimage
geoclue-2.0
ghostscript
ghostscript-x
gir1.2-accountsservice-1.0
gir1.2-atspi-2.0
gir1.2-gck-1
gir1.2-gcr-3
gir1.2-gdesktopenums-3.0
gir1.2-gdm-1.0
gir1.2-geoclue-2.0
gir1.2-gnomebluetooth-1.0
gir1.2-gnomedesktop-3.0
gir1.2-goa-1.0
gir1.2-graphene-1.0
gir1.2-gweather-3.0
gir1.2-ibus-1.0
gir1.2-json-1.0
gir1.2-mutter-7
gir1.2-nm-1.0
gir1.2-nma-1.0
gir1.2-polkit-1.0
gir1.2-rsvg-2.0
gir1.2-snapd-1
gir1.2-soup-2.4
gir1.2-upowerglib-1.0
gjs
gnome-calculator
gnome-control-center
gnome-disk-utility
gnome-desktop3-data
gnome-keyring
gnome-menus
gnome-packagekit
gnome-screenshot
gnome-disk-utility
gnome-system-monitor
gnome-terminal
gnome-session
gnome-session-bin
gnome-session-common
gnome-settings-daemon
gnome-settings-daemon-common
gnome-shell
gnome-shell-common
gnome-shell-extension-appindicator
gnome-shell-extension-desktop-icons
gnome-shell-extension-trash
gvfs-backends
gvfs-bin
hunspell-en-us
inputattach
libaccountsservice0
libasound2
libasound2-plugins
libaspell15
libatk-adaptor
libcairo-gobject-perl
libcairo-perl
libcamel-1.2-62
libcue2
libdee-1.0-4
libebackend-1.2-10
libebook-1.2-20
libebook-contacts-1.2-3
libecal-2.0-1
libedata-book-1.2-26
libedata-cal-2.0-1
libedataserver-1.2-25
libedataserverui-1.2-2
libenchant-2-2
libexempi8
libexiv2-27
libextutils-depends-perl
libextutils-pkgconfig-perl
libfontenc1
libgck-1-0
libgcr-base-3-1
libgcr-ui-3-1
libgdata22
libgdata-common
libgdm1
libgeoclue-2-0
libgeocode-glib0
libgexiv2-2
libgjs0g
libglib-object-introspection-perl
libglib-perl
libglu1-mesa
libgnome-autoar-0-0
libgnome-bluetooth13
libgnome-desktop-3-19
libgoa-1.0-0b
libgoa-1.0-common
libgraphene-1.0-0
libgs9
libgs9-common
libgsf-1-114
libgsf-1-common
libgtk3-perl
libgweather-3-16
libgweather-common
libgxps2
libibus-1.0-5
libical3
libidn11
libijs-0.35
libimobiledevice6
libjavascriptcoregtk-4.0-18
libjbig2dec0
libmutter-7-0
libnautilus-extension1a
libnma0
libnotify-bin
libpaper1
libphonenumber8
libplist3
libpoppler-glib8
libprotobuf23
libpulsedsp
libsasl2-modules
libspeexdsp1
libtext-iconv-perl
libtotem-plparser18
libtotem-plparser-common
libtracker-control-2.0-0
libtracker-miner-2.0-0
libtracker-sparql-2.0-0
libu2f-udev
libunwind8
libupower-glib3
libusbmuxd6
libwebkit2gtk-4.0-37
libxaw7
libxfont2
libxkbfile1
libxmu6
libxmuu1
libxtst6
libxxf86dga1
libyelp0
mutter
mutter-common
lm-sensors
nautilus
nautilus-data
openprinting-ppds
p11-kit
p11-kit-modules
pavucontrol
pinentry-gnome3
poppler-data
printer-driver-pnm2ppa
profile-sync-daemon
pulseaudio
pulseaudio-module-bluetooth
pulseaudio-utils
python3-click
python3-colorama
python3-dateutil
python3-debconf
python3-debian
python3-distutils
python3-distutils-extra
python3-yaml
software-properties-gtk
spice-vdagent
synaptic
system-config-printer
system-config-printer-common
terminator
tracker
tracker-extract
Expand All @@ -183,22 +44,13 @@ upower
x11-apps
x11-session-utils
x11-utils
x11-xkb-utils
x11-xserver-utils
xdg-dbus-proxy
xdg-desktop-portal
xarchiver
xdg-user-dirs
xdg-user-dirs-gtk
xfonts-base
xinit
xinput
xorg
xorg-docs-core
xserver-common
xserver-xorg
xserver-xorg-video-fbdev
xwayland
yelp
yelp-xsl
zenity
zenity-common
lightdm
lightdm-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gdm3
1 change: 0 additions & 1 deletion external/config/desktop/bookworm/environments/gnome/debian

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# overwrite stock lightdm greeter configuration
if [ -d /etc/orangepi/lightdm ]; then cp -R /etc/orangepi/lightdm /etc/; fi
if [ -f /etc/lightdm/slick-greeter.conf ]; then sed -i 's/orangepi-lightdm\/orangepi-default.png/warty-final-ubuntu.png/g' /etc/lightdm/slick-greeter.conf; fi

if [ -f /etc/lightdm/lightdm.conf.d/11-orangepi.conf ]; then sed -i "s/user-session.*/user-session=gnome-wayland/" /etc/lightdm/lightdm.conf.d/11-orangepi.conf; fi

# Disable Pulseaudio timer scheduling which does not work with sndhdmi driver
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi

# set wallpapper to armbian
keys=/etc/dconf/db/local.d/00-bg
profile=/etc/dconf/profile/user

install -Dv /dev/null $keys
install -Dv /dev/null $profile

# set default shortcuts
echo "
[org/gnome/shell]
favorite-apps = ['terminator.desktop', 'org.gnome.Nautilus.desktop', 'google-chrome.desktop', 'thunderbird.desktop', 'code.desktop', 'Zoom.desktop']

[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/warty-final-ubuntu.png'
picture-options='zoom'
primary-color='#456789'
secondary-color='#FFFFFF'

[org/gnome/desktop/screensaver]
picture-uri='file:///usr/share/backgrounds/warty-final-ubuntu.png'
picture-options='zoom'
primary-color='#456789'
secondary-color='#FFFFFF'" >> $keys

echo "user-db:user
system-db:local" >> $profile

dconf update

#compile schemas
if [ -d /usr/share/glib-2.0/schemas ]; then
glib-compile-schemas /usr/share/glib-2.0/schemas
fi

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arm64, amd64

This file was deleted.

Loading

0 comments on commit 0a00a8b

Please sign in to comment.