Hello all,

Being new to this list, let me tell you how impressed I am with the work you 
have done ! 

I have a Fox board and found that it was already supported by OpenWrt, there
is just a couple of modifications needed in order to have the image built and
running on the board with the default build setup. So here is the patch...

Regards

Signed-off-by: Georges Menie <georges.me...@wanadoo.fr>

--

Index: target/linux/etrax/patches/100-compile_fixes.patch
===================================================================
--- target/linux/etrax/patches/100-compile_fixes.patch  (revision 13720)
+++ target/linux/etrax/patches/100-compile_fixes.patch  (working copy)
@@ -45,19 +45,19 @@
  
  quiet_cmd_image = BUILD   $@
  cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
-@@ -22,10 +18,10 @@ $(obj)/decompress.bin: $(obj)/decompress
+@@ -21,12 +17,6 @@
+ $(obj)/decompress.bin: $(obj)/decompress.o FORCE
        $(call if_changed,objcopy)
  
- $(obj)/head.o: $(obj)/head.S .config
+-$(obj)/head.o: $(obj)/head.S .config
 -      @$(CC) -D__ASSEMBLY__ -traditional -c $< -o $@
-+      @$(CC) -Iinclude  -D__ASSEMBLY__ -traditional -Wa,--em=criself -c $< -o 
$@
- 
- $(obj)/misc.o: $(obj)/misc.c .config
+-
+-$(obj)/misc.o: $(obj)/misc.c .config
 -      @$(CC) -D__KERNEL__ -c $< -o $@
-+      @$(CC) -Iinclude -D__KERNEL__ -Wa,--em=criself -c $< -o $@
- 
+-
  $(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
        $(call if_changed,image)
+ 
 --- a/arch/cris/arch-v10/boot/compressed/decompress.ld
 +++ b/arch/cris/arch-v10/boot/compressed/decompress.ld
 @@ -1,4 +1,4 @@
Index: target/linux/etrax/Makefile
===================================================================
--- target/linux/etrax/Makefile (revision 13720)
+++ target/linux/etrax/Makefile (working copy)
@@ -9,7 +9,7 @@
 ARCH:=cris
 BOARD:=etrax
 BOARDNAME:=Foxboard (ETRAX 100LX)
-FEATURES:=squashfs jffs2 broken
+FEATURES:=squashfs jffs2
 LINUX_VERSION:=2.6.25.20
 
 include $(INCLUDE_DIR)/target.mk

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to