Skip to content

Commit 9e29241

Browse files
committed
update to Armbian 21.05.1 and update new dtb files from flippy
1 parent 1c62859 commit 9e29241

File tree

10 files changed

+27
-22
lines changed

10 files changed

+27
-22
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ Linux is Rock64's mainline version from Armbian.
66

77
DTB file is from flippy.
88
Related publishing pages:
9-
https://www.right.com.cn/forum/thread-981406-1-1.html
10-
https://www.right.com.cn/forum/thread-958173-1-1.html
9+
https://www.right.com.cn/forum/thread-4076037-1-1.html
1110

12-
current version is extracted from dtb-5.4.10-rockchip-flippy-21+.tar.gz
11+
current version is extracted from dtb-rockchip-5.12.6-flippy-59+.tar.gz
1312

1413
### Build instruction:
1514

linux-aarch64-beikeyun-p1/PKGBUILD

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
# PKGBUILD Maintainer: Izumiko <[email protected]>
33

44
pkgname=linux-aarch64-current-beikeyun-p1
5-
pkgver=5.7.15_20.08
5+
pkgver=5.10.35_21.05.1
66
pkgrel=1
77
pkgdesc="The Linux Kernel and modules - AArch64 for Beikeyun P1. This package will fetch a Debian built kernel from armbian."
88
arch=('aarch64')
99
url="https://mirrors.tuna.tsinghua.edu.cn/armbian/pool/main/l/"
1010
license=('GPL')
1111
options=('!strip')
12+
makedepends=('curl')
1213
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
1314
optdepends=('uboot-tools')
1415
provides=("linux=${pkgver}" "linux-aarch64=${pkgver}")
@@ -20,22 +21,24 @@ install=${pkgname}.install
2021
source=('rk3328-beikeyun-1200mhz.dtb'
2122
'rk3328-beikeyun-1296mhz.dtb'
2223
'rk3328-beikeyun-1392mhz.dtb'
24+
'rk3328-beikeyun-1512mhz.dtb'
2325
'linux-aarch64.preset'
2426
'60-linux-aarch64.hook'
2527
'90-linux-aarch64.hook'
2628
'linux-aarch64-current-beikeyun-p1.install')
27-
sha256sums=('f482d98fb4dac30fbab34238bd5f5eb464a26944662d5ce8997c1d5f0a4b9122'
28-
'34f8c63d905643ad3582e39f2f1c7434f8e20ece0643c1b998076dc180cd4ab6'
29-
'c6c91e0001e8ffd4c02ee6b216f5e6bd1c7e93a63bfdb96c243ccc5b6fcd9497'
30-
'1b7d0e099b28a325c0468ad22f32caf9266c943a3af06ffffe84b8d058301874'
29+
sha256sums=('6421da82fbb4cd9f4418f119b43ad97b5b6922a878c6617529a976f8887a7384'
30+
'2adf9e3759ce5d8fbec0aa700369a3edf96e82d8b208b7bd3953a78061079179'
31+
'4b30e60c0d6497f8120d5bd5a85b549d43b634968ad9007691a5b9e0eac36af6'
32+
'1f3d61a9dc891d5c9c88340f62b5a21002bbbd6c4da05e3770117777bcd1bd6f'
33+
'687794769ceffd26c1f6505d3ae209cf5ad7a43a8439fa131d388293fada6a8b'
3134
'b5ca41cf346f648592ab057c1485b625fe9d947ac3a36a472f498a34fe3040d8'
3235
'9d502526f4ce65ddb7efde85309d37593aa2c825aa9d630c676d4c4884a6d25b'
33-
'ca3d0e67f751d3764f4dd8897a3e8fbc1bd2028472a97b2eefc4981c98a90fc8')
36+
'4e65c7f50b4abf97be1b0eddb0ad71c5c57bc1d9550805d068cb5e16c6f59848')
3437

3538

3639
prepare() {
3740
cd "${srcdir}"
38-
wget -O Packages "https://mirrors.tuna.tsinghua.edu.cn/armbian/dists/buster/main/binary-arm64/Packages"
41+
curl -o Packages "https://mirrors.tuna.tsinghua.edu.cn/armbian/dists/buster/main/binary-arm64/Packages"
3942
debver=$(cat Packages |grep "Package: linux-image-current-rockchip64" -A 10|grep Filename|cut -f2 -d'_'|sort -r|head -n 1)
4043
debfile=$(cat Packages |grep "Package: linux-image-current-rockchip64" -A 10|grep ${debver}|grep Filename|cut -f2 -d' ')
4144
kerver=$(echo ${debfile}|cut -d'-' -f2)
@@ -46,14 +49,14 @@ prepare() {
4649
echo "${kerver}_${debver}" > pkgver
4750

4851
#download package
49-
wget -O ${imagename} "https://mirrors.tuna.tsinghua.edu.cn/armbian/${debfile}"
52+
curl -o ${imagename} "https://mirrors.tuna.tsinghua.edu.cn/armbian/${debfile}"
5053
md5sum -c pkg.md5 || exit -1
5154
rm Packages pkg.md5
5255

5356
# extract the prebuilt kernel files
5457
ar xf "${imagename}"
5558
tar -xf data.tar.xz
56-
rm ${imagename} data.tar.xz
59+
rm ${imagename} data.tar.xz debian-binary control.tar.xz
5760
}
5861

5962
pkgver() {
@@ -69,13 +72,14 @@ package() {
6972
install -D -m644 "${srcdir}/rk3328-beikeyun-1200mhz.dtb" "${pkgdir}/boot/rk3328-beikeyun-1200mhz.dtb"
7073
install -D -m644 "${srcdir}/rk3328-beikeyun-1296mhz.dtb" "${pkgdir}/boot/rk3328-beikeyun-1296mhz.dtb"
7174
install -D -m644 "${srcdir}/rk3328-beikeyun-1392mhz.dtb" "${pkgdir}/boot/rk3328-beikeyun-1392mhz.dtb"
75+
install -D -m644 "${srcdir}/rk3328-beikeyun-1512mhz.dtb" "${pkgdir}/boot/rk3328-beikeyun-1512mhz.dtb"
7276

7377
# copy boot files
7478
cp -r boot/* "${pkgdir}/boot/"
7579
cd ${pkgdir}/boot
7680
ln -sf `ls vmlinu*` Image
7781
ln -sf /usr/lib/linux-image-current-rockchip64 dtb
78-
ln -sf rk3328-beikeyun-1200mhz.dtb rk3328-beikeyun.dtb
82+
ln -sf rk3328-beikeyun-1296mhz.dtb rk3328-beikeyun.dtb
7983
cd "${srcdir}"
8084

8185
# copy kernel files

linux-aarch64-beikeyun-p1/linux-aarch64-current-beikeyun-p1.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
KERNEL_NAME=vmlinuz
2-
KERNEL_VERSION=5.7.15-rockchip64
2+
KERNEL_VERSION=5.10.35-rockchip64
33

44
post_install () {
55
# updating module dependencies

linux-aarch64-beikeyun-p1/linux-aarch64.preset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# mkinitcpio preset file for the 'linux-aarch64-beikeyun-p1' package
22

33
ALL_config="/etc/mkinitcpio.conf"
4-
ALL_kver="5.7.15-rockchip64"
4+
ALL_kver="%PKGVER%"
55

66
PRESETS=('default')
77

14.4 KB
Binary file not shown.
14.4 KB
Binary file not shown.
14.4 KB
Binary file not shown.
49.1 KB
Binary file not shown.

linux-firmware-armbian/PKGBUILD

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ arch=('any')
88
url="https://mirrors.tuna.tsinghua.edu.cn/armbian/pool/main/a/armbian-firmware/"
99
license=('GPL2')
1010
options=('!strip')
11+
makedepends=('curl')
1112
provides=("linux-firmware=${pkgver}")
1213
conflicts=('linux-firmware')
1314

1415

1516
prepare() {
1617
cd "${srcdir}"
1718

18-
wget -O Packages "https://mirrors.tuna.tsinghua.edu.cn/armbian/dists/buster/main/binary-arm64/Packages"
19+
curl -o Packages "https://mirrors.tuna.tsinghua.edu.cn/armbian/dists/buster/main/binary-arm64/Packages"
1920
debver=$(cat Packages |grep "Package: armbian-firmware$" -A 10|grep Filename|cut -f2 -d'_'|sort -r|head -n 1)
2021
debfile=$(cat Packages |grep "Package: armbian-firmware$" -A 10|grep ${debver}|grep Filename|cut -f2 -d' ')
2122
md5sum=$(cat Packages |grep "Package: armbian-firmware$" -A 16|grep ${debfile} -A 6|grep MD5sum | cut -f2 -d' ')
@@ -25,14 +26,14 @@ prepare() {
2526
echo "${debver}" > pkgver
2627

2728
#download package
28-
wget -O ${imagename} "https://mirrors.tuna.tsinghua.edu.cn/armbian/${debfile}"
29+
curl -o ${imagename} "https://mirrors.tuna.tsinghua.edu.cn/armbian/${debfile}"
2930
md5sum -c pkg.md5 || exit -1
3031
rm Packages pkg.md5
3132

3233
# extract the prebuilt kernel files
3334
ar xf "${imagename}"
3435
tar -xf data.tar.xz
35-
rm ${imagename} data.tar.xz
36+
rm ${imagename} data.tar.xz debian-binary control.tar.xz
3637
}
3738

3839
pkgver() {

linux-uboot-beikeyun-p1/PKGBUILD

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# PKGBUILD Maintainer: Izumiko <[email protected]>
22

33
pkgname=linux-uboot-beikeyun-p1-current
4-
pkgver=2017.09_20.08
4+
pkgver=2020.10_21.05.1
55
pkgrel=1
66
pkgdesc="U-Boot loader and files for Beikeyun P1. This package will fetch a Debian built uboot from armbian."
77
arch=('aarch64')
88
url="https://mirrors.tuna.tsinghua.edu.cn/armbian/pool/main/l/linux-u-boot-rock64-current/"
99
license=('GPL')
1010
options=('!strip')
11+
makedepends=('curl')
1112
optdepends=('uboot-tools')
1213
provides=("uboot-beikeyun-p1=${pkgver}")
1314
conflicts=('uboot-rock64' 'linux-uboot-beikeyun-p1' 'uboot-beikeyun-p1')
@@ -21,7 +22,7 @@ md5sums=('75f122140ce31c9724105bd030b8c289'
2122
prepare() {
2223
cd "${srcdir}"
2324

24-
wget -O Packages "https://mirrors.tuna.tsinghua.edu.cn/armbian/dists/buster/main/binary-arm64/Packages"
25+
curl -o Packages "https://mirrors.tuna.tsinghua.edu.cn/armbian/dists/buster/main/binary-arm64/Packages"
2526
debver=$(cat Packages |grep "Package: linux-u-boot-rock64-current" -A 10|grep Filename|cut -f2 -d'_'|sort -r|head -n 1)
2627
debfile=$(cat Packages |grep "Package: linux-u-boot-rock64-current" -A 10|grep ${debver}|grep Filename|cut -f2 -d' ')
2728
md5sum=$(cat Packages |grep "Package: linux-u-boot-rock64-current" -A 16|grep ${debfile} -A 6|grep MD5sum | cut -f2 -d' ')
@@ -31,15 +32,15 @@ prepare() {
3132
echo "${debver}" > pkgver
3233

3334
#download package
34-
wget -O ${imagename} "https://mirrors.tuna.tsinghua.edu.cn/armbian/${debfile}"
35+
curl -o ${imagename} "https://mirrors.tuna.tsinghua.edu.cn/armbian/${debfile}"
3536
md5sum -c pkg.md5 || exit -1
3637
rm Packages pkg.md5
3738

3839
# extract the prebuilt kernel files
3940
ar xf "${imagename}"
4041
tar xf data.tar.xz
4142
tar xf control.tar.xz
42-
rm ${imagename} data.tar.xz control.tar.xz
43+
rm ${imagename} data.tar.xz control.tar.xz debian-binary
4344
}
4445

4546
pkgver() {

0 commit comments

Comments
 (0)