Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-02 Thread John Williams
On Fri, Jul 3, 2009 at 3:51 AM, Mike Frysinger wrote: > Due to shell portability issues (which is to say shell scripts are not > portable -- think Windows), convert elf2flt to C code. Honestly my gut reaction to this is "yuck". Not your implementation, just the idea in general. C is great for

Re: [uClinux-dev] [patch ] elf2flt MicroBlaze update

2009-05-18 Thread John Williams
On Tue, May 19, 2009 at 8:32 AM, David McCullough wrote: > > Jivin John Williams lays it down ... >> Attached is a patch that updates elf2flt support for microblaze: >> >>  * Handling for new reloc type R_MICROBLAZE_32_PCREL_LO (we can just ignore >> it) &g

Re: [uClinux-dev] [patch ] elf2flt MicroBlaze update

2009-05-17 Thread John Williams
On Mon, May 18, 2009 at 7:19 AM, Mike Frysinger wrote: > On Saturday 16 May 2009 23:10:42 John Williams wrote: >> Tweak configure{.in} to indicate that MicroBlaze needs the >> --disable-emit-relocs switch > > i dont think it's appropriate to list arch needs in the config

[uClinux-dev] [patch ] elf2flt MicroBlaze update

2009-05-16 Thread John Williams
switch signed-off-by: John Williams configure|2 +- configure.in |2 +- elf2flt.c| 28 +--- 3 files changed, 7 insertions(+), 25 deletions(-) ? microblaze-elf2flt-update.patch Index: configure

Re: [uClinux-dev] Boot Problems

2009-02-18 Thread John Williams
Hi Pablo On Mon, Feb 16, 2009 at 9:01 PM, Pablo Antunez wrote: > Hi, I have a XUP Virtex II Pro board. I download a uClinux Image but I > cannot input characters (I cannot login). I have decided to compile my own > uClinux (petalinux) Image and it is OK. But uClinux cannot boot. The > problem i

Re: [uClinux-dev] pthreads, vfork and signals

2008-04-03 Thread John Williams
wrote: We've had a problem reported on MicroBlaze arch and I was wondering if someone with access to another NOMM Uarch could run the same test, see if the result is duplicated. [snip] Thanks everyone for looking into this - it's at least some comfort to know it's not just a MicroBlaze-ism

[uClinux-dev] pthreads, vfork and signals

2008-03-31 Thread John Williams
Hi, We've had a problem reported on MicroBlaze arch and I was wondering if someone with access to another NOMM Uarch could run the same test, see if the result is duplicated. It's a simple test case attached (don't forget to link pthreads library). Basically we have parent that 1. blocks al

Re: [uClinux-dev] MicroBlaze MMU support test release now available

2008-03-10 Thread John Williams
Hi Jaap, Jaap de Jong wrote: > > I'm trying to build a uclinux 2.4 with this new test release. > I added ntpdate (worked ok on petalinux 0.20 rc3) and get this: I should have been clear - only the 2.6 kernel has MMU support. If you are using 2.4 then please stick to the main petalinux release.

[uClinux-dev] MicroBlaze MMU support test release now available

2008-03-06 Thread John Williams
Hi, I'm pleased to announce that we have a test release available for MicroBlaze MMU support in the PetaLinux 2.6.20 kernel. You can access it via the http://developer.petalogix.com front page, just follow the links to the release notes and download. Tested hardware platforms so far are Xilinx

Re: [uClinux-dev] Freescale's MCDMAAPI vs. Generic Linux DMA API on Coldfire MCF548x

2008-02-24 Thread John Williams
Hi Markus, Markus Franke wrote: Zitat von John Williams <[EMAIL PROTECTED]>: I've been looking at the 2.6 kernel's generic DMA layer recently. There are two aspects, the stuff described in DMA-IPA.txt is really more about how to allocate DMA-suitable memory regions for DMA,

Re: [uClinux-dev] Freescale's MCDMAAPI vs. Generic Linux DMA API on Coldfire MCF548x

2008-02-14 Thread John Williams
Hi, Greg Ungerer wrote: Allon Stern wrote: On Feb 4, 2008, at 7:36 PM, Greg Ungerer wrote: The current ColdFire DMA support in Linux is limited and a little out of date though, so it alone is not a good guide :-) Any comments on the limitations? Its just hasn't been looked at much over

Re: *SPAM* [uClinux-dev] uClinux port to Lattice's Mico32

2007-10-31 Thread John Williams
Michael Schnell wrote: Re-implementing SMP on FPGA-based multiCPU systems is, to me, not necessariyl the right way to go. Instead of SMP, all applications I have in mind would rather use separate systems which communicate via some kind of channel. Does running multiple Linuxes on a multi-pr

Re: *SPAM* [uClinux-dev] uClinux port to Lattice's Mico32

2007-10-30 Thread John Williams
Hi, Michael Schnell wrote: Yep, Mico32 is a quite simple soft-core based upon RISC architecture. For the most part of it it resembles both NiosII and, using a lot of fantasy, MIPS (it has a lot of registers, compared to ARM). Of course, it currently lacks MMU support. My impression is that i

Re: [uClinux-dev] Re: Repository for 2.6.x

2007-10-21 Thread John Williams
Jim Ramsay wrote: I was thinking that you *somehow* apply a patch to get yourself from 2.6.19 to 2.6.20, and then somehow resolve the conflicts inherent in this merge since the 2.6.19-uc0 patch altered some 2.6.19 files, and then you should be able to apply linux-2.6.20-uc0.patch.gz. I've done

[uClinux-dev] [JOB] Brisbane, Australia

2007-09-12 Thread John Williams
Hi folks, NOJA Power in Brisbane are looking for an embedded Linux engineer - thought it might be of interest to some Australian subscribers on the list. http://it.seek.com.au/users/apply/index.ascx?Sequence=39&PageNumber=1&JobID=10411921&; Regards, John PS Just flagging this as a public servi

Re: [uClinux-dev] [patch] ucfront-ld and CONFIG_DEFAULTS_LIBC_NONE

2007-08-27 Thread John Williams
it us on Microblaze because our linker doesn't support --fatal-warnings, but we got all these error reports from non-English speaking countries, and the build system was appending --fatal-warnings in the command line! Cheers, John Jivin John Williams lays it down ... Hi, ucfro

Re: [uClinux-dev] About Microprocessor Minimum Requirements

2007-08-07 Thread John Williams
Hi Roberto, Roberto Rodríguez-Rodríguez wrote: Hi, I am specifying the architecture for an academic microprocessor, we want that this microprocessor will be able to run a Linux version, so I need to know the minimum requirements (the minimum instruction set) for running a ucLinux because this

Re: [uClinux-dev] e2fsck compilation errors

2007-07-18 Thread John Williams
Hi Jeff, Jeff Fellin wrote: Hello, I have a problem with petalinux-v0-20-rc3 release using linux-2.6.x for the kernel, compiling e2fsck. There appears to be several header files not included, and before I spent time determining the missing header files. I want to know if anyone else has seen

Re: [uClinux-dev] #if 0 in inetd start_child()

2007-05-30 Thread John Williams
Hi Mike, Mike Frysinger wrote: the latest inetd does not seem to work for me with rcp/rsh ... if i change the '#if 0' to '#if 1' in start_child() (the stderr/stdout redirection), things work any idea the history behind this block of code ? We found and reported the same thing last July. I

[uClinux-dev] [OT] PATH used by make $(shell ) function

2007-05-16 Thread John Williams
Hi, A bit OT but coming in the context of uClinux-dist, so I'll try here first :) Is it possible to modify the PATH used by make's $(shell function)? The obvious construct PATH=$(PATH):/path/to/add export PATH foo=$(shell mytool) where mytool lives in /path/to/add, doesn't work The only wa

[uClinux-dev] SLOB and binfmt_flat/do_mremap

2007-05-02 Thread John Williams
Hi, With the SLOB allocator enabled, kobjsize() doesn't seem to match ksize(). This triggers a bug with binfmt_flat, where the do_mremap call is used to take up slack space in the allocated text/data segments. binfmt_flat calls ksize to get the allocated region size, but do_mremap calls kob

Re: [uClinux-dev] MicroBlaze petalinux keyboard problem

2007-04-15 Thread John Williams
Hi Paula, Paula Stanciu wrote: hello, I'm using petalinux on a xup virtex 2 pro board. The keyboard driver compiles without problems but a boot i receive the following message : Xilinx PS/2 #0 at 0x30091ECC mapped to 0x30091ECC ttyS0 at 0x4060 pc_keyb: controller jammed (0xC1). initializ

Re: [uClinux-dev] ENOENT creating /dev/root on MTD RAM partition

2007-04-02 Thread John Williams
I wrote: I'm working on the 2.6 kernel for MicroBlaze (embedded, NOMMU) arch. Like some other nommu archs, we typically mount root on an MTD RAM partition (either CRAMFS or ROMFS). All of this is working fine on 2.6.19 plus SnapGear 2.6.19-uc0-bigpatch NOMMU patchset. However, since coming

[uClinux-dev] ENOENT creating /dev/root on MTD RAM partition

2007-04-01 Thread John Williams
Hello, I'm working on the 2.6 kernel for MicroBlaze (embedded, NOMMU) arch. Like some other nommu archs, we typically mount root on an MTD RAM partition (either CRAMFS or ROMFS). All of this is working fine on 2.6.19 plus SnapGear 2.6.19-uc0-bigpatch NOMMU patchset. However, since coming f

Re: [uClinux-dev] uClinux microblze keyboard

2007-03-29 Thread John Williams
Paula Stanciu wrote: Hello, Thank you for responding to my email. >>How is the keyboard connected to the MicroBlaze? Are you using Xilinx's >>opb_ps2_dual core, or something else? That's the first step. Yes, the keyboard is connected using Xlinx's opb_ps2_dual core. I've also tried to compil

Re: [uClinux-dev] uClinux microblze keyboard

2007-03-26 Thread John Williams
Hello Paula, Paula Stanciu wrote: hello that's the keyboard driver i've been able to find...but it doesn't compile. Can someone please help me ? I don't know where you got that driver from, but it's a long way from ever working. How is the keyboard connected to the MicroBlaze? Are you usi

Re: [uClinux-dev] Compiling problems with busybox(MicroBlaze)!

2007-03-11 Thread John Williams
Hello, Try the attached patch. Or better still, use PetaLinux when deveoping for MicroBlaze. http://developer.petalogix.com Regaqrds, John xuyun wrote: Hi,everyone.I've already done everything I was told according to the document:uClinux_ready_MicroBlaze_design.pdf. Until I came to "make

Re: [uClinux-dev] Possibility of porting uClinux to PowerPC Embedded architecture?

2007-03-11 Thread John Williams
Hi, xuyun wrote: Hi,I want to know is there any possibility to port uClinux to PowerPC architecture embedded system, such as PowerPC405 build-in the Xilinx VertexII Pro.Thank you! You don't need uClinux on the PPC - uClinux is for NOMMU CPUs, the PPC has an MMU, and regular linux runs on it.

Re: [uClinux-dev] userspace and kernel space

2007-03-06 Thread John Williams
David McCullough wrote: Jivin Muthu, Pushparaj IN GGN SISL lays it down ... Question related to uClinux has user space and kernel spaceser space . My question is In uClinux when user space calls system call , it invokes software interrupt and enter into kernel space serve the routine and c

Re: [uClinux-dev] [RFC] MicroBlaze 2.6.19-uc0 patches

2007-03-01 Thread John Williams
Hi Greg, Thanks for the detailed comments - I'll refactor and modify the patches as you propose and post another lot shortly for discussion. Cheers, John Greg Ungerer wrote: Hi John, John Williams wrote: Patches to add MicroBlaze arch support and preliminary drivers for several X

Re: [uClinux-dev] Local Link Temac under uClinux

2007-03-01 Thread John Williams
Hi Stephen, stephen jakeman wrote: Does anybody have any advice on implementing a local link temac running uClinux on a Microblaze Core. Sorry for delayed reply on this one, I missed it first time around. I have a preliminary port of the temac driver from the PPC 2.4 tree, however ran out of

Re: [uClinux-dev] kernel BUG at sched.c:562 when executing binary

2007-02-25 Thread John Williams
Hi Igor, This is a bug in the ucfront utility - I have just submitted a patch to this list. It should be in your inbox now if you are subscribed. Your workaround is only partially correct, you should have completely removed the --fatal-warnings stuff from common/config.arch. Chaging it to

[uClinux-dev] [patch] ucfront-ld and CONFIG_DEFAULTS_LIBC_NONE

2007-02-25 Thread John Williams
Hi, ucfront-ld tool chokes on the "NONE" libc option (for standalone toolchains with built-in uClibc, for example). Dumping the environment inside config/common/config.arch, I have: CONFIG_DEFAULTS_LIBC_NONE=y CONFIG_LIBCDIR= Here's what ucfront-ld says about that: FATAL: Could not determin

Re: [uClinux-dev] [ANNOUNCE] uClinux-dist-20070130 release

2007-02-22 Thread John Williams
Hi Gerg, Is there a (good :) ) reason why uClinux-dist/Makefile clean: target now deletes the $(LINUX)/include/asm symlink? This means that after a make clean you have to make oldconfig to get the symlink back. Perhaps this should be in distclean rather than clean? Cheers, John Greg Ung

Re: [uClinux-dev] BusyBox issues

2007-02-21 Thread John Williams
Hi David, David McCullough wrote: Jivin John Williams lays it down ... David McCullough wrote: Jivin Steve Bennett lays it down ... This often (always?) happens if you reconfigure busybox and rebuild. The solution is simply to clean out busybox after reconfiguring to ensure that

Re: [uClinux-dev] BusyBox issues

2007-02-21 Thread John Williams
David McCullough wrote: Jivin Steve Bennett lays it down ... This often (always?) happens if you reconfigure busybox and rebuild. The solution is simply to clean out busybox after reconfiguring to ensure that everything is rebuilt. $ make user/busybox_clean The code in user/busbox/Makefil

[uClinux-dev] [RFC] MicroBlaze 2.6.19-uc0 patches

2007-02-19 Thread John Williams
Hello, Patches to add MicroBlaze arch support and preliminary drivers for several Xilinx devices to linux-2.6.19-uc0 can be found here: http://developer.petalogix.com/wiki/MicroBlaze-2.6-Kernel#Otherpatches The patch set is roughly 800kb so too large to post here as an attachment. It's broad