On Fri, 17 Mar 2000, Cameron Morland wrote:

> I have a Brutus board currently running
>   Linux localhost 2.3.35-rmk1-np7 #6 Thu Mar 16 10:58:40 EST 2000 armv
> 
> Ok. I wrote "hello world" and it works fine, so my toolchain works.
> (hooray!) Now I have a bunch of things I need eventually to do, and don't
> really know where to start:
> 
>   - port a driver for our PC card (exists for desktop windoze)

First I would recommend you port it to PC Linux before thinking about
Brutus.

>   - drive a spare GPIO line to control a switch (#20 for the light, maybe)

        GPDR |= (1<<20);        /* set GPIO 20 for input */
        ...
        GPSR = (1<<20);         /* set GPIO 20 high */
        GPCR = (1<<20);         /* set GPIO 20 low */

This is kernel code, it won't work from user space.

>   - put graphics on the screen

It's frame buffer device programming.  Do it on a Linux workstation first,
then it will just be a matter of recompiling.

>   - access a Flash card, ideally as an ext2 filesystem

What you need is a block device driver.  Any filesystem might be used over
a block device.

> These are in more or less decreasing order of importance. I haven't been
> able to find much information about this. We will also need to have a
> driver for a smaller LCD screen; I'm guessing that modifying the existing
> LCD driver to do this would not be too difficult.

It should be easy, indeed.



Nicolas


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to