[uClinux-dev] write peripheral user

2007-07-26 Thread Sebastien Baldacchino
Hi all, I am new with uclinux. I would like to read and write in a peripheral that I have put in uclinux. I use the kernel 2.4. I have seen on internet that uclinux has no MMU. So I think to I can write and read directly to the physical address of my peripheral. Is it possible to use this

Re: [uClinux-dev] No PowerPC targets?

2007-07-26 Thread robert lazarski
I bottom post. On 7/26/07, Robert S. Grimes [EMAIL PROTECTED] wrote: Probably because most PowerPC users seem to go full Linux and get the virtual memory benefits. It's what I would do. Regards, -Bob By full linux, do you mean like 2.6.22 from kernel.org ? If so, pardon my newbie question

[uClinux-dev] GCC Optimization

2007-07-26 Thread amol sukerkar
Hello, How do I change the compiler optimization in uClinux from -O2 to -O0? Thanks! AM ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by

Re: [uClinux-dev] GCC Optimization

2007-07-26 Thread David McCullough
Jivin amol sukerkar lays it down ... Hello, How do I change the compiler optimization in uClinux from -O2 to -O0? Thanks! Kernel or User ? Which versions ? Normally you can do this by editing your config.arch, some targets allow you to set LOPT and UOPT for library and user

Re: [uClinux-dev] write peripheral user

2007-07-26 Thread Greg Ungerer
Hi Daniele, Sebastien, Daniele Ziglioli wrote: Sebastien Baldacchino ha scritto: I am new with uclinux. I would like to read and write in a peripheral that I have put in uclinux. I use the kernel 2.4. I have seen on internet that uclinux has no MMU. So I think to I can write and read

[uClinux-dev] [PATCH] NOMMU: Fix SYSV IPC SHM

2007-07-26 Thread David Howells
From: David Howells [EMAIL PROTECTED] Fix the SYSV IPC SHM to work with the changes applied by the new fault handler patches when CONFIG_MMU=n. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/ramfs/file-nommu.c |7 ++- ipc/shm.c |2 ++ 2 files changed, 8

Re: [uClinux-dev] uClinux supports shared memory IPC?

2007-07-26 Thread David Howells
Allen Yang [EMAIL PROTECTED] wrote: What was errno? No error/warning messages. From the return value (-1), I know shared memory creation failed. Yes, but without knowing the error put in errno by shmget(), it's difficult to say why it failed. shmget(4096, 4096, IPC_CREAT|0x1b6|0666) = -1

Re: [uClinux-dev] No PowerPC targets?

2007-07-26 Thread Richard Klingler
Wolfang Denk's site is the place to go for PowerPC: http://www.denx.de/ cheers rick robert lazarski schrieb: They do, but only 2.6.14 ;-( . On 7/26/07, Andrew Webster [EMAIL PROTECTED] wrote: Try Freescale's web site, they probably have a linux distro (LTIB) for that part. Andrew

Re: [uClinux-dev] No PowerPC targets?

2007-07-26 Thread robert lazarski
Wolfgang's ELDK has kernel-source-2.6.19.2-1.noarch.rpm , and I need 2.6.20 for a sata driver that got merged. Unless a new ELDK version comes out I'm probably going to have to go with kernel.org . There be demons going that way? Robert On 7/26/07, Richard Klingler [EMAIL PROTECTED] wrote:

RE: [uClinux-dev] uClinux supports shared memory IPC?

2007-07-26 Thread Allen Yang
Hi, Gerrit. 1. CONFIG_TMPFS is already set to y 2. directory /dev/shm is already in my current image 3. tmpfs is not in my system. So I used mount -t tmpfs tmpfs /dev/shm. Then I double checked: # mount /dev/rom0 on / type romfs (ro) /proc on /proc type proc (rw) rwfs on /mnt/rwfs

Re: [uClinux-dev] No PowerPC targets?

2007-07-26 Thread Robert S. Grimes
Probably because most PowerPC users seem to go full Linux and get the virtual memory benefits. It's what I would do. Regards, -Bob robert lazarski wrote: Is there some sort of philosophical reason why uClinux doesn't have any PowerPC targets? Lack of interest? We've been lurking on this list

Re: [uClinux-dev] No PowerPC targets?

2007-07-26 Thread David McCullough
Jivin Robert S. Grimes lays it down ... Probably because most PowerPC users seem to go full Linux and get the virtual memory benefits. It's what I would do. A common misconception is that the uClinux-dist is only for !MMU systems :-) If has support for all systems, MMU and not. In fact,

[uClinux-dev] Release file cache memory

2007-07-26 Thread Edward Wang
Hi, I'm using uClinux-2.4.22 with 64MB memory. The kernel is configured with non power-of-2 kernel allocator. My application always deal with large files. Every time I read a large file, free memory goes down to approximately 8MB and then back to 40MB. That's file cache right? It goes well most

[uClinux-dev] ramdisk.gz and ramdisk address allocation in RAM

2007-07-26 Thread Pavel
Hello. I have an IXP425 dev. board with 64M RAM and 16M Flash. Redboot doing: 1. zImage - 0x160 2. ramdisk.gz - 0x080 3. go 0x160 My ramdisk size = 8192. And all works ok. But i need to increase ramdisk to 16M (or to 12M). But there is a problem: 0x160 - 0x080 = 0x0E0

Re: [uClinux-dev] uClinux supports shared memory IPC?

2007-07-26 Thread David Howells
Gerrit Binnenmars [EMAIL PROTECTED] wrote: - mkdir /dev/shm - mount -t tmpfs tmpfs /dev/shm These two steps ought to be unnecessary as init_tmpfs() in mm/tiny-shmem.c creates the superblock by doing an internal mount. David ___ uClinux-dev mailing

Re: [uClinux-dev] write peripheral user

2007-07-26 Thread Chris Gray
On Thursday 26 July 2007 11:08, Sebastien Baldacchino wrote: [...] I have seen on internet that uclinux has no MMU. So I think to I can write and read directly to the physical address of my peripheral. Operating systems don't have an MMU, CPUs have an MMU. What CPU are you using? -- Chris

Re: [uClinux-dev] GCC Optimization

2007-07-26 Thread amol sukerkar
Thanks, David! I was actually asking about both 2.4.x and 2.6.x and not for kernel but user/. AM On 7/26/07, David McCullough [EMAIL PROTECTED] wrote: Jivin amol sukerkar lays it down ... Hello, How do I change the compiler optimization in uClinux from -O2 to -O0? Thanks!