The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

Signed-off-by: Daniel Golle <dan...@makrotopia.org>
---
 target/linux/oxnas/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/oxnas/image/Makefile 
b/target/linux/oxnas/image/Makefile
index 2660a9b..de6c4db 100644
--- a/target/linux/oxnas/image/Makefile
+++ b/target/linux/oxnas/image/Makefile
@@ -38,7 +38,7 @@ define Image/BuildKernel/Template
        $(CP) $(KDIR)/fit-$(1)-initramfs.itb 
$(BIN_DIR)/$(IMG_PREFIX)-$(1)-fit-uImage-initramfs.itb
        if [ -e "$(KDIR)/u-boot.bin" ]; then \
        ( dd if=$(KDIR)/u-boot.bin bs=128k conv=sync ; dd 
if=$(KDIR)/fit-$(1)-initramfs.itb bs=128k conv=sync ) \
-               > $(BIN_DIR)/$(IMG_PREFIX)-$(1)-u-boot-initramfs.itb; \
+               > $(BIN_DIR)/$(IMG_PREFIX)-$(1)-u-boot-initramfs.bin; \
        fi
  endif
 
-- 
2.4.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to