summaryrefslogtreecommitdiff
path: root/target/foxg20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/foxg20/Makefile')
-rw-r--r--target/foxg20/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/foxg20/Makefile b/target/foxg20/Makefile
index b59d668d1..1d07f9db6 100644
--- a/target/foxg20/Makefile
+++ b/target/foxg20/Makefile
@@ -8,11 +8,15 @@ include $(TOPDIR)/mk/kernel-build.mk
include $(TOPDIR)/mk/image.mk
kernel-install:
- @cp $(LINUX_DIR)/uImage \
- $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
+ gzip -v9 < $(LINUX_DIR)/arch/arm/boot/Image > ${BUILD_DIR}/Image.gz
+ mkimage -A arm -O linux -T kernel -C gzip \
+ -a 0x20008000 -e 0x20008000 -d ${BUILD_DIR}/Image.gz \
+ -n foxg20 $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
ifeq ($(FS),nfsroot)
imageinstall: ${BIN_DIR}/${ROOTFSUSERTARBALL}
@echo
+ @echo 'Type dhcp via u-boot prompt to load kernel'
+ @echo 'After that type bootm to load the kernel'
@echo 'Login as user root with password linux123 via ssh or console'
endif