(newbie) Compiling "linux-2.4.27-vrs1-ATMEL" for a custom board..what options should i provide?

Hi,

Im an undergrad working on installing Linux on a custom development board based on the AT91RM9200 (for my senior project). Since this is the first time im doing this, i decided to go for the "linux-2.4.27-vrs1-ATMEL" kernle available from the Atmel site. Incedentally, this kernel is built for the AT91RM9200-EK.

But i was befuddled when it came to "make menuconfig"..what are the options that i must provide?? which are the options i must choose, and which ones should i leave out? Can u guide me some pre-existing ".config" files?

The board in question has the following components: AT91RM9200

16MB SDRAM (MT48LC8M16A2) 8MB DataFlash (AT45DB642) 32k TWI EEPROM

One USB device port One USB host port One PS/2 port

Serial Interfaces.

Thanx in anticipation, Mayank

Reply to
Mayank Kaushik
Loading thread data ...

I was undergrad that does embedded linux on VIA EPIA for my final project/thesis ( Thank god it's all done now...=p). I think I can help a little

When you download "linux-2.4.27-vrs1-ATMEL" kernel, do you get something like "linux-2.4.27-vrs1-ATMEL.config" file ?

The result of "make menuconfig" is a ".config" file. It's filled with kernel configuration that you make in "make menuconfig".

To use it, rename "linux-2.4.27-vrs1-ATMEL.config" to ".config" (remember the dot before "config"), then do "make oldconfig".

Or if you dont like it, try "make menuconfig". Then in the bottom of menuconfig, you can see option " load configuration file" (or something like that, I dont remember it precisely). Enter the full path and configuration filename (eg /home/kunil/workspace/linux-2.4.27-vrs1-ATMEL.config).

If this not work, post more infos in here. Also post what you're expected with your kernel. In linux world, you're the boss. So you decide what your kernel do for you.

The obvious option is : set processor to "arm". Thus, you need to know how the dataflash&eeprom is connected (using USB, IDE-CF converter, etc).

If they are connected using different bus from regular PC (such as IDE, PMCIA, PCI, ISA, etc), you need to make its driver by yourself (or search someone who already made it). This one goes to TWI / I2C connection. I'm not sure linux have driver for TWI / I2C.

Salam dari Indonesia

-kunil

Reply to
kunil

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.