I just had a look through the patch file and there are numerous references and changes to the ethernet module - Why are they in there? I would have thought that the ethernet driver has nothing to do with a SPI flash card?
I did notice a “MMC/SD over SPI” option in the kernel config - Maybe we can get this to work?
I have to try and get something working for 2.6.26 soon.
“Original 2.6.8 kernel works fine + customized by myself and compiled with Crater - 2.6.17 kernel also works fine”
Can you tell me how to make 2.6.17 kernel working well on Ep9302? Where can i get the source?
Just download LATEST 2.6.27.8 kernel from http://kernel.org and use your ARM gcc compiler from Cirrus archives (probably you can use any arm gcc, i’m not sure about this). It will work fine without any special tool or soft… (of course, replace .config file in your linux kernel sources dir with deb93xx default config file - it’s important ) But ehthernet support will not work on ep9302… You must replace one file in the kernel source to enable ethernet. Later i will give you a link to that file and instructions…
Now you can test kernel without ethernet and filesystem… Ethernet → later, i’m busy now
“Original 2.6.8 kernel works fine + customized by myself and compiled with Crater - 2.6.17 kernel also works fine”
Can you tell me how to make 2.6.17 kernel working well on Ep9302? Where can i get the source?
Just download LATEST 2.6.27.8 kernel from http://kernel.org and use your ARM gcc compiler from Cirrus archives (probably you can use any arm gcc, i’m not sure about this). It will work fine without any special tool or soft… (of course, replace .config file in your linux kernel sources dir with deb93xx default config file - it’s important ) But ehthernet support will not work on ep9302… You must replace one file in the kernel source to enable ethernet. Later i will give you a link to that file and instructions…
Now you can test kernel without ethernet and filesystem… Ethernet → later, i’m busy now
Hi FPGA:
Thanks for your answer. I think i should learn base-knowledge first, and do some simple try
troynel:
Does anybody know where to find the cs-e9302_kernel_config file? I’ve looked everywhere so that means its probably right in front of me…
Default Linux kernel from site http://kernel.org contain configuration for cs-e9302. You can get it from here (after unpack):
linux-2.6.*/arch/arm/configs/ep93xx_defconfig
Just type:
make xconfig
in linux-2.6.* directory and then locate this file. Then click save. Now your kernel is configured for cs-ep9302. (To use xconfig you must install qt3 development files)
Current kernel configuration is stored in linux-2.6.* directory in invisible file named .config - you can see it when “ls -la”.
You can simply configure your kernel just by copy of file:
cp arch/arm/configs/ep93xx_defconfig .config
```and then optionally type ```
make config
``` - this will promt you for new kernel parameters if they are not assigned...
Now you ready for compiling of your kernel.
<QUOTE>
> Hi FPGA:
>
> Thanks for your answer. I think i should learn base-knowledge first, and do some simple try Smile
>
> I am waiting for your link:)
</QUOTE>
We no more need any patch - just download latest kernel from kernel.org (2.6.28.1 - now) - and everything including ethernet will work fine just out of the box - all problems fixed!
Ask questions if you have problems - I'm tracking this topic by e-mail and will answer as soon as possible.
I got the same issue with the olimex 9302 to boot on a sd card. Does someone got any progress on that ?
thanks for the answer
SD card boot is only available if you will use the patch from this topic. But if you need this patch for newest kernels - you must do this work by yourself…
could you kindly indicate me a tutorial or how to to construct and apply this patch for cs 9302? I read all the forum but it is a little confusing, which last post I have to follow ?
I got antoher issue : I not got very often the console on serial port ?
I tried many cables and computer but still the same silent. After booting the card is getting an ip so I could telnet it but I would to have access to redboot in order to make the command.
could you kindly indicate me a tutorial or how to to construct and apply this patch for cs 9302? I read all the forum but it is a little confusing, which last post I have to follow ?
To construct patch you must be a programmer and be familiar with Linux kernel programming. To apply patch you must be a simple Linux user because patching is a trivial and simple operation - just search in web “linux apply patch”
I got antoher issue : I not got very often the console on serial port ?
I tried many cables and computer but still the same silent. After booting the card is getting an ip so I could telnet it but I would to have access to redboot in order to make the command.
Probably you have wrong cable… Try to make serial cable yourself (as I do) - power up board and measure voltage on pins… where +10/-10 voltage - it’s a TX from cs-ep9302, and vice versa. Search for serial port pinout and make cable. It’s a pretty simple, really…
Also, if you need to recompile your Linux kernel for cs-ep9302 frequently, you can boot Linux kernel from TFTP, but flash filesystem still loaded from USB flash…
And more convenient way is to place your root filesystem (ex with Debian for ARM) on NFS ( http://en.wikipedia.org/wiki/Network_Fi … (protocol) ) - if you need frequent recompilation of you programs during development. Also you can use SMB (CIFS) to mount directories with your programs (which needs to be recompiled many many times… ) - this will prevent from using flash (because it have limited write/erase resource)…
P.S.
I have not any samples to use ADC and other peripherals… Sorry.
I have used uart1 (/dev/ttyMA1) but you must first set bit 21 of DeviceCfg (with software unlock) to make it working. I can post an example if you need.
I have used ADC but the results are not consistent yet. I will post examples if I succed.
I tried reducing the SPI-frequency (in sources) since this could be a timing error, but it didn’t work.
Did anybody else run into this problem?
I’m looking forward to do some debugging. But since I’m not familiar with “high-level” debugging I’d be glad if somebody could give me a hint or a place to start from. My debug-experience is currently limited to smaller processors without an OS. But equipment (debugger, openOCD based) is available.
I’m wondering of getting some thoughts about this CS-E9032 board from all of you here.I’m currently searching for a suitable cct board for my project. Is anyone could fback me on their thought in handling programming thing using this board? Is it easy or complicated?Is there any difficulties during the test?
For information, my project will be working on data transfer from low network to high network.
I’m doing a project with Olimex EP9302 board and I’ve been trying to install a newer kernel with ep93xx configuration, just as FPGA mentioned in this thread, but I can’t seem to boot linux, it just hangs before uncompressing. My goal it’s to boot from an sd card with Debian Etch. This is what I’m doing:
load ramdisk.gz in the Olimex CD and the new zImage created after loading the ep93xx_defconfig present in the linux kernel folders (make xconfig and then load it). The zImage it’s compiled using the arm-linux-gcc-4.1.1 recommended for the board, using this command: make ARCH=arm CROSS_COMPILE=arm-linux-uclibc- zImage