it maybe that your driver is written for an actual TCM but the goldfish emulated CPU does not support this. why don't you just use it on a real dev board where you are absolutely certain of the hardware?
-Earlence On Jun 27, 8:16 am, Zova <cqh...@gmail.com> wrote: > Thx for your reply. I know it is an emulator, and I also know Goldfish is > the name of virtual device. If you download the kernel for goldfish, you may > find folders arch/arm/goldfish/... and other config files. It's based on > ARM926EJ-S, so I tried to add modules support on it according to this > link(http://linuxclues.blogspot.com/2010/05/build-compile-linux-kernel-and...) > Can you help me out? > [?] > > > > On Sat, Jun 25, 2011 at 3:18 AM, Earlence <earlencefe...@gmail.com> wrote: > > goldfish is the emulator not a device. > > > On Jun 23, 2:15 pm, Zova <cqh...@gmail.com> wrote: > > > Hi all, > > > > I wrote a driver to give support for ARM TCM(Tightly Coupled Memory, a > > > on-chip SRAM). I know Goldfish is based on ARM926EJ-S processor, which > > does > > > contain TCM. > > > So, I modified code of goldfish, added driver support code, configed > > > CONFIG_MODULES=y and successfully compiled the kernel and ko files for > > > goldfish. > > > However, when I tried to insmod the module, it showed *insmod: > > init_module > > > 'tcm.ko' failed (Unknown error: 0) > > > > *So, does goldfish disable something since I can insmod tcm.ko > > successfully > > > in a real machine ? > > > Or, did I forget something to make it work? Please give me some > > advice... > > > > Thanks very much. > > > > -- > > > *Best Wishes > > > * > > > -- > > unsubscribe: android-kernel+unsubscr...@googlegroups.com > > website:http://groups.google.com/group/android-kernel > > -- > *Best Wishes > * > > 330.gif > < 1KViewDownload -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel