Skip to contentSkip to conversation

kernel newbie

DISCUSSION Ramya Ravichandran 4 participants 4 messages Jan 25, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I am a newbie to Linux.I have to develop an
embedded linux controller that boots from the Compact flash card instead of the HD and work from RAM. I have to have a bare minimum implementation of Linux kernel to do this.
I don't know where to start. Shud I start by writing
the driver for the CF card? What background knowledge shud I have for implementing the kernel?

Please Help.Thanks

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

#1 lore raw

Re: kernel newbie -- Compact Flash booting

Quoted 10 lines · Ramya Ravichandran

Hi,

I am a newbie to Linux.I have to develop an
embedded linux controller that boots from the Compact flash card instead of the HD and work from RAM. I have to have a bare minimum implementation of Linux kernel to do this.
I don't know where to start. Shud I start by writing
the driver for the CF card? What background knowledge shud I have for implementing the kernel?

The compact flashes appear to PCMCIA as removable IDE drives. Unless the PCMCIA-CF adapter is more than just two connectors plus a set of wires in between, you should have no problems
at all. Either IDE, or IDE_CS driver should do it.
(The IDE_CS will, of course, need the PCMCIA suite too to
support removable media. IDE doesn't support removability.)

To boot from CF you need support in your boot-rom/flash code. Something which might not be true, unless you write it yourself..

Quoted 1 line

Please Help.Thanks

/Matti Aarnio

#2 lore raw

Re: kernel newbie -- Compact Flash booting

In reply to Ramya Ravichandran

What if the CF connects to the IDE bus with an adapter? Whould the IDE-CS still work or do you mean the IDE chipset itself doesn't support hot swapping or removable drives? Also what kind of support is there for USB CF read/writers?

GO

Quoted 31 lines · Matti Aarnio
Quoted 10 lines · Ramya Ravichandran

Hi,

I am a newbie to Linux.I have to develop an
embedded linux controller that boots from the Compact flash card instead of the HD and work from RAM. I have to have a bare minimum implementation of Linux kernel to do this.
I don't know where to start. Shud I start by writing
the driver for the CF card? What background knowledge shud I have for implementing the kernel?

The compact flashes appear to PCMCIA as removable IDE drives. Unless the PCMCIA-CF adapter is more than just two connectors plus a set of wires in between, you should have no problems
at all. Either IDE, or IDE_CS driver should do it.
(The IDE_CS will, of course, need the PCMCIA suite too to
support removable media. IDE doesn't support removability.)

To boot from CF you need support in your boot-rom/flash code. Something which might not be true, unless you write it yourself..

Quoted 1 line

Please Help.Thanks

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Ramya Ravichandran

Look at the Embedded Coyote Linux project at
http://www.coyotelinux.com/embedded/docs/cflash.php . It may give you some hints on the subject.

/Pedro

Quoted 13 lines · Ramya Ravichandran

Hi,

I am a newbie to Linux.I have to develop an
embedded linux controller that boots from the Compact flash card instead of the HD and work from RAM. I have to have a bare minimum implementation of Linux kernel to do this.
I don't know where to start. Shud I start by writing
the driver for the CF card? What background knowledge shud I have for implementing the kernel?

Please Help.Thanks