From 564ca9482f7f965c0f0f149b1d303d96258f9bed Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 25 Jun 2015 17:49:08 +0200 Subject: [PATCH] Fix chip-fel-flash.sh for out-of-tree buildroot builds Signed-off-by: Boris Brezillon --- chip-fel-flash.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chip-fel-flash.sh b/chip-fel-flash.sh index c2b3e6b..c047daf 100755 --- a/chip-fel-flash.sh +++ b/chip-fel-flash.sh @@ -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"`