Re: [OpenWrt-Devel] kernel command-line parameters brcm47xx

2009-02-26 Thread Harald Schiöberg
ernel command line > > regards > holger > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel - -- Harald Schiöberg Technische Universität Berl

[OpenWrt-Devel] [PATCH] package netcat broken

2009-02-06 Thread Harald Schiöberg
The netcat package is broken if char == unsigned char (this is true for at least armeb) see also http://sourceforge.net/tracker/index.php?func=detail&aid=1068324&group_id=52204&atid=466046 patch is attached. -- Harald Schiöberg Technische Universität Berlin | T-Laboratories |

Re: [OpenWrt-Devel] rebooting from a kernel on external storage

2009-01-26 Thread Harald Schiöberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian J. Murrell wrote: > On Wed, 2009-01-21 at 17:46 +0100, Harald Schiöberg wrote: >> here is the script we use to boot an Openwrt from a running Openwrt. > > Thanx! > >> Make sure to have kexec-tools installed > &g

Re: [OpenWrt-Devel] rebooting from a kernel on external storage

2009-01-21 Thread Harald Schiöberg
"kexec"s a new kernel from the USB storage once it's mounted at /. I > wonder how portable kexec is amongst the processors Linux runs on. kexec runs on mips,arm,i386 - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.d

Re: [OpenWrt-Devel] Where is the code that causes jffs2 to be built-in

2008-12-15 Thread Harald Schiöberg
> > Could someone give me a hint? run "make kernel_menuconfig" to manually disable certain modules. harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)39

Re: [OpenWrt-Devel] repeated kernel config questions

2008-11-10 Thread Harald Schiöberg
on't have the build structure in front of me, >> but the standard kernel config recipe is that, if you have >> no .config file, the build will grab the "default" (and, >> hence, you might have to answer questions about "NEW" options.) uhm, the build-system

Re: [OpenWrt-Devel] never ending story of patches not being applied

2008-07-25 Thread Harald Schiöberg
Patch Submission Process 1. Use git or svn to create a patch. Creating patches manually with diff -urN also works, but is usually unnecessary. 2. Send a mail to openwrt-devel lists.openwrt.org with the following contents: [..] - -- Harald Schiöberg Technische Universität Berlin | T-Labora

[OpenWrt-Devel] kexec-tools

2008-07-18 Thread Harald Schiöberg
ef __KERNEL__ static inline __deprecated unsigned long virt_to_bus(void *x) { return __virt_to_bus((unsigned long)x); @@ -197,6 +201,8 @@ { return (void *)__bus_to_virt(x); } +#endif + /* * Conversion between a struct page and a physical address. - -- Harald Schiöbe

Re: [OpenWrt-Devel] customizing a firmware

2008-06-18 Thread Harald Schiöberg
re? i.e. http://gentoo-wiki.com/Mounting_a_block_device_with_JFFS2 if your target is big-endian, you need jffs2dump to convert the endianess of the filesystem first. > Thanx for any questions you would care to answer, > b. > > > > -------- > > __

Re: [OpenWrt-Devel] [OpenWrt-Commits] r11301 - in trunk/target/linux/ixp4xx: . patches-2.6.25

2008-06-10 Thread Harald Schiöberg
and read/write works flawless (and really fast :-) , but: [EMAIL PROTECTED]:/# fdisk /dev/sda Unable to seek on /dev/sda [EMAIL PROTECTED]:/# It seems to be r11301, I'm not 100% sure though. Any ideas, workarounds? Harald - -- Harald Schiöberg Technische Universität Berlin | T-La

Re: [OpenWrt-Devel] Some uClibc issues with kexec

2008-05-21 Thread Harald Schiöberg
-2.6.25.4/include/asm-arm/memory.h *is* patched. I think that this file is extracted from the linux-sources, but it looks like the linux-headers package, which is "build" before uClibc, is installed unpatched. Is that true? How to handle that? thanks harald - -- Harald Schiöberg

[OpenWrt-Devel] Some uClibc issues with kexec

2008-05-20 Thread Harald Schiöberg
o the supported architectures in my opinion. - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using

Re: [OpenWrt-Devel] Xilinx Spartan 3E Starter Kit port - JFFS2 question

2008-05-14 Thread Harald Schiöberg
now whether jffs2 is fixed-endian or host-endian. harald ps: please try not to break threads by replying to arbitrary mails. - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)3

Re: [OpenWrt-Devel] Xilinx Spartan 3E Starter Kit port - JFFS2 question

2008-05-13 Thread Harald Schiöberg
//gentoo-wiki.com/Mounting_a_block_device_with_JFFS2 >> >> harald > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel - -- Harald Schiöbe

Re: [OpenWrt-Devel] Xilinx Spartan 3E Starter Kit port

2008-05-12 Thread Harald Schiöberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >I can't seem to figure out how to either "mount" or uncompress the > jffs2 filesystem that is produced by the OpenWRT compile. > >I try the obvious and get an unknown filesystem error. > >>mount file.jffs2 mnt -o loop -t jffs2 > >H

Re: [OpenWrt-Devel] Building gdbserver

2008-04-29 Thread Harald Schiöberg
>"Toolchain options" harald btw: there is a patch against openwrt for gdb 6.7.1 under http://svn.net.t-labs.tu-berlin.de/svn/magnets/openwrt/patches/200-gdb-multiversion.patch http://svn.net.t-labs.tu-berlin.de/svn/magnets/openwrt/patches/201-gdbserver-multiversion.patch - -- Harald

Re: [OpenWrt-Devel] Xilinx Spartan 3E Starter Kit port

2008-04-01 Thread Harald Schiöberg
s1 -march=r3000 > -mtune=r3000" flag is given. > Did you already try "make kernel_menuconfig", as I sugested in my previous mail? make menuconfig only sets the global make-flags, and the kernel overrides them. harald - -- Harald Schiöberg Technische Universität Berl

Re: [OpenWrt-Devel] Xilinx Spartan 3E Starter Kit port

2008-03-26 Thread Harald Schiöberg
re you can call $ make kernel_menuconfig and change the target of the kernel. to make it more permanent, you'd copy target/linux/brcm47xx to target/linux/r3000 and start to modify all the files in it :) harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories

Re: [OpenWrt-Devel] Adding a target

2008-03-26 Thread Harald Schiöberg
ows. Can you tell me wath am I > missing? did you trunk$ rm -r tmp before running menuconfig? harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534

Re: [OpenWrt-Devel] should "make package/symlinks" process xwrt symlinks as well?

2008-03-19 Thread Harald Schiöberg
nce. probably the only way would be a curses-frontend to $scripts/feeds and something like a $make package/select target to call it but I consider that eye-candy and not really necessary. better documentation of the scripts would do the job fine in my opinion. harald - -- Harald Sc

Re: [OpenWrt-Devel] should "make package/symlinks" process xwrt symlinks as well?

2008-03-19 Thread Harald Schiöberg
s in the config system would be beneficial. btw: try this: $ scripts/feeds help harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -BEGIN PGP SIGNA

Re: [OpenWrt-Devel] the rest of the list of non-building packages

2008-03-18 Thread Harald Schiöberg
community. just in case somebody knows somebody ;-) - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GN

Re: [OpenWrt-Devel] broken link "package/openwrt-packages/packages"

2008-03-18 Thread Harald Schiöberg
it be there? Nope, its not there for me, but none of my build-dirs has been distcleaned for quite a while. harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47

Re: [OpenWrt-Devel] broken link "package/openwrt-packages/packages"

2008-03-18 Thread Harald Schiöberg
d with make package/symlinks and feeds.conf hope that helps harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -BEGIN PGP SIGNATURE- Ve

Re: [OpenWrt-Devel] Error while building kamikaze

2008-03-13 Thread Harald Schiöberg
gt; make: *** [world] Error 2 > > this should be fixed in #10403 of 02/06/08 (trunk/package/kernel/modules/other.mk, lines 233ff). You can try to play around here. harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu

[OpenWrt-Devel] kernel relocation

2008-02-28 Thread Harald Schiöberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, the change that caused the (closed) ticket #3171 is that the kernel is no longer able to run from any physical memory address. this breaks kexec. the bug is closed, because all main openwrt functionality works, but i need the kexec as well :/ doe

Re: [OpenWrt-Devel] WIP-Day February

2008-02-22 Thread Harald Schiöberg
IP-day: Build host: 4x Xeon, 8GB RAM, 2TB disk, 1Gbit uplink connected via ethernet and serial and PoE (to powercycle) to any amount of: - - avila - - routerboard 532 - - asus 500 GP (no serial) - - WRT54GL (no serial) cya in IRC tomorrow pagefault ps: If you are in Berlin you are welcome to v

Re: [OpenWrt-Devel] null point dereference with ixp400 platform (netgear WAG302v1)

2008-02-13 Thread Harald Schiöberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giovanni Di Stasi wrote: > Il Tuesday 12 February 2008 11:33:54 hai scritto: > > I took a snapshop of openwrt (that dates back to 17/01/2008), and works (so > the bug must have been introduced after that date. It seems that the kernel > 2.6.23-16 in

[OpenWrt-Devel] What if a package needs a kernel-option

2008-01-16 Thread Harald Schiöberg
do it, like a Makefile-select statement or something? Cheers, Harald [1] http://svn.net.t-labs.tu-berlin.de/svn/magnets/openwrt/packages/kexec/ - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353

[OpenWrt-Devel] mtd on mipsel (asus500gp)

2008-01-15 Thread Harald Schiöberg
Hi, I'm trying to run sysupgrade on the asus. I fixed the scripts so that they actually run through, but mtd in the end fails. So I started to play with mtd: [EMAIL PROTECTED]:~# /sbin/mtd refresh rootfs Refreshing mtd partition rootfs ... Could not open mtd device: rootfs Could not open mtd

[OpenWrt-Devel] [PATCH] gdb multiple version support

2008-01-08 Thread Harald Schiöberg
- Added support for multiple versions of gdb (in line with the rest of toolchain) - Added gdb-6.7.1 (marked experimental, default is still 6.3) - Adapted gdbserver package accordingly. *Note for applying the patch* I don't know how to build a patch that reflects this, so this needs to be done manu

Re: [OpenWrt-Devel] [PATCH] Mac address fixup for avila NPE

2008-01-04 Thread Harald Schiöberg
> thats why I added the set_mac_address function and i'm calling it in the > initialization. you should get something stange now from > if ( (netdev = dev_get_by_name("eth0")) ) > netdev->set_mac_address(netdev, &address); > > I'll check that. > Harald This patch seem

Re: [OpenWrt-Devel] [PATCH] Mac address fixup for avila NPE

2008-01-04 Thread Harald Schiöberg
Imre Kaloz wrote: > Thanks, I've applied the Avila specific part as 300-avila_fetch_mac.patch. > The runtime mac changing part broke networking, so I left that one out for > now. the problem is, that the new kernel is initializing the npe before the eeprom, and thus brings them up with no mac ad

[OpenWrt-Devel] [PATCH] Mac address fixup for avila NPE

2008-01-03 Thread Harald Schiöberg
Fixes the MAC address handling on avila NPE on startup Added support for changing the mac address at runtime Replaces/based-on 740-avila_loft_mac_platform.patch for 2.6.21 Signed-off-by: Harald Schioeberg <[EMAIL PROTECTED]> Index: target/linux/ixp4xx/patches-2.6.23/203-npe_macaddress.patch ===

[OpenWrt-Devel] Avila and mac-address

2008-01-03 Thread Harald Schiöberg
Hi, with trunk(10094) on avila I have the problem, that the mac-address is all zeros. nslu2 has: if (mtd->read(mtd, 0x3FFB0, 6, &retlen, mac) == 0 && retlen == 6) { printk(KERN_INFO "nslu2 mac: %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);

Re: [OpenWrt-Devel] IXP425 not booting

2008-01-03 Thread Harald Schiöberg
>> I did a distclean, but if you say that it should work, I'll try a >> complete rm -r trunk/ right now. that fixed it. distclean was not clean enough. thanks. Harald ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.op

Re: [OpenWrt-Devel] IXP425 not booting

2008-01-03 Thread Harald Schiöberg
>> is there a known issue currently? >> > > I've tested a build yesterday on my 2348-2 and didn't have any issues. Did > you modify anything in the toolchain/kernel? Is this a clena build or did > you just svn up from an older checkout? I did a distclean, but if you say that it should work,

[OpenWrt-Devel] IXP425 not booting

2008-01-03 Thread Harald Schiöberg
Hi, I have the problem, that my avila gets stuck after reboot with latest (10090) trunk. Uncompressing Linux.. done, booting the kernel. Linux version 2.6.23.12 ([EMAIL PROTECTED]) (gcc version 4.1.2) #1 Thu Jan 3 18:59:53 CET 2008 C