RE: [ARM_LINUX] ioremap() allowing to map system memory...

2013-03-04 Thread buyitian
From: coolsandyfor...@gmail.com Date: Sat, 2 Mar 2013 22:48:34 +0530 Subject: Re: [ARM_LINUX] ioremap() allowing to map system memory... To: gprabhun...@gmail.com CC: kernelnewbies@kernelnewbies.org I passed a physical address 0x63ACD000. As expected

Re: How to measure the RAM read/write performance

2013-03-04 Thread Arun KS
On Mon, Mar 4, 2013 at 2:20 PM, sandeep kumar coolsandyfor...@gmail.com wrote: I want to do a DMA from a mem mapped I/O (lets say physical 0x4000) to RAM location @ 0x8000. How do you do this? Can you please answer the above question also? http://www.xml.com/ldd/chapter/book/ch13.html

MTD NOR write issue for files greater than a few hundred bytes

2013-03-04 Thread Holmes, Michael A (Mike)
All - repost since this ended up on the end of another thread., The issue I have is as follows. When writing to the MTD on NOR in Linux for a file of more than a few bytes, it fails with a MTD software timeout. Writing upto 100 bytes are fine, in this test when I jumped to 300 it failed.

Module compilation error

2013-03-04 Thread Pietro Paolini
Hi all, I tried, as beginner, to compile a simple module downloaded by internet, hello_printk, I am using ArchLinux and I followed the simplest way for compile a new kernel tree from here : https://wiki.archlinux.org/index.php/Kernels/Compilation/Arch_Build_System But when I try to compile I

Re: Module compilation error

2013-03-04 Thread Mulyadi Santosa
On Tue, Mar 5, 2013 at 7:48 AM, Pietro Paolini pulsarpie...@aol.com wrote: Hi all, I tried, as beginner, to compile a simple module downloaded by internet, hello_printk, I am using ArchLinux and I followed the simplest way for compile a new kernel tree from here :

Re: Module compilation error

2013-03-04 Thread Valdis . Kletnieks
On Tue, 05 Mar 2013 09:07:51 +0700, Mulyadi Santosa said: On Tue, Mar 5, 2013 at 7:48 AM, Pietro Paolini pulsarpie...@aol.com wrote: echo 2 Run 'make oldconfig make prepare' on kernel src try the suggested above step. IIRC, those commands will do things like preparing the

pthread_lock

2013-03-04 Thread ishare
when pthread_unlock(mutex) is called , do other threads waiting for mutex be waked up immediately? or be waked up at the next schedule? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: pthread_lock

2013-03-04 Thread Mandeep Sandhu
On Tue, Mar 5, 2013 at 10:14 AM, ishare june.tune@gmail.com wrote: when pthread_unlock(mutex) is called , do other threads waiting for mutex be waked up immediately? or be waked up at the next schedule? next schedule. I think the waiting threads (processes) will moved from the wait

Re: pthread_lock

2013-03-04 Thread Valdis . Kletnieks
On Tue, 05 Mar 2013 11:02:45 +0530, Mandeep Sandhu said: next schedule. I think the waiting threads (processes) will moved from the wait queue to the run queue from where they will be scheduled to run. For bonus points, read source code and/or comments and figure out what Linux does to

Major/minor numbers

2013-03-04 Thread Shraddha Kamat
Does the max number of devices supported by Linux limited by major minor number ? Can you please give me some pointers regarding this. -- Shraddha ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org