On Fri, 13 Jun 2008, Luigi 'Comio' Mantellini wrote: > I'm still working to port OpenWRT on my architecture (m68k/coldfire). I
> diff --git a/target/linux/generic_m68k/config-default > b/target/linux/generic_m68k/config-default > new file mode 100644 > index 0000000..6f8acb5 > --- /dev/null > +++ b/target/linux/generic_m68k/config-default > @@ -0,0 +1,616 @@ > +# > +# Automatically generated make config: don't edit > +# Linux kernel version: 2.6.25 > +# Mon May 12 19:37:01 2008 > +# > +CONFIG_MIPS=y ^^^^ That looks a bit strange for an m68k config... > diff --git a/target/linux/generic_m68k/image/lzma-loader/src/Makefile > b/target/linux/generic_m68k/image/lzma-loader/src/Makefile > new file mode 100644 > index 0000000..910172c > --- /dev/null > +++ b/target/linux/generic_m68k/image/lzma-loader/src/Makefile > @@ -0,0 +1,68 @@ > +# > +# Copyright (C) 2006 OpenWrt.org > +# > +# This is free software, licensed under the GNU General Public License v2. > +# See /LICENSE for more information. > +# > +RAMSTART = 0x80000000 > +RAMSIZE = 0x00100000 # 1MB > +LOADADDR = 0x80400000 # RAM start + 4M > +KERNEL_ENTRY = 0x80001000 > +IMAGE_COPY:=0 > + > +CROSS_COMPILE = mips-linux- ^^^^ Another one... > diff --git a/target/linux/generic_m68k/image/lzma-loader/src/decompress.c > b/target/linux/generic_m68k/image/lzma-loader/src/decompress.c > new file mode 100644 > index 0000000..45ac509 > --- /dev/null > +++ b/target/linux/generic_m68k/image/lzma-loader/src/decompress.c > +#define cache_unroll(base,op) \ > + __asm__ __volatile__( \ > + ".set noreorder;\n" \ > + ".set mips3;\n" \ > + "cache %1, (%0);\n" \ > + ".set mips0;\n" \ > + ".set reorder\n" \ > + : \ > + : "r" (base), \ > + "i" (op)); Erhm... And there are many more... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel