Remote IP setup of devices in a network

2011-11-08 Thread Sam Ravnborg
I am faced with a challenge that we ship devices which are all preconfigured to a fixed IP address, and we want to provide an easy solution to do remote IP configuration of all devices connected to the same network. In other words - all devices are reachable by a broadcast package. The network

Re: Remote IP setup of devices in a network

2011-11-08 Thread Sam Ravnborg
On Tue, Nov 08, 2011 at 07:11:09PM +, David Woodhouse wrote: On Tue, 2011-11-08 at 19:54 +0100, Sam Ravnborg wrote: The idea is to use an UDP broadcast to discover all devices, and a similar UDP broadcast to configure the devices. In the latter the MAC will be the key to address

Re: debugging multi threaded applicatiosn on arm - status?

2011-06-17 Thread Sam Ravnborg
Is it possible to bebug multi-threaded applications using gdb on ARM these days? It works for me, using various ARM 926 and Cortex A8 chips and kernel versions from 2.6.27 to the present day. Which version of gbd do you have? gdb version 7.x works much better than 6.x in my experience.

Re: [PATCH 5/5] KBUS source file

2011-02-28 Thread Sam Ravnborg
On Mon, Feb 28, 2011 at 10:25:41PM +, Tony Ibbs wrote: On 28 Feb 2011, at 19:23, Sam Ravnborg wrote: You are using /proc/* to something that is not process related. At lkml you will be requested to use something else. OK. That's mainly through ignorance of what I *should* be using

Re: [RFC][PATCH] KBUS messaging subsystem

2011-01-28 Thread Sam Ravnborg
[Edited cc: list as my smtp server refused to send the original reply] Our tentative patch is at http://kbus.googlecode.com/files/0001-KBUS-messaging-subsystem.patch The diffstat for the patch is: Documentation/Kbus.txt | 1189 ++ include/linux/kbus_defns.h | 666 ++

Re: How to create a git repo on git.kernel.org?

2009-10-19 Thread Sam Ravnborg
On Mon, Oct 19, 2009 at 03:40:44PM -0500, Bill Gatliff wrote: Guys: How does one go about creating a git tree on git.kernel.org? I'd like to create one there as a public repository for the PWM API stuff, and for a couple of boards that I'd like to get into mainline. Step one is to get

Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM

2009-08-07 Thread Sam Ravnborg
this it has my: Signed-off-by: Sam Ravnborg s...@ravnborg.org Sam diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index ce39dc5..4f980f2 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -87,15 +87,24 @@ endif ifneq

Re: [PATCH 5/5] Add support for LZO-compressed kernels on x86

2009-07-31 Thread Sam Ravnborg
On Fri, Jul 31, 2009 at 09:51:19AM +0200, Albin Tonnerre wrote: On Wed, Jul 29, 2009 at 11:02:58PM +0200, Sam Ravnborg wrote : On Wed, Jul 29, 2009 at 01:00:36PM -0700, H. Peter Anvin wrote: On 07/22/2009 07:01 AM, Albin Tonnerre wrote: This is the third and last part of the patch, which

Re: [PATCH 5/5] Add support for LZO-compressed kernels on x86

2009-07-29 Thread Sam Ravnborg
On Wed, Jul 29, 2009 at 01:00:36PM -0700, H. Peter Anvin wrote: On 07/22/2009 07:01 AM, Albin Tonnerre wrote: This is the third and last part of the patch, which contains the necessary changes to the x86 Kconfig and boot/compressed to allow the use of this new compression method

Re: [PATCH 06/14] Pramfs: Include files

2009-06-22 Thread Sam Ravnborg
On Mon, Jun 22, 2009 at 08:31:10PM +0100, Chris Simmonds wrote: Arnd Bergmann wrote: On Monday 22 June 2009, Marco wrote: Sorry, I meant it's not currently possible. At the moment the only way to use it as rootfs it's to copy all the data in an already mounted (empty) ram partition and

Re: [PATCH 06/14] Pramfs: Include files

2009-06-22 Thread Sam Ravnborg
It should be possible to read a file-system on your x86 64bit box that you wrote with your small powerpc target. For a (NV)RAM-based filesystem?? WTH??? dd the full image - dig into it. Usefull is you have post-mortem info there. Sam -- To unsubscribe from this list: send the

Re: [PATCH 06/14] Pramfs: Include files

2009-06-13 Thread Sam Ravnborg
On Sat, Jun 13, 2009 at 03:21:48PM +0200, Marco wrote: From: Marco Stornelli marco.storne...@gmail.com Include files. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -uprN linux-2.6.30-orig/fs/pramfs/pram_fs.h linux-2.6.30/fs/pramfs/pram_fs.h ---

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-12 Thread Sam Ravnborg
On Sun, Jan 11, 2009 at 11:50:31PM -0600, Mark A. Miller wrote: On Sun, Jan 11, 2009 at 11:35 PM, Sam Ravnborg s...@ravnborg.org wrote: There are several other packages which are broken for embedded architectures, which I will hopefully attempt to fix by submitting patches upstream

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-11 Thread Sam Ravnborg
There are several other packages which are broken for embedded architectures, which I will hopefully attempt to fix by submitting patches upstream. But this is why we should be cautious about including new tools for compiling the kernel. Sam Ravnborg was correct in that a C program to do

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-04 Thread Sam Ravnborg
On Sat, Jan 03, 2009 at 07:45:34PM -0600, Rob Landley wrote: With respect to your three patches the plan is to: - add the updated timeconst patch to kbuild-next - add the updated cpu-feature patch to kbuild-next - the patch touching headers_install will not be merged. The way forward

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Sam Ravnborg
Hi Wookey. Given the simplicitly of these patches I can't see any reason not to put them in Please do NOT do the mistake and think this the same thing. Rob's patch simplyfy the timecost stuff - and will be applied on this merit alone assuming comments will be addressed. But the serie rased

Re: LZMA inclusion

2008-12-03 Thread Sam Ravnborg
On Wed, Dec 03, 2008 at 08:58:52PM +0100, Bernhard Reutner-Fischer wrote: On Wed, Dec 03, 2008 at 11:36:45AM -0800, Tim Bird wrote: Gregers Petersen wrote: There was a small talk a few days ago involving a few of the OpenWrt developers and David Woodhouse. One of the topics discussed, was a

Re: LZMA inclusion

2008-12-03 Thread Sam Ravnborg
: Sam Ravnborg [EMAIL PROTECTED] Date: Wed, 3 Dec 2008 22:11:14 +0100 Subject: [PATCH] kconfig: fix options to check-lxdialog.sh As noted by Bernhard - fix it up. Cc: Bernhard Reutner-Fischer [EMAIL PROTECTED] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- scripts/kconfig/lxdialog/check

Re: LZMA inclusion

2008-12-03 Thread Sam Ravnborg
two into a simple make ... archprepare headers_install: Which architectures needs this archprepare? At least cris tripped this IIRC, at least before or around the time when cris's subarch handling was fixed (the asm-cris/arch-v10 vs. arch-v32 linking issue). It would be good to get rid

Re: [RFC 2.6.27 1/1] gpiolib: add support for batch set of pins

2008-11-27 Thread Sam Ravnborg
On Wed, Nov 26, 2008 at 12:51:27AM -0500, Jaya Kumar wrote: On Tue, Nov 25, 2008 at 11:15 PM, David Brownell [EMAIL PROTECTED] wrote: On Tuesday 25 November 2008, Eric Miao wrote: Using a bit mask will be more generic if the GPIOs are not contiguous. Yet I still doubt this will be generic

Re: [RFC 2.6.27 1/1] gpiolib: add support for batch set of pins

2008-11-27 Thread Sam Ravnborg
On Fri, Nov 28, 2008 at 07:43:31AM +0800, Jaya Kumar wrote: On Fri, Nov 28, 2008 at 4:01 AM, Sam Ravnborg [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 12:51:27AM -0500, Jaya Kumar wrote: On Tue, Nov 25, 2008 at 11:15 PM, David Brownell [EMAIL PROTECTED] wrote: On Tuesday 25 November

Re: [PATCH] add diffconfig utility (v2)

2008-06-27 Thread Sam Ravnborg
On Tue, Jun 24, 2008 at 10:56:06AM -0700, Tim Bird wrote: Sam Ravnborg wrote: When you consider it stabilized could you please drop me a new mail including full changelog and updated patch. And please cc: [EMAIL PROTECTED] + linux-kernel on the submission. Sam, I haven't gotten

Re: [PATCH 0/1] Embedded Maintainer(s), [EMAIL PROTECTED] list

2008-06-23 Thread Sam Ravnborg
On Mon, Jun 23, 2008 at 07:22:10PM +0200, Denys Vlasenko wrote: On Wednesday 30 April 2008 21:11, David Woodhouse wrote: On Wed, 2008-04-30 at 20:22 +0200, Andi Kleen wrote: David Woodhouse [EMAIL PROTECTED] writes: Andrew Morton has been saying recently that we need an 'embedded

Re: [PATCH 0/1] Embedded Maintainer(s), [EMAIL PROTECTED] list

2008-06-23 Thread Sam Ravnborg
On Mon, Jun 23, 2008 at 09:12:30PM +0200, Denys Vlasenko wrote: On Monday 23 June 2008 20:57, Sam Ravnborg wrote: I agree. And if we do want to pay attention to pure code size, there are other approaches -- like --gc-sections I have some patches in this area too. Were submitted

Re: [PATCH] add diffconfig utility

2008-06-12 Thread Sam Ravnborg
Hi Tim. The program is also now better structured, IMHO. -- Tim Seeing this programs gets frequent updates (good!) I have not yet applied it. When you consider it stabilized could you please drop me a new mail including full changelog and updated patch. And please cc: [EMAIL PROTECTED] +

Re: mainlining min-configs...

2008-06-11 Thread Sam Ravnborg
On Wed, Jun 11, 2008 at 12:09:56PM -0700, Tim Bird wrote: Sam Ravnborg wrote: When I get my kconfig patchset polished you will be able to do: make K=my_mini_config allnoconfig So you're renaming KCONFIG_ALLNOCONFIG then? Somehow yes. The K= notation I hope will see more use. Only

Re: [PATCH] console - Add configurable support for console charset translation

2008-06-04 Thread Sam Ravnborg
I can do a more controlled comparison if you're interested. What would be really useful would be to do some king of automated monitoring of the size of individual parts of the kernel in a few controlled configs. And then as son as somethings grows with 1% for example then to bring this to