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

2008-06-03 Thread David Woodhouse
On Tue, 2008-06-03 at 17:01 -0700, Tim Bird wrote: This is clearly an improvement. But it is missing this part of the original patch: Oops, well spotted. I've updated the patch in the git tree; thanks. (that's what comes of applying patches by hand -- I _knew_ I had to do that hunk, but

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

2008-06-03 Thread David Woodhouse
On Tue, 2008-06-03 at 20:03 -0500, Josh Boyer wrote: On Wed, 04 Jun 2008 01:16:37 +0100 David Woodhouse [EMAIL PROTECTED] wrote: On Tue, 2008-06-03 at 17:01 -0700, Tim Bird wrote: This is clearly an improvement. But it is missing this part of the original patch: Oops, well spotted

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

2008-06-04 Thread David Woodhouse
On Wed, 2008-06-04 at 13:07 +0300, Adrian Bunk wrote: On Wed, Jun 04, 2008 at 10:16:22AM +0100, David Woodhouse wrote: On Tue, 2008-06-03 at 22:13 -0500, Josh Boyer wrote: git.infradead.org/embedded-2.6.git Do you have plans to get that in -mm, or linux-next? Should

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

2008-06-04 Thread David Woodhouse
On Wed, 2008-06-04 at 12:55 +0100, Alan Cox wrote: Can we please get the ifdefs tided up before this goes in. For the moment this has a NAK from the tty maintainer but if the ifdefs turned went into headers where they belong and the code looked like say tc =

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

2008-06-04 Thread David Woodhouse
On Wed, 2008-06-04 at 15:07 +0100, Alan Cox wrote: If I merge this incremental patch, does that address your objections? Yes http://git.infradead.org/embedded-2.6.git?a=commitdiff;h=a29ccf6f8 -- dwmw2 -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body

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

2008-06-10 Thread David Woodhouse
On Tue, 2008-06-10 at 14:25 +0100, Will Newton wrote: On Tue, Jun 10, 2008 at 2:12 PM, Jamie Lokier [EMAIL PROTECTED] wrote: Wolfgang Denk wrote: Being unable to do this just because we now also would need a native Perl is indeed a PITA... You can run the Perl bit with ssh remote perl,

Re: Kernel boot problem on IXP422 Rev. A

2008-06-12 Thread David Woodhouse
On Thu, 2008-06-12 at 17:28 -0400, Glenn Henshaw wrote: On Thu, Jun 12, 2008 at 3:35 PM, Marcus Tangermann wrote: we currently try to boot a 2.6.21 kernel time to upgrade Wrong answer!!! Many embedded devices can't upgrade kernels easily because of customer requirements and

Re: about size optimizations (Re: Not as much ccache win as I expected)

2008-06-14 Thread David Woodhouse
On Sat, 2008-06-14 at 10:56 +0100, Oleg Verych wrote: I saw that. My point is pure text processing. But as it seems doing `make` is a lot more fun than to do `sh` `sed`. The problem is that it _isn't_ pure text processing. There's more to building with --combine than that, and we really do

Re: cross-compiling alternatives (was Re: [PATCH 0/1] Embedded Maintainer(s)...)

2008-06-16 Thread David Woodhouse
On Mon, 2008-06-16 at 11:49 +0100, Jamie Lokier wrote: But here's the thing: do you really want every package have code calling every different variation on a system call, at run time, until it finds one that works? No. That functionality lives in libc, if you want it at all. -- dwmw2 -- To

Re: cross-compiling alternatives (was Re: [PATCH 0/1] Embedded Maintainer(s)...)

2008-06-16 Thread David Woodhouse
On Mon, 2008-06-16 at 12:52 +0100, Jamie Lokier wrote: E.g. Calls to pread should _not_ be implemented as lseek+read+lseek on old kernels which don't have pread. That leads to race conditions and corruption in some applications. (I think this has really occurred, but I'm unable to find it

Re: Recommendation for activating a deferred module init in the kernel

2008-06-18 Thread David Woodhouse
On Wed, 2008-06-18 at 09:47 +0300, Gilad Ben-Yossef wrote: This may sound like a stupid question, but why are you compiling the modules statically? I wondered that. One potential reason to avoid modules is that they waste RAM -- you have to allocate an integral number of pages for each one,

Re: Recommendation for activating a deferred module init in the kernel

2008-06-18 Thread David Woodhouse
On Wed, 2008-06-18 at 09:20 +0100, David Woodhouse wrote: So the only real reason I can see to avoid modules in the _current_ kernel would be the wasted RAM, which should be something we can address. Tim, have I missed something? ... like the time it takes to actually load modules and do

Re: Recommendation for activating a deferred module init in the kernel

2008-06-18 Thread David Woodhouse
On Wed, 2008-06-18 at 10:57 +0200, Geert Uytterhoeven wrote: On Wed, 18 Jun 2008, Adrian Bunk wrote: On Wed, Jun 18, 2008 at 09:20:22AM +0100, David Woodhouse wrote: On Wed, 2008-06-18 at 09:47 +0300, Gilad Ben-Yossef wrote: This may sound like a stupid question, but why are you

Re: Recommendation for activating a deferred module init in the kernel

2008-06-18 Thread David Woodhouse
On Wed, 2008-06-18 at 13:33 +0300, Adrian Bunk wrote: But even after all optimizations CONFIG_MODULES=y will still cause a significant additional cost [1] when thinking in the dimensions of Tim's the 30 or so Linux-tiny patches that I use get me about 110k of reductions. For me, this is

Re: [patch 0/4] [resend] Add configuration options to disable features not needed on embedded devices

2008-07-31 Thread David Woodhouse
On Thu, 2008-07-31 at 02:40 -0700, David Miller wrote: From: Thomas Petazzoni [EMAIL PROTECTED] Date: Thu, 31 Jul 2008 11:27:03 +0200 Changes since previous post: * Add Matt Mackall's Signed-off-by on all patches * Make bonding and bridging select ethtool in the ethtool-related

Re: [patch 0/4] [resend] Add configuration options to disable features not needed on embedded devices

2008-07-31 Thread David Woodhouse
On Thu, 2008-07-31 at 02:55 -0700, David Miller wrote: From: David Woodhouse [EMAIL PROTECTED] Date: Thu, 31 Jul 2008 10:51:52 +0100 But there are a lot of people who really don't need these features and really want the option of leaving them out. I'll say it one last time. If you

Re: [patch 0/4] [resend] Add configuration options to disable features not needed on embedded devices

2008-07-31 Thread David Woodhouse
On Thu, 2008-07-31 at 03:02 -0700, David Miller wrote: I explained why I didn't want to apply the IGMP one too. Andrew didn't like my objections, but that doesn't mean I need to defend my position further. You said that it was part of the core BSD socket API and Like TCP and UDP, multicast

Re: [patch 2/4] Configure out file locking features

2008-07-31 Thread David Woodhouse
at it, and reported quite a useful win when he used it to combine arch/$ARCH/mm and mm/, and arch/$ARCH/kernel and kernel/. -- David WoodhouseOpen Source Technology Centre [EMAIL PROTECTED] Intel Corporation -- To unsubscribe from this list

Re: [patch 0/4] [resend] Add configuration options to disable features

2008-07-31 Thread David Woodhouse
On Thu, 2008-07-31 at 15:46 -0400, Josh Boyer wrote: On Thu, 2008-07-31 at 20:50 +0200, Ulrich Teichert wrote: Hi, I don't know of any embedded products that ship with NTP turned on. Well, I do. To be exact, I've developed parts of it. But it's numbers are only into the thousands,

Re: [patch 4/4] Configure out IGMP support

2008-08-01 Thread David Woodhouse
On Thu, 2008-07-31 at 11:27 +0200, Thomas Petazzoni wrote: This patchs adds the CONFIG_IGMP option which allows to remove support for the Internet Group Management Protocol, used in multicast. Multicast is not necessarly used by applications, particularly on embedded devices. As this is a

Re: [patch 0/4] [resend] Add configuration options to disable features

2008-08-01 Thread David Woodhouse
On Fri, 2008-08-01 at 12:15 -0700, Linus Torvalds wrote: On Thu, 31 Jul 2008, Josh Boyer wrote: On Thu, 2008-07-31 at 20:50 +0200, Ulrich Teichert wrote: I do not think of NTP as desktop or server application, but that's probably just me, No, it's not just you. NTP is useful

Re: [PATCH] embedded: fix vc_translate operator precedence

2008-08-04 Thread David Woodhouse
On Mon, 2008-08-04 at 10:29 +0200, Geert Uytterhoeven wrote: The above paragraph is not part of the patch description and should not end up in the git history, so it should be below the first `---' and above the diffstat, i.e. Since it reports successful testing, I figured I might as well keep

Re: [patch 4/4] Configure out IGMP support

2008-08-04 Thread David Woodhouse
On Mon, 2008-08-04 at 14:48 +0200, Thomas Petazzoni wrote: Le Fri, 01 Aug 2008 20:41:55 +0100, David Woodhouse [EMAIL PROTECTED] a écrit : The config option probably lives in net/Kconfig, not init/Kconfig. Yes, it could. But AFAIK, until now, all CONFIG_EMBEDDED-related options have been

Re: [PATCH 05/10] AXFS: axfs_profiling.c

2008-08-21 Thread David Woodhouse
data for a file system in another file system (/proc) seems not very straigtforward to me. I think it is worth considering to export this information via the same mount point. I would have said sysfs, rather than 'the same mount point'. -- David WoodhouseOpen

Re: [PATCH 00/10] AXFS: Advanced XIP filesystem

2008-08-25 Thread David Woodhouse
On Fri, 2008-08-22 at 09:51 -0700, Jared Hulbert wrote: Can you run mkfs.axfs on the same trivial directory on both ia32 and PPC64 and then get me the resulting images? git.infradead.org is a big-endian box, and I know you have an account there... -- David Woodhouse

Re: [patch 1/3] crypto: Add a zlib crypto module

2008-08-30 Thread David Woodhouse
compression interface sucks for what you're trying to achieve :) The main thing that's missing for JFFS2 is Compress as much of this as you can into X bytes -- David WoodhouseOpen Source Technology Centre [EMAIL PROTECTED] Intel Corporation

Re: Power cut in management

2008-10-18 Thread David Woodhouse
. -- David WoodhouseOpen Source Technology Centre [EMAIL PROTECTED] Intel Corporation -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Subject: [PATCH 00/16] Squashfs: compressed read-only filesystem

2008-10-22 Thread David Woodhouse
give you an account on git.infradead.org. -- David WoodhouseOpen Source Technology Centre [EMAIL PROTECTED] Intel Corporation -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a message to [EMAIL

Re: Wait for console to become available, v3.2

2009-04-21 Thread David Woodhouse
that something may have been lost. For bonus points, we could even make that 'dummy' tty driver buffer a limited amount of userspace output, maybe. If userspace cares, let _it_ wait, by using an ioctl to see what tty device it's _really_ attached to. -- David WoodhouseOpen

Re: Wait for console to become available, v3.2

2009-04-21 Thread David Woodhouse
On Tue, 2009-04-21 at 10:29 -0700, David VomLehn wrote: On Tue, Apr 21, 2009 at 06:11:11PM +0100, David Woodhouse wrote: ... The kernel output is going to be spewed when a console registers with CON_PRINTBUFFER anyway, and if we printk a warning about userspace console output being lost

Re: [PATCH 04/14] Pramfs: Mounting as root filesystem

2009-06-14 Thread David Woodhouse
. PRAMFS root option is not enabled if it's already enabled the NFS one. What do you think? Why use a major number at all? See how we handle mtd and ubi devices in prepare_namespace() -- can't you do something similar? -- David WoodhouseOpen Source Technology Centre

Re: How to move two valuables to x86 CPU register ebx, ecx by using ATA inline asm.

2009-11-20 Thread David Woodhouse
On Fri, 2009-11-20 at 09:04 +0300, stas wrote: It seems to me that this example code is not free of errors. After the third : we should list registers ebx and ecx to let gcc know they could change in asm section. __asm__ volatile ( movl (%0), %%ebx\n\t movl (%1), %%ecx\n\t

Re: [ANNOUNCE] CELF open project proposal

2009-12-02 Thread David Woodhouse
On Wed, 2009-12-02 at 13:46 -0800, Tim Bird wrote: It applies to anything in the embedded Linux ecosystem. This would very much include open source boot loaders like U-Boot. And coreboot. The world needs more coreboot. -- dwmw2 -- To unsubscribe from this list: send the line unsubscribe

Re: [ANNOUNCE] CELF open project proposal

2009-12-02 Thread David Woodhouse
On Thu, 3 Dec 2009, Aras Vaichas wrote: 2009/12/3 Tim Bird tim.b...@am.sony.com Mike Frysinger wrote: i know your e-mail intro states embedded Linux as does the wiki, but i'm gonna take a stab anyways.  does this apply to Linux only and not open source boot loaders (like U-Boot) ? It

Re: [ANNOUNCE] CELF open project proposal

2009-12-03 Thread David Woodhouse
On Thu, 2009-12-03 at 09:42 -0500, Josh Boyer wrote: Is it heretical to suggest a BSD licence for that too, to encourage adoption into other bootloaders? Or at least LGPL or the GPL with linking exception licence that libstdc++/eCos/JFFS2 have. Are you asking for a relicense of the

Re: How to store kernel pranic/oops

2009-12-28 Thread David Woodhouse
an MTD device using phram or something else, then point mtdoops at it. -- David WoodhouseOpen Source Technology Centre david.woodho...@intel.com Intel Corporation -- To unsubscribe from this list: send the line unsubscribe linux-embedded

[no subject]

2010-02-08 Thread David Woodhouse
On Mon, 2010-02-08 at 09:49 +0100, Peter Faasse wrote: unsubscribe linux-embedded To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a message to majord...@vger.kernel.org -- David WoodhouseOpen Source Technology Centre

Re: commit 432dc821 breaks machines

2010-10-27 Thread David Woodhouse
On Wed, 27 Oct 2010, Guennadi Liakhovetski wrote: Hi commit 432dc821c90114f9b0e00f6752a700e937516ade Author: H Hartley Sweeten hartl...@visionengravers.com Date: Thu Aug 19 18:18:21 2010 -0700 mtd: cleanup Kconfig dependencies breaks machines by undefining macros like

Re: [RFC PATCH] arm: drop Execute-In-Place

2011-05-05 Thread David Woodhouse
On Thu, 2011-05-05 at 11:03 -0700, Tim Bird wrote: On 05/05/2011 11:00 AM, Tim Bird wrote: On 05/05/2011 07:52 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: nearly no-one use it, only amop1, pxa and sa1100 implement it Sony uses this - a lot. Principally we're using this on a NEC

Re: Remote IP setup of devices in a network

2011-11-08 Thread David Woodhouse
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 individual devices. You could almost be describing link-local IPv6. Each

Re: [PATCH RFC 1/5] scripts: Add sortextable to sort the kernel's exception table.

2011-11-20 Thread David Woodhouse
On Sun, 2011-11-20 at 15:26 -0800, H. Peter Anvin wrote: If we're going to do this at build time, I would suggest using a collisionless hash instead. The lookup time for those are O(1), but they definitely need to be done at build time. Is the lookup time really an issue? -- dwmw2