bananapi-uboot: install u-boot-sunxi-with-spl.bin rather than u-boot.bin.
This is required to generate a working image.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'odroid-u2-uboot'
|
# Template file for 'odroid-u2-uboot'
|
||||||
pkgname=bananapi-uboot
|
pkgname=bananapi-uboot
|
||||||
version=15.01
|
version=15.01
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="sunxi-tools uboot-mkimage"
|
hostmakedepends="sunxi-tools uboot-mkimage"
|
||||||
short_desc="Banana Pi uboot module"
|
short_desc="Banana Pi uboot module"
|
||||||
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
||||||
@@ -12,7 +12,6 @@ checksum="935ac90624cc00106a1547b8da2b3e59ab09db9cf658df7126a93738fac74fe5"
|
|||||||
wrksrc="u-boot-bananapi-bananian-v${version}"
|
wrksrc="u-boot-bananapi-bananian-v${version}"
|
||||||
|
|
||||||
conf_files="/boot/uEnv.txt"
|
conf_files="/boot/uEnv.txt"
|
||||||
|
|
||||||
only_for_archs="armv7l"
|
only_for_archs="armv7l"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
@@ -38,6 +37,5 @@ do_install() {
|
|||||||
vmkdir boot
|
vmkdir boot
|
||||||
cp ${FILESDIR}/uEnv.txt ${DESTDIR}/boot/
|
cp ${FILESDIR}/uEnv.txt ${DESTDIR}/boot/
|
||||||
fexc ${FILESDIR}/script.fex ${DESTDIR}/boot/script.bin
|
fexc ${FILESDIR}/script.fex ${DESTDIR}/boot/script.bin
|
||||||
|
vinstall u-boot-sunxi-with-spl.bin 644 boot
|
||||||
vinstall u-boot.bin 600 boot
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user