On Sun, 2011-05-29 at 20:27 +0200, Arnd Bergmann wrote: > Yes, that is the best way. At first, leave out any device driver changes, > and submit only the code you need to have something that boots. Split > that up into around 15 patches, e.g. > > <snip> Thanks for the thorough instructions... much appreciated. I'll see if I can get this sorted out during this week. > > * remove all __ARCH_WANT_* from asm/unistd.h and use the generic glibc > implementation. I tried this earlier but ran into issues with uClibc, which is the only libc port that we currently have. Is uClibc known to be compatible with the reduced set of syscalls? A good compromise here may be to submit the patch upstream with the reduced set of syscalls but to maintain a separate tree locally that reenables these for use with our current uClibc port until we can get it straightened out. It would be good to know, however, what's known to be working for others in this area... > > * Figure out what the dma-mapping implementation should look like. > It seems to me that you just copied from microblaze but didn't > completely understand what you need. We can definitely help you here > if you can explain how DMA works on openrisc. In doubt, don't > set CONFIG_HAS_DMA and use asm-generic/dma-mapping-broken.h. > Yes, exactly... this was on the TODO list of cleanups. I'll admit that I was confused by this code so I may be asking for some help in this area. /Jonas
Attachment:
signature.asc
Description: This is a digitally signed message part