diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-17 19:59:35 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-17 19:59:35 +0100 |
commit | dc06fc81176cf7bd6024e6bfc0666abdd0207fbf (patch) | |
tree | 122099a72178350a25cb23f85829ac20f7ff354b /target/foxg20/Makefile | |
parent | 2e96c40f5529285d113f15275ac2e7214aebd3fe (diff) |
finetune foxg20 nfsroot
- fix kernel module build
- reduce kernel patch to minimim
- remove old foxboard tools
Diffstat (limited to 'target/foxg20/Makefile')
-rw-r--r-- | target/foxg20/Makefile | 8 |
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 |