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

2007-07-11 Thread David Howells
Allen Yang <[EMAIL PROTECTED]> wrote: > Some people said MCF5329 doesn't have MMU so that it doesn't support > shared memory IPC. Other people said shared memory IPC can be used even > without MMU. > > Anybody here can verify if MCF5329 without MMU can use shared memory > IPC? It can be used, bu

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

2007-07-11 Thread Allen Yang
:[EMAIL PROTECTED] On Behalf Of David Howells Sent: Wednesday, July 11, 2007 12:25 PM To: uClinux development list Subject: Re: [uClinux-dev] uClinux supports shared memory IPC? Allen Yang <[EMAIL PROTECTED]> wrote: > Some people said MCF5329 doesn't have MMU so that it doesn't supp

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

2007-07-26 Thread David Howells
Allen Yang <[EMAIL PROTECTED]> wrote: > I am using ColdFire MCF5329EVB and uClinux (2.6.17 kernel, uClibc > 0.9.27). 2.6.17 certainly has support for it. Can you check CONFIG_TINY_SHMEM=y and CONFIG_RAMFS=y? > The compilation was OK. However, when I downloaded to my board, the > shared memory c

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|066

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

2007-07-26 Thread Allen Yang
Of David Howells Sent: Thursday, July 26, 2007 5:10 AM To: uClinux development list Subject: Re: [uClinux-dev] uClinux supports shared memory IPC? Allen Yang <[EMAIL PROTECTED]> wrote: > I am using ColdFire MCF5329EVB and uClinux (2.6.17 kernel, uClibc > 0.9.27). 2.6.17 certainly has support

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

2007-07-26 Thread Allen Yang
l returns -1. Regards, Allen Yang From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerrit Binnenmars Sent: Thursday, July 26, 2007 12:41 PM To: uClinux development list Subject: Re: [uClinux-dev] uClinux supports shared memory IPC? H

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

2007-07-26 Thread Gerrit Binnenmars
lls" > Aan: "uClinux development list" > CC: > Onderwerp : Re: [uClinux-dev] uClinux supports shared memory IPC? > > Allen Yang wrote: > > > I am using ColdFire MCF5329EVB and uClinux (2.6.17 kernel, uClibc > > 0.9.27). > > 2.6.17 certainly

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 mailin