create broadcom initramfs images and move the lzma decompressor area a bit further
authorFelix Fietkau <nbd@openwrt.org>
Fri, 16 Nov 2007 03:11:17 +0000 (03:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 16 Nov 2007 03:11:17 +0000 (03:11 +0000)
SVN-Revision: 9556

target/linux/brcm-2.4/image/Makefile
target/linux/brcm-2.4/image/lzma-loader/src/Makefile

index 51975fe702b172cef1041604fdde0d1ec79d9862..11192935cb90af6b83d5a825248cead2e4f86d5f 100644 (file)
@@ -78,6 +78,10 @@ define Image/Build/squashfs
        $(call Image/Build/jffs2-128k,$(1))
 endef
 
+define Image/Build/Initramfs
+       $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-initramfs.trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma
+endef
+
 define Image/Build
        $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1),$(1))
        $(call Image/Build/$(1),$(1))
index 85a864674bab2ed058d68433a1306752acf5e364..3320e565d0e898d96c4c27b67063f337d3311a5e 100644 (file)
@@ -18,7 +18,7 @@
 #
 
 TEXT_START     := 0x80001000
-BZ_TEXT_START  := 0x80300000
+BZ_TEXT_START  := 0x80400000
 
 OBJCOPY                := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S