Fix chip-fel-flash.sh for out-of-tree buildroot builds

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
Boris Brezillon 2015-06-25 17:49:08 +02:00
parent b53dc80e18
commit 564ca9482f

View File

@ -12,13 +12,13 @@ PADDED_SPL_SIZE=0
UBOOT_SCRIPT="/tmp/uboot.scr"
UBOOT_SCRIPT_MEM_ADDR=0x43100000
UBOOT_SCRIPT_SRC="/tmp/uboot.cmds"
SPL="$BUILDROOT_BUILD_DIR/output/images/sunxi-spl.bin"
SPL="$BUILDROOT_BUILD_DIR/images/sunxi-spl.bin"
SPL_MEM_ADDR=0x43000000
UBOOT="$BUILDROOT_BUILD_DIR/output/images/u-boot-dtb.bin"
UBOOT="$BUILDROOT_BUILD_DIR/images/u-boot-dtb.bin"
PADDED_UBOOT="/tmp/padded-uboot"
PADDED_UBOOT_SIZE=0
UBOOT_MEM_ADDR=0x4a000000
UBI="$BUILDROOT_BUILD_DIR/output/images/rootfs.ubi"
UBI="$BUILDROOT_BUILD_DIR/images/rootfs.ubi"
UBI_MEM_ADDR=0x44000000
UBI_SIZE=`stat --printf="%s" $UBI | xargs printf "0x%08x"`