Re: [uClinux-dev] PATCH: Problems with SPI/GPIO on 520x

2011-08-08 Thread Peter Turczak
Hi Greg, thank you for the hint with scripts/checkpatch.pl, it helped a lot. On Aug 8, 2011, at 7:03 AM, Greg Ungerer wrote: > Overall it looks right. Just a couple of minor nits to clean up: > Lets simplify the logic here a little and do: Done. > > There is no spi-mcf520x.c in this patch... >

Re: [uClinux-dev] PATCH: i2c on mcf5208

2011-08-08 Thread Peter Turczak
Hi Greg, On Aug 8, 2011, at 5:56 AM, Greg Ungerer wrote: > As far as I know this has never been in mainline kernels. > I have been carrying a version of it around in the uClinux-dist > linux-2.6.x sources for a while - as drivers/char/i2c-mcf.[hc] > > That looks to be similar, though not complete

Re: [uClinux-dev] PATCH: Problems with SPI/GPIO on 520x

2011-08-05 Thread Peter Turczak
Hi list, following the path I found yesterday I discovered the reason for the strange behavior of the chip select pins when toggled from the spi driver via the kernel gpio api. The problem has its root in the calculation of the set-port offsets (macro MCFGPIO_SETR() in arch/m68k/include/gpio.h

[uClinux-dev] PATCH: i2c on mcf5208

2011-08-05 Thread Peter Turczak
Hi list, while porting linux kernel 3.0 to a 5208 hardware I found the mcf-i2c driver went missing over the years. I ported the driver Derek CL Cheung's driver forward. This is tested on an mcf5208 board with several LM75s. Greg: Would you please check if it could be merged upstream? Best re

[uClinux-dev] Problems with SPI/GPIO on 520x

2011-08-04 Thread Peter Turczak
Hi list, while porting kernel 3.0 to a 5208 based hardware I stumbled across a strange problem with GPIO/SPI. The mcfqspi driver used the gpio subsystem to toggle the chip-select lines. The chipselect line goes low (as expected) when trying to access a slave (spi flash) but stays low forever.

[uClinux-dev] Planning to update kernel and userland, but to which revision?

2011-07-06 Thread Peter Turczak
Hi, we're considering to update our linux userland and kernel repository. Currently we use a slightly adapted uClinux-dist-test-20080620 as a kernel and userland for our MCF5208 system. So now we want to update both to more recent versions. As there was a huge amount of work done by Greg, Geert

Re: [uClinux-dev] Hi guys, a problem with MTD and SST39VF6401B70 NOR flash

2010-03-15 Thread Peter Turczak
t; Thanks a lot > > > > > In data lunedì 08 marzo 2010 09:43:05, Fabio Giovagnini ha scritto: > : > Thanks a a lot. >> What is the command to apply the patchs; so I do not get wrong. >> >> Thanks alot >> >> Alle 09:35, lunedì 8 marzo 2010, Peter T

Re: [uClinux-dev] Hi guys, a problem with MTD and SST39VF6401B70 NOR flash

2010-03-08 Thread Peter Turczak
Hi Fabio, about a one and a half year ago I stumbled across exactly the same Problem. SST reports it's flashes size twice, one time as "Blocks" and once again as "Sectors". I did a workaround for exactly this problem. (See http://www.mail-archive.com/uclinux-dev@uclinux.org/msg05737.html ). Ple

Re: [uClinux-dev] application development for a coldfire m5272 platform

2009-01-09 Thread Peter Turczak
Hi Eugen, maybe you could use m68k-elf-gcc -o test test.c -elf2flt -m5200 See m68k-elf-gcc --target-help for further supported Instructionsets. Regards, Peter On Jan 9, 2009, at 10:25 AM, Eugen Stoianovici wrote: I get the "Illegal Instruction" error message with m68k-uclinux-gcc also. I'm

Re: [uClinux-dev] DQ5 Checks in mtd drivers

2009-01-05 Thread Peter Turczak
Hi Glenn, do you use CFI to detect your SST-Flash? I stumbled on this problem half a year ago on 2.6.x, I found out that SST has quite an interesting interpretation of the CFI-Standard. Their devices have both sectors and eraseblocks, and their CFI-Struct lists both, so the sum of all sec

Re: [uClinux-dev] RAM size autodetection

2008-12-09 Thread Peter Turczak
Hi Frederic, On Dec 9, 2008, at 11:29 AM, Frédéric DUBOIS wrote: Hello, We plan to double up the SDRAM size of our 5272-based board. It would be more convenient for us that the kernel automagically detects the size of the installed RAM instead of managing two different kernels

[uClinux-dev] Problems porting dropbear 0.53 to uClinux-dist on a Coldfire

2008-11-13 Thread Peter Turczak
or even better a fix for this problem ;) Greetings Peter Turczak ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see

Re: [uClinux-dev] patches for MCF QSPI in uClinux-dist-20080808 for 2.4 kenel

2008-10-02 Thread Peter Turczak
Hi David, Hi Greg, maybe the patch I posted some time ago for making spi_coldfire work in Kernel 2.6 could serve as an inspiration, the file is attached again. In a project of mine this patch to the code beaves quite well (working stable without a problem) with two slaves, one using mtd_dat

[uClinux-dev] [PATCH] Using shadow passwords in Tinylogin with ftpd

2008-09-28 Thread Peter Turczak
Hi, while experimenting with the ftpd and telnetd shipped with uclinux- dist-2008... i found a strange situation appears when enabling tinylogin with shadow support. After setting up a new user using adduser and setting its password, telnetd would allow me to log in using this new user, wh

Re: AW: [uClinux-dev] run cyclictest on uClinux/NET+ARM

2008-07-03 Thread Peter Turczak
Hi Michael, please look into the Makefile of cyclictest. Normally the file should be BFLT as the ELF binary-format is not used in uClinux. Maybe look into the post of Hartmut Michelfelder on how a Makefile should look like. Maybe you could convert the file using PLATFORM-elf-elf2flt or

[uClinux-dev] [patch] The state of QSPI on Coldfire/ Fixups for QSPI driver

2008-06-28 Thread Peter Turczak
Hi, after testing the driver with the mtd_dataflash module it seems quite stable. Here is a short summary what this patch does: - Adapting it to the completely revamped workqueue API, I took some HiSax driver and a LWN article as a reference - The SA_INTERRUPT flag for request_irq seems to be

[uClinux-dev] The state of QSPI on Coldfire

2008-06-26 Thread Peter Turczak
Hi, currently there are three drivers for the Coldfire QSPI interface in the test-release. All of them are broken in varying degrees, so I am working to get at least one running smoothly. Mike Lavenders latest Driver (spi_coldfire.c), which was also annouced in this list, seems to be the

Re: [uClinux-dev] uClinux-dist-test-20080612 released

2008-06-22 Thread Peter Turczak
Hi Greg, first of all thanks for this nice release. Most of the annoying bugs of the last official release are gone, like the problems of incremental builds of busybox, and some kernel flaws. During experimentation with the truckload of new features i found the following problems: - When

Re: [uClinux-dev] the Kernel does not start a script

2008-06-03 Thread Peter Turczak
Hi, not to ask a stupid question but could it be that these scripts are written in dos-format? The cr-lf on the line-end may confuse the system, at least some unices are a little allergic on such ,,noise''. Greetings Peter On Jun 3, 2008, at 11:25 AM, Michael Schnell wrote: You do not

Re: [uClinux-dev] appWeb

2008-06-03 Thread Peter Turczak
Hi, the web-server boa, shipped with uClinux-dist does compile and supports cgi, maybe it is worth a look. Using .htpasswd with CGI might be possible, see user/boa/cgi.c, line 442. I had the same trouble with appWeb, at least I gave up. Greetings Peter On Jun 3, 2008, at 9:29 AM, Bernd

Re: [uClinux-dev] ftpd "LIST" does not work for me

2008-04-24 Thread Peter Turczak
be see: http://mailman.uclinux.org/mailman/options/uclinux-dev --- Peter Turczak -Geschäftsführer- NetConsequence GmbH IT-Consulting Garbenheimer Strasse 30-38 D-35578 Wetzlar Tel. +49-6441-669141-0 Fax +49-6441-669141-1 E-Mail:[EMAIL PROTECTED] AG Wetzlar HR

Re: [uClinux-dev] Cygwin Toolchain Install?

2008-04-17 Thread Peter Turczak
nload?    ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev --- Peter Tu

Re: [uClinux-dev] uClinux - file transfer over ttyS0 ?

2008-03-24 Thread Peter Turczak
Hi Kunal, i would suggest to use Z-Modem (lrzsz) to download the application from the host. Just compile it into the image ( I think this is somewhere in misc Applications in the uClinux config). Then type rz on the command-Prompt and then send the file via the z-modem Protocol from your