build with lpddr666
This commit is contained in:
parent
dad7ec2e57
commit
57e84f6aec
BIN
images/boot.scr
BIN
images/boot.scr
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
images/trust.img
BIN
images/trust.img
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue