sorry to pollute the list this much but i forgot to mention one more
thing about my current uclinux nios2 patchset.

  i'm test building this kernel inside the absolutely latest,
CVS-checked out uclinux surrounding infrastructure, so i'm not
patching *anything* outside the kernel tree itself -- that is, nothing
inside the top-level vendors/ directory, etc.  in short, i'm assuming
that any patches that used to be applied to the uclinux infrastructure
back in, say, 20070130, are now part of the CVS repo.  (if we're going
to go bleeding edge, might as well go all the way.)

  so, after a couple days of mucking around, here's my recipe for
creating the entire build directory structure:

1) anonymously CVS check out uClinux-dist (CVS?  gack.  barf.  :-)

2) git checkout the kernel tree into subdirectory linux-2.6.x/ inside
that

3) apply my patchset to the linux-2.6.x/ directory, and patch
absolutely nothing else

  and my recipe for test building a kernel (i'm not doing anything
with user space stuff yet):

$ make menuconfig
$ make vendor_hwselect SPSYTF=...
$ mkdir romfs                     [manually]
$ NON_SMP_BUILD=1 make linux

  at that point, i get a pageful of warnings about some syscalls not
being implemented, then the aforementioned error regarding
asm/scatterlist.h:

...
  CC      init/do_mounts.o
In file included from include/linux/sunrpc/xdr.h:14,
                 from include/linux/sunrpc/sched.h:18,
                 from include/linux/sunrpc/auth.h:14,
                 from include/linux/nfs_fs.h:42,
                 from init/do_mounts.c:15:
include/linux/scatterlist.h: In function `sg_set_page':
include/linux/scatterlist.h:42: error: structure has no member named `page_link'
...

and that's where i've left it for now.

  does all that make sense?  i'll be back in a day or so to pick up
where i left off.

rday

--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to