mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28:22 +01:00
Update u-boot to the lates sunxi version. They changed the sdcard layout so update a10 sdcard image class to reflect these changes.
This commit is contained in:
parent
91ee5beccc
commit
e46a72cf39
@ -79,7 +79,7 @@ IMAGE_CMD_a10-sdimg () {
|
|||||||
dd if=${SDIMG_ROOTFS} of=${SDIMG} conv=notrunc seek=1 bs=$(expr 1024 \* ${BOOT_SPACE_ALIGNED} + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync
|
dd if=${SDIMG_ROOTFS} of=${SDIMG} conv=notrunc seek=1 bs=$(expr 1024 \* ${BOOT_SPACE_ALIGNED} + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#write u-boot-spl.bin and u-boot
|
#write u-boot and spl at the beginint of sdcard in one shot
|
||||||
dd if=${DEPLOY_DIR_IMAGE}/sunxi-spl.bin of=${SDIMG} bs=1024 seek=8 conv=notrunc
|
dd if=${DEPLOY_DIR_IMAGE}/u-boot-sunxi-with-spl.bin of=${SDIMG} bs=1024 seek=8 conv=notrunc
|
||||||
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin of=${SDIMG} bs=1024 seek=32 conv=notrunc
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
require u-boot.inc
|
require u-boot.inc
|
||||||
|
|
||||||
LICENSE = "GPL"
|
LICENSE = "gplv2"
|
||||||
|
|
||||||
# No patches for other machines yet
|
# No patches for other machines yet
|
||||||
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard|cubieboard2)"
|
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard|cubieboard2)"
|
||||||
@ -15,12 +15,11 @@ SRC_URI = "git://github.com/linux-sunxi/u-boot-sunxi.git;protocol=git;branch=sun
|
|||||||
SRCREV = "8a4621c488f33089d831168bfa5bae210a5684c8"
|
SRCREV = "8a4621c488f33089d831168bfa5bae210a5684c8"
|
||||||
PR = "r6"
|
PR = "r6"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
|
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
do_install_prepend() {
|
SPL_BINARY="u-boot-sunxi-with-spl.bin"
|
||||||
cp ${S}/spl/sunxi-spl.bin ${S}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user