[uClinux-dev] a couple questions about the "make romfs" target

2008-05-04 Thread Robert P. J. Day
ep. quite simply, it looks out of place. unless there's something unusual happening here, i would think that it's not the romfs target's responsibility to do that kernel step -- that should be left for the final initramfs image creation step, no? rday -- ==

[uClinux-dev] how about some "make help"?

2008-05-04 Thread Robert P. J. Day
would it be possible for someone to add a kernel-like "make help" target to dump at least the most commonly-used targets to the top-level Makefile? not sure about anyone else, but *i'd* find that handy. rday -- ======

Re: [uClinux-dev] hello world LKM fails at MODPOST, can't find symtab

2008-03-31 Thread Robert P. J. Day
irrelevant right now. http://www.crashcourse.ca/wiki/index.php/Writing_your_first_kernel_module rday -- ================ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lec

Re: [uClinux-dev] [PATCH] nios2: fix init_task alignment

2007-12-11 Thread Robert P. J. Day
Using 32768 > > */ > > -. = ALIGN(4096); > > +. = ALIGN(8192); /* MUST be 8192, the THREAD_SIZE */ > > *(.data.init_task) > > *(.data) is the macro THREAD_SIZE not defined so that it can be used instead of hardcoding the value 8192? rday

Re: [uClinux-dev] unable to use embedded initrd on MCF532x

2007-12-06 Thread Robert P. J. Day
========== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca

Re: [uClinux-dev] [slightly OT] the proper git repo to support a processor port

2007-10-30 Thread Robert P. J. Day
at's what it's based on. but that's just being picky. rday -- ============ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca _

[uClinux-dev] [slightly OT] the proper git repo to support a processor port

2007-10-29 Thread Robert P. J. Day
heir* cloned repo. and since i'm not a git expert, i'm open to advice on the best way to do that. and thoughts on whether any of this makes sense. comments? have i forgotten anything? is this the normal way that someone creates a git repository to support a processor port? rday

[uClinux-dev] nios2: the last several patches, and being almost there

2007-10-28 Thread Robert P. J. Day
mory() once i figure out what to do about those, i might actually have a kernel. -- ============ Robert P. J. Day Linux Consulting, Traini

[uClinux-dev] nios2: need dma_release_declared_memory() and dma_declare_coherent_memory()

2007-10-27 Thread Robert P. J. Day
ios2nommu/kernel/dma.c. any thoughts on what those two routines should look like for nios2? thanks. rday -- ================ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario,

[uClinux-dev] nios2 needs an asm/kdebug.h file

2007-10-27 Thread Robert P. J. Day
rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcour

[uClinux-dev] nios2, scatterlists and non-coherent DMA iteration

2007-10-27 Thread Robert P. J. Day
addr_t dma_address; unsigned int length; }; #define ISA_DMA_THRESHOLD (0x) #define sg_dma_address(sg) (virt_to_bus((sg)->dma_address)) #define sg_dma_len(sg) ((sg)->length) #endif /* __ASM_NIOS2_SCATTERLIST_H */ =

Re: [uClinux-dev] nios2 and ZONE_DMA Kconfig entry

2007-10-27 Thread Robert P. J. Day
On Sat, 27 Oct 2007, Atle Nissestad wrote: > Robert P. J. Day wrote: > > as a quick followup to this earlier post of mine: > > > > http://mailman.uclinux.org/pipermail/uclinux-dev/2007-October/044410.html > > > > can anyone verify one way or the other whether a

[uClinux-dev] nios2: how to update broken references to "sg->page"?

2007-10-26 Thread Robert P. J. Day
ght affect other architectures as well if they've hard-coded references to "sg->page" anywhere. -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca

[uClinux-dev] nios2 and ZONE_DMA Kconfig entry

2007-10-26 Thread Robert P. J. Day
default y i'm not a DMA wizard, but i can say that adding the above cures the build problem. i'm just not sure if it's the *right* solution, that's all. thanks. rday -- ================ Robert P. J. Day Linux

Re: [uClinux-dev] latest list of nios2 fixes/cleanups

2007-10-26 Thread Robert P. J. Day
e sooner, the better, which is why i'm posting so frequently. no sense dragging this out, but if folks think i'm abusing the mandate of the mailing list, i'll respect that and take the discussion elsewhere. rday -- ===

Re: [uClinux-dev] NIOS2: dropping NIOS2-specific i2c-gpio stuff

2007-10-26 Thread Robert P. J. Day
ure out how to fix build errors, even when i don't understand what's going on in the underlying code. you'd be better off (at least for now) hoping someone else on this list knows more about the i2c-gpio stuff than i do. rday -- ====

[uClinux-dev] NIOS2: the adventure continues with missing DMA

2007-10-26 Thread Robert P. J. Day
a different solution to the above? rday -- ================ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ___ uClinux-dev m

[uClinux-dev] latest list of nios2 fixes/cleanups

2007-10-25 Thread Robert P. J. Day
DMA issues. more later. rday -- ================ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ___ uClinux-dev mailing lis

Re: [uClinux-dev] one more note about my nios2 patches for git kernel

2007-10-25 Thread Robert P. J. Day
On Fri, 26 Oct 2007, David McCullough wrote: > > Jivin Robert P. J. Day lays it down ... > > > > really? that's just weird, having the CVS repo lagging behind > > tarball snapshots. what's the rationale for *that*? it certainly > > flies in the face of s

[uClinux-dev] NIOS2: is CONFIG_BLK_DEV_INITRD relevant here?

2007-10-25 Thread Robert P. J. Day
e for nios2 contains: # CONFIG_BLK_DEV_INITRD is not set so what's the proper solution? just remove the #ifdef and #endif from around that header file include? that seems like the obvious solution, but i'd like some corroboration on that. rday -- =======

[uClinux-dev] NIOS2: dropping NIOS2-specific i2c-gpio stuff

2007-10-25 Thread Robert P. J. Day
reference deleted i'm assuming that that should be sufficient. it did, in fact, resolve the ic2 gpio circular dependency problem. whether it works properly later is still to be determined. rday -- Robert

Re: [uClinux-dev] nios2: apparent I2C_GPIO-related patch error

2007-10-25 Thread Robert P. J. Day
standard kernel stuff is now sufficient? rday -- ==== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crash

[uClinux-dev] NIOS2: fixing include/asm/scatterist.h

2007-10-25 Thread Robert P. J. Day
ast two macros, which were moved here from the header file include/asm-nios2nommu/pci.h, to be consistent with how all the other arches do it. does that look remotely sane? i'm about to test it. rday -- ================ Robert

Re: [uClinux-dev] one more note about my nios2 patches for git kernel

2007-10-25 Thread Robert P. J. Day
On Thu, 25 Oct 2007, David McCullough wrote: > Jivin Robert P. J. Day lays it down ... > > > > 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

[uClinux-dev] one more note about my nios2 patches for git kernel

2007-10-25 Thread Robert P. J. Day
eft 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 Pe

Re: [uClinux-dev] any hardcode Altera Nios II geeks on this list?

2007-10-25 Thread Robert P. J. Day
kernel (not all of uclinux) with what i have dies at the asm/scatterlist.h incompatibility, but you mentioned that you already know how to deal with that so i'll leave it with you to play with that until i get back. rday -- ===============

[uClinux-dev] nios2: asm/scatterlist.h definitely needs some updating

2007-10-24 Thread Robert P. J. Day
r i'll just fake it and make it look vaguely like the rest and take my chances. rday -- ============ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterlo

Re: [uClinux-dev] nios2 error: thread_info is now stack

2007-10-24 Thread Robert P. J. Day
thanks. rday -- ============ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://

Re: [uClinux-dev] nios2 error: thread_info is now stack

2007-10-24 Thread Robert P. J. Day
read_info + > stack_offset); > + childregs = (struct pt_regs *) ((unsigned long) p->stack + > stack_offset); > p->thread.kregs = childregs; > > *childregs = *regs; ok, i'll deal with that as well when i get back to my system, thanks. rday -- ==

[uClinux-dev] nios2 error: thread_info is now stack

2007-10-24 Thread Robert P. J. Day
... uh oh ... so the obvious question is, what *should* that DEFINE look like? is it actually wanting to refer to thread_info itself? or to the stack? rday -- ================ Robert P. J. Day Linux Consulting, Training and Annoying K

[uClinux-dev] nios2: apparent I2C_GPIO-related patch error

2007-10-24 Thread Robert P. J. Day
when it already exists, which is apparently what's causing the circular definition error. thoughts? is there something subtle here i'm not appreciating? rday -- ============ Robert P. J. Day Linux Consulting, Training

Re: [uClinux-dev] any hardcode Altera Nios II geeks on this list?

2007-10-24 Thread Robert P. J. Day
On Wed, 24 Oct 2007, Michael Schnell wrote: > Robert P. J. Day wrote: > > given that there are other forums to discuss the nios2 soft-core > > processor, is this still an appropriate place to ask about > > building a kernel for the nios2 using uclinux? thanks > I d

[uClinux-dev] any hardcode Altera Nios II geeks on this list?

2007-10-23 Thread Robert P. J. Day
given that there are other forums to discuss the nios2 soft-core processor, is this still an appropriate place to ask about building a kernel for the nios2 using uclinux? thanks. rday -- Robert P. J. Day Linux