[uClinux-dev] Miscellaneous Configuration - RAMFS Image option

2007-04-09 Thread Mike Frysinger
i cant seem to find where this option is actually used ... can someone point it out to me ? CONFIG_USER_RAMIMAGE_NONE CONFIG_USER_RAMIMAGE_RAMFS64 CONFIG_USER_RAMIMAGE_RAMFS128 CONFIG_USER_RAMIMAGE_RAMFS256 CONFIG_USER_RAMIMAGE_RAMFS512 CONFIG_USER_RAMIMAGE_RAMFS1024

[uClinux-dev] enumerating busybox completely and automatically (was Re: Busybox who Applet)

2007-05-08 Thread Mike Frysinger
On Monday 07 May 2007, Greg Ungerer wrote: Doug Kehn wrote: Attached is a patch, for review, which allows the Busybox who applet to be selected from the menu system. Looks good, applied. rather than maintain this duplicated effort for Blackfin's uClinux-dist, i just put together an awk

[uClinux-dev] [patch] tweak user/Makefile a bit

2007-05-17 Thread Mike Frysinger
ROOTDIR works when it has an absolute path, not a relative one ... so ive changed it from defaulting to .. to $(PWD)/.. ive also inserted at the end of the file: -include Makefile.local this way people can insert their own new rules into user/Makefile.local without having to modify

[uClinux-dev] [patch ping] add support for source syntax to .help files

2007-05-17 Thread Mike Frysinger
didnt get any response here: http://mailman.uclinux.org/pipermail/uclinux-dev/2007-January/041762.html so posting again: attached patch adds a source keyword to .help files just like the source keyword that exists for regular config.in files -mike uclinux-config-help-source.patch Description:

[uClinux-dev] [patch] search $LINUXDIR for default kernel config file as well

2007-05-17 Thread Mike Frysinger
ive tweaked config/setconfig so that if vendors/$VENDOR/$PRODUCT/config.$LINUXDIR does not exist, it will fall back as a last resort to $LINUXDIR/arch/$ARCH/configs/${PRODUCT}_defconfig this allows some people (like Blackfin) to move our kernel defconfigs out of uClinux-dist and into the kernel

[uClinux-dev] Re: [patch] search $LINUXDIR for default kernel config file as well

2007-05-17 Thread Mike Frysinger
On 5/17/07, Mike Frysinger [EMAIL PROTECTED] wrote: ive tweaked config/setconfig so that if vendors/$VENDOR/$PRODUCT/config.$LINUXDIR does not exist, it will fall back as a last resort to $LINUXDIR/arch/$ARCH/configs/${PRODUCT}_defconfig blah, that patch was reversed ... let's try again shall

[uClinux-dev] using last occurrence of a help option rather than first

2007-05-26 Thread Mike Frysinger
the current sed script in config/scripts/Menuconfig rips out the first occurrence of help text it finds and then quits ... i'd prefer it be the more standard where the last found gets precedence as this would make it easier for people who diverge from mainline uClinux-dist in my case, we've

[uClinux-dev] Small tweaks to lib/Makefile

2007-05-26 Thread Mike Frysinger
customizations into that file rather than changing Makefile. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- Index: lib/Makefile === RCS file: /var/cvs/uClinux-dist/lib/Makefile,v retrieving revision 1.1.1.12 diff -u -p -r1.1.1.12

[uClinux-dev] [patch] touchup user/jpegview/Makefile

2007-05-27 Thread Mike Frysinger
This patch simplifies the jpegview Makefile and adds proper .PHONY target. Signed-off-by: Mike Frysiner [EMAIL PROTECTED] --- Index: jpegview/Makefile === RCS file: /var/cvs/uClinux-dist/user/jpegview/Makefile,v retrieving revision

Re: [uClinux-dev] Small tweaks to lib/Makefile

2007-05-28 Thread Mike Frysinger
On Monday 28 May 2007, Greg Ungerer wrote: With the refactored library configuration there is no longer any FORCE options. Just the single library config. It is much cleaner than before. i guess i'll wait for this to actually be released then so i can look at it -mike signature.asc

[uClinux-dev] bogus temp file in netperf and ulogd dirs

2007-05-29 Thread Mike Frysinger
looks like these can be scrubbed: user/netperf/README.windows~ user/ulogd/ulogd.conf.in.rej -mike signature.asc Description: This is a digitally signed message part. ___ uClinux-dev mailing list uClinux-dev@uclinux.org

[uClinux-dev] [patch] fix building dhcpcd-new with sanitized headers

2007-05-29 Thread Mike Frysinger
Newer kernels no longer export linux/autoconf.h so ive fixed dhcpcd-new to only pull in this file when dealing with CONFIG_LEDMAN (assuming that feature only works with old kernels). Perhaps people just want to outright delete the line, doesnt matter to me. Signed-off-by: Mike Frysinger [EMAIL

Re: [uClinux-dev] bogus temp file in netperf and ulogd dirs

2007-05-29 Thread Mike Frysinger
On 5/29/07, David McCullough [EMAIL PROTECTED] wrote: Jivin Mike Frysinger lays it down ... looks like these can be scrubbed: user/netperf/README.windows~ Already gone, which dist did you see this in ? CVS -mike ___ uClinux-dev mailing list

Re: [uClinux-dev] [patch] fix building dhcpcd-new with sanitized headers

2007-05-29 Thread Mike Frysinger
On Tuesday 29 May 2007, David McCullough wrote: Jivin Mike Frysinger lays it down ... Newer kernels no longer export linux/autoconf.h so ive fixed dhcpcd-new to only pull in this file when dealing with CONFIG_LEDMAN (assuming that feature only works with old kernels). Perhaps people just

[uClinux-dev] [RFC/RFE] tweak to handling of packages

2007-05-29 Thread Mike Frysinger
would it be possible to move to (what i think is) a cleaner way of handling packages ? ive started doing this in our Blackfin uclinux-dist: lib/libpng/libpng-1.2.16/ lib/libpng/libpng-1.2.18/ lib/libpng/Makefile and in the Makefile, the first line simply reads: VER = libpng-1.2.18 and the rest

[uClinux-dev] #if 0 in inetd start_child()

2007-05-29 Thread Mike Frysinger
the latest inetd does not seem to work for me with rcp/rsh ... if i change the '#if 0' to '#if 1' in start_child() (the stderr/stdout redirection), things work any idea the history behind this block of code ? -mike signature.asc Description: This is a digitally signed message part.

[uClinux-dev] [RFC] overhaul library handling with a staging directory

2007-05-30 Thread Mike Frysinger
as we added support for real shared libraries in our Blackfin dist via FDPIC ELF, we quickly hit limitations due to the way libraries are handled currently. basically everything is done by symlinking static archives and header files into specific directories and having the rest of the packages

Re: [uClinux-dev] [patch] fix building dhcpcd-new with sanitized headers

2007-06-04 Thread Mike Frysinger
On Wednesday 30 May 2007, David McCullough wrote: Jivin Gavin Lambert lays it down ... Quoth Mike Frysinger: then why not integrate it into the configure script ? have it test to see if the ledman.h header exists and if so, it'll define HAVE_LINUX_LEDMAN_H like every other non

Re: [uClinux-dev] [patch] fix building of ntpclient (__adjtimex())

2007-06-05 Thread Mike Frysinger
On Tuesday 05 June 2007, Greg Ungerer wrote: Mike Frysinger wrote: uClibc provides adjtimex(), not __adjtimex(). glibc implements these as But the modified uClibc in the dist does. It has for a couple of years. since upstream uClibc has punted those aliases and adjtimex() is available

Re: [uClinux-dev] Add menu option for static/dynamic device nodes

2007-06-05 Thread Mike Frysinger
On Tuesday 05 June 2007, Greg Ungerer wrote: Mike Frysinger wrote: We've added support to Blackfin for using dynamic device nodes in /dev so in order to control this, we added a configuration menu entry which vendors can key off of when generating images. I don't like the idea of putting

[uClinux-dev] [patch] make sure to force Kconfig regeneration

2007-06-12 Thread Mike Frysinger
menuconfig` commands will result in [Error 1] from make and no error message explaining what's actually wrong. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] Index: Makefile === RCS file: /usr/local/src/uClinux/local-cvs/,v/Makefile,v

[uClinux-dev] [patch] all Kconfig files in vendors/ subdir

2007-06-12 Thread Mike Frysinger
this patch allows for per-arch/board/vendor Kconfig files (and thus options) by generating vendors/Kconfig based on `find` in the vendors dir. this way we can keep Blackfin options (like file format and dynamic device nodes) in our own directories. Signed-off-by: Mike Frysinger [EMAIL PROTECTED

[uClinux-dev] [patch] fixup tone includes, usage, and default magnitude

2007-06-19 Thread Mike Frysinger
the usage to document the -m option and more accurately describe the -f flag. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- Index: user/play/tone.c === RCS file: /usr/local/src/uClinux/local-cvs/,v/user/play/tone.c,v retrieving revision

Re: [uClinux-dev] BusyBox Patch for PCI Compliant Passwords

2007-06-22 Thread Mike Frysinger
On Friday 22 June 2007, Glenn Henshaw wrote: The attached patches against busybox 1.0 make this a configurable option (CONFIG_PCI_PASSWORDS). The first file is the patch to busybox itself, and the second patches the uClinux distribution to access the setting. uClinux-dist has moved beyond

Re: [uClinux-dev] Investigation of uCLinux

2007-08-23 Thread Mike Frysinger
On Thursday 23 August 2007, Peter Poulsen wrote: My employer has assigned me to do some investigation into uCLinux to see if it is something that we could use in our products. We are planing to use a Blackfin CPU (which model has not been decided yet). http://blackfin.uclinux.org/

Re: [uClinux-dev] Need more slave selects on BF537 SPI

2007-08-23 Thread Mike Frysinger
On Thursday 23 August 2007, Steve Strobel wrote: ugh, please do not cross-post to the Blackfin forum e-mail gateway and other lists at the sametime. -mike signature.asc Description: This is a digitally signed message part. ___ uClinux-dev mailing

Re: [uClinux-dev] [Fwd: convert ld-elf2flt to C program]

2007-09-20 Thread Mike Frysinger
On Friday 29 December 2006, Mike Frysinger wrote: On Tuesday 12 September 2006 18:46, David McCullough wrote: Jivin Mike Frysinger lays it down ... On Tuesday 12 September 2006 12:27, Nathan Sidwell wrote: I posted this patch and pinged it a few times, but to no avail. Is no one

Re: [uClinux-dev] [patch] allow ftlhdr -s option to take hex values

2007-09-23 Thread Mike Frysinger
On Sunday 23 September 2007, David McCullough wrote: Jivin Mike Frysinger lays it down ... had this sitting around in Blackfin svn for ~1.5 years ;) this allows the stack option of flthdr to be specified in hex See how this version works for you, didnt realize that %i also scans in hex

[uClinux-dev] [patch] add optional stub for libintl_dgettext()

2007-10-10 Thread Mike Frysinger
the intl subdir in binutils may redirect some funcs with libintl_* prefixes (like building for win32), so the attached patch adds a stub like the existing one for dcgettect() ... this fixes building of elf2flt for me for mingw targets -mike signature.asc Description: This is a digitally

Re: [uClinux-dev] do_initcalls() where is vmlinuz set up to populate between __initcall_start to end

2007-10-15 Thread Mike Frysinger
On Monday 15 October 2007, [EMAIL PROTECTED] wrote: Yes I have puzzled through this and read a lot of material and code but have not quite found this answer. you're wondering how the initcall mechanism works and how to use it yourself ? -mike signature.asc Description: This is a digitally

Re: [uClinux-dev] Porting Linux programs to uClinux and other

2007-10-30 Thread Mike Frysinger
On Tuesday 30 October 2007, Michael Schnell wrote: I'm new to this, too, but one of the main differences is that in µCLinux you don't have fork(). You need to use vfork() instead that works somewhat different. If course this is only a point with multithreaded programs. err, not really ...

Re: [uClinux-dev] Re: Porting Linux programs to uClinux and other

2007-10-30 Thread Mike Frysinger
On Tuesday 30 October 2007, Gavin Lambert wrote: Quoth Felipe Uderman: I am having some trouble finding uClinux documentation. I guess for now that most of it is this list and the ucdot.org and uClinux websites. Is there a document that explains how does uClinux works on providing the

Re: [uClinux-dev] Re: Porting Linux programs to uClinux and other

2007-10-31 Thread Mike Frysinger
On Wednesday 31 October 2007, Gavin Lambert wrote: Quoth Mike Frysinger: On Tuesday 30 October 2007, Gavin Lambert wrote: Just the opposite. As Greg said, at the driver level uClinux *is* Linux s/at the driver level// Well, I was talking about the kernel, so in the context

Re: [uClinux-dev] Re: Porting Linux programs to uClinux and other

2007-11-05 Thread Mike Frysinger
On Sunday 04 November 2007, Michael Schnell wrote: While the recommended way is to do Kernel drivers for any hardware access (as it's required in standard Linux), with µCLinux it's possible to directly access any address (and thus even peripheral hardware) from userland. Unless interrupts are

Re: [uClinux-dev] problems with BF533-EZKIT

2007-11-14 Thread Mike Frysinger
On Wednesday 14 November 2007, Gabriel Leitao wrote: We have one BF533-EZKIT and we are trying to embed the bootloader using VisualDSP++ but communication with the board isn't working via serial port. .. Did someone pass through the same problem? Blackfin questions are best handled on

Re: [uClinux-dev] [PATCH] busybox: define BB_NOMMU if __uClinux__

2007-11-20 Thread Mike Frysinger
On Tuesday 20 November 2007, Thomas Chou wrote: Need this flag to compile busybox when we don't have vaild uClibc flags. __uClinux__ was removed from busybox on purpose as it is not a proper/valid define -mike signature.asc Description: This is a digitally signed message part.

Re: [uClinux-dev] Blackfin and 16550 UART

2007-12-13 Thread Mike Frysinger
On Thursday 13 December 2007, Jan Fristedt wrote: I'm new here and don't know if this is the right place to ask about Blackfin running uClinux and UARTs. generally Blackfin support happens at: http://blackfin.uclinux.org/ I need to add some kind of UARTs to a BF561 project. I would like to

Re: [uClinux-dev] Blackfin and 16550 UART

2007-12-14 Thread Mike Frysinger
On Friday 14 December 2007, Karthik Balaguru wrote: FONT face=Default Sans Serif,Verdana,Arial,Helvetica,sans-serif size=2DIV please fix your mail client and resend your responses. html is not usable. thanks. -mike signature.asc Description: This is a digitally signed message part.

Re: [uClinux-dev] 17'' LCD with USB or Serial Interface

2007-12-31 Thread Mike Frysinger
On Monday 31 December 2007, Robin Getz wrote: On Sat 29 Dec 2007 06:32, Marcio Campos de Lima pondered: Does anybody know of a 17 LCD which could be connected to a USB interface or Serial interface ? There are a few USB - VGA adapters that work with X. I think there are even drivers in

[uClinux-dev] uclinux-dist and patches

2008-01-04 Thread Mike Frysinger
could we use the size of the patch as an indication of when a new release should be snapshotted ? the current patch (20071205) is about 60% the size of the dist it is against (20070130) ;) -mike signature.asc Description: This is a digitally signed message part.

Re: [uClinux-dev] GPIO as address lines?

2008-01-21 Thread Mike Frysinger
On Monday 21 January 2008, Karthik Balaguru wrote: FONT face=Default Sans Serif,Verdana,Arial,Helvetica,sans-serif please fix your e-mail client -mike signature.asc Description: This is a digitally signed message part. ___ uClinux-dev mailing list

Re: [uClinux-dev] Status of SDIO support (for BF548)

2008-01-23 Thread Mike Frysinger
blah, writing e-mails via vnc is such a pain ;) On Wednesday 23 January 2008, [EMAIL PROTECTED] wrote: I'm looking at the BlueTechnix CM-BF548/eval combo for testing an SDIO device. Since it's not yet available I'm wondering about a few things, and hoping maybe you guys can help me...

Re: [uClinux-dev] [patch] all Kconfig files in vendors/ subdir

2008-01-26 Thread Mike Frysinger
On Saturday 07 July 2007, Mike Frysinger wrote: On Tuesday 12 June 2007, Mike Frysinger wrote: this patch allows for per-arch/board/vendor Kconfig files (and thus options) by generating vendors/Kconfig based on `find` in the vendors dir. this way we can keep Blackfin options (like file

[uClinux-dev] [patch] fix parallel build failure in net-tools subdir

2008-01-29 Thread Mike Frysinger
fixes this by having everything depend on the subdir target. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- --- uClinux/local-cvs/uClinux-dist/user/net-tools/Makefile 2008-01-04 22:02:42.0 -0500 +++ blackfin/svn/uclinux-dist/trunk/user/net-tools/Makefile 2008-01-29 03:00

[uClinux-dev] [patch] make lib/Makefile nicer to external peeps

2008-01-29 Thread Mike Frysinger
This patch extends the default lib number to 9 and pulls in Makefile.local if it exists. This allows people to keep local changes in Makefile.local without having to touch the Makefile which makes syncing with newer versions much easier. Signed-off-by: Mike Frysinger [EMAIL PROTECTED

[uClinux-dev] the top level %_default does not properly regenerate supplemental files

2008-01-29 Thread Mike Frysinger
if you do something like: $make vendor/board_default $ rm -f config/autoconf.h $ make vendor/board_default the autoconf.h header wont be properly regenerated. yes, this is a silly test case, but i managed to come across this is a non-silly manner, i just cant recall the exact steps at the

[uClinux-dev] [patch] fix building on systems w/out gettext/libintl

2008-01-29 Thread Mike Frysinger
This patch takes changes from newer kconfig and tweaks the local kconfig Makefile so that it builds properly on systems that lack gettext/libintl (like OS X). Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- --- config/kconfig/check.sh +++ config/kconfig/check.sh @@ -0,0 +1,14 @@ +#!/bin/sh

[uClinux-dev] [patch] new romfs-inst.sh option (-M) for installing kernel modules

2008-01-29 Thread Mike Frysinger
This allows people to install kernel modules from the dist by using the -M option. For example: $(ROMFSINTS) -M local/path/to/kern.ko subdir/kern.ko This will install kern.ko into the appropriate place under the romfs dir: /lib/modules/kernel version/subdir/kern.ko Signed-off-by: Mike Frysinger

[uClinux-dev] [patch] make config/linux/module targets dynamic

2008-01-31 Thread Mike Frysinger
This removes the need for duplication of all the linux/config/modules subtargets by just using a wildcard target. This also means people now get free access to all the fun kernel targets without having to duplicate another rule in the toplevel (like `make linux_gconfig`). Signed-off-by: Mike

Re: [uClinux-dev] [patch] restore gui config support

2008-01-31 Thread Mike Frysinger
, I unified all the config targets to make adding new ones in the future trivial. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/Makefile b/Makefile index 0450b7b..a353841 100644 --- a/Makefile +++ b/Makefile @@ -109,25 +109,17 @@ Kconfig: include config/Makefile.conf -.PHONY

Re: [uClinux-dev] [patch] restore gui config support

2008-01-31 Thread Mike Frysinger
On Thursday 31 January 2008, Gavin Lambert wrote: Quoth Mike Frysinger: diff --git a/Makefile b/Makefile [...] @@ -109,25 +109,17 @@ Kconfig: [...] +config menuconfig qconfig gconfig xconfig: Kconfig conf + $(SCRIPTSDIR)/$(SCRIPTS_BINARY_$@) Kconfig @if [ ! -f .config

Re: [uClinux-dev] [patch] restore gui config support

2008-02-04 Thread Mike Frysinger
On Sunday 03 February 2008, Greg Ungerer wrote: Hi Mike, Mike Frysinger wrote: blah, previous patch was half baked ... it would use menuconfig for submenus even when using gconfig/qconfig ... --- While I personally don't use this, we have some users who like it, so i've forward/back

Re: [uClinux-dev] [patch] restore gui config support

2008-02-05 Thread Mike Frysinger
-ported support for {g,q,x}config targets to the new Kconfig system. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/Makefile b/Makefile index 0450b7b..311b90d 100644 --- a/Makefile +++ b/Makefile @@ -109,41 +109,34 @@ Kconfig: include config/Makefile.conf -.PHONY: config

Re: [uClinux-dev] [patch] restore gui config support

2008-02-05 Thread Mike Frysinger
On Monday 04 February 2008, Greg Ungerer wrote: Hi Mike, Mike Frysinger wrote: On Sunday 03 February 2008, Greg Ungerer wrote: Hi Mike, Mike Frysinger wrote: blah, previous patch was half baked ... it would use menuconfig for submenus even when using gconfig/qconfig

Re: [uClinux-dev] 20080131 patch?

2008-02-05 Thread Mike Frysinger
On Tuesday 05 February 2008, Allon Stern wrote: Also, seem to have lost xconfig - had to use menuconfig. it'll be back in the next patchset -mike signature.asc Description: This is a digitally signed message part. ___ uClinux-dev mailing list

[uClinux-dev] parallel compiles

2008-02-06 Thread Mike Frysinger
is there a reason for forcing -j1 in sub-packages ? we've dropped the -j1 in {lib,user}/Makefile for the DIRS target and generally had great success. you can really feel the difference on an 8 or 16 proc system. i also replaced the -j1 for the _only targets with -j$(HOST_NCPU). if a package

Re: [uClinux-dev] parallel compiles

2008-02-06 Thread Mike Frysinger
-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/lib/Makefile b/lib/Makefile index 0de9193..e9e9372 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -136,16 +136,16 @@ all: # the actual dir target .PHONY: $(DIRS_y) $(DIRS_y): - [ ! -d $@ ] || ( touch $@/.sgbuilt_lib $(MAKE) -j1 -C

[uClinux-dev] [patch] restore pmap set/dump options

2008-02-12 Thread Mike Frysinger
Looks like at some point, the options for installing pmap_dump and pmap_set from the portmap program was lost. This restores them to Kconfig. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/user/Kconfig b/user/Kconfig index 6b54038..65357cb 100644 --- a/user/Kconfig +++ b/user

[uClinux-dev] [PATCH] Set kconfig version/product name

2008-02-12 Thread Mike Frysinger
The new kconfig system allows you to set the version via Kconfig. The proudct name at the moment though needs to be manually changed. I picked version 4.0 as the last one was 3.2.0. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- config/Kconfig |4 config

Re: [uClinux-dev] [PATCH] I hit a random failure in elf2flt (not elf2flt's fault, I was screwing with

2008-02-15 Thread Mike Frysinger
err i screwed up the commit message. grab the next e-mail please. -mike signature.asc Description: This is a digitally signed message part. ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev

[uClinux-dev] [PATCH] elf2flt: use xmalloc() rather than malloc()

2008-02-15 Thread Mike Frysinger
-uclinux-elf2flt: out of memory allocating 4221960244 bytes after a total of 135168 bytes So much nicer! :) Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- elf2flt.c | 31 ++- 1 files changed, 6 insertions(+), 25 deletions(-) diff --git a/elf2flt.c b/elf2flt.c

[uClinux-dev] [PATCH] I hit a random failure in elf2flt (not elf2flt's fault, I was screwing with

2008-02-15 Thread Mike Frysinger
already linking elf2flt against libiberty, so there's no extra headers/libs to link against. Now the crash looks like: bfin-uclinux-elf2flt: out of memory allocating 4221960244 bytes after a total of 135168 bytes So much nicer! :) Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- elf2flt.c

Re: [uClinux-dev] [patch] allow arches to specify ABI symbol prefixes

2008-02-15 Thread Mike Frysinger
On Monday 24 September 2007, Mike Frysinger wrote: On Sunday 23 September 2007, David McCullough wrote: Jivin Mike Frysinger lays it down ... On Friday 29 December 2006, Mike Frysinger wrote: some architecture (like the blackfin) have an ABI where all symbols get a lovely prefix

Re: [uClinux-dev] [PATCH] Remove system dependencies from flthdr [-z]

2008-02-20 Thread Mike Frysinger
. Signed-off-by: Julian Brown [EMAIL PROTECTED] Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- Makefile.in |2 +- configure.in | 17 + flthdr.c | 357 -- 4 files changed, 2774 insertions(+), 1857 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2d225d4..e264f5f 100644

Re: [uClinux-dev] [Fwd: convert ld-elf2flt to C program]

2008-02-20 Thread Mike Frysinger
On Tuesday 12 September 2006, Nathan Sidwell wrote: static void fatal (const char *, ...); static void fatal_perror (const char *, ...); are there really no libiberty funcs that do this ? static void append_option (options_t *, const char *); static void append_options (options_t *, const

Re: [uClinux-dev] [PATCH] Remove system dependencies from flthdr [-z]

2008-02-20 Thread Mike Frysinger
On Wednesday 20 February 2008, David McCullough wrote: Jivin Mike Frysinger lays it down ... On Tuesday 30 October 2007, Julian Brown wrote: This patch allows flthdr's compression options to work in a wider variety of environments (e.g. under MinGW/Win32), by linking with zlib rather

Re: [uClinux-dev] [PATCH] elf2flt: new --with-binutils-build-dir configure flag

2008-02-21 Thread Mike Frysinger
On Thursday 21 February 2008, Erwin Authried wrote: I doubt that it's good to use the libraries from the binutils build dir, they should be used from the path where they are finally installed. that decision is in the hands of the guy compiling elf2flt. also, since you're statically compiling,

Re: [uClinux-dev] [PATCH] busybox: Restore use of BUFSIZ

2008-02-21 Thread Mike Frysinger
On Thursday 21 February 2008, [EMAIL PROTECTED] wrote: Actually this is an un-patch. I'm running that latest sources (via uClinux-dist-20070130-20080212.patch) and found some very odd behavior with my web UI that uses 'haserl' and busybox's shell (ash). The symptom suggested a buffer overflow,

[uClinux-dev] [PATCH] add missing libiberty.h include

2008-02-21 Thread Mike Frysinger
When moving the xmalloc changes from the Blackfin elf2flt to the upstream elf2flt repo, I accidentally dropped the libiberty.h include. Not a fatal error, but having proper prototypes is always a good thing. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- elf2flt.c |1 + 1 files changed

[uClinux-dev] [patch] netflash: clean up a bit

2008-02-22 Thread Mike Frysinger
When trying to find the source of a build failure in netflash, the number of warnings made it a bit difficult to focus. Here is a cleanup patch for it. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- --- user/netflash/netflash.c +++ user/netflash/netflash.c @@ -80,6 +80,7 @@ #include

Re: [uClinux-dev] File permissions after applying the dist patch

2008-02-26 Thread Mike Frysinger
On Tuesday 26 February 2008, [EMAIL PROTECTED] wrote: After extracting uClinux-dist-20070130.tar.bz2 and applying uClinux-dist-20070130-20080225.patch.gz, I discovered a couple of scripts do not have execute permission: patches do not include permission information, so this is to be expected

Re: [uClinux-dev] [PATCH] Remove system dependencies from flthdr [-z]

2008-02-26 Thread Mike Frysinger
On Friday 22 February 2008, Mike Frysinger wrote: +  if (fopen_stream_u(gf, ofile, a BINARY_FILE_OPTS)) { ugh, i made a typo in the elf2flt.c part ... obviously there should be no quotes around that ofile -mike signature.asc Description: This is a digitally signed message part

Re: [uClinux-dev] [PATCH] elf2flt: new --with-binutils-build-dir configure flag

2008-03-12 Thread Mike Frysinger
On Thursday 21 February 2008, David McCullough wrote: If it's possible to do this using installed versions then it does sound better, and probably much easier to get right :-) does that mean you're gonna merge it ? ;) -mike signature.asc Description: This is a digitally signed message part.

Re: [uClinux-dev] [Fwd: convert ld-elf2flt to C program]

2008-03-12 Thread Mike Frysinger
On Wednesday 20 February 2008, Mike Frysinger wrote: On Tuesday 12 September 2006, Nathan Sidwell wrote: static void fatal (const char *, ...); static void fatal_perror (const char *, ...); are there really no libiberty funcs that do this ? looks like the binutils peeps are lazy and just

Re: [uClinux-dev] [PATCH] elf2flt: new --with-binutils-build-dir configure flag

2008-03-13 Thread Mike Frysinger
On Thursday 13 March 2008, David McCullough wrote: Jivin Mike Frysinger lays it down ... On Thursday 21 February 2008, David McCullough wrote: If it's possible to do this using installed versions then it does sound better, and probably much easier to get right :-) does that mean

Re: [uClinux-dev] [Fwd: convert ld-elf2flt to C program]

2008-03-13 Thread Mike Frysinger
On Thursday 13 March 2008, Gavin Lambert wrote: Quoth Mike Frysinger: On Wednesday 20 February 2008, Mike Frysinger wrote: On Tuesday 12 September 2006, Nathan Sidwell wrote: static void fatal (const char *, ...); static void fatal_perror (const char *, ...); are there really

[uClinux-dev] Re: [U-Boot-Users] compiliation problem in U-boot for blackfin in fedora 7

2008-04-01 Thread Mike Frysinger
On Tuesday 01 April 2008, dinesh babu wrote: i have compilied uboot (u-boot-1.1.6-2008R1 taken from blackfin.uclinux.org) you've posted this same question twice in the forums, and you're cross-posting to multiple lists. please do not do this. you ask your question once, in one place,

Re: [uClinux-dev] pthreads, vfork and signals

2008-04-01 Thread Mike Frysinger
On Tuesday 01 April 2008, Xin Xie wrote: I did a test on the Coldfire V3 uClinux. I changed the execve(/bin/ls,NULL) to execve(/bin/ps,NULL), because of some problem to exec the busybox linked ls. However, I did get exactly same behavior as you described. you're calling execve() wrong.

Re: [uClinux-dev] pthreads, vfork and signals

2008-04-01 Thread Mike Frysinger
On Monday 31 March 2008, John Williams wrote: - child does execve(/bin/ls,NULL) this is wrong. if it works anywhere, you're simply lucky. -mike signature.asc Description: This is a digitally signed message part. ___ uClinux-dev mailing list

Re: [uClinux-dev] [PATCH] nios2: add elf2flt to configure options for apps

2008-04-07 Thread Mike Frysinger
On Monday 07 April 2008, Thomas Chou wrote: Some apps such as e2fsprogs need elf2flt in ldopts to create flt objects. then e2fsprogs should be configured with --with-ldopts=$(LDFLAGS). -mike signature.asc Description: This is a digitally signed message part.

[uClinux-dev] [PATCH] bump up default stack size for samba apps

2008-04-14 Thread Mike Frysinger
--- user/samba/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/user/samba/Makefile b/user/samba/Makefile index 39f9416..b2d7708 100644 --- a/user/samba/Makefile +++ b/user/samba/Makefile @@ -1,3 +1,5 @@ +FLTFLAGS = -s 0x8000 + all: $(MAKE) -C source

[uClinux-dev] [PATCH] match the default smb.conf path to configure

2008-04-14 Thread Mike Frysinger
The samba makefile does: CONFOPTS = ... --with-privatedir=/etc/config --with-configdir=/etc/config ... Which means smb.conf should be installed into /etc/config. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- user/samba/Makefile |6 +- 1 files changed, 1 insertions(+), 5 deletions

[uClinux-dev] [PATCH] add simple watchdog daemon

2008-04-15 Thread Mike Frysinger
Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- user/Kconfig |5 + user/Makefile |1 + user/watchdogd/Makefile| 12 +++ user/watchdogd/watchdogd.c | 200 4 files changed, 218 insertions(+), 0 deletions

Re: [uClinux-dev] [PATCH] match the default smb.conf path to configure

2008-04-15 Thread Mike Frysinger
On Tuesday 15 April 2008, David McCullough wrote: Jivin Mike Frysinger lays it down ... The samba makefile does: CONFOPTS = ... --with-privatedir=/etc/config --with-configdir=/etc/config ... Which means smb.conf should be installed into /etc/config. Unfortunately, /etc/config

Re: [uClinux-dev] [PATCH] match the default smb.conf path to configure

2008-04-20 Thread Mike Frysinger
On Sunday 20 April 2008, David McCullough wrote: Jivin Mike Frysinger lays it down ... On Tuesday 15 April 2008, David McCullough wrote: Jivin Mike Frysinger lays it down ... The samba makefile does: CONFOPTS = ... --with-privatedir=/etc/config --with-configdir=/etc/config

[uClinux-dev] [PATCH] cal: fix invalid call to exit()

2008-05-01 Thread Mike Frysinger
From: Jason Hennigar [EMAIL PROTECTED] Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- user/cal/cal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/user/cal/cal.c b/user/cal/cal.c index 354201e..8f99969 100644 --- a/user/cal/cal.c +++ b/user/cal/cal.c @@ -57,7

Re: [uClinux-dev] busybox-error buildung uClinux

2008-06-29 Thread Mike Frysinger
On Friday 27 June 2008, Greg Ungerer wrote: [EMAIL PROTECTED] wrote: I've got the following error, running make for uClinux: LINKbusybox_unstripped arm-linux-strip: busybox_unstripped: File format not recognized make[3]: [busybox] Fehler 1 (ignoriert) make[3]: Leaving directory

Re: [uClinux-dev] [patch] make config/linux/module targets dynamic

2008-06-29 Thread Mike Frysinger
On Thursday 26 June 2008, Greg Ungerer wrote: Greg Ungerer wrote: Mike Frysinger wrote: This removes the need for duplication of all the linux/config/modules subtargets by just using a wildcard target. This also means people now get free access to all the fun kernel targets without

[uClinux-dev] Fwd: [uclinux-help] patch for smtpclient , -P port bug

2008-09-16 Thread Mike Frysinger
forward from the Blackfin forums ... the --smtp-port option is documented/used everywhere as 'P', but the actual getopt long opts declares 'p'. -mike Submitted By: Andrea Federico Grisotto (andrea) smtpclient in trunk and in 2008R1 branch doesn't accept -P port option, I added a patch. Andrea.

[uClinux-dev] [PATCH] kconfig: dynamic support for system libs

2008-09-28 Thread Mike Frysinger
These are a few fixes from upstream kconfig to get ncurses/gettext support rolling on non-Linux systems (like Darwin or uClibc w/out locale). Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- config/kconfig/Makefile |4 +++- config/kconfig/check.sh

[uClinux-dev] [PATCH] mkdevdir-genromfs.sh: script to make /dev files for genromfs

2008-09-28 Thread Mike Frysinger
The genromfs utility (which is used to generate ROMFS images) is a little funky when it comes to /dev. This script will parse a normal device table and create the funky files that genromfs keys off of. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- tools/mkdevdir-genromfs.sh | 23

[uClinux-dev] [PATCH] romfs-inst.sh: dont corrupt files when using -a and missing new line

2008-09-28 Thread Mike Frysinger
systems like Darwin. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- tools/romfs-inst.sh |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/romfs-inst.sh b/tools/romfs-inst.sh index 6dfa96b..2090545 100755 --- a/tools/romfs-inst.sh +++ b/tools/romfs-inst.sh

Re: [uClinux-dev] [PATCH] watchdogd: touchup and handle SIGHUP

2008-09-29 Thread Mike Frysinger
On Mon, Sep 29, 2008 at 08:59, damico wrote: Mike Frysinger ha scritto: When the reboot program runs, it sends SIGHUP right after SIGTERM, so we need to handle it as well. I'm not sure that SIGHUP signal should be handled while rebooting system. IMHO: sending SIGHUP signal while reboot

Re: [uClinux-dev] [PATCH] watchdogd: touchup and handle SIGHUP

2008-10-09 Thread Mike Frysinger
On Tue, Sep 30, 2008 at 05:30, damico wrote: Mike Frysinger ha scritto: On Mon, Sep 29, 2008 at 08:59, damico wrote: I was looking for some specification on shutdown and signals in the net but I haven't found any reliable note on that topic. there is no such spec Just at http

Re: [uClinux-dev] patch file for the e2fsprogs app of uClinux-dist-20080808.tar.bz2

2008-10-20 Thread Mike Frysinger
On Monday 20 October 2008, Arthur Wong wrote: 2008/10/20 Mike Frysinger [EMAIL PROTECTED] On Monday 20 October 2008, Arthur Wong wrote: --- user/e2fsprogs.bak/configure2008-10-20 17:32:45.0 +0800 +++ user/e2fsprogs/configure2008-10-20 17:44:57.0 +0800 @@ -3076,7

Re: [uClinux-dev] patch file for the e2fsprogs app of uClinux-dist-20080808.tar.bz2

2008-10-20 Thread Mike Frysinger
On Monday 20 October 2008, Chris Gray wrote: On Monday 20 October 2008 19:23, Jamie Lokier wrote: Mike Frysinger wrote: @@ -237,9 +237,9 @@ int main(int argc, char **argv) send_output(\n, 0, send_flag); if (outbuf) { -pid = fork

Re: [uClinux-dev] patch file for the e2fsprogs app of uClinux-dist-20080808.tar.bz2

2008-10-20 Thread Mike Frysinger
On Monday 20 October 2008, David McCullough wrote: Jivin Jun Sun lays it down ... On Tue, Oct 21, 2008 at 08:49:54AM +1000, David McCullough wrote: Jivin Jun Sun lays it down ... On Mon, Oct 20, 2008 at 09:39:46AM -0400, Mike Frysinger wrote: On Monday 20 October 2008, Arthur Wong

Re: [uClinux-dev] patch file for the e2fsprogs app of uClinux-dist-20080808.tar.bz2

2008-10-21 Thread Mike Frysinger
On Tuesday 21 October 2008, Jamie Lokier wrote: Btw, in most cases exit() should not be called in a *fork* child either, let alone *vfork*. It will flush stdio buffers - and they may get flushed by the parent when it exits too. Same for atexit() handlers. Often if there's an exit() in a

Re: [uClinux-dev] patch file for the e2fsprogs app of uClinux-dist-20080808.tar.bz2

2008-10-23 Thread Mike Frysinger
On Tuesday 21 October 2008, Michael Schnell wrote: it doesn't matter whether you are ELF/flat/fdpic Why is flat used for _some_ architectures and not for others ? it depends on the arch as to whether it is the only choice. What are the advantages of flat over ELF and vice versa ? resources

Re: [uClinux-dev] subversion folders in uClinux/dist/patches

2008-10-24 Thread Mike Frysinger
On Friday 24 October 2008, Greg Ungerer wrote: Bernd Büttner wrote: There are some other files and directories starting with a '.', for example .gitignore. I cannot say if they are correct or not. I think it best to remove those too. i would imagine a significant number of people import

  1   2   3   4   >