All of lore.kernel.org
 help / color / mirror / Atom feed
* Simple module, but won't build
@ 2004-05-04 18:03 Richard Danter
  2004-05-04 19:10 ` Wolfgang Denk
  2004-05-04 19:38 ` Simple module, but won't build Joshua Lamorie
  0 siblings, 2 replies; 16+ messages in thread
From: Richard Danter @ 2004-05-04 18:03 UTC (permalink / raw)
  To: linuxppc-embedded


Hi All,

I am trying to build a simple module which will let me write to a bank
of LED's on my board.

When I #include <asm/io.h> I get this error:

/opt/eldk3.0/ppc_82xx/usr/include/asm/io.h: In function `virt_to_bus':
/opt/eldk3.0/ppc_82xx/usr/include/asm/io.h:235: `CONFIG_KERNEL_START'
undeclared (first use in this function)

the error also occurs in several other functions. I also see errors when
I #include <asm/uaccess.h> as follows:

/opt/eldk3.0/ppc_82xx/usr/include/asm/uaccess.h: In function `verify_area':
/opt/eldk3.0/ppc_82xx/usr/include/asm/uaccess.h:37: `CONFIG_TASK_SIZE'
undeclared (first use in this function)

also in several functions.

I know I have used these with no problems with an older kernel and
compiler. Is there something I need to add to make these work??

I am using ELDK 3.0 with the 2.4.24-pre2 kernel on an 8260 target.

Many thanks,
Rich

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Next steps
@ 2004-05-06 11:48 Mark Chambers
  0 siblings, 0 replies; 16+ messages in thread
From: Mark Chambers @ 2004-05-06 11:48 UTC (permalink / raw)
  To: bhawley; +Cc: linuxppc-embedded


Bob,

I would definitely recommend NFS.  As Bob White pointed out, you can get a
directory structure all set up from eldk.  The thing about NFS is you have a
PC with visual tools and all to mess with the same files that your embedded
system is accessing.  Plus of course you have much more file space.  And if
you're new to Linux it's a whole lot easier to get up to speed on the PC.

dhcp & bootp are really different things from NFS, although I think you have
to enable them in the [embedded] kernel for nfsboot to work.  But you
probably want to set your board up with a fixed IP and compressed kernel (or
tftp it in) from u-boot, just feeding a command line to the kernel that
tells it the root is nfs something.  No sense adding more complexity than
you need!

When it comes to stand-alone booting of an embedded system you can also
consider jffs2 or cramfs instead of initrd.  (I can tell you more if you're
interested).

Mark Chambers
WV Computronics


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Next steps
@ 2007-05-29 14:55 chris
  2007-05-29 16:43 ` Takashi Iwai
  0 siblings, 1 reply; 16+ messages in thread
From: chris @ 2007-05-29 14:55 UTC (permalink / raw)
  To: alsa-devel

Hey gang,

I'm trying to work on issue 305, suspend/resume for cs46xx.

I'm running CentOS 5, so I'd like to work on what's current for that 
distribution first, and patch to latest if needed after that.

I think I have the correct source package, but the only mention of cs46xx 
I could find in the source is a configuration file. Running make doesn't 
make the cs46xx module, AFAICT.

Which source (package)(s) should I have?

How do I track down the source file(s) I need to examine?

Thanks,
Chris

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-06-03  6:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04 18:03 Simple module, but won't build Richard Danter
2004-05-04 19:10 ` Wolfgang Denk
2004-05-04 19:46   ` Richard Danter
2004-05-04 20:19     ` Wolfgang Denk
2004-05-04 21:15     ` Sam Ravnborg
2004-05-04 21:46       ` Wolfgang Denk
2004-05-04 23:50         ` Next steps Brian Hawley
2004-05-05 12:19           ` Bob White
2004-05-04 19:38 ` Simple module, but won't build Joshua Lamorie
  -- strict thread matches above, loose matches on Subject: below --
2004-05-06 11:48 Next steps Mark Chambers
2007-05-29 14:55 chris
2007-05-29 16:43 ` Takashi Iwai
2007-05-29 16:52   ` chris
2007-05-29 17:06     ` Takashi Iwai
2007-06-03  3:47       ` Chris Schumann
2007-06-03  6:05         ` Tobin Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.