On Mon, Jul 10, 2000 at 03:25:21PM +0000, Xavier DEBREUIL wrote:
> Hello,
> I would like to know the state of the development for Cirrus mcu :
> cspl7500
> ep7211
> ep7212
> Is the cspl7500 linux version able to run (with little modifications...) on
> ep7211 and ep7212 ?
>
I have the (pretty ancient) 2.2.1 kernel booting and running on
an EDB7211 evaluation board, as of Friday night :-). Here's a
very terse set of instructions I wrote for myself:
=====================================================================
Get the canonical 2.2.1 kernel from kernel.org and unpack it:
wget ftp://ftp.us.kernel.org/pub/linux/kernel/v2.2/linux-2.2.1.tar.gz
tar zxvf linux-2.2.1.tar.gz
mv linux linux-2.2.1-ep7211
Go to the kernel directory and patch it:
cd linux-2.2.1-ep7211
export PATCHDIR=/place/where/you/keep/your/patches
# Russell King's official Linux/ARM patch:
zcat $PATCHDIR/patch-2.2.1-rmk2.gz | patch -p1
# Phil Blundell's patch:
zcat $PATCHDIR/linux-2.2.1-philb-990208.gz | patch -p1
# www.calcaria.net (linux-7110) "crash+burn" patch:
zcat $PATCHDIR/crash+burn-26.patch.gz | patch -p1
# Ben Williamson's EP7211 port patch (NOTE -p2 instead of -p1!):
zcat $PATCHDIR/cb26-benw3.gz | patch -p2
# my patch (-miket1):
cat $PATCHDIR/patch-2.2.1-miket1 | patch -p1
Fixes in -miket1 patch:
==> include intermediate patches in EXTRAVERSION
==> in arch/arm/Makefile: elf32arm -> armelf_linux in $(LD)
==> in arch/arm/vmlinux-armv.lds: change top line to:
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
==> bandaid for Oops in serial bottom half
==> wrong TLB/cache flush coprocessor insns were being assembled
(found this out the hard way :-). Gross fix included.
Use Ben Williamson's 'shoehorn' boot loader to download the kernel over
the serial port; first install my patch to set the DRAM refresh to 64kHz
(patch also restores terminal settings when you kill shoehorn).
=====================================================================
Patches (for kernel and shoehorn) attached.
Note that both patches are quick fixes to get things working; I didn't
fix the kernel correctly, and the shoehorn patch still uses the 'anvil'
hardware type because I was in a hurry. I'm not going to concentrate
much effort on 2.2.1; I'm looking to forward port the EDB7211 stuff to
2.4.0-test*, but I'm not sure how much time I'll have for that in the
next couple of weeks (probably not much). Although I have the eval
board for work, the Linux kernel stuff is strictly free-time hacking
at this point. If anyone is already doing/has already done a 7211
port to 2.4, please let me know, I'm lazy!
The version of the kernel I got working just has serial console support,
no keyboard/LCD/touchscreen/ethernet/PCMCIA. There's a random little
Linux distro called 'Royal Linux' that has a port which includes all this
stuff, but when I tried it a while ago, it crashed a lot ('a lot' as in
'only made it to init one time in three'). Hopefully it works better for
its authors and I was just missing some magic. I'm planning on getting
my hands on it soon, so that I can use its drivers in the port to 2.4.
miket
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++