build with lpddr666

This commit is contained in:
Tobias Opel
2020-04-10 20:30:21 +02:00
parent dad7ec2e57
commit 57e84f6aec
9 changed files with 5 additions and 8 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -8
View File
@@ -9,28 +9,25 @@ arch=('aarch64')
url='http://www.denx.de/wiki/U-Boot/WebHome'
license=('GPL')
backup=('boot/boot.txt' 'boot/boot.scr')
makedepends=('bc' 'git' 'rockchip-tools' 'python' 'swig' 'dtc')
makedepends=('bc' 'git' 'python' 'swig' 'dtc')
install=${pkgname}.install
_commit_rkbin=15a3e065a49ba7981945d725207618e92ebe8ebb
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2"
"git+https://github.com/rockchip-linux/rkbin.git#commit=$_commit_rkbin"
'boot.txt'
'mkscr'
'sdram_rk3328.c'
'btrfs_extentio.patch')
'mkscr')
md5sums=('b6b2e0787b6874e6b57da0a065a84f5a'
'SKIP'
'5f1089c471f39b303bccbb9e1fc196f7'
'021623a04afd29ac3f368977140cfbfd'
'46561b6f761dc0ead0d32145bd2c97ed'
'51ff4b7c8cf8833df2f208fac7fafde5')
'021623a04afd29ac3f368977140cfbfd')
prepare() {
cp sdram_rk3328.c ${srcdir}/u-boot-${pkgver/rc/-rc}/drivers/ram/rockchip/sdram_rk3328.c
cd ${srcdir}/u-boot-${pkgver/rc/-rc}
cp ../rkbin/bin/rk33/rk322xh_bl31_v1.43.elf ./bl31.elf
cp ../rkbin/bin/rk33/rk322xh_bl32_v1.54.bin ./bl32.bin
sed -i 's/lpddr3-1600/lpddr3-666/g' arch/arm/dts/rk3328-rock64-u-boot.dtsi
cd ${srcdir}/u-boot-${pkgver/rc/-rc}/configs
echo 'CONFIG_CMD_BTRFS=y' >> rock64-rk3328_defconfig
echo 'CONFIG_FS_BTRFS=y' >> rock64-rk3328_defconfig