mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
ODROID-C5: Add new board ODROID-C5 with Amlogic SoC S905X5
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: Ib1d8e3705b443d014dfe053227f03fa2a62d6399
This commit is contained in:
2
boards/odroidc5/components
Normal file
2
boards/odroidc5/components
Normal file
@@ -0,0 +1,2 @@
|
||||
amlogic
|
||||
web
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if id gdm >/dev/null 2>&1; then
|
||||
sudo adduser gdm video
|
||||
fi
|
||||
2
boards/odroidc5/distro/jammy/gnome-desktop/packages
Normal file
2
boards/odroidc5/distro/jammy/gnome-desktop/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
libmali-odroidc5
|
||||
glmark2-es2-wayland
|
||||
2
boards/odroidc5/distro/jammy/server/packages
Normal file
2
boards/odroidc5/distro/jammy/server/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
plymouth-theme-ubuntu-logo
|
||||
stress-ng
|
||||
4
boards/odroidc5/distro/jammy/weston/packages
Normal file
4
boards/odroidc5/distro/jammy/weston/packages
Normal file
@@ -0,0 +1,4 @@
|
||||
libmali-odroidc5
|
||||
glmark2-es2-wayland
|
||||
gstreamer1.0-amlogic
|
||||
odroid-kiosk-weston
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if id gdm >/dev/null 2>&1; then
|
||||
sudo adduser gdm video
|
||||
fi
|
||||
2
boards/odroidc5/distro/noble/gnome-desktop/packages
Normal file
2
boards/odroidc5/distro/noble/gnome-desktop/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
libmali-odroidc5
|
||||
glmark2-es2-wayland
|
||||
2
boards/odroidc5/distro/noble/server/packages
Normal file
2
boards/odroidc5/distro/noble/server/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
plymouth-theme-lubuntu-logo
|
||||
stress-ng
|
||||
4
boards/odroidc5/distro/noble/weston/packages
Normal file
4
boards/odroidc5/distro/noble/weston/packages
Normal file
@@ -0,0 +1,4 @@
|
||||
libmali-odroidc5
|
||||
glmark2-es2-wayland
|
||||
gstreamer1.0-amlogic
|
||||
odroid-kiosk-weston
|
||||
15
boards/odroidc5/functions
Normal file
15
boards/odroidc5/functions
Normal file
@@ -0,0 +1,15 @@
|
||||
get_machine_name() {
|
||||
echo "Hardkernel ODROID-C5"
|
||||
}
|
||||
|
||||
get_kernel_package() {
|
||||
echo "5.15.153-odroid-arm64"
|
||||
}
|
||||
|
||||
get_bootscript_package() {
|
||||
echo "bootscript-odroidc5"
|
||||
}
|
||||
|
||||
get_reserved_sectors() {
|
||||
echo 16384
|
||||
}
|
||||
35
boards/odroidc5/overlay/etc/xdg/weston/weston.ini
Normal file
35
boards/odroidc5/overlay/etc/xdg/weston/weston.ini
Normal file
@@ -0,0 +1,35 @@
|
||||
[core]
|
||||
locking=false
|
||||
idle-time=0
|
||||
#shell=desktop-shell.so
|
||||
#xwayland=true
|
||||
gbm-format=abgr8888
|
||||
#repaint-window=16
|
||||
background-color=0x00ffffff
|
||||
background-type=scale
|
||||
panel-position=none
|
||||
startup-animation=none
|
||||
close-animation=none
|
||||
|
||||
[shell]
|
||||
background-color=0xff002244
|
||||
clock-format=minutes
|
||||
locking=false
|
||||
|
||||
[input-method]
|
||||
path=/usr/libexec/weston-keyboard
|
||||
|
||||
#[xwayland]
|
||||
#path=/usr/bin/Xwayland
|
||||
|
||||
#[autolaunch]
|
||||
#path=/usr/share/odroid-kiosk-weston/weston-autostart.sh
|
||||
#watch=true
|
||||
|
||||
[output]
|
||||
name=HDMI-A-1
|
||||
#mode=1920x1080@60
|
||||
mode=3840x2160@60
|
||||
#ui-size=3840x2160
|
||||
ui-size=1920x1080
|
||||
priority=9
|
||||
2
boards/odroidc5/packages
Normal file
2
boards/odroidc5/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
u-boot-odroidc5
|
||||
firmware-amlogic-s905x5m
|
||||
5
default
5
default
@@ -14,6 +14,9 @@ get_board() {
|
||||
"Hardkernel ODROID-C4")
|
||||
echo "odroidc4"
|
||||
;;
|
||||
"Hardkernel ODROID-C5")
|
||||
echo "odroidc5"
|
||||
;;
|
||||
"Hardkernel ODROID-HC4")
|
||||
echo "odroidhc4"
|
||||
;;
|
||||
@@ -38,7 +41,7 @@ get_board() {
|
||||
|
||||
get_arch() {
|
||||
case ${1} in
|
||||
odroidc2 | odroidn2* | odroidc4 | odroidhc4 | odroidgo2 | odroidm1 | odroidm1s | odroidm2)
|
||||
odroidc2 | odroidn2* | odroidc4 | odroidc5 | odroidhc4 | odroidgo2 | odroidm1 | odroidm1s | odroidm2)
|
||||
echo "arm64"
|
||||
;;
|
||||
odroidxu4)
|
||||
|
||||
@@ -36,3 +36,6 @@ if [ "x@@OSNAME@@" = "xdebian" ]; then
|
||||
${OPTION} http://deb.debian.org/debian @@DEFAULT_DISTRO@@ non-free-firmware
|
||||
__EOF
|
||||
fi
|
||||
|
||||
#sed -i 's|^[^#]*jammy-security|#&|' /etc/apt/sources.list
|
||||
#cat /etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list
|
||||
|
||||
3
menu
3
menu
@@ -40,6 +40,7 @@ do_menu_board() {
|
||||
"odroidn2l" "Hardkernel ODROID-N2L" \
|
||||
"odroidn2plus" "Hardkernel ODROID-N2Plus" \
|
||||
"odroidc4" "Hardkernel ODROID-C4" \
|
||||
"odroidc5" "Hardkernel ODROID-C5" \
|
||||
"odroidhc4" "Hardkernel ODROID-HC4" \
|
||||
"odroidgo2" "Hardkernel ODROID-GO2" \
|
||||
"odroidm1" "Hardkernel ODROID-M1" \
|
||||
@@ -57,7 +58,7 @@ do_menu_board() {
|
||||
odroidxu4)
|
||||
ARCH=armhf
|
||||
;;
|
||||
odroidn2 | odroidn2plus | odroidc4 | odroidhc4 | odroidm1 | odroidm1s | odroidm2)
|
||||
odroidn2 | odroidn2plus | odroidc4 | odroidc5 | odroidhc4 | odroidm1 | odroidm1s | odroidm2)
|
||||
ARCH=arm64
|
||||
;;
|
||||
odroidgo2)
|
||||
|
||||
Reference in New Issue
Block a user