mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 13:08:21 +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
|
||||
fi
|
||||
|
||||
#write u-boot-spl.bin and u-boot
|
||||
dd if=${DEPLOY_DIR_IMAGE}/sunxi-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
|
||||
#write u-boot and spl at the beginint of sdcard in one shot
|
||||
dd if=${DEPLOY_DIR_IMAGE}/u-boot-sunxi-with-spl.bin of=${SDIMG} bs=1024 seek=8 conv=notrunc
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
require u-boot.inc
|
||||
|
||||
LICENSE = "GPL"
|
||||
LICENSE = "gplv2"
|
||||
|
||||
# No patches for other machines yet
|
||||
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"
|
||||
PR = "r6"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
|
||||
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
do_install_prepend() {
|
||||
cp ${S}/spl/sunxi-spl.bin ${S}
|
||||
}
|
||||
SPL_BINARY="u-boot-sunxi-with-spl.bin"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user