Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Clay Kunz <ckunz@redzone.com>
Subject: bigphysarea patch or equivalent on alpha
Date: 2000/03/17	[thread overview]
Message-ID: <38D2B704.4476E4EF@redzone.com> (raw)

I'm working on a driver for the EPIX PIXCI D frame grabber. The initial
driver works on i386 Linux, and I want it to work on the Alpha
architecture as well.

The frame grabber has no RAM, and so shoves frames directly to the
system RAM. I use the bigphysarea patch to reserve a large block of
contiguous physical memory for this, since the kernel kmalloc can't deal
with chunks bigger than 128K (I'm reserving on the order of 24MB of
contiguous physical memory for the driver).

The bigphysarea patch
(http://www.uni-paderborn.de/fachbereich/AG/heiss/linux/bigphysarea.html)
works fine for this under i386, but the patch file patches ptrace.c in
arch/i386/kernel. Obviously this doesn't apply on the alpha. Has anyone
tried patching the patch for use on the alpha, or does anyone know of an
alternative? I'd appreciate any pointers.

Also, this is the first time I've tried using Alpha Linux; I'm working
on a Compaq XP 1000, and I need to rebuild the kernel and so on. Are
there any pointers to the alpha-specific kernel options? I've not found
any on alphalinux.org, for example. Also, the (RedHat) documentation on
how to get the new kernel to boot is somewhat lacking. I'm quite
familiar with lilo and so forth on the intel architecture - where should
I look for pointers to making custom kernels on alpha?

thanks for your help!

Clay



                 reply	other threads:[~2000-03-17  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox