ODROID-M1: Add new board with RK3568

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia9b0486e4ed56d162eedcd8780e708da59cbbaa2
This commit is contained in:
Dongjin Kim
2021-12-24 12:22:26 +09:00
parent 6e4658cbe4
commit 0461ce77fa
7 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
mali-bifrost-wayland-driver
glmark2-es2-wayland

View File

@@ -0,0 +1,2 @@
mali-bifrost-wayland-driver
glmark2-es2-wayland

View File

@@ -0,0 +1,6 @@
#!/bin/sh
cat>>/etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list<<__EOF
deb http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ rk3568
deb http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ rockchip
__EOF

15
boards/odroidm1/functions Normal file
View File

@@ -0,0 +1,15 @@
get_machine_name() {
echo "Hardkernel ODROID-M1"
}
get_kernel_package() {
echo "linux-image-odroidm1"
}
get_bootscript_package() {
echo "bootscript-odroidm1"
}
get_reserved_sectors() {
echo 2048
}

0
boards/odroidm1/packages Normal file
View File

View File

@@ -17,6 +17,9 @@ get_board() {
"ODROID-GO2*")
echo "odroidgo2"
;;
"ODROID-M1")
echo "odroidm1"
;;
*)
echo "odroidn2plus"
;;
@@ -26,7 +29,7 @@ get_board() {
get_arch() {
case ${1} in
odroidc2 | odroidn2* | odroidc4 | odroidhc4 | odroidgo2)
odroidc2 | odroidn2* | odroidc4 | odroidhc4 | odroidgo2 | odroidm1)
echo "arm64"
;;
odroidxu4)

3
menu
View File

@@ -41,6 +41,7 @@ do_menu_board() {
"odroidc4" "Hardkernel ODROID-C4" \
"odroidhc4" "Hardkernel ODROID-HC4" \
"odroidgo2" "Hardkernel ODROID-GO2" \
"odroidm1" "Hardkernel ODROID-M1" \
2>&1 >/dev/tty)
ret=$?
@@ -53,7 +54,7 @@ do_menu_board() {
odroidxu4)
ARCH=armhf
;;
odroidn2 | odroidn2plus | odroidc4 | odroidhc4)
odroidn2 | odroidn2plus | odroidc4 | odroidhc4 | odroidm1)
ARCH=arm64
;;
odroidgo2)