Re: [uClinux-dev] XIP on uclinux 2.6, fantasy or reality?

2008-09-28 Thread Michael Schnell
Once it's loaded into ramfs, then XIP is unnecessary. As far as I was aware, that's not true. Regardless of filesystem (ramfs or other), if XIP isn't enabled then an *extra* copy of the executable will get loaded into RAM when it's run. That is _exactly_ what I have right now. Even if

Re: [uClinux-dev] Re: [PATCH 4/4] MTD: Fix a bad dependency in the Blackfin code

2008-09-28 Thread Michael Schnell
The patches are arch-independent. Of course the toolchain has to support PIC etc. Which it does not up till now:(. (AFAIK gcc 4 in in the pipe and maybe this update will enable fully PIC...) Thanks -Michael ___ uClinux-dev mailing list uClinux-de

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

2008-09-28 Thread Michael Schnell
With a decently constructed MMU (cache after MMU viewed from the CPU, as done with all X86 CPUS, AFAIK), only DMA and SMP issues should make cache flush necessary, I have no idea, how the 68 K MMU and cache are constructed. -Michael ___ uClinux-dev

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

2008-09-28 Thread Mike Frysinger
If you try to use -a on a file that happens to be missing a new line at the end of file, the appended text will end up being appended to the last line instead of being a line all by itself. The code in question is a little wonky, but it was chosen due to its portability across crappy non-GNU syste

[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] 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 |

RE: [uClinux-dev] build philosophy

2008-09-28 Thread Gavin Lambert
Quoth Robin Getz: > > This just takes longer - since you either need to copy things by hand, > or run a 'make romfs' every time you edit something in vendors How long does a 'make romfs' take on your system? It's usually only a second on mine, so it doesn't bother me. If I'm just tweaking

RE: [uClinux-dev] XIP on uclinux 2.6, fantasy or reality?

2008-09-28 Thread Gavin Lambert
Quoth David Howells: > Once it's loaded into ramfs, then XIP is unnecessary. As far as I was aware, that's not true. Regardless of filesystem (ramfs or other), if XIP isn't enabled then an *extra* copy of the executable will get loaded into RAM when it's run.

[uClinux-dev] Re: build philosophy

2008-09-28 Thread Greg Ungerer
Hi Robin, Robin Getz wrote: I'm just wondering - what is the expectation/common use... When I'm building up images, I use "make image" all the time. It's fast, and great when I'm just making some minor changes in the romfs/ directory. When I'm testing things out, I just edit scripts (like /e

Re: [uClinux-dev] mp3play doesn't play certain mp3 files

2008-09-28 Thread Greg Ungerer
Hi Robin, Robin Getz wrote: On Mon 4 Aug 2008 13:26, Robin Getz pondered: I needed to make this change to make mp3play play some mp3 files which I had encoded with lame/modified the mp3tags with various Linux apps. --- user/mp3play/mpegdec_lib/mp3onlydec.c (revision 6904) +++ user/mp3pl

[uClinux-dev] [PATCH] Using shadow passwords in Tinylogin with ftpd

2008-09-28 Thread Peter Turczak
Hi, while experimenting with the ftpd and telnetd shipped with uclinux- dist-2008... i found a strange situation appears when enabling tinylogin with shadow support. After setting up a new user using adduser and setting its password, telnetd would allow me to log in using this new user, wh