Re: [OpenWrt-Devel] Etrax support

2008-08-21 Thread Claudio
Hi all

@MichelinoK
>As anyone noticed the amount of total missing features from kernel
config?!?!!??!?!

No, I cannot reply your experience, try to manually remove tmp/ dir
and build_dir/linux-etrax/linux-2.6.25.*
ATM I can select all kernel modules I need:
$ ls bin/packages/cris/kmod-* -la
-rw-r--r-- 1 claudyus claudyus 101407 2008-08-21 09:11
bin/packages/cris/kmod-fs-cifs_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus  25275 2008-08-21 09:11
bin/packages/cris/kmod-fs-ext2_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus  66261 2008-08-21 09:11
bin/packages/cris/kmod-fs-ext3_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus  12413 2008-08-21 09:11
bin/packages/cris/kmod-ipt-extra_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus  10629 2008-08-21 09:11
bin/packages/cris/kmod-ipt-ipopt_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus   9733 2008-08-21 09:11
bin/packages/cris/kmod-ipt-nathelper_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus  21425 2008-08-21 09:11
bin/packages/cris/kmod-ppp_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus   6805 2008-08-21 09:11
bin/packages/cris/kmod-pppoe_2.6.25.15-etrax-1_cris.ipk
-rw-r--r-- 1 claudyus claudyus 108467 2008-08-21 09:02
bin/packages/cris/kmod-rt73_2.6.25.15+cvs-2008032708-etrax-1_cris.ipk


But a new problem for cris platform arose. Opkg doesn't compile.

make[6]: Entering directory
`/home/claudyus/sdk/openwrt/trunk/build_dir/cris/opkg-4564/libopkg'
/bin/bash ../libtool --tag=CC --mode=link cris-linux-uclibc-gcc -Wall
-Werror -DHOST_CPU_STR=\"cris\" -DBUILD_CPU=i486 -DLIBDIR=\"/usr/lib\"
-DOPKGLIBDIR=\"/usr/lib\" -DDATADIR=\"/usr/share\" -I..
-DWORDS_BIGENDIAN=1   -Os -pipe -funit-at-a-time -fhonour-copts -fpic
-I/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/usr/include
-I/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/include
-I/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/usr/lib
-L/home/claudyus/sdk/openwrt/trunk/staging_dir/toolchain-cris_gcc4.1.2/lib
-L/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/usr/lib
-L/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/lib
-L/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/usr/lib
-Wl,-rpath-link,/home/claudyus/sdk/openwrt/trunk/staging_dir/cris/usr/lib
-o libopkg.la -rpath /usr/lib -export-symbols-regex "^opkg_.*" args.lo
libopkg.lo user.lo opkg_state.lo opkg.lo opkg_cmd.lo opkg_configure.lo
opkg_download.lo opkg_install.lo opkg_upgrade.lo opkg_remove.lo
opkg_conf.lo opkg_utils.lo pkg.lo pkg_depends.lo pkg_extract.lo
hash_table.lo pkg_hash.lo pkg_parse.lo pkg_vec.lo file_util.lo
opkg_message.lo md5.lo sprintf_alloc.lo str_util.lo xregex.lo
xsystem.lo conffile.lo conffile_list.lo nv_pair.lo nv_pair_list.lo
pkg_dest.lo pkg_dest_list.lo pkg_src.lo pkg_src_list.lo str_list.lo
void_list.lo ../libbb/libbb.la
generating symbol list for `libopkg.la'
cris-linux-uclibc-nm  .libs/args.o .libs/libopkg.o .libs/user.o
.libs/opkg_state.o .libs/opkg.o .libs/opkg_cmd.o
.libs/opkg_configure.o .libs/opkg_download.o .libs/opkg_install.o
.libs/opkg_upgrade.o .libs/opkg_remove.o .libs/opkg_conf.o
.libs/opkg_utils.o .libs/pkg.o .libs/pkg_depends.o .libs/pkg_extract.o
.libs/hash_table.o .libs/pkg_hash.o .libs/pkg_parse.o .libs/pkg_vec.o
.libs/file_util.o .libs/opkg_message.o .libs/md5.o
.libs/sprintf_alloc.o .libs/str_util.o .libs/xregex.o .libs/xsystem.o
.libs/conffile.o .libs/conffile_list.o .libs/nv_pair.o
.libs/nv_pair_list.o .libs/pkg_dest.o .libs/pkg_dest_list.o
.libs/pkg_src.o .libs/pkg_src_list.o .libs/str_list.o
.libs/void_list.o  ../libbb/.libs/libbb.a |  |
/home/claudyus/sdk/openwrt/trunk/staging_dir/host/bin/sed 's/.* //' |
sort | uniq > .libs/libopkg.exp
../libtool: eval: line 4350: syntax error near unexpected token `|'
../libtool: eval: line 4350: `cris-linux-uclibc-nm  .libs/args.o
.libs/libopkg.o .libs/user.o .libs/opkg_state.o .libs/opkg.o
.libs/opkg_cmd.o .libs/opkg_configure.o .libs/opkg_download.o
.libs/opkg_install.o .libs/opkg_upgrade.o .libs/opkg_remove.o
.libs/opkg_conf.o .libs/opkg_utils.o .libs/pkg.o .libs/pkg_depends.o
.libs/pkg_extract.o .libs/hash_table.o .libs/pkg_hash.o
.libs/pkg_parse.o .libs/pkg_vec.o .libs/file_util.o
.libs/opkg_message.o .libs/md5.o .libs/sprintf_alloc.o
.libs/str_util.o .libs/xregex.o .libs/xsystem.o .libs/conffile.o
.libs/conffile_list.o .libs/nv_pair.o .libs/nv_pair_list.o
.libs/pkg_dest.o .libs/pkg_dest_list.o .libs/pkg_src.o
.libs/pkg_src_list.o .libs/str_list.o .libs/void_list.o
../libbb/.libs/libbb.a |  |
/home/claudyus/sdk/openwrt/trunk/staging_dir/host/bin/sed 's/.* //' |
sort | uniq > .libs/libopkg.exp'
make[6]: *** [libopkg.la] Error 1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-20 Thread Hinko Kocevar
Hinko Kocevar wrote:
> [EMAIL PROTECTED] wrote:
>> patches ?
>>
> 

Last patches are missing a OBJCOPYFLAGS fix that otherwise produces 3Gb zImage. 
Please use these patches instead.

Thank you,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

--- a/arch/cris/Makefile	2008-08-06 19:11:47.0 +0200
+++ b/arch/cris/Makefile	2008-08-20 15:07:46.0 +0200
@@ -33,7 +33,7 @@
 
 LD = $(CROSS_COMPILE)ld -mcrislinux
 
-OBJCOPYFLAGS := -O binary -R .note -R .comment -S
+OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment
 
 CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
 
--- a/arch/cris/arch-v10/boot/Makefile
+++ b/arch/cris/arch-v10/boot/Makefile
@@ -2,9 +2,6 @@
 # arch/cris/arch-v10/boot/Makefile
 #
 
-OBJCOPY = objcopy-cris
-OBJCOPYFLAGS = -O binary --remove-section=.bss
-
 subdir- := compressed rescue
 targets := Image
 
@@ -14,7 +11,6 @@
 
 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
 	$(Q)$(MAKE) $(build)=$(obj)/compressed $@
-	$(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
 
 $(obj)/zImage:  $(obj)/compressed/vmlinux
 	@cp $< $@
--- a/arch/cris/arch-v10/boot/compressed/Makefile
+++ b/arch/cris/arch-v10/boot/compressed/Makefile
@@ -2,13 +2,9 @@
 # arch/cris/arch-v10/boot/compressed/Makefile
 #
 
-CC = gcc-cris -melf $(LINUXINCLUDE)
 ccflags-y += -O2
-LD = ld-cris
 ldflags-y += -T $(obj)/decompress.ld
 OBJECTS = $(obj)/head.o $(obj)/misc.o
-OBJCOPY = objcopy-cris
-OBJCOPYFLAGS = -O binary --remove-section=.bss
 
 quiet_cmd_image = BUILD   $@
 cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
@@ -21,12 +17,6 @@
 $(obj)/decompress.bin: $(obj)/decompress.o FORCE
 	$(call if_changed,objcopy)
 
-$(obj)/head.o: $(obj)/head.S .config
-	@$(CC) -D__ASSEMBLY__ -traditional -c $< -o $@
-
-$(obj)/misc.o: $(obj)/misc.c .config
-	@$(CC) -D__KERNEL__ -c $< -o $@
-
 $(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
 	$(call if_changed,image)
 
--- a/arch/cris/arch-v10/boot/compressed/misc.c
+++ b/arch/cris/arch-v10/boot/compressed/misc.c
@@ -5,7 +5,7 @@
  * adapted for Linux.
  *
  * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
- * puts by Nick Holloway 1993, better puts by Martin Mares 1995
+ * putstr by Nick Holloway 1993, better putstr by Martin Mares 1995
  * adaptation for Linux/CRIS Axis Communications AB, 1999
  *
  */
@@ -99,12 +99,12 @@
 static void gzip_mark(void **);
 static void gzip_release(void **);
  
-static void puts(const char *);
+static void putstr(const char *);
 
 /* the "heap" is put directly after the BSS ends, at end */
   
-extern int end;
-static long free_mem_ptr = (long)&end;
+extern int _end;
+static long free_mem_ptr = (long)&_end;
  
 #include "../../../../../lib/inflate.c"
 
@@ -139,7 +139,7 @@
 /* decompressor info and error messages to serial console */
 
 static void
-puts(const char *s)
+putstr(const char *s)
 {
 #ifndef CONFIG_ETRAX_DEBUG_PORT_NULL
 	while(*s) {
@@ -209,9 +209,9 @@
 static void
 error(char *x)
 {
-	puts("\n\n");
-	puts(x);
-	puts("\n\n -- System halted\n");
+	putstr("\n\n");
+	putstr(x);
+	putstr("\n\n -- System halted\n");
 
 	while(1);	/* Halt */
 }
@@ -257,14 +257,7 @@
 
 	makecrc();
 
-	__asm__ volatile ("move vr,%0" : "=rm" (revision));
-	if (revision < 10)
-	{
-		puts("You need an ETRAX 100LX to run linux 2.6\n");
-		while(1);
-	}
-
-	puts("Uncompressing Linux...\n");
+	putstr("Uncompressing Linux...\n");
 	gunzip();
-	puts("Done. Now booting the kernel.\n");
+	putstr("Done. Now booting the kernel.\n");
 }
--- a/arch/cris/arch-v10/mm/init.c
+++ b/arch/cris/arch-v10/mm/init.c
@@ -184,6 +184,9 @@
 
 	free_area_init_node(0, &contig_page_data, zones_size, PAGE_OFFSET >> PAGE_SHIFT, 0);
 }
+void free_initrd_mem(unsigned long start, unsigned long end)
+{
+}
 
 /* Initialize remaps of some I/O-ports. It is important that this
  * is called before any driver is initialized.
--- a/arch/cris/arch-v10/boot/compressed/head.S
+++ b/arch/cris/arch-v10/boot/compressed/head.S
@@ -10,13 +10,14 @@
 
 #define ASSEMBLER_MACROS_ONLY
 #include 
+#include 
 
 #define RAM_INIT_MAGIC 0x56902387
 #define COMMAND_LINE_MAGIC 0x87109563
 
 	;; Exported symbols
 	
-	.globl	_input_data
+	.globl	input_data
 
 	
 	.text
@@ -26,7 +27,7 @@
 
 ;; We need to initialze DRAM registers before we start using the DRAM
 	
-	cmp.d	RAM_INIT_MAGIC, r8	; Already initialized?
+	cmp.d	RAM_INIT_MAGIC, $r8	; Already initialized?
 	beq	dram_init_finished
 	nop
 	
@@ -36,91 +37,91 @@
 		
 	;; Initiate the PA and PB ports
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DATA, r0
-	move.b   r0, [R_PORT_PA_DATA]
+	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DATA, $r0
+	move.b   $r0, [R_PORT_PA_DATA]
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DIR, r0
-	move.b   r0, [R_PORT_PA_DIR]
+	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DIR, $r0
+	move.b   $r0, [R_PORT_PA_DIR]
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PB_DATA, r0
-	move.b   r0, [R_PORT_PB_DAT

Re: [OpenWrt-Devel] Etrax support

2008-08-20 Thread Hinko Kocevar
[EMAIL PROTECTED] wrote:
> patches ?
> 

I have them ;)

Here are two fixes against todays SVN tree:
M  target/linux/etrax/patches/100-compile_fixes.patch
?  package/iptables/patches/1.4.0/008-cris_ipt_error_target.patch

Without modified 100-compile_fixes.patch I can't create kernel images,
and 008-cris_ipt_error_target.patch fixes iptables problem on cris when
eg. listing rules.

Please try/test/apply.

Thank you,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

--- a/arch/cris/arch-v10/boot/Makefile
+++ b/arch/cris/arch-v10/boot/Makefile
@@ -2,9 +2,6 @@
 # arch/cris/arch-v10/boot/Makefile
 #
 
-OBJCOPY = objcopy-cris
-OBJCOPYFLAGS = -O binary --remove-section=.bss
-
 subdir- := compressed rescue
 targets := Image
 
@@ -14,7 +11,6 @@
 
 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
 	$(Q)$(MAKE) $(build)=$(obj)/compressed $@
-	$(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
 
 $(obj)/zImage:  $(obj)/compressed/vmlinux
 	@cp $< $@
--- a/arch/cris/arch-v10/boot/compressed/Makefile
+++ b/arch/cris/arch-v10/boot/compressed/Makefile
@@ -2,13 +2,9 @@
 # arch/cris/arch-v10/boot/compressed/Makefile
 #
 
-CC = gcc-cris -melf $(LINUXINCLUDE)
 ccflags-y += -O2
-LD = ld-cris
 ldflags-y += -T $(obj)/decompress.ld
 OBJECTS = $(obj)/head.o $(obj)/misc.o
-OBJCOPY = objcopy-cris
-OBJCOPYFLAGS = -O binary --remove-section=.bss
 
 quiet_cmd_image = BUILD   $@
 cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
@@ -21,12 +17,6 @@
 $(obj)/decompress.bin: $(obj)/decompress.o FORCE
 	$(call if_changed,objcopy)
 
-$(obj)/head.o: $(obj)/head.S .config
-	@$(CC) -D__ASSEMBLY__ -traditional -c $< -o $@
-
-$(obj)/misc.o: $(obj)/misc.c .config
-	@$(CC) -D__KERNEL__ -c $< -o $@
-
 $(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
 	$(call if_changed,image)
 
--- a/arch/cris/arch-v10/boot/compressed/misc.c
+++ b/arch/cris/arch-v10/boot/compressed/misc.c
@@ -5,7 +5,7 @@
  * adapted for Linux.
  *
  * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
- * puts by Nick Holloway 1993, better puts by Martin Mares 1995
+ * putstr by Nick Holloway 1993, better putstr by Martin Mares 1995
  * adaptation for Linux/CRIS Axis Communications AB, 1999
  *
  */
@@ -99,12 +99,12 @@
 static void gzip_mark(void **);
 static void gzip_release(void **);
  
-static void puts(const char *);
+static void putstr(const char *);
 
 /* the "heap" is put directly after the BSS ends, at end */
   
-extern int end;
-static long free_mem_ptr = (long)&end;
+extern int _end;
+static long free_mem_ptr = (long)&_end;
  
 #include "../../../../../lib/inflate.c"
 
@@ -139,7 +139,7 @@
 /* decompressor info and error messages to serial console */
 
 static void
-puts(const char *s)
+putstr(const char *s)
 {
 #ifndef CONFIG_ETRAX_DEBUG_PORT_NULL
 	while(*s) {
@@ -209,9 +209,9 @@
 static void
 error(char *x)
 {
-	puts("\n\n");
-	puts(x);
-	puts("\n\n -- System halted\n");
+	putstr("\n\n");
+	putstr(x);
+	putstr("\n\n -- System halted\n");
 
 	while(1);	/* Halt */
 }
@@ -257,14 +257,7 @@
 
 	makecrc();
 
-	__asm__ volatile ("move vr,%0" : "=rm" (revision));
-	if (revision < 10)
-	{
-		puts("You need an ETRAX 100LX to run linux 2.6\n");
-		while(1);
-	}
-
-	puts("Uncompressing Linux...\n");
+	putstr("Uncompressing Linux...\n");
 	gunzip();
-	puts("Done. Now booting the kernel.\n");
+	putstr("Done. Now booting the kernel.\n");
 }
--- a/arch/cris/arch-v10/mm/init.c
+++ b/arch/cris/arch-v10/mm/init.c
@@ -184,6 +184,9 @@
 
 	free_area_init_node(0, &contig_page_data, zones_size, PAGE_OFFSET >> PAGE_SHIFT, 0);
 }
+void free_initrd_mem(unsigned long start, unsigned long end)
+{
+}
 
 /* Initialize remaps of some I/O-ports. It is important that this
  * is called before any driver is initialized.
--- a/arch/cris/arch-v10/boot/compressed/head.S
+++ b/arch/cris/arch-v10/boot/compressed/head.S
@@ -10,13 +10,14 @@
 
 #define ASSEMBLER_MACROS_ONLY
 #include 
+#include 
 
 #define RAM_INIT_MAGIC 0x56902387
 #define COMMAND_LINE_MAGIC 0x87109563
 
 	;; Exported symbols
 	
-	.globl	_input_data
+	.globl	input_data
 
 	
 	.text
@@ -26,7 +27,7 @@
 
 ;; We need to initialze DRAM registers before we start using the DRAM
 	
-	cmp.d	RAM_INIT_MAGIC, r8	; Already initialized?
+	cmp.d	RAM_INIT_MAGIC, $r8	; Already initialized?
 	beq	dram_init_finished
 	nop
 	
@@ -36,91 +37,91 @@
 		
 	;; Initiate the PA and PB ports
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DATA, r0
-	move.b   r0, [R_PORT_PA_DATA]
+	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DATA, $r0
+	move.b   $r0, [R_PORT_PA_DATA]
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DIR, r0
-	move.b   r0, [R_PORT_PA_DIR]
+	move.b   CONFIG_ETRAX_DEF_R_PORT_PA_DIR, $r0
+	move.b   $r0, [R_PORT_PA_DIR]
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PB_DATA, r0
-	move.b   r0, [R_PORT_PB_DATA]
+	move.b   CONFIG_ETRAX_DEF_R_PORT_PB_DATA, $r0
+	move.b   $r0, [R_PORT_PB_DATA]
 
-	move.b   CONFIG_ETRAX_DEF_R_PORT_PB_DIR, r0
-	move.b   r0, [R_POR

Re: [OpenWrt-Devel] Etrax support

2008-08-20 Thread john
patches ?

Quoting MichelinoK <[EMAIL PROTECTED]>:

>
> "Imre Kaloz" <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:[EMAIL PROTECTED]
>> Those are probably target (kernel) config issues only..
>>
> I think that's enough to not make it a stable target (in my opinion of
> course! :) )
>
>
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
John Crispin
hacking, coding, etc
blogic on irc

___ __
   |   |.-.-.-.|  |  |  |..|  |_
   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
   |___||   __|_|__|__||||__|  ||
|__| W I R E L E S S   F R E E D O M
   KAMIKAZE (bleeding edge) ---
* 10 oz Vodka   Shake well with ice and strain
* 10 oz Triple sec  mixture into 10 shot glasses.
* 10 oz lime juice  Salute!
   ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-20 Thread MichelinoK

"Imre Kaloz" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> Those are probably target (kernel) config issues only..
>
I think that's enough to not make it a stable target (in my opinion of 
course! :) ) 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread john
patches ?



Quoting Imre Kaloz <[EMAIL PROTECTED]>:

> Those are probably target (kernel) config issues only..
>
> On Tue, 19 Aug 2008 21:44:59 +0200, MichelinoK <[EMAIL PROTECTED]> wrote:
>
>> <[EMAIL PROTECTED]> ha scritto nel messaggio
>> news:[EMAIL PROTECTED]
>>> ok, send me a tar.gz with all the patches you used in replacement of
>>> the ones in trunk/ and i will merge them today and remove the broken tag
>>>
>>
>> I would suggest to not remove the broken status flag!
>> As anyone noticed the amount of total missing features from kernel
>> config?!?!!??!?!
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
John Crispin
hacking, coding, etc
blogic on irc

___ __
   |   |.-.-.-.|  |  |  |..|  |_
   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
   |___||   __|_|__|__||||__|  ||
|__| W I R E L E S S   F R E E D O M
   KAMIKAZE (bleeding edge) ---
* 10 oz Vodka   Shake well with ice and strain
* 10 oz Triple sec  mixture into 10 shot glasses.
* 10 oz lime juice  Salute!
   ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread Imre Kaloz
Those are probably target (kernel) config issues only..

On Tue, 19 Aug 2008 21:44:59 +0200, MichelinoK <[EMAIL PROTECTED]> wrote:

> <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:[EMAIL PROTECTED]
>> ok, send me a tar.gz with all the patches you used in replacement of
>> the ones in trunk/ and i will merge them today and remove the broken tag
>>
>
> I would suggest to not remove the broken status flag!
> As anyone noticed the amount of total missing features from kernel
> config?!?!!??!?!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread MichelinoK

<[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> ok, send me a tar.gz with all the patches you used in replacement of
> the ones in trunk/ and i will merge them today and remove the broken tag
>

I would suggest to not remove the broken status flag!
As anyone noticed the amount of total missing features from kernel 
config?!?!!??!?!



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


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread john
ok, send me a tar.gz with all the patches you used in replacement of  
the ones in trunk/ and i will merge them today and remove the broken tag

Quoting Claudio <[EMAIL PROTECTED]>:

> 2008/8/19 Hinko Kocevar <[EMAIL PROTECTED]>:
>> Claudio wrote:
>>> Hi all,
>>>
>>> 2008/8/7  <[EMAIL PROTECTED]>:
 so, we have a patch that fixes etrax ?
>>>
>>> Following the axis mailing list I just made a patch that should fix
>>> iptables problem on cris arch.
>>>
>>> I don't test it on real hardware.
>>> Some one can test it?
>>>
>>
>> LOL,
>>  I just needed that this moment!
>>
>> pre-patch:
>> # /mnt/usr/sbin/iptables -F
>> [42955243.905993] ip_tables: ERROR target: invalid size 30 != 32
>> iptables: Invalid argument
>>
>> post-patch:
>> # /mnt/usr/sbin/iptables -F
>> #
>
> Simple GREAT!
> With this patch the etrax platform can be consider totally FIXED!
>
> Who know if this platform can be part of 808 openwrt release?
>
>
>>
>> Seems to work!
>>
>>
>> Thank you,
>> Hinko
>>
>> --
>> ?ETRTA POT, d.o.o., Kranj
>> Planina 3
>> 4000 Kranj
>> Slovenia, Europe
>> Tel. +386 (0) 4 280 66 03
>> E-mail: [EMAIL PROTECTED]
>> Http: www.cetrtapot.si
>>
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
>
>
>
> --
> Claudio
> User linux #415284
> - http://www.crisos.org/
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
John Crispin
hacking, coding, etc
blogic on irc

___ __
   |   |.-.-.-.|  |  |  |..|  |_
   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
   |___||   __|_|__|__||||__|  ||
|__| W I R E L E S S   F R E E D O M
   KAMIKAZE (bleeding edge) ---
* 10 oz Vodka   Shake well with ice and strain
* 10 oz Triple sec  mixture into 10 shot glasses.
* 10 oz lime juice  Salute!
   ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread Claudio
2008/8/19 Hinko Kocevar <[EMAIL PROTECTED]>:
> Claudio wrote:
>> Hi all,
>>
>> 2008/8/7  <[EMAIL PROTECTED]>:
>>> so, we have a patch that fixes etrax ?
>>
>> Following the axis mailing list I just made a patch that should fix
>> iptables problem on cris arch.
>>
>> I don't test it on real hardware.
>> Some one can test it?
>>
>
> LOL,
>  I just needed that this moment!
>
> pre-patch:
> # /mnt/usr/sbin/iptables -F
> [42955243.905993] ip_tables: ERROR target: invalid size 30 != 32
> iptables: Invalid argument
>
> post-patch:
> # /mnt/usr/sbin/iptables -F
> #

Simple GREAT!
With this patch the etrax platform can be consider totally FIXED!

Who know if this platform can be part of 808 openwrt release?


>
> Seems to work!
>
>
> Thank you,
> Hinko
>
> --
> ČETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



--
Claudio
User linux #415284
- http://www.crisos.org/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread Hinko Kocevar
Claudio wrote:
> Hi all,
> 
> 2008/8/7  <[EMAIL PROTECTED]>:
>> so, we have a patch that fixes etrax ?
> 
> Following the axis mailing list I just made a patch that should fix
> iptables problem on cris arch.
> 
> I don't test it on real hardware.
> Some one can test it?
> 

LOL,
 I just needed that this moment!

pre-patch:
# /mnt/usr/sbin/iptables -F
[42955243.905993] ip_tables: ERROR target: invalid size 30 != 32
iptables: Invalid argument

post-patch:
# /mnt/usr/sbin/iptables -F
# 

Seems to work!


Thank you,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-19 Thread Claudio
Hi all,

2008/8/7  <[EMAIL PROTECTED]>:
> so, we have a patch that fixes etrax ?

Following the axis mailing list I just made a patch that should fix
iptables problem on cris arch.

I don't test it on real hardware.
Some one can test it?

vvv
Index: package/iptables/patches/1.4.0/008-table_alignment_fix.patch
===
--- package/iptables/patches/1.4.0/008-table_alignment_fix.patch
(revisione 0)
+++ package/iptables/patches/1.4.0/008-table_alignment_fix.patch
(revisione 0)
@@ -0,0 +1,13 @@
+#related to  
http://lists.netfilter.org/pipermail/netfilter-devel/2007-January/026659.html
for cris
+diff -Naur iptables-1.4.0.ori/libiptc/libiptc.c
iptables-1.4.0/libiptc/libiptc.c
+--- iptables-1.4.0.ori/libiptc/libiptc.c   2007-12-22 13:44:18.0 
+0100
 iptables-1.4.0/libiptc/libiptc.c   2008-08-19 12:07:47.0 +0200
+@@ -63,7 +63,7 @@
+ struct ipt_error_target
+ {
+   STRUCT_ENTRY_TARGET t;
+-  char error[TABLE_MAXNAMELEN];
++  char error[FUNCTION_MAXNAMELEN];
+ };
+
+ struct chain_head;
^^

Regards

> i have not been following the discussion in detai, could someone point
> me at a patch if there is one ? i have foxboards hee and could test it
>
>
>
> Quoting Hinko Kocevar <[EMAIL PROTECTED]>:
>
>> MichelinoK wrote:
>>
>>> 2) Should your patch be renamed in "987something.patch"? and placed where
>>> EXACTLY?
>>
>> Depends. Does it solve your problem?
>>
>> Regards,
>> Hinko
>>
>> --
>> ?ETRTA POT, d.o.o., Kranj
>> Planina 3
>> 4000 Kranj
>> Slovenia, Europe
>> Tel. +386 (0) 4 280 66 03
>> E-mail: [EMAIL PROTECTED]
>> Http: www.cetrtapot.si
>>
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
>
>
>
> --
> John Crispin
> hacking, coding, etc
> blogic on irc
>
>___ __
>   |   |.-.-.-.|  |  |  |..|  |_
>   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
>   |___||   __|_|__|__||||__|  ||
>|__| W I R E L E S S   F R E E D O M
>   KAMIKAZE (bleeding edge) ---
>* 10 oz Vodka   Shake well with ice and strain
>* 10 oz Triple sec  mixture into 10 shot glasses.
>* 10 oz lime juice  Salute!
>   ---
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
Claudio
User linux #415284
- http://www.crisos.org/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-15 Thread MichelinoK
Any progress from you?



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


Re: [OpenWrt-Devel] Etrax support

2008-08-12 Thread MichelinoK
> Randomly enabled some USB modules and I can't see them in 
> build_dir/cris/root-etrax/lib/modules/2.6.25.12 either.

So...it's not only a problem of mime :(

I'm currently looking at changes made in CrisOS, but it very difficult for 
me... 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-12 Thread Hinko Kocevar
MichelinoK wrote:
> Ok, got the image working with the latest oatches from Hinko Kocevar (those 
> 5 or 6 patches in this thread) and the patch from Claudio (to have 8mb 
> image,patch found on the trac).
> But there's a big problem, don't know if it's only a problem of mine but I 
> cannot get any modules included in the image.
> For example I include kmod-usb-blablabla and other kmod, but they're not 
> included in the final image (of course, I've triple checked to have "*" and 
> not "M" in menuconfig), I've also noticed that no modules are in 
> /etc/modules.d.
> For the rest it seems to works ok (except for iptables that generate a lot 
> of errors in the log during the boot).
> 
> If someone can  try to compile the latest trunk and check if it's a problem 
> of mine or it's a general trunk problemwould be great!
> 

Randomly enabled some USB modules and I can't see them in 
build_dir/cris/root-etrax/lib/modules/2.6.25.12 either.


-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-08 Thread MichelinoK
Any good news?

<[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> testing



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


Re: [OpenWrt-Devel] Etrax support

2008-08-08 Thread MichelinoK
Ok, got the image working with the latest oatches from Hinko Kocevar (those 
5 or 6 patches in this thread) and the patch from Claudio (to have 8mb 
image,patch found on the trac).
But there's a big problem, don't know if it's only a problem of mine but I 
cannot get any modules included in the image.
For example I include kmod-usb-blablabla and other kmod, but they're not 
included in the final image (of course, I've triple checked to have "*" and 
not "M" in menuconfig), I've also noticed that no modules are in 
/etc/modules.d.
For the rest it seems to works ok (except for iptables that generate a lot 
of errors in the log during the boot).

If someone can  try to compile the latest trunk and check if it's a problem 
of mine or it's a general trunk problemwould be great!

Let's wait for news... 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-07 Thread john
testing

Quoting Hinko Kocevar <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] wrote:
>> so, we have a patch that fixes etrax ?
>> i have not been following the discussion in detai, could someone point
>> me at a patch if there is one ? i have foxboards hee and could test it
>>
>
> Using yesterdays trunk I was also unable to build etrax image as   
> MichelinoK said. I
> don't know what his/her the error was, but for me it fails like this:
> ...
>   AR  arch/cris/arch-v10/lib/lib.a
>   LD  vmlinux.o
>   MODPOST vmlinux.o
> WARNING: modpost: Found 7 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>   GEN .version
>   CHK include/linux/compile.h
>   UPD include/linux/compile.h
>   CC  init/version.o
>   LD  init/built-in.o
>   LD  vmlinux
>   SYSMAP  System.map
>   OBJCOPY arch/cris/boot/Image
>   Kernel: arch/cris/boot/Image is ready
>   GZIParch/cris/boot/compressed/piggy.gz
>   LD  arch/cris/boot/compressed/decompress.o
> cris-linux-uclibc-ld: unrecognised emulation mode: criself
> Supported emulations: crislinux
> make[7]: *** [arch/cris/boot/compressed/decompress.o] Error 1
> make[6]: *** [arch/cris/boot/compressed/vmlinux] Error 2
> make[5]: *** [zImage] Error 2
> make[5]: Leaving directory   
> `/tmp/openwrt/build_dir/linux-etrax/linux-2.6.25.12'
> make[4]: ***   
> [/tmp/openwrt/build_dir/linux-etrax/linux-2.6.25.12/.image] Error 2
> make[4]: Leaving directory `/tmp/openwrt/target/linux/etrax'
> make[3]: *** [install] Error 2
> make[3]: Leaving directory `/tmp/openwrt/target/linux'
> make[2]: *** [target/linux/install] Error 2
> make[2]: Leaving directory `/tmp/openwrt'
> make[1]: *** [/tmp/openwrt/staging_dir/cris/stamp/.target_install] Error 2
> make[1]: Leaving directory `/tmp/openwrt'
> make: *** [world] Error 2
>
>
> The patch I posted yesterday fixes this.
>
> Maybe the patches fiddling with etrax makefiles (in kernel under   
> linux/arch/cris/...) need
> to be revised. Some bits are already in linux-git or at least in   
> linux-next tree. I've
> been using cris patches from linux-next for couple of last times and  
>  they worked OOTB :)
>
>
> Regards,
> Hinko
>
> --
> ?ETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
John Crispin
hacking, coding, etc
blogic on irc

___ __
   |   |.-.-.-.|  |  |  |..|  |_
   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
   |___||   __|_|__|__||||__|  ||
|__| W I R E L E S S   F R E E D O M
   KAMIKAZE (bleeding edge) ---
* 10 oz Vodka   Shake well with ice and strain
* 10 oz Triple sec  mixture into 10 shot glasses.
* 10 oz lime juice  Salute!
   ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-07 Thread Hinko Kocevar
[EMAIL PROTECTED] wrote:
> so, we have a patch that fixes etrax ?
> i have not been following the discussion in detai, could someone point  
> me at a patch if there is one ? i have foxboards hee and could test it
> 

Using yesterdays trunk I was also unable to build etrax image as MichelinoK 
said. I
don't know what his/her the error was, but for me it fails like this:
...
  AR  arch/cris/arch-v10/lib/lib.a
  LD  vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN .version
  CHK include/linux/compile.h
  UPD include/linux/compile.h
  CC  init/version.o
  LD  init/built-in.o
  LD  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/cris/boot/Image
  Kernel: arch/cris/boot/Image is ready
  GZIParch/cris/boot/compressed/piggy.gz
  LD  arch/cris/boot/compressed/decompress.o
cris-linux-uclibc-ld: unrecognised emulation mode: criself
Supported emulations: crislinux
make[7]: *** [arch/cris/boot/compressed/decompress.o] Error 1
make[6]: *** [arch/cris/boot/compressed/vmlinux] Error 2
make[5]: *** [zImage] Error 2
make[5]: Leaving directory `/tmp/openwrt/build_dir/linux-etrax/linux-2.6.25.12'
make[4]: *** [/tmp/openwrt/build_dir/linux-etrax/linux-2.6.25.12/.image] Error 2
make[4]: Leaving directory `/tmp/openwrt/target/linux/etrax'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/tmp/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/tmp/openwrt'
make[1]: *** [/tmp/openwrt/staging_dir/cris/stamp/.target_install] Error 2
make[1]: Leaving directory `/tmp/openwrt'
make: *** [world] Error 2


The patch I posted yesterday fixes this.

Maybe the patches fiddling with etrax makefiles (in kernel under 
linux/arch/cris/...) need
to be revised. Some bits are already in linux-git or at least in linux-next 
tree. I've 
been using cris patches from linux-next for couple of last times and they 
worked OOTB :)


Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-07 Thread john
so, we have a patch that fixes etrax ?
i have not been following the discussion in detai, could someone point  
me at a patch if there is one ? i have foxboards hee and could test it



Quoting Hinko Kocevar <[EMAIL PROTECTED]>:

> MichelinoK wrote:
>
>> 2) Should your patch be renamed in "987something.patch"? and placed where
>> EXACTLY?
>
> Depends. Does it solve your problem?
>
> Regards,
> Hinko
>
> --
> ?ETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
John Crispin
hacking, coding, etc
blogic on irc

___ __
   |   |.-.-.-.|  |  |  |..|  |_
   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
   |___||   __|_|__|__||||__|  ||
|__| W I R E L E S S   F R E E D O M
   KAMIKAZE (bleeding edge) ---
* 10 oz Vodka   Shake well with ice and strain
* 10 oz Triple sec  mixture into 10 shot glasses.
* 10 oz lime juice  Salute!
   ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-07 Thread Hinko Kocevar
MichelinoK wrote:

> 2) Should your patch be renamed in "987something.patch"? and placed where 
> EXACTLY?

Depends. Does it solve your problem?

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-06 Thread MichelinoK
> Manually disable ide support on make menuconfig fix the problem.
> When a compile error arise post/read tail of "make V=99"

It's not enabled by default, anyway i'm trying to get the trunk again...but 
openwrt.org is down atm 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-06 Thread MichelinoK
1) openwrt down a.t.m., anyway
2) Should your patch be renamed in "987something.patch"? and placed where 
EXACTLY?



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


Re: [OpenWrt-Devel] Etrax support

2008-08-06 Thread Hinko Kocevar
Claudio wrote:

>>> Can someone test?
>> Works for me, except for kernel compilation I had to apply this patch..
> @Hinko Kocevar
> Why you remove these LD/OBJCOPYFLAG option?

The reason is because otherwise ld fails with unknown option 'criself'..

> Is board now flashable and bootable with this patch?

Yes it is bootable. I use similar arch/cris/arch-v10/Makefile for our products.

Regards
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-06 Thread Claudio
Hi

2008/8/6, Hinko Kocevar <[EMAIL PROTECTED]>:
> MichelinoK wrote:
>> I've just downloaded the latest svn trunk...and etrax target cannot be
>> compiled anymore...
@MichelinoK:
Manually disable ide support on make menuconfig fix the problem.
When a compile error arise post/read tail of "make V=99"

>> Can someone test?
>
> Works for me, except for kernel compilation I had to apply this patch..
@Hinko Kocevar
Why you remove these LD/OBJCOPYFLAG option?
Is board now flashable and bootable with this patch?
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-06 Thread Hinko Kocevar
MichelinoK wrote:
> I've just downloaded the latest svn trunk...and etrax target cannot be 
> compiled anymore...
> Can someone test?

Works for me, except for kernel compilation I had to apply this patch..

HTH,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

--- linux-2.6.25.12/arch/cris/arch-v10/boot/compressed/Makefile.orig	2008-08-06 12:07:38.0 +0200
+++ linux-2.6.25.12/arch/cris/arch-v10/boot/compressed/Makefile	2008-08-06 12:07:47.0 +0200
@@ -3,10 +3,8 @@
 #
 
 ccflags-y += -O2
-LD = $(CROSS_COMPILE)ld -m criself
 ldflags-y += -T $(obj)/decompress.ld
 OBJECTS = $(obj)/head.o $(obj)/misc.o
-OBJCOPYFLAGS = -O binary --remove-section=.bss
 
 quiet_cmd_image = BUILD   $@
 cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-05 Thread MichelinoK
I've just downloaded the latest svn trunk...and etrax target cannot be 
compiled anymore...
Can someone test?



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


Re: [OpenWrt-Devel] Etrax support

2008-08-05 Thread Claudio
HI

2008/8/4, Claudio <[EMAIL PROTECTED]>:
> 2008/8/4, Hinko Kocevar <[EMAIL PROTECTED]>:
>> MichelinoK wrote:
>>> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio
>>> news:[EMAIL PROTECTED]
 MichelinoK wrote:
> Is there a way to have a more verbose "boot" (to see where it hangs) ?
>
>
 Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to
 start the script. It might help if strace and/or init are both
 statically

 linked.

 HTH,
 Hinko
>>>
>>> 1) You mean that I must modify the sources and edit all the scripts and
>>> add
>>> "-x"?
>>
>> At least the /etc/init.d/rcS - this one is run first.
>>
>>> 2) How can statically link strace/init ?
>>
>> if /sbin/init is from busybox, correct me if I'm wrong, so all that is
>> needed is to build busybox as static binary - there is a config option in
>> busybox for this.
>>
>> strace is not in openwrt, yet.
>> I have made a port of 4.5.8 cris patch for 4.5.15. If someone could make
>> the
>> openwrt package I'll provide the patch for cris architecture. To build
>> strace statically add '-static' flag to the final link command.
>
> Wonderful!!
> This is __exactly__ what I need now!
>
> I will test it shortly!!
>

I had test it and it works!

Here the related patch https://dev.openwrt.org/cgi-bin/trac.fcgi/ticket/3844

> Many thanks!
>
>>
>> Regards,
>> Hinko
>>
> Best Regards
>
>> --
>> ČETRTA POT, d.o.o., Kranj
>> Planina 3
>> 4000 Kranj
>> Slovenia, Europe
>> Tel. +386 (0) 4 280 66 03
>> E-mail: [EMAIL PROTECTED]
>> Http: www.cetrtapot.si
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-04 Thread Claudio
2008/8/4, Hinko Kocevar <[EMAIL PROTECTED]>:
> MichelinoK wrote:
>> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio
>> news:[EMAIL PROTECTED]
>>> MichelinoK wrote:
 Is there a way to have a more verbose "boot" (to see where it hangs) ?


>>> Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to
>>> start the script. It might help if strace and/or init are both statically
>>>
>>> linked.
>>>
>>> HTH,
>>> Hinko
>>
>> 1) You mean that I must modify the sources and edit all the scripts and
>> add
>> "-x"?
>
> At least the /etc/init.d/rcS - this one is run first.
>
>> 2) How can statically link strace/init ?
>
> if /sbin/init is from busybox, correct me if I'm wrong, so all that is
> needed is to build busybox as static binary - there is a config option in
> busybox for this.
>
> strace is not in openwrt, yet.
> I have made a port of 4.5.8 cris patch for 4.5.15. If someone could make the
> openwrt package I'll provide the patch for cris architecture. To build
> strace statically add '-static' flag to the final link command.

Wonderful!!
This is __exactly__ what I need now!

I will test it shortly!!

Many thanks!

>
> Regards,
> Hinko
>
Best Regards

> --
> ČETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
>


-- 
Claudio
User linux #415284
- http://www.crisos.org/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-04 Thread Hinko Kocevar
MichelinoK wrote:
> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
> news:[EMAIL PROTECTED]
>> MichelinoK wrote:
>>> Is there a way to have a more verbose "boot" (to see where it hangs) ?
>>>
>>>
>> Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to 
>> start the script. It might help if strace and/or init are both statically 
>> linked.
>>
>> HTH,
>> Hinko
> 
> 1) You mean that I must modify the sources and edit all the scripts and add 
> "-x"?

At least the /etc/init.d/rcS - this one is run first.

> 2) How can statically link strace/init ?

if /sbin/init is from busybox, correct me if I'm wrong, so all that is needed 
is to build busybox as static binary - there is a config option in busybox for 
this.

strace is not in openwrt, yet.
I have made a port of 4.5.8 cris patch for 4.5.15. If someone could make the 
openwrt package I'll provide the patch for cris architecture. To build strace 
statically add '-static' flag to the final link command.

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

diff -urN strace-4.5.15/config.h.in strace-4.5.15.1/config.h.in
--- strace-4.5.15/config.h.in	2007-01-11 23:23:56.0 +0100
+++ strace-4.5.15.1/config.h.in	2008-05-11 01:50:45.0 +0200
@@ -397,6 +397,11 @@
 /* Define for the AMD x86-64 architecture. */
 #undef X86_64
 
+/* Define for the CRISv10 architecture. */
+#undef CRISV10
+
+/* Define for the CRISv32 architecture. */
+#undef CRISV32
 /* Enable GNU extensions on systems that have them.  */
 #ifndef _GNU_SOURCE
 # undef _GNU_SOURCE
diff -urN strace-4.5.15/configure strace-4.5.15.1/configure
--- strace-4.5.15/configure	2007-01-11 23:23:33.0 +0100
+++ strace-4.5.15.1/configure	2008-05-11 01:58:16.0 +0200
@@ -2017,6 +2017,22 @@
 _ACEOF
 
 	;;
+cris|crisv10)
+	arch=crisv10
+
+cat >>confdefs.h <<\_ACEOF
+#define CRISV10 1
+_ACEOF
+
+	;;
+crisv32)
+	arch=crisv32
+
+cat >>confdefs.h <<\_ACEOF
+#define CRISV32 1
+_ACEOF
+
+	;;
 *)
 	echo "$as_me:$LINENO: result: NO!" >&5
 echo "${ECHO_T}NO!" >&6
diff -urN strace-4.5.15/configure.ac strace-4.5.15.1/configure.ac
--- strace-4.5.15/configure.ac	2007-01-11 12:37:55.0 +0100
+++ strace-4.5.15.1/configure.ac	2008-05-11 01:20:53.0 +0200
@@ -103,6 +103,14 @@
 	arch=x86_64
 	AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])
 	;;
+cris|crisv10)
+	arch=crisv10
+	AC_DEFINE([CRISV10], 1, [Define for the CRISv10 architecture.])
+	;;
+crisv32)
+	arch=crisv32
+	AC_DEFINE([CRISV32], 1, [Define for the CRISv32 architecture.])
+	;;
 *)
 	AC_MSG_RESULT([NO!])
 	AC_MSG_ERROR([architecture $host_cpu is not supported by strace])
diff -urN strace-4.5.15/process.c strace-4.5.15.1/process.c
--- strace-4.5.15/process.c	2007-01-11 23:08:38.0 +0100
+++ strace-4.5.15.1/process.c	2008-05-11 01:32:17.0 +0200
@@ -548,7 +548,7 @@
 #  define ARG_PTID	(known_scno(tcp) == SYS_clone2 ? 3 : 2)
 #  define ARG_CTID	(known_scno(tcp) == SYS_clone2 ? 4 : 3)
 #  define ARG_TLS	(known_scno(tcp) == SYS_clone2 ? 5 : 4)
-# elif defined S390 || defined S390X
+# elif defined S390 || defined S390X || defined CRISV10 || defined CRISV32
 #  define ARG_STACK	0
 #  define ARG_FLAGS	1
 #  define ARG_PTID	2
@@ -704,6 +704,10 @@
0x10 | new) < 0)
return -1;
return 0;
+#elif defined(CRISV10) || defined(CRISV32)
+	if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_R9), new) < 0)
+		return -1;
+	return 0;
 #elif defined(ARM)
/* Some kernels support this, some (pre-2.6.16 or so) don't.  */
 # ifndef PTRACE_SET_SYSCALL
@@ -2882,7 +2886,77 @@
 	{ uoff(regs.ARM_pc),	"pc"	},
 	{ uoff(regs.ARM_cpsr),	"cpsr"	},
 #endif
+#ifdef CRISV10
+	{ 4*PT_FRAMETYPE, "4*PT_FRAMETYPE" },
+	{ 4*PT_ORIG_R10, "4*PT_ORIG_R10" },
+	{ 4*PT_R13, "4*PT_R13" },
+	{ 4*PT_R12, "4*PT_R12" },
+	{ 4*PT_R11, "4*PT_R11" },
+	{ 4*PT_R10, "4*PT_R10" },
+	{ 4*PT_R9, "4*PT_R9" },
+	{ 4*PT_R8, "4*PT_R8" },
+	{ 4*PT_R7, "4*PT_R7" },
+	{ 4*PT_R6, "4*PT_R6" },
+	{ 4*PT_R5, "4*PT_R5" },
+	{ 4*PT_R4, "4*PT_R4" },
+	{ 4*PT_R3, "4*PT_R3" },
+	{ 4*PT_R2, "4*PT_R2" },
+	{ 4*PT_R1, "4*PT_R1" },
+	{ 4*PT_R0, "4*PT_R0" },
+	{ 4*PT_MOF, "4*PT_MOF" },
+	{ 4*PT_DCCR, "4*PT_DCCR" },
+	{ 4*PT_SRP, "4*PT_SRP" },
+	{ 4*PT_IRP, "4*PT_IRP" },
+	{ 4*PT_CSRINSTR, "4*PT_CSRINSTR" },
+	{ 4*PT_CSRADDR, "4*PT_CSRADDR" },
+	{ 4*PT_CSRDATA, "4*PT_CSRDATA" },
+	{ 4*PT_USP, "4*PT_USP" },
+#endif
+#ifdef CRISV32
+	{ 4*PT_ORIG_R10, "4*PT_ORIG_R10" },
+	{ 4*PT_R0, "4*PT_R0" },
+	{ 4*PT_R1, "4*PT_R1" },
+	{ 4*PT_R2, "4*PT_R2" },
+	{ 4*PT_R3, "4*PT_R3" },
+	{ 4*PT_R4, "4*PT_R4" },
+	{ 4*PT_R5, "4*PT_R5" },
+	{ 4*PT_R6, "4*PT_R6" },
+	{ 4*PT_R7, "4*PT_R7" },
+	{ 4*PT_R8, "4*PT_R8" },
+	{ 4*PT_R9, "4*PT_R9" },
+	{ 4*PT_R10, "4*PT_R10" },
+	{ 4*PT_R11, "4*PT_R11" },
+	{ 4*PT_R12, "4*PT_R12" },
+	{ 4*PT_R13, "4*PT_R13" },
+	{ 4*PT_ACR, "4*PT_ACR" },
+	{ 4*

Re: [OpenWrt-Devel] Etrax support

2008-08-04 Thread Claudio
2008/8/4, Hinko Kocevar <[EMAIL PROTECTED]>:
> MichelinoK wrote:
>> Is there a way to have a more verbose "boot" (to see where it hangs) ?
>>
>>
>
> Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to
> start the script. It might help if strace and/or init are both statically
> linked.
>

How to get strace working on etrax? At the moment the strace inside
OpenWrt cannot be compiles.
Bye

> HTH,
> Hinko
>
> --
> ČETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>


-- 
Claudio
User linux #415284
- http://www.crisos.org/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-04 Thread MichelinoK

"Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> MichelinoK wrote:
>> Is there a way to have a more verbose "boot" (to see where it hangs) ?
>>
>>
>
> Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to 
> start the script. It might help if strace and/or init are both statically 
> linked.
>
> HTH,
> Hinko

1) You mean that I must modify the sources and edit all the scripts and add 
"-x"?
2) How can statically link strace/init ?

Many thanks!



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


Re: [OpenWrt-Devel] Etrax support

2008-08-04 Thread Hinko Kocevar
MichelinoK wrote:
> Is there a way to have a more verbose "boot" (to see where it hangs) ? 
> 
> 

Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to start 
the script. It might help if strace and/or init are both statically linked.

HTH,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-04 Thread Hinko Kocevar
MichelinoK wrote:
> Got the cable working :)
> 
> Here's the output:
> 
> 
> 
> Linux version 2.6.25.12 ([EMAIL PROTECTED]) (gcc version
> 4.2.4) #6 8
> console [ttyS0] enabled
> Setting up paging and the MMU.
> Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB Built 1 

d'Best!!!

:)

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-08-02 Thread MichelinoK
Is there a way to have a more verbose "boot" (to see where it hangs) ? 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-02 Thread MichelinoK
> Are the packages libgcc, uclibc  included inside firmware?

Yes,they're included.



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


Re: [OpenWrt-Devel] Etrax support

2008-08-02 Thread Claudio
2008/8/2, MichelinoK <[EMAIL PROTECTED]>:
> Here's the output:
>
>
>
> Linux version 2.6.25.12 ([EMAIL PROTECTED]) (gcc version
> 4.2.4) #6 8

> VFS: Mounted root (squashfs filesystem) readonly.
> Freeing unused kernel memory: 56k freed
> Please be patient, while OpenWrt loads ...
> Kernel panic - not syncing: Attempted to kill init!
>

Are the packages libgcc, uclibc  included inside firmware?
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-02 Thread MichelinoK
I had to quad-check the cable :)
Eh ehe eh ehe eheheheheh!



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


Re: [OpenWrt-Devel] Etrax support

2008-08-02 Thread MichelinoK
Got the cable working :)

Here's the output:



Linux version 2.6.25.12 ([EMAIL PROTECTED]) (gcc version
4.2.4) #6 8
console [ttyS0] enabled
Setting up paging and the MMU.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB Built 1 
zonelists in Zone order, mobility grouping on. Total pages: 4080 Kernel 
command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 init=/etc/pr0 
PID hash table entries: 128 (order: 7, 512 bytes)
ds1302: RTC found.
ds1302: SDA, SCL, RST on PB0, PB1, GENIO2
rtc_time : 11:19:03
rtc_date : 2008-08-02
Dentry cache hash table entries: 4096 (order: 1, 16384 bytes) Inode-cache 
hash table entries: 2048 (order: 0, 8192 bytes)
Memory: 30312k/32768k available (1279k kernel code, 2456k reserved, 319k 
data, ) Mount-cache hash table entries: 1024
net_namespace: 444 bytes
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 0, 8192 bytes) TCP 
established hash table entries: 1024 (order: 0, 8192 bytes) TCP bind hash 
table entries: 1024 (order: -1, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered 
console [ttyS0] enabled
fast_timer_init()
squashfs: version 3.0 (2006/03/15) Phillip Lougher Registering mini_fo 
version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default) ETRAX 100LX serial-driver 1.25 $, 
(c) 2000-2004 Axis Communications AB ttyS0 at 0xb060 is a builtin UART 
with DMA
ttyS2 at 0xb070 is a builtin UART with DMA
ttyS3 at 0xb078 is a builtin UART with DMA ETRAX 100LX 10/100MBit 
ethernet v2.0 (c) 1998-2007 Axis Communications AB
eth0: changed MAC to 00:40:8c:cd:00:00
ETRAX 100LX USB Host Controller (2.6.25-rc9 port) version 1.00 hinko.4 (c) 
2005B
usb_devdrv: Etrax 100LX USB Revision 16 v1,2
usb_devdrv: Bulk timer interval, start:2 eot:6
usb_devdrv: Claimed interface for USB physical port 1
usb_devdrv: Claimed interface for USB physical port 2 crisv10_irq dbg: 
ctr_status_irq, controller status: host_mode hc-crisv10 hc-crisv10.0: ETRAX 
100LX USB Host Controller (2.6.25-rc9 port) hc-crisv10 hc-crisv10.0: new USB 
bus registered, assigned bus number 1 hc-crisv10 hc-crisv10.0: reset 
hc-crisv10 hc-crisv10.0: start usb usb1: configuration #1 chosen from 1 
choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected
cse0: Probing a 0x0400 bytes large window at 0xe000.
cse0: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query 
Table at 0x0040
cse0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cse1: Probing a 0x0400 bytes large window at 0xe400.
cse0: 0x0080 bytes of flash memory.
Scanning flash for end of kernel magic
Kernel ends at 0x000F
Using default partition table.
Creating 2 MTD partitions on "cse0":
0x-0x000f : "kernel"
0x000f-0x0080 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=20, len=60 
0x0020-0x0080 : "rootfs_data"
Adding RAM partition for romfs image:
/dev/flash1 at 0x, size 0x I2C driver v2.2, (c) 1999-2004 
Axis Communications AB GPIO port G: in_bits: 0x013F out_bits: 0x323E 
val: F1FF GPIO port G: dir:  changeable: 0101 ETRAX 100LX 
GPIO driver v2.5, (c) 2001-2008 Axis Communications AB
ds1302: RTC found.
ds1302: SDA, SCL, RST on PB0, PB1, GENIO2
rtc_time : 11:19:04
rtc_date : 2008-08-02
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
ip_tables: (C) 2000-2006 Netfilter Core Team TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation 
<[EMAIL PROTECTED]>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 56k freed
Please be patient, while OpenWrt loads ...
Kernel panic - not syncing: Attempted to kill init! 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-01 Thread Jan Hetges
On Fri, Aug 01, 2008 at 09:24:03PM +0200, MichelinoK wrote:
> I get garbage with every image i've tryed :(   (115200,8,N,1)
> Tryed every speeds...
just an idea: turn hardware flowcontrol off

  cheers

--Jan



signature.asc
Description: Digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Etrax support

2008-08-01 Thread MichelinoK
I get garbage with every image i've tryed :(   (115200,8,N,1)
Tryed every speeds...
The strange thing also is if I attach the serial cable, a working image 
won't boot, If I detach it boots up :\
Triple checked the camble/circuit...seems ok.

No hope for now :(



"Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> MichelinoK wrote:
>
>> Just got the components... tomorrow I'll assemble the cable/circuit
>> should I enable something on the toolchain to enable the "debug" on the
>> serial port console?
>
> I think not. Just connect the null modem serial cable to the serial port 0 
> on
> etrax and set your terminal emulator (eg. minicom) to 115200 8N1. The 
> kernel
> CONFIG_ETRAX_CMDLINE tells you this..
>
> Regards,
> Hinko
>
> -- 
> CETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 



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


Re: [OpenWrt-Devel] Etrax support

2008-08-01 Thread Hinko Kocevar
MichelinoK wrote:

> Just got the components... tomorrow I'll assemble the cable/circuit 
> should I enable something on the toolchain to enable the "debug" on the 
> serial port console?

I think not. Just connect the null modem serial cable to the serial port 0 on
etrax and set your terminal emulator (eg. minicom) to 115200 8N1. The kernel
CONFIG_ETRAX_CMDLINE tells you this..

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-31 Thread MichelinoK

"Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> MichelinoK wrote:
>> Your patches work ok, I can flash the board, but it won't boot (no dhcp
>
> Great!
>
>> assigned from the router, and won't ping with a static ip set via "make
>> menuconfig").
>> I don't have a serial cable so I cannot debug anything (tomorrow i'll buy 
>> a
>> ttl converter and i'll give a try).
>
> Yeah, you should get one of those - it's mandatory for embedded devel
> from where I came from ;))
> FYI, the image won't boot for me either ...

Just got the components... tomorrow I'll assemble the cable/circuit 
should I enable something on the toolchain to enable the "debug" on the 
serial port console?

>
> -- 
> CETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-31 Thread Hinko Kocevar
MichelinoK wrote:
> Your patches work ok, I can flash the board, but it won't boot (no dhcp 

Great!

> assigned from the router, and won't ping with a static ip set via "make 
> menuconfig").
> I don't have a serial cable so I cannot debug anything (tomorrow i'll buy a 
> ttl converter and i'll give a try).

Yeah, you should get one of those - it's mandatory for embedded devel 
from where I came from ;))
FYI, the image won't boot for me either ...

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-30 Thread MichelinoK
Your patches work ok, I can flash the board, but it won't boot (no dhcp 
assigned from the router, and won't ping with a static ip set via "make 
menuconfig").
I don't have a serial cable so I cannot debug anything (tomorrow i'll buy a 
ttl converter and i'll give a try).

Here's the output:
[EMAIL PROTECTED] Desktop]# ./boot_linux -d eth1 -F -i 
kamikaze/trunk/bin/openwrt-etrax-squashfs-fimage -p
Command:
./etrax100boot --device eth1 --setreg b000 95f8 --setreg b004
0004 --setreg b00c 09603737 --setreg b008 8000c002 --pause 
2 --setreg b008 8000c602 --setreg b008 8000c002 --setreg +0 
7 --label label1 --setreg b008 8000c402 --setreg b008 
8000c002 --loop +0 label1 --setreg b008 8030c202 --setreg b008 
8000c002 --setreg b008 80008002 --setreg b030 1cf0 --setreg 
b038
ce03 --file kamikaze/trunk/bin/openwrt-etrax-squashfs-fimage 
c0004000 --flash c0004000 0 40 --jump 0 [EMAIL PROTECTED] Desktop]# 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-30 Thread Hinko Kocevar
MichelinoK wrote:
> You suspicious are right:
> 

[..]

> 
> 
> Now the problem is: what should we modify to make owrt works? I'm not a 
> linux expert, but if someone could tell me what differences are to check 
> between CrisOS and Openwrt...
> 
> Let's wait...or do you have any idea?
> 

For now let me just say that if I use the kernel source from owrt (fully 
patched) in 
my home brew sdk for cris it works as expected. All I do is build zImage and 
modules
and use zImage as kernel image for flashing cris target, kernel image is not 
modified
once it is built, also the procedure for building final jffs2 image is slightly 
different.

I'll look into it if time permits - again I'm using owrt sdk as a playground 
here.

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-30 Thread Claudio
Hi all,
I just open ticket #3578 on trac for this problem.

As mentioned by john etrax is not going to be part of 808, so the bug
is leave unfixed and I don't have the needed knowledge to fix it.

(I don't like to start a discussion/flame about how to submit
patch/bug but please use the ticket #3578 for report update on this
issues...)


2008/7/29, MichelinoK <[EMAIL PROTECTED]>:
> You suspicious are right:
>
> [EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i owrt.zImage Using
> internal boot loader: INTERNAL_NW - Network boot (default).
> Starting boot...
> We're doing a flash write, this may take up to a few minutes...
>
> Device ID = 0xb7f7
> This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
> Checksum of bootloader is 0x000a0a94
> Waiting for load info.
> Checksum of file is 0x0dbd
> Got load info.
> SET_REGISTER
> 0xb000
> 0x95a6
> SET_REGISTER
> 0xb004
> 0x0104
> SET_REGISTER
> 0xb00c
> 0x1a200040
> SET_REGISTER
> 0xb008
> 0x5611
> SET_REGISTER
> 0xb030
> 0x1c00
> SET_REGISTER
> 0xb038
> 0x00ff
> PACKET_INFO
> 0xc0004000
> 0x000c
> Checksum of file is 0x
> FLASH
> 0xc0004000
> 0x
> 0x000d
> Found 1 x CFI at 0x8000
> No single x16 at 0x8400
> No interleaved x16 at 0x8400
> 0x8000: No need to write
> 0x8001: No need to write
> 0x8002: No need to write
> 0x8003: No need to write
> 0x8004: No need to write
> 0x8005: No need to write
> 0x8006: No need to write
> 0x8007: No need to write
> 0x8008: No need to write
> 0x8009: No need to write
> 0x800a: No need to write
> 0x800b: No need to write
> 0x800c: No need to write
> 0x8000: Verifying...OK
> JUMP
> 0x
> END
> Exiting with code 0
> [EMAIL PROTECTED] Desktop]#
>
>
>
>
>
>
>
> [EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i taa2.zImage Using
> internal boot loader: INTERNAL_NW - Network boot (default).
> Starting boot...
> We're doing a flash write, this may take up to a few minutes...
>
> Device ID = 0x7fc7
> This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
> Checksum of bootloader is 0x000a0a94
> Waiting for load info.
> Checksum of file is 0x1e4d
> Got load info.
> SET_REGISTER
> 0xb000
> 0x93f8
> SET_REGISTER
> 0xb004
> 0x0204
> SET_REGISTER
> 0xb00c
> 0x09603636
> SET_REGISTER
> 0xb008
> 0x8000c002
> PAUSE_LOOP
> 0x0002
> SET_REGISTER
> 0xb008
> 0x8000c602
> SET_REGISTER
> 0xb008
> 0x8000c002
> SET_REGISTER
> 0x38001f00
> 0x0007
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8000c402
> SET_REGISTER
> 0xb008
> 0x8000c002
> LOOP
> 0x38001f00
> 0x38001f5c
> SET_REGISTER
> 0xb008
> 0x8030c202
> SET_REGISTER
> 0xb008
> 0x8000c002
> SET_REGISTER
> 0xb008
> 0x80008002
> SET_REGISTER
> 0xb030
> 0x0b00
> SET_REGISTER
> 0xb038
> 0xfed3
> PACKET_INFO
> 0xc0004000
> 0x000c781a
> Checksum of file is 0x0664c737
> FLASH
> 0xc0004000
> 0x
> 0x000c
> Found 1 x CFI at 0x8000
> No single x16 at 0x8400
> No interleaved x16 at 0x8400
> 0x8000: Erasing 0x0001 bytes
> 0x8000: Writing 0x0001 bytes
> 0x8001: Erasing 0x0001 bytes
> 0x8001: Writing 0x0001 bytes
> 0x8002: Erasing 0x0001 bytes
> 0x8002: Writing 0x0001 bytes
> 0x8003: Erasing 0x0001 bytes
> 0x8003: Writing 0x0001 bytes
> 0x8004: Erasing 0x0001 bytes
> 0x8004: Writing 0x0001 bytes
> 0x8005: Erasing 0x0001 bytes
> 0x8005: Writing 0x0001 bytes
> 0x8006: Erasing 0x0001 bytes
> 0x8006: Writing 0x0001 bytes
> 0x8007: Erasing 0x0001 bytes
> 0x8007: Writing 0x0001 bytes
> 0x8008: Erasing 0x0001 bytes
> 0x8008: Writing 0x0001 bytes
> 0x8009: Erasing 0x0001 bytes
> 0x8009: Writing 0x0001 bytes
> 0x800a: Erasing 0x0001 bytes
> 0x800a: Writing 0x0001 bytes
> 0x800b: Erasing 0x0001 bytes
> 0x800b: Writing 0x0001 bytes
> 0x8000: Verifying...OK
> JUMP
> 0x
> END
> Exiting with code 0
> [EMAIL PROTECTED] Desktop]#
>
>
> Now the problem is: what should w

Re: [OpenWrt-Devel] Etrax support

2008-07-29 Thread MichelinoK
You suspicious are right:

[EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i owrt.zImage Using 
internal boot loader: INTERNAL_NW - Network boot (default).
Starting boot...
We're doing a flash write, this may take up to a few minutes...

Device ID = 0xb7f7
This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
Checksum of bootloader is 0x000a0a94
Waiting for load info.
Checksum of file is 0x0dbd
Got load info.
SET_REGISTER
0xb000
0x95a6
SET_REGISTER
0xb004
0x0104
SET_REGISTER
0xb00c
0x1a200040
SET_REGISTER
0xb008
0x5611
SET_REGISTER
0xb030
0x1c00
SET_REGISTER
0xb038
0x00ff
PACKET_INFO
0xc0004000
0x000c
Checksum of file is 0x
FLASH
0xc0004000
0x
0x000d
Found 1 x CFI at 0x8000
No single x16 at 0x8400
No interleaved x16 at 0x8400
0x8000: No need to write
0x8001: No need to write
0x8002: No need to write
0x8003: No need to write
0x8004: No need to write
0x8005: No need to write
0x8006: No need to write
0x8007: No need to write
0x8008: No need to write
0x8009: No need to write
0x800a: No need to write
0x800b: No need to write
0x800c: No need to write
0x8000: Verifying...OK
JUMP
0x
END
Exiting with code 0
[EMAIL PROTECTED] Desktop]#







[EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i taa2.zImage Using 
internal boot loader: INTERNAL_NW - Network boot (default).
Starting boot...
We're doing a flash write, this may take up to a few minutes...

Device ID = 0x7fc7
This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
Checksum of bootloader is 0x000a0a94
Waiting for load info.
Checksum of file is 0x1e4d
Got load info.
SET_REGISTER
0xb000
0x93f8
SET_REGISTER
0xb004
0x0204
SET_REGISTER
0xb00c
0x09603636
SET_REGISTER
0xb008
0x8000c002
PAUSE_LOOP
0x0002
SET_REGISTER
0xb008
0x8000c602
SET_REGISTER
0xb008
0x8000c002
SET_REGISTER
0x38001f00
0x0007
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8000c402
SET_REGISTER
0xb008
0x8000c002
LOOP
0x38001f00
0x38001f5c
SET_REGISTER
0xb008
0x8030c202
SET_REGISTER
0xb008
0x8000c002
SET_REGISTER
0xb008
0x80008002
SET_REGISTER
0xb030
0x0b00
SET_REGISTER
0xb038
0xfed3
PACKET_INFO
0xc0004000
0x000c781a
Checksum of file is 0x0664c737
FLASH
0xc0004000
0x
0x000c
Found 1 x CFI at 0x8000
No single x16 at 0x8400
No interleaved x16 at 0x8400
0x8000: Erasing 0x0001 bytes
0x8000: Writing 0x0001 bytes
0x8001: Erasing 0x0001 bytes
0x8001: Writing 0x0001 bytes
0x8002: Erasing 0x0001 bytes
0x8002: Writing 0x0001 bytes
0x8003: Erasing 0x0001 bytes
0x8003: Writing 0x0001 bytes
0x8004: Erasing 0x0001 bytes
0x8004: Writing 0x0001 bytes
0x8005: Erasing 0x0001 bytes
0x8005: Writing 0x0001 bytes
0x8006: Erasing 0x0001 bytes
0x8006: Writing 0x0001 bytes
0x8007: Erasing 0x0001 bytes
0x8007: Writing 0x0001 bytes
0x8008: Erasing 0x0001 bytes
0x8008: Writing 0x0001 bytes
0x8009: Erasing 0x0001 bytes
0x8009: Writing 0x0001 bytes
0x800a: Erasing 0x0001 bytes
0x800a: Writing 0x0001 bytes
0x800b: Erasing 0x0001 bytes
0x800b: Writing 0x0001 bytes
0x8000: Verifying...OK
JUMP
0x
END
Exiting with code 0
[EMAIL PROTECTED] Desktop]#


Now the problem is: what should we modify to make owrt works? I'm not a 
linux expert, but if someone could tell me what differences are to check 
between CrisOS and Openwrt...

Let's wait...or do you have any idea?


Regards
Michele



PS: Sorry for my english! 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-29 Thread Hinko Kocevar
Hinko Kocevar wrote:

> 
> I'll give it a try.

Kamikaze image produces the same result for me here. Up until now I never used 
kamikaze image(s)
on my hardware :( and wasn't aware of the problem. I've mainly used owrt for 
toolchain generating.

I found out that owrt somehow mangles kernel image what in turn results in the 
'No need to write'.
A simple test by using my own kernel image in contrast to owrt image resulted 
in error 
not occurring with my image. I think John Crispin added etrax support and all 
the related 
bits, so he might know a bit more.

I've posted both images on the web, if you could try them both and confirm my 
suspicions.

http://hinkocevar.googlepages.com/owrt.zImage
http://hinkocevar.googlepages.com/owrt.out

http://hinkocevar.googlepages.com/taa2.zImage
http://hinkocevar.googlepages.com/taa2.out


Notice the line where file checksum is output in *.out logs.


Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-29 Thread Hinko Kocevar
MichelinoK wrote:
> Big-Cut :)
> 
> 
>> Both outputs look sane - could you please post the output of these two 
>> commands as well:
>> 2. ./boot_linux -F -d eth0 -i openwrt-etrax-jffs2-64k-fimage -p
> 
> The output is this:
> 
> [EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i 
> kamikaze/trunk/bin/openwrt-etrax-jffs2-64k-fimage -p
> Command:
> ./etrax100boot --device eth0 --setreg b000 95a6 --setreg b004
> 0104 --setreg b00c 1a200040 --setreg b008 5611 --setreg 
> b030 1c00 --setreg b038 00ff --file 
> kamikaze/trunk/bin/openwrt-etrax-jffs2-64k-fimage c0004000 --flash c0004000 
> 0 80 --jump 0
> [EMAIL PROTECTED] Desktop]#
> 
> 

Mine looks like this:
 $ boot_linux -d eth1 -F -i fimage -p
Command:
etrax100boot --device eth1 --setreg b000 93f8 --setreg b004 
0204 --setreg b00c 09603636 --setreg b008 8000c002 --pause 2 
--setreg b008 8000c602 --setreg b008 8000c002 --setreg +0 7 --label 
label1 --setreg b008 8000c402 --setreg b008 8000c002 --loop +0 label1 
--setreg b008 8030c202 --setreg b008 8000c002 --setreg b008 
80008002 --setreg b030 0b00 --setreg b038 fed3 --file fimage 
c0004000 --flash c0004000 0 40 --jump 0

Judging from the output my flash command is a bit longer, 
now I haven't looked at the commands switches in detail, 
but you might missing bits on your hardware to see if it helps.

> (2 commands? I can see only one command :)

Just one, my bad ;)


> Found 1 x CFI at 0x8000
> No single x16 at 0x8400
> No interleaved x16 at 0x8400
> 0x8000: No need to write
> 0x8001: No need to write
> 0x8002: No need to write
> 0x8003: No need to write
> 0x8004: No need to write
> 
> Cut
> 
> 0x807f6000: No need to write
> 0x807f8000: No need to write
> 0x807fa000: No need to write
> 0x807fc000: No need to write
> 0x807fe000: No need to write
> 0x8000: Verifying...OK
> JUMP
> 0x
> END
> Exiting with code 0
> [EMAIL PROTECTED] Desktop]#
> 
> 

Now that is strange - I always experienced the replacement of flash content
when using different images. You might get some more help from acme or axis
mailing lists in this case.


> 
> Please, can you try a simple image created with kamikaze? Just to know if it 
> works on other hardware.


I'll give it a try.

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-28 Thread MichelinoK
Big-Cut :)


> Both outputs look sane - could you please post the output of these two 
> commands as well:
> 2. ./boot_linux -F -d eth0 -i openwrt-etrax-jffs2-64k-fimage -p

The output is this:

[EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i 
kamikaze/trunk/bin/openwrt-etrax-jffs2-64k-fimage -p
Command:
./etrax100boot --device eth0 --setreg b000 95a6 --setreg b004
0104 --setreg b00c 1a200040 --setreg b008 5611 --setreg 
b030 1c00 --setreg b038 00ff --file 
kamikaze/trunk/bin/openwrt-etrax-jffs2-64k-fimage c0004000 --flash c0004000 
0 80 --jump 0
[EMAIL PROTECTED] Desktop]#


(2 commands? I can see only one command :)

>
>>
>> REMEMBERthe flash procedure leaves the board untouched...
>>
>
> I see that the tools try to put the image on flash, but as it
> turns out the flash and the image are obviously the same,
> byte-for-byte, probably because you flashed it at least one
> time before. That is why the tools leave flash untouched.
> Try a dummy image, old image or another image and then
> use the openwrt image on top of that - this should result in
> messages like this:
> ..
> 0x8001: Erasing 0x0001 bytes
> 0x8001: Writing 0x0001 bytes
> 0x8002: Erasing 0x0001 bytes
> ..
>
> Meaning that flash is being replaced.

I've tryed using a very old "stock" image (from acemesystems,a very old 
image that doesn't have anything to do with kamikaze/crisos), then flashed 
with the kamikaze-generated imagebut it won't flash anyway. Here's the 
output:

[EMAIL PROTECTED] Desktop]# ./boot_linux -F -d eth0 -i 
kamikaze/trunk/bin/openwrt-etrax-jffs2-64k-fimage
Using internal boot loader: INTERNAL_NW - Network boot (default).
Starting boot...
We're doing a flash write, this may take up to a few minutes...

Device ID = 0xc393
This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
Checksum of bootloader is 0x000a0a94
Waiting for load info.
Checksum of file is 0x0cea
Got load info.
SET_REGISTER
0xb000
0x95a6
SET_REGISTER
0xb004
0x0104
SET_REGISTER
0xb00c
0x1a200040
SET_REGISTER
0xb008
0x5611
SET_REGISTER
0xb030
0x1c00
SET_REGISTER
0xb038
0x00ff
PACKET_INFO
0xc0004000
0x0080
Checksum of file is 0x0f389740
FLASH
0xc0004000
0x
0x0080
Found 1 x CFI at 0x8000
No single x16 at 0x8400
No interleaved x16 at 0x8400
0x8000: No need to write
0x8001: No need to write
0x8002: No need to write
0x8003: No need to write
0x8004: No need to write

Cut

0x807f6000: No need to write
0x807f8000: No need to write
0x807fa000: No need to write
0x807fc000: No need to write
0x807fe000: No need to write
0x8000: Verifying...OK
JUMP
0x
END
Exiting with code 0
[EMAIL PROTECTED] Desktop]#





>
>> Currently I'm using and old port of John Crispin, the porting is now 
>> called
>> "CrisOS" and you can find it at www.crisos.org.
>
> Haven't spotted this one yet.
>
>> It works, but it's rather oldand I wanna use the official trunk of
>> kamikaze.
>> I hope you can find the problem :)
>> If you wanna, I can send you the 2 images (zip/rar),just let me know a 
>> valid
>> e:mail address.
>>
>
> I don't own a foxboard - instead at work we use etrax lx100
> in our embedded products. You can send the images but I can't
> guarantee that it will work any better because of the SDRAM
> and/or FLASH settings in the kernel image.




Please, can you try a simple image created with kamikaze? Just to know if it 
works on other hardware.





>
> Just this email for images.
>
> Reagrds,
> Hinko
>
> -- 
> CETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Regards,

Michele



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


Re: [OpenWrt-Devel] Etrax support

2008-07-28 Thread MichelinoK
> Here is crisos on our platform, so I guess your foxboard images 
> should/might work on my hardware too ;))

That's good :) 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-28 Thread Hinko Kocevar
MichelinoK wrote:
> Currently I'm using and old port of John Crispin, the porting is now  called 
> "CrisOS" and you can find it at www.crisos.org.
> It works, but it's rather oldand I wanna use the official trunk of 
> kamikaze.


Here is crisos on our platform, so I guess your foxboard images should/might 
work on my hardware too ;))
   _   _ _  
  | | (_) | 
   __ _  ___ _ __ ___   ___  ___ _   _ ___| |_ ___ _ __ ___  ___   _| |_
  / _` |/ __| '_ ` _ \ / _ \/ __| | | / __| __/ _ \ '_ ` _ \/ __| | | __|
 | (_| | (__| | | | | |  __/\__ \ |_| \__ \ ||  __/ | | | | \__ \_| | |_ 
  \__,_|\___|_| |_| |_|\___||___/\__, |___/\__\___|_| |_| |_|___(_)_|\__|
  __/ |  
 |___/   FOXBOARD @ www.acmesystems.it
Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.6.19.2 ([EMAIL PROTECTED]) (gcc version 4.1.2) #2 Fri Apr 4 
10:57:34 CEST 2008
Determinig RAM size
RAM size is 16MB
Setting up paging and the MMU.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Built 1 zonelists.  Total pages: 2040
Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 
init=/etc/preinit noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 0, 8192 bytes)
Inode-cache hash table entries: 1024 (order: -1, 4096 bytes)
Memory: 14000k/16384k available (1289k kernel code, 2384k reserved, 314k data, 
56k init)
Mount-cache hash table entries: 1024
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -4, 512 bytes)
TCP established hash table entries: 512 (order: -2, 2048 bytes)
TCP bind hash table entries: 256 (order: -3, 1024 bytes)
TCP: Hash tables configured (established 512 bind 256)
TCP reno registered
fast_timer_init()
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
ETRAX 100LX serial-driver 1.25 $, (c) 2000-2004 Axis Communications AB
ttyS0 at 0xb060 is a builtin UART with DMA
usbcore: registered new interface driver zd1201
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 1998-2006 Axis Communications AB
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX USB Host Controller version 1.00 (c) 2005, 2006 Axis Communications 
AB
usb_devdrv: Etrax 100LX USB Revision 16 v1,2
usb_devdrv: Bulk timer interval, start:2 eot:6
usb_devdrv: Claimed interface for USB physical port 1
usb_devdrv: Claimed interface for USB physical port 2
crisv10_irq dbg: ctr_status_irq, controller status: host_mode 
hc-crisv10 hc-crisv10.0: ETRAX 100LX USB Host Controller
hc-crisv10 hc-crisv10.0: new USB bus registered, assigned bus number 1
hc-crisv10 hc-crisv10.0: reset
hc-crisv10 hc-crisv10.0: start
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started 
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running 
usb 1-1: new full speed USB device using hc-crisv10 and address 2
crisv10_irq warn: 3rd error for epid:0 (in ctrl) URB:0xc02bbb60[0]
crisv10_irq warn: 3rd error for epid:0 (in ctrl) URB:0xc02bbb60[1]
crisv10_irq warn: 3rd error for epid:0 (in ctrl) URB:0xc02bbb60[2]
usb 1-1: device descriptor read/64, error -71
crisv10_irq warn: 3rd error for epid:0 (in ctrl) URB:0xc02bbb60[3]
crisv10_irq warn: 3rd error for epid:0 (in ctrl) URB:0xc02bbb60[4]
crisv10_irq warn: 3rd error for epid:0 (in ctrl) URB:0xc02bbb60[5]
usb 1-1: device descriptor read/64, error -71
crisv10_irq dbg: ctr_status_irq, controller status: host_mode 
crisv10_rh: Physical port 1 disabled
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started 
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running 
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
crisv10_irq dbg: ctr_status_irq, controller status: host_mode 
crisv10_rh: Physical port 1 disabled
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started 
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running 
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
crisv10_irq dbg: ctr_status_irq, controller status: host_mode 
crisv10_rh: Physical port 1 disabled
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started 
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running 
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
cr

Re: [OpenWrt-Devel] Etrax support

2008-07-28 Thread Hinko Kocevar
MichelinoK wrote:
> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
> news:[EMAIL PROTECTED]
>> MichelinoK wrote:
>>> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio
>>> news:[EMAIL PROTECTED]
 MichelinoK wrote:
> Thanks for the quick answer :)
>
> Just a question... what do you think I should do to get a working 8mb
> image?
> I meandoes the 4mb images work or not?
 I think it should work - 4Mb will be left unused.

 (I cannot test 4mb images)

 Why not?
>>> Because the flash process just quit after some seconds before starting 
>>> the
>>> flash procedure, and it leave the foxboard untouched :(
>> Strange. I think I was able to flash Axis dev82 development board that 
>> bears 6Mb of NOR flash with 4Mb image, but that was looong time ago. Maybe 
>> I'll dust dev82 off and try again..
>>
>> Are you are using boot_linux and e100boot tools from Axis for flashing? 
>> Could you please post the error here.
> 
> I've tryed the Axis files and the files in the trunk...the results are 
> identical.
> 
> Here's the result of the flashing with 8mb images (I've changed the image 
> size inside the makefile):
> 
> [EMAIL PROTECTED] pippo]# ./boot_linux -F -d eth0 -i 
> openwrt-etrax-jffs2-64k-fimage
> Using internal boot loader: INTERNAL_NW - Network boot (default).
> Starting boot...
> We're doing a flash write, this may take up to a few minutes...
> 
> Device ID = 0x22ae
> This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
> Checksum of bootloader is 0x000a0a94
> Waiting for load info.
> Checksum of file is 0x0cea
> Got load info.
> SET_REGISTER
> 0xb000
> 0x95a6
> SET_REGISTER
> 0xb004
> 0x0104
> SET_REGISTER
> 0xb00c
> 0x1a200040
> SET_REGISTER
> 0xb008
> 0x5611
> SET_REGISTER
> 0xb030
> 0x1c00
> SET_REGISTER
> 0xb038
> 0x00ff
> PACKET_INFO
> 0xc0004000
> 0x0080
> Checksum of file is 0x
> FLASH
> 0xc0004000
> 0x
> 0x0080
> Found 1 x CFI at 0x8000
> No single x16 at 0x8400
> No interleaved x16 at 0x8400
> 0x8000: No need to write
> 0x8001: No need to write
> 0x8002: No need to write
> 0x8003: No need to write
> 0x8004: No need to write
> 0x8005: No need to write
> 0x8006: No need to write
> 0x8007: No need to write
> 0x8008: No need to write
> 0x8009: No need to write
> 0x800a: No need to write
> 0x800b: No need to write
> 0x800c: No need to write
> 0x800d: No need to write
> 0x800e: No need to write
> 0x800f: No need to write
> 0x8010: No need to write
> 0x8011: No need to write
> 0x8012: No need to write
> 0x8013: No need to write
> 0x8014: No need to write
> 0x8015: No need to write
> 0x8016: No need to write
> 0x8017: No need to write
> 0x8018: No need to write
> 0x8019: No need to write
> 0x801a: No need to write
> 0x801b: No need to write
> 0x801c: No need to write
> 0x801d: No need to write
> 0x801e: No need to write
> 0x801f: No need to write
> 0x8020: No need to write
> 0x8021: No need to write
> 0x8022: No need to write
> 0x8023: No need to write
> 0x8024: No need to write
> 0x8025: No need to write
> 0x8026: No need to write
> 0x8027: No need to write
> 0x8028: No need to write
> 0x8029: No need to write
> 0x802a: No need to write
> 0x802b: No need to write
> 0x802c: No need to write
> 0x802d: No need to write
> 0x802e: No need to write
> 0x802f: No need to write
> 0x8030: No need to write
> 0x8031: No need to write
> 0x8032: No need to write
> 0x8033: No need to write
> 0x8034: No need to write
> 0x8035: No need to write
> 0x8036: No need to write
> 0x8037: No need to write
> 0x8038: No need to write
> 0x8039: No need to write
> 0x803a: No need to write
> 0x803b: No need to write
> 0x803c: No need to write
> 0x803d: No need to write
> 0x803e: No need to write
> 0x803f: No need to write
> 0x8040: No need to write
> 0x8041: No need to write
> 0x8042: No need to write
> 0x8043: No need to write
> 0x8044: No need to write
> 0x8045: No need to write
> 0x8046: No need to write
> 0x8047: No need to write
> 0x8048: No need to write
> 0x8049: No need to write
> 0x804a: No need to write
> 0x804b: No need to write
> 0x804c: No need to write
> 0x804d: No need to write
> 0x804e: No need to write
> 0x804f: No need to write
> 0x8050: No need to write
> 0x8051: No need to write
> 0x8052: No need to write
> 0x8053: No need to write
> 0x8054: No need to write
> 0x8055: No need to write
> 0x8056: No need to write
> 0x8057: No need to write
> 0x8058: No need to write
> 0x8059: No need to write
> 0x805a: No need to write
> 0x805b: No need to write
> 0x805c: No need to write
> 0x805

Re: [OpenWrt-Devel] Etrax support

2008-07-26 Thread MichelinoK
Have you tryed someting? 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-25 Thread MichelinoK

"Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> MichelinoK wrote:
>> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio
>> news:[EMAIL PROTECTED]
>>> MichelinoK wrote:
 Thanks for the quick answer :)

 Just a question... what do you think I should do to get a working 8mb
 image?
 I meandoes the 4mb images work or not?
>>> I think it should work - 4Mb will be left unused.
>>>
>>> (I cannot test 4mb images)
>>>
>>> Why not?
>>
>> Because the flash process just quit after some seconds before starting 
>> the
>> flash procedure, and it leave the foxboard untouched :(
>
> Strange. I think I was able to flash Axis dev82 development board that 
> bears 6Mb of NOR flash with 4Mb image, but that was looong time ago. Maybe 
> I'll dust dev82 off and try again..
>
> Are you are using boot_linux and e100boot tools from Axis for flashing? 
> Could you please post the error here.

I've tryed the Axis files and the files in the trunk...the results are 
identical.

Here's the result of the flashing with 8mb images (I've changed the image 
size inside the makefile):

[EMAIL PROTECTED] pippo]# ./boot_linux -F -d eth0 -i 
openwrt-etrax-jffs2-64k-fimage
Using internal boot loader: INTERNAL_NW - Network boot (default).
Starting boot...
We're doing a flash write, this may take up to a few minutes...

Device ID = 0x22ae
This bootloader was built by root on Wed May 16 21:31:41 CEST 2007.
Checksum of bootloader is 0x000a0a94
Waiting for load info.
Checksum of file is 0x0cea
Got load info.
SET_REGISTER
0xb000
0x95a6
SET_REGISTER
0xb004
0x0104
SET_REGISTER
0xb00c
0x1a200040
SET_REGISTER
0xb008
0x5611
SET_REGISTER
0xb030
0x1c00
SET_REGISTER
0xb038
0x00ff
PACKET_INFO
0xc0004000
0x0080
Checksum of file is 0x
FLASH
0xc0004000
0x
0x0080
Found 1 x CFI at 0x8000
No single x16 at 0x8400
No interleaved x16 at 0x8400
0x8000: No need to write
0x8001: No need to write
0x8002: No need to write
0x8003: No need to write
0x8004: No need to write
0x8005: No need to write
0x8006: No need to write
0x8007: No need to write
0x8008: No need to write
0x8009: No need to write
0x800a: No need to write
0x800b: No need to write
0x800c: No need to write
0x800d: No need to write
0x800e: No need to write
0x800f: No need to write
0x8010: No need to write
0x8011: No need to write
0x8012: No need to write
0x8013: No need to write
0x8014: No need to write
0x8015: No need to write
0x8016: No need to write
0x8017: No need to write
0x8018: No need to write
0x8019: No need to write
0x801a: No need to write
0x801b: No need to write
0x801c: No need to write
0x801d: No need to write
0x801e: No need to write
0x801f: No need to write
0x8020: No need to write
0x8021: No need to write
0x8022: No need to write
0x8023: No need to write
0x8024: No need to write
0x8025: No need to write
0x8026: No need to write
0x8027: No need to write
0x8028: No need to write
0x8029: No need to write
0x802a: No need to write
0x802b: No need to write
0x802c: No need to write
0x802d: No need to write
0x802e: No need to write
0x802f: No need to write
0x8030: No need to write
0x8031: No need to write
0x8032: No need to write
0x8033: No need to write
0x8034: No need to write
0x8035: No need to write
0x8036: No need to write
0x8037: No need to write
0x8038: No need to write
0x8039: No need to write
0x803a: No need to write
0x803b: No need to write
0x803c: No need to write
0x803d: No need to write
0x803e: No need to write
0x803f: No need to write
0x8040: No need to write
0x8041: No need to write
0x8042: No need to write
0x8043: No need to write
0x8044: No need to write
0x8045: No need to write
0x8046: No need to write
0x8047: No need to write
0x8048: No need to write
0x8049: No need to write
0x804a: No need to write
0x804b: No need to write
0x804c: No need to write
0x804d: No need to write
0x804e: No need to write
0x804f: No need to write
0x8050: No need to write
0x8051: No need to write
0x8052: No need to write
0x8053: No need to write
0x8054: No need to write
0x8055: No need to write
0x8056: No need to write
0x8057: No need to write
0x8058: No need to write
0x8059: No need to write
0x805a: No need to write
0x805b: No need to write
0x805c: No need to write
0x805d: No need to write
0x805e: No need to write
0x805f: No need to write
0x8060: No need to write
0x8061: No need to write
0x8062: No need to write
0x8063: No need to write
0x8064: No need to write
0x8065: No need to write
0x8066: No need to write
0x8067: No need to write
0x8068000

Re: [OpenWrt-Devel] Etrax support

2008-07-25 Thread Hinko Kocevar
MichelinoK wrote:
> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
> news:[EMAIL PROTECTED]
>> MichelinoK wrote:
>>> Thanks for the quick answer :)
>>>
>>> Just a question... what do you think I should do to get a working 8mb 
>>> image?
>>> I meandoes the 4mb images work or not?
>> I think it should work - 4Mb will be left unused.
>>
>> (I cannot test 4mb images)
>>
>> Why not?
> 
> Because the flash process just quit after some seconds before starting the 
> flash procedure, and it leave the foxboard untouched :(

Strange. I think I was able to flash Axis dev82 development board that bears 
6Mb of NOR flash with 4Mb image, but that was looong time ago. Maybe I'll dust 
dev82 off and try again..

Are you are using boot_linux and e100boot tools from Axis for flashing? Could 
you please post the error here.

> 
>>> I'm not a Linux expert, but I always wanna learn! And if i get some 
>>> working
>>> result, i'll post them here :)
>>>
>> Great! ;)
> 
> I think that all people here should (at least) understand what's behind the 
> "build process" :)
> I wanna leave Windows forever, I'm getting a lot of satisfaction with Linux 
> :)

I dig that! 8 years ago I did the same thing - no window(s) last with me ;)

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-24 Thread MichelinoK

"Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> MichelinoK wrote:
>> Thanks for the quick answer :)
>>
>> Just a question... what do you think I should do to get a working 8mb 
>> image?
>> I meandoes the 4mb images work or not?
>
> I think it should work - 4Mb will be left unused.
>
> (I cannot test 4mb images)
>
> Why not?

Because the flash process just quit after some seconds before starting the 
flash procedure, and it leave the foxboard untouched :(

>
>> I'm not a Linux expert, but I always wanna learn! And if i get some 
>> working
>> result, i'll post them here :)
>>
>
> Great! ;)

I think that all people here should (at least) understand what's behind the 
"build process" :)
I wanna leave Windows forever, I'm getting a lot of satisfaction with Linux 
:)

>
> Reagrds,
> Hinko
>
> -- 
> CETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: [EMAIL PROTECTED]
> Http: www.cetrtapot.si
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-24 Thread Hinko Kocevar
MichelinoK wrote:
> Thanks for the quick answer :)
> 
> Just a question... what do you think I should do to get a working 8mb image?
> I meandoes the 4mb images work or not?

I think it should work - 4Mb will be left unused.

 (I cannot test 4mb images)

Why not?

> I'm not a Linux expert, but I always wanna learn! And if i get some working 
> result, i'll post them here :)
> 

Great! ;)

Reagrds,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

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


Re: [OpenWrt-Devel] Etrax support

2008-07-23 Thread MichelinoK
Thanks for the quick answer :)

Just a question... what do you think I should do to get a working 8mb image?
I meandoes the 4mb images work or not? (I cannot test 4mb images)
I'm not a Linux expert, but I always wanna learn! And if i get some working 
result, i'll post them here :)


Sorry for my english :\ 



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


Re: [OpenWrt-Devel] Etrax support

2008-07-23 Thread john
as soon as the release is done, we will work on it. etrax is not going  
to be part of 808


Quoting MichelinoK <[EMAIL PROTECTED]>:

> I can successfully create images for 4mb targets, but i need 8mb images
> (i've a foxboard,and it support ONLY 8mb images).
> I've tryed changing the makefile to create 8mb images (simply changed the
> size inside the makefile), but it won't flash.
> Any suggestions/plan to support this device?
>
> Many thanks!
>
>
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
John Crispin
hacking, coding, etc
blogic on irc

___ __
   |   |.-.-.-.|  |  |  |..|  |_
   |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
   |___||   __|_|__|__||||__|  ||
|__| W I R E L E S S   F R E E D O M
   KAMIKAZE (bleeding edge) ---
* 10 oz Vodka   Shake well with ice and strain
* 10 oz Triple sec  mixture into 10 shot glasses.
* 10 oz lime juice  Salute!
   ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel