Skip to contentSkip to conversation

: linux-2.5.41uc1 (MMU-less support)

PATCH In review Greg Ungerer 2 participants 4 messages Oct 10, 2002 – Oct 11, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : linux-2.5.41uc1 (MMU-less support)

Hi All,

An updated uClinux patch is available at:

http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1.patch.gz

This one has the long awaited merge of the mmnommu and mm directories. Went pretty smoothly really. The patches are not too bad, but there is still some cleaning to do. A couple of files are still heavily #ifdef'ed (like mm/mmap.c, mm/swap_state.c and mm/swapfile.c) but I think these can ironed out a bit.

Changelog:

1. minor v850 fixes
2. merge of mmnommu and mm dirctories
3. cleanup stubbed system calls in archiecture system call tables

Smaller patches:

. FEC ColdFire 5272 ethernet driver
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-fec.patch.gz

. m68k/ColdFire/v850 serial drivers
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-serial.patch.gz

. 68328 frame buffer
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-fb.patch.gz

. binfmt_flat loader
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-binflat.patch.gz

. m68knommu architecture
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-m68knommu.patch.gz

. v850 architecture
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-v850.patch.gz

. mm (MMU-less) only patch
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1-mm.patch.gz

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
Snapgear Pty Ltd PHONE: +61 7 3279 1822
825 Stanley St, FAX: +61 7 3279 1820
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com

#1 lore raw
Quoted 11 lines · Greg Ungerer

Hi All,

An updated uClinux patch is available at:

http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1.patch.gz

This one has the long awaited merge of the mmnommu and mm directories. Went pretty smoothly really. The patches are not too bad, but there is still some cleaning to do. A couple of files are still heavily #ifdef'ed (like mm/mmap.c, mm/swap_state.c and mm/swapfile.c) but I think these can ironed out a bit.

Could you please merge the patches Ib sent you instead of this horrible ifdef mess? and yes, page_io.o, swapfile.o and swap_state.o shouldn't be compiled at all for !CONFIG_SWAP dito for highmem.o, madvise.o, memory.o, mincore.o, mmap.o, mprotect.o, mremap.o, msync.o, rmap.o, shmem.o, vmalloc.o for !CONFIG_MMU

#2 lore raw

Hi Christoph,

Quoted 12 lines · Christoph Hellwig
Quoted 9 lines · Greg Ungerer

An updated uClinux patch is available at:

http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1.patch.gz

This one has the long awaited merge of the mmnommu and mm directories. Went pretty smoothly really. The patches are not too bad, but there is still some cleaning to do. A couple of files are still heavily #ifdef'ed (like mm/mmap.c, mm/swap_state.c and mm/swapfile.c) but I think these can ironed out a bit.

Quoted 2 lines

Could you please merge the patches Ib sent you instead of this horrible ifdef mess?

Hey, slow down :-)
This contains 6 of the 8 patches you sent. And I am working through the other 2 now. They mess with a lot of files, many not in mm.

Quoted 3 lines

and yes, page_io.o, swapfile.o and swap_state.o shouldn't
be compiled at all for !CONFIG_SWAP dito for highmem.o, madvise.o, memory.o, mincore.o, mmap.o, mprotect.o, mremap.o, msync.o, rmap.o, shmem.o, vmalloc.o for !CONFIG_MMU

This is trivial to clean up in the Makefile, like I said still some cleaning still to do. I'll have new patches probably each day as I work through the issues.

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com

#3 lore raw
In reply to Christoph Hellwig

Hi All,

Heres a tivial mm (MMU-less) patch that cleans up many of the "#ifdef COFNIG_MMU" littered all over the mm/* files. The Makefile now chooses which files to compile appropriately.

http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc2-mm.patch.gz

This leaves the following files as the only ones with conditionals:

mm/filemap.c
mm/mmap.c
mm/page_alloc.c
mm/page_io.c
mm/slab.c
mm/swap_state.c
mm/swapfile.c
mm/vmscan.c

I have a patch from Christoph that will take care of much of the swap stuff still to apply.

Regards
Greg

Quoted 6 lines · Greg Ungerer
Quoted 5 lines

Hi All,

An updated uClinux patch is available at:

Quoted 7 lines
Quoted 7 lines

http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.41uc1.patch.gz

This one has the long awaited merge of the mmnommu and mm directories. Went pretty smoothly really. The patches are not too bad, but there is still some cleaning to do. A couple of files are still heavily #ifdef'ed (like mm/mmap.c, mm/swap_state.c and mm/swapfile.c) but I think these can ironed out a bit.

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com