From dc6bf6b3c091c7c8303ddb1c913e00de44d0ef11 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 10 Sep 2010 22:35:15 +0800 Subject: [PATCH] make copy zImage automatic, update config.xbboot.README Signed-off-by: Xiangfu Liu --- data/qi_lb60/conf/config.xbboot.README | 15 +++++++-------- target/linux/xburst/image/Makefile | 3 +++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/data/qi_lb60/conf/config.xbboot.README b/data/qi_lb60/conf/config.xbboot.README index ef477b736..92e484c96 100644 --- a/data/qi_lb60/conf/config.xbboot.README +++ b/data/qi_lb60/conf/config.xbboot.README @@ -1,14 +1,13 @@ -this "config.xbboot" if for build image that used by "xbboot" +the "config.xbboot" is for build image that used by "xbboot" +this "config.xbboot" will enable CONFIG_TARGET_ROOTFS_INITRAMFS, and +only select basic pakcages. 1. at the root of openwrt folder: $ cp data/qi_lb60/conf/config.xbboot .config $ make -2. for now we need manully copy the "zImage" to bin/xburst - $ cp build_dir/linux-xburst_qi_lb60/linux-2.6.32.16/arch/mips/boot/compressed/zImage bin/xburst/openwrt-xburst-qi_lb60-zImage-xbboot.bin +2. upload the image to Ben NanoNote + boot Ben NanoNote to USBBOOT mode. + $ sudo xbboot -u 0x80600000 bin/xburst/openwrt-xburst-qi_lb60-zImage.bin -3. upload the image to Ben NanoNote - a. boot Ben NanoNote to USBBOOT mode. - b. sudo xbboot -u 0x80600000 bin/xburst/openwrt-xburst-qi_lb60-zImage-xbboot.bin - - then the NanoNote will boot. setup a password for ssh or use telnet to login NanoNote. +then the NanoNote will boot. setup a password for ssh or use telnet to login NanoNote. \ No newline at end of file diff --git a/target/linux/xburst/image/Makefile b/target/linux/xburst/image/Makefile index c445494c7..21aac898b 100644 --- a/target/linux/xburst/image/Makefile +++ b/target/linux/xburst/image/Makefile @@ -19,6 +19,9 @@ endif define Image/BuildKernel cp $(LINUX_DIR)/arch/mips/boot/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage.bin +ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) + cp $(LINUX_DIR)/arch/mips/boot/compressed/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage.bin +endif endef define Image/Build/squashfs