Compare commits

...

3 Commits

Author SHA1 Message Date
Tobias Opel 2b0c9e3fcc smaller conf correction in PKGBUILD 2020-04-07 16:38:55 +02:00
Tobias Opel 42d1273517 updated defconf to rock64-rk3328_defconfig 2020-04-07 11:05:26 +02:00
Remote 7abffd5787 add compile boot.scr with nc/btrfs 2020-03-28 14:27:14 +00:00
7 changed files with 20 additions and 12 deletions

BIN
images/boot.scr Normal file

Binary file not shown.

Binary file not shown.

BIN
images/u-boot-dtb.img Normal file

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@ buildarch=8
pkgname=uboot-rock64
pkgver=2020.01
pkgrel=1
pkgrel=3
pkgdesc="U-Boot for Rock64"
arch=('aarch64')
url='http://www.denx.de/wiki/U-Boot/WebHome'
@ -18,24 +18,32 @@ 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"
'rk3328trust.ini'
'boot.txt'
'mkscr')
'mkscr'
'btrfs_extentio.patch')
md5sums=('b6b2e0787b6874e6b57da0a065a84f5a'
'SKIP'
'48946b910716b90d81f47caafb752fef'
'c926f318d8fa7a5c89108331cbd3f8e2'
'021623a04afd29ac3f368977140cfbfd')
'5f1089c471f39b303bccbb9e1fc196f7'
'021623a04afd29ac3f368977140cfbfd'
'51ff4b7c8cf8833df2f208fac7fafde5')
prepare() {
cd ${srcdir}/u-boot-${pkgver/rc/-rc}/configs
echo 'CONFIG_CMD_BTRFS=y' >> rock64-rk3328_defconfig
echo 'CONFIG_FS_BTRFS=y' >> rock64-rk3328_defconfig
echo 'CONFIG_NETCONSOLE=y' >> rock64-rk3328_defconfig
echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> rock64-rk3328_defconfig
cd ${srcdir}/u-boot-${pkgver/rc/-rc}/fs/btrfs
patch --forward --strip=3 --input="${srcdir}/btrfs_extentio.patch"
}
build() {
cd u-boot-${pkgver/rc/-rc}
cd ${srcdir}/u-boot-${pkgver/rc/-rc}
unset CLFAGS CXXFLAGS CPPFLAGS LDFLAGS
make distclean
make evb-rk3328_defconfig
echo 'CONFIG_CMD_BTRFS=y' >> .config
echo 'CONFIG_FS_BTRFS=y' >> .config
echo 'CONFIG_NETCONSOLE=y' >> .config
echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config
make rock64-rk3328_defconfig
make -j4 EXTRAVERSION=-${pkgrel}
}

View File

@ -3,8 +3,8 @@
# MAC address (use spaces instead of colons)
setenv macaddr da 19 c8 7a 6d f4
part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=ttyS2,1500000 root=PARTUUID=${uuid} rw rootwait earlycon=uart8250,mmio32,0xff130000
#part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=ttyS2,1500000 root=LABEL=ROOTFS rootfstype=btrfs rootflags=subvol=@ rw rootwait earlycon=uart8250,mmio32,0xff130000 audit=0
setenv fdtfile rockchip/rk3328-rock64.dtb
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/Image; then