Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G0eYi-0003YV-Ia for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:15:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G0eYe-0003V8-Qd for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:15:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0eYe-0003V3-LL for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:15:16 -0400 Received: from [209.191.124.129] (helo=web38102.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1G0eaC-0003ey-9X for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:16:52 -0400 Message-ID: <20060712131515.966.qmail@web38102.mail.mud.yahoo.com> Date: Wed, 12 Jul 2006 06:15:15 -0700 (PDT) From: Tieu Ma Dau In-Reply-To: <44B4B00D.3070706@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1080295046-1152710115=:99304" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Insert module into kernel Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-1080295046-1152710115=:99304 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I want to simulate the ARM system and add a simple simulated device with its corresponding module device driver. So: 1. I must run the command "insmod" to insert this module into kernel. But there is not this command in the ARM Linux shell 2. I must run the command "mknod" to make a file (exp: /dev/my_simulated_device) corresponding to the simulated device. But this command is not run because the "read only" property of file system. 3. I must make a small program in which I open the file by the command "fopen("/dev/my_simulated_device","w")" but I think that I have the problem as in the question 2 Do you have any idea? Thanks Tieu --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. --0-1080295046-1152710115=:99304 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all,
I want to simulate the ARM system and add a simple simulated device with its corresponding module device driver. So:
1. I must run the command "insmod" to insert this module into kernel. But there is not this command in the ARM Linux shell
2. I must run the command "mknod" to make a file (exp: /dev/my_simulated_device) corresponding to the simulated device. But this command is not run because the "read only" property of file system.
3. I must make a small program in which I open the file by the command "fopen("/dev/my_simulated_device","w")" but I think that I have the problem as in the question 2
Do you have any idea?
Thanks
Tieu


Yahoo! Music Unlimited - Access over 1 million songs. Try it free. --0-1080295046-1152710115=:99304--