put compiled files in place, change boot.txt to default
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=uboot-rock64
|
||||
pkgver=2020.04
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="U-Boot for Rock64"
|
||||
arch=('aarch64')
|
||||
url='http://www.denx.de/wiki/U-Boot/WebHome'
|
||||
@@ -18,7 +18,7 @@ source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}-rc5.tar.bz2"
|
||||
'mkscr')
|
||||
md5sums=('86f167cfe3a840ac47ddba868d6f1576'
|
||||
'SKIP'
|
||||
'5f1089c471f39b303bccbb9e1fc196f7'
|
||||
'a4f9a9f05a4e41f54b60a51318ffca36'
|
||||
'021623a04afd29ac3f368977140cfbfd')
|
||||
|
||||
prepare() {
|
||||
@@ -27,7 +27,8 @@ prepare() {
|
||||
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
|
||||
# sed -i 's/lpddr3-1600/lpddr3-666/g' arch/arm/dts/rk3328-rock64-u-boot.dtsi
|
||||
sed -i 's/800/600/g' arch/arm/dts/rk3328-sdram-lpddr3-1600.dtsi
|
||||
|
||||
cd ${srcdir}/u-boot-${pkgver/rc/-rc}/configs
|
||||
echo 'CONFIG_CMD_BTRFS=y' >> rock64-rk3328_defconfig
|
||||
@@ -45,9 +46,9 @@ build() {
|
||||
unset CLFAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
|
||||
# make distclean
|
||||
make rock64-rk3328_defconfig
|
||||
make -j4 EXTRAVERSION=-${pkgrel}
|
||||
make -j4 EXTRAVERSION=-${pkgrel} u-boot.itb
|
||||
make BL31=bl31.elf BL32=bl32.bin rock64-rk3328_defconfig
|
||||
make BL31=bl31.elf BL32=bl32.bin -j4 EXTRAVERSION=-${pkgrel}
|
||||
make BL31=bl31.elf BL32=bl32.bin -j4 EXTRAVERSION=-${pkgrel} u-boot.itb
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Reference in New Issue
Block a user