Re: [uClinux-dev] FetchTV and UCLinux

2015-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2015 at 06:11:59PM +1100, Joshua Stokes wrote: > Hi UCLinux > > Apparently FetchTV uses your software and I was wondering how the open > resources (software code), can be used, as I'm fascinated in the advanced > coding that happens behind the scenes with operating systems. I

Re: [uClinux-dev] 2.6.38 in Freescale Feb 2012 BSP

2013-09-13 Thread Lennart Sorensen
On Fri, Sep 13, 2013 at 11:28:52AM -0400, Bair, Richard wrote: I have a 4.7MB application that runs on the 2.6.26 kernel (Freescale BSP) and am working to make it run on the 2.6.38 kernel released in the ColdFire BSP in Feb 2012. I'm concerned about memory allocation as my first attempt to

Re: [uClinux-dev] Excluding one of n Cores

2013-07-29 Thread Lennart Sorensen
On Mon, Jul 29, 2013 at 12:51:31PM +0200, Michael Schnell wrote: Hi Experts. Is there a kind of official way to set aside one of the available cores in an SMP system from the Linux OS to do deeply embedded extremely-low-latency stuff in a kind of single task main loop type environment ?

Re: [uClinux-dev] Excluding one of n Cores

2013-07-29 Thread Lennart Sorensen
On Mon, Jul 29, 2013 at 05:19:32PM +0200, Michael Schnell wrote: While this is really interesting stuff and closely related (defining a standard protocol between Linux and coprocessors), I understand that this article is about using coprocessors that are dedicated by hardware (e.g. because

Re: [uClinux-dev] fix malloc whole page for small allocations?

2013-04-12 Thread Lennart Sorensen
On Fri, Apr 12, 2013 at 07:34:19AM -0700, Steve deRosier wrote: Hi all, Every time our application mallocs any small number of bytes (8k), the device seems to malloc an entire page (8k). Does anyone know why this happens, and how I can fix it? Imagine the amount of fragmentation you would

Re: [uClinux-dev] Porting uClinux to a specific board

2013-03-28 Thread Lennart Sorensen
On Thu, Mar 28, 2013 at 08:27:44AM +, Plüss Tobias TA.E.1001 wrote: I would like to use uClinux on an ARM7 board which I built by myself. It contains a NXP LPC2468 processor and uses external FLASH (8M) and SDRAM (64M), which I think should be enough memory for uClinux. Okay, what I did

Re: [uClinux-dev] RAM based filesystem in uclinux

2013-03-26 Thread Lennart Sorensen
On Tue, Mar 26, 2013 at 11:45:57AM +1000, Greg Ungerer wrote: Yes. On many occasions I have mixed various kernel binary and romfs images when testing regressions. It's so easy the way we do this on ColdFire, I just cat them together. Well that does sound pretty easy. The kernel config for

Re: [uClinux-dev] RAM based filesystem in uclinux

2013-03-22 Thread Lennart Sorensen
On Fri, Mar 22, 2013 at 09:28:18AM -0400, Ashish Phogat wrote: Hi folks, I have some basic problem: I have my uclinux currently running on Coldfire board from RAM. I have romfs as my file system but that is read only file system.I donot enable MTD support, blckmem is also disabled. I

Re: [uClinux-dev] RAM based filesystem in uclinux

2013-03-22 Thread Lennart Sorensen
On Fri, Mar 22, 2013 at 10:06:03AM -0400, Ashish Phogat wrote: I am using Linux kernel version 2.4...Whether initramfs is available in that kernel version 2.4 with cpio archieve. DO I need to select initrd or ramdisk with initramfs? I am sorry I am new to uclinux/linux. I am building myself

Re: [uClinux-dev] mount cramfs on loopback?

2013-02-19 Thread Lennart Sorensen
On Mon, Feb 18, 2013 at 12:08:19PM -0800, Steve deRosier wrote: OK, this is driving me crazy, I can't figure out how to get a cramfs file to mount via loopback on my Coldfire target. I'm sure I'm missing something simple, but I'm not seeing it. Can anyone help? * cramfs is enabled in my

Re: [uClinux-dev] mount cramfs on loopback?

2013-02-19 Thread Lennart Sorensen
On Tue, Feb 19, 2013 at 10:04:41AM -0800, Steve deRosier wrote: Hi Lennart, On Tue, Feb 19, 2013 at 8:40 AM, Lennart Sorensen lsore...@csclub.uwaterloo.ca wrote: The syntax from what I recall is: mount -t cramfs -o loop /path/imagefile /mountpoint Yes, but that results

Re: [uClinux-dev] Coldfire uClinux boot with u-boot

2013-01-14 Thread Lennart Sorensen
On Fri, Jan 11, 2013 at 03:38:21PM -0800, Steve deRosier wrote: Hi all, I'm stuck trying to get Linux to boot from U-Boot on a Coldfire system and I'd love some ideas of what to try next. I'm upgrading a uClinux system from a 2.4 kernel to 3.3. Additionally I'm trying to upgrade the

Re: [uClinux-dev] finding the root device

2012-09-21 Thread Lennart Sorensen
588baeac38829304390b690142376d2c71ac5c9f Author: Lennart Sorensen lsore...@csclub.uwaterloo.ca Date: Fri Sep 18 13:49:36 2009 -0400 m68knommu: add uboot commandline argument passing support This patch adds m68knommu support for getting the kernel command line arguments from uboot

Re: [uClinux-dev] Is there any possibility to port uClinux to MPC5566 Microcontroller

2012-08-20 Thread Lennart Sorensen
On Sat, Aug 18, 2012 at 09:51:24AM +0530, Thirumalesha N wrote: This is Thiru, I'm new to uClinux. Is there any comparability to port uClinux for MPC5566 micro controller, if so how to port? How much ram does one of those systems actually have? As far as I can tell the CPU is a

Re: [uClinux-dev] Is there any possibility to port uClinux to MPC5566 Microcontroller

2012-08-20 Thread Lennart Sorensen
On Mon, Aug 20, 2012 at 04:48:01PM +0200, Erwin Authried wrote: it has 128KB internal SRAM only, so there's no chance to run uClinux without adding more ram. I don't know if this chip supports external ram at all. It seems like it can support up to 512MB external ram, but I can't make sense of

Re: [uClinux-dev] 68K GNU Compiler

2012-08-08 Thread Lennart Sorensen
On Wed, Aug 08, 2012 at 05:13:53PM +0200, Michael Schnell wrote: I remember that the 68332 documentation does provide cycle count. the calculation is complicated, as it depends on the count of cycles necessary to access the different memory areas that are accessed. In fact I found that the

Re: [uClinux-dev] 68K GNU Compiler

2012-08-03 Thread Lennart Sorensen
On Fri, Aug 03, 2012 at 12:13:45PM +0200, Michael Schnell wrote: On 08/03/2012 07:46 AM, Greg Ungerer wrote: Do you know what version of gcc it uses? Thanks a lot for answering ! fido-none-elf-gcc.exe --version fido-none-elf-gcc.exe (Sourcery G++ 4.4-186) 4.4.1 Copyright (C) 2009 Free

Re: [uClinux-dev] 68K GNU Compiler

2012-08-03 Thread Lennart Sorensen
On Fri, Aug 03, 2012 at 05:13:39PM +0200, Michael Schnell wrote: I have no decent knowledge about Coldfire. I understand that Coldfire is a kind of RISK and has different ASM code, only providing that any 68K ASM instruction can rather easily translated into one or multiple Coldfire ASM codes.

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-17 Thread Lennart Sorensen
On Thu, May 17, 2012 at 03:21:12PM +0100, Luis Alves wrote: Hi Greg, Yes, that file exists in the sources gcc-version/gcc/config/m68k/uclinux.h I've changed those flags and it works (at least in a small test with the first pass gcc). But take a look at the comments in my bug report:

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-14 Thread Lennart Sorensen
On Mon, May 14, 2012 at 04:07:52PM +0100, Luis Alves wrote: I'm currently using the 'experimental' pre-built gcc toolchain from http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh to build my uClinux-dist. I've never found any issue with that

Re: [uClinux-dev] [PATCH 21/22] m68knommu: simplify the ColdFire 532x GPIO struct setup

2012-04-26 Thread Lennart Sorensen
On Thu, Apr 26, 2012 at 02:36:20AM +0200, mohamed nabil wrote: that's a Fucking spam man !! It was an overview and 22 patch files, sent in standard git email style. Very organized, all in one thread, easy to read. Nothing wrong with it. -- Len Sorensen

Re: [uClinux-dev] mcf5307, i2c rtc

2011-08-21 Thread Lennart Sorensen
On Sun, Aug 21, 2011 at 01:50:30AM +0200, Angelo Dureghello wrote: i would like to try a connected Dallas DS1307 rtc to the i2c bus of a coldfire 5307. I am using a main line kernel 2.6.36.2, but i don't see any coldfire i2c bus driver. What driver i should look for ? What kconfig options

Re: [uClinux-dev] [PATCH] m68k: reorganize Kconfig options to improve mmu/non-mmu selections

2011-08-15 Thread Lennart Sorensen
On Mon, Aug 15, 2011 at 10:53:35AM +1000, Greg Ungerer wrote: Even if we remove these options now they can always be re-introduced if and when a driver that needs them is ready for mainline. Didn't the Amiga 600 and 1200 have PCMCIA slots? I have no idea if those are supported. I certainly

Re: [uClinux-dev] micrel PHY change between kernels on freescale 5275

2011-08-05 Thread Lennart Sorensen
On Fri, Aug 05, 2011 at 11:22:28AM +1000, Greg Ungerer wrote: The FEC driver is now also used by some of the ARM based Freescale iMX parts. So some changes have been required over the last couple of years :-) It also now uses phylib, and doesn't have its own phy specific support code in the

Re: [uClinux-dev] troubles with compiling kernel

2011-06-21 Thread Lennart Sorensen
On Tue, Jun 21, 2011 at 10:17:57AM +, Hasan abbadi wrote: any idea please ?? Which compiler version? Which binutils? Etc. After all a uclinux from 4.5 years ago very well may not work with modern tools. I can't even imagine why you are using something that ancient. Could you run it

Re: [uClinux-dev] Porting uClinux to ARM922T

2011-06-13 Thread Lennart Sorensen
On Wed, Jun 01, 2011 at 04:53:03AM -, mano r wrote: We are in the process of porting Linux to ARM922 based custom board. As an initial level we would like to start with an MMU-less OS. We understand uClinux best suits our requirement as uClinux is for MMU-less MPUs. We are very much

Re: [uClinux-dev] serial port (RS-232) baudrate issue

2011-06-01 Thread Lennart Sorensen
On Wed, Jun 01, 2011 at 10:14:19AM +0200, Salvatore Frizzoli - IMS Italy wrote: thank you for the accurate response. We use a Coldfire 5234. I have seen on the Coldfire manual and the uClinux code (kernel 2.6.x). Making some computations, we have seen that our 57600 baudrate is changed by our

Re: [uClinux-dev] Host fo ucLinux

2011-03-25 Thread Lennart Sorensen
On Fri, Mar 25, 2011 at 03:03:57PM -0400, Simon V Chamlian wrote: I am new in the Linux world. I would like to start a new project with ucLinux on MCF5282 and would like some information from people who already used it. 1) My computer has Windows XP, therefore I need a Linux Host to

Re: [uClinux-dev] busybox httpd, strange ps line

2011-01-10 Thread Lennart Sorensen
On Tue, Jan 11, 2011 at 06:24:04AM +1000, Steve Bennett wrote: This is a no-mmu system. Because fork is not available, busybox httpd uses vfork/re-exec instead and this sets the top bit of argv[0][0] to detect this situation on re-exec. So it's perfectly normal. Could it be changed to use

Re: [uClinux-dev] Compiler question

2010-11-12 Thread Lennart Sorensen
On Fri, Nov 12, 2010 at 02:55:30PM +, Philip Nye wrote: Convention has it that to build a cross compiler from scratch you need to do it twice - stage-1 is a restricted version to build the target library, the stage-2 is a full generic compiler. However, I don't know the workings of GCC

Re: [uClinux-dev] Compiler question

2010-11-12 Thread Lennart Sorensen
On Fri, Nov 12, 2010 at 05:55:58PM +, Philip Nye wrote: Thanks Len - this is very plausible, but doesn't fit the facts when building a cross compiler: Both stage-1 and stage-2 get built using exactly the same native compiler on the host system, and (unless your are building canadian

Re: [uClinux-dev] [RFC] m68knommu: use user stack pointer hardware on some ColdFire cores

2010-11-04 Thread Lennart Sorensen
On Thu, Nov 04, 2010 at 02:50:16PM +1000, Greg Ungerer wrote: This is a request for testing (and comment) on a patch that will use the separate kernel/user stack pointer hardware that the more modern ColdFire cores have. This has a performance benefit when used, the exception entry and exit

Re: [uClinux-dev] Re: how to decrease serial port tx latency? (Alexey Goncharov)

2010-07-15 Thread Lennart Sorensen
On Thu, Jul 15, 2010 at 04:53:45PM +0600, Alexey Goncharov wrote: Guys, i've just figured out a strange behaviour of the serial driver. As I mentioned above in my previous letter, irq count is going up fast enough (serial tx period is ~100 ms now). I started to debug 8250.c and append

Re: [uClinux-dev] Re: how to decrease serial port tx latency? (Alexey Goncharov)

2010-07-13 Thread Lennart Sorensen
On Tue, Jul 13, 2010 at 06:25:23PM +0600, Alexey Goncharov wrote: I wonder if the port is using the irq or polling? I seem to recall seeing really bad serial performance when the irq wasn't setup right once. Here is some output from linux booting log: Serial: 8250/16550 driver $Revision:

Re: [uClinux-dev] Re: how to decrease serial port tx latency? (Alexey Goncharov)

2010-07-08 Thread Lennart Sorensen
On Thu, Jul 08, 2010 at 11:46:51AM -0500, Mark Schank wrote: Not sure if it applies here, but I use a utility called setserial to set the low_latency flag on the port. I also build my kernel with a 1000hz tick rate. It seems to reduce some of the latency, but I have never seen it as high

Re: [uClinux-dev] httpd error

2010-06-21 Thread Lennart Sorensen
On Sun, Jun 20, 2010 at 10:11:28PM +0200, angelo wrote: Dear all, i am running kernel 2.6.X uClinux on a MCF5307 / dm9000 custom board. dm9000 driver was written for little endian cpu, i adapted it to big endian cpu with some byte swapping here and there. So the network is mostly working,

Re: [uClinux-dev] uClinux port

2010-06-10 Thread Lennart Sorensen
On Thu, Jun 10, 2010 at 10:25:37AM -0400, Jim Donelson wrote: Well, depends what you consider low cost, but the part is speced to run at 400Mhz -40 to 125C. That's the only version they show for this chip. Freescale is heavy into the automotive market, so it make sense. Yeah we use freescale

Re: [uClinux-dev] dm9000 with mcf5307

2010-06-03 Thread Lennart Sorensen
On Thu, Jun 03, 2010 at 09:49:40AM +0200, angelo wrote: i have almost the sending part of the driver up and running, with some small changes, but as you said, it is written to work with little endian cpu. It is not a problem of bit ordering, as in your diagram below. Endianness here mean

Re: [uClinux-dev] dm9000 with mcf5307

2010-06-02 Thread Lennart Sorensen
On Wed, Jun 02, 2010 at 02:40:41PM +0200, angelo wrote: many thanks, i did some key steps forward: - created my 5307/boards/amcore.c with platform_device/resources structures. Now the dm9000_probe is executed correctly. - had some problems in setting correct .start / .end addresses, but now

Re: [uClinux-dev] dm9000 with mcf5307

2010-06-01 Thread Lennart Sorensen
On Tue, Jun 01, 2010 at 09:16:08PM +0200, angelo wrote: i connected stright D0:D31 of coldfire with D0:31 of the chip. I still didn't looked too much inside the driver, but actually, probably i am one step before, the dm9000_probe is not called at all (i put some printk inside). Perhaps

Re: [uClinux-dev] dm9000 with mcf5307

2010-06-01 Thread Lennart Sorensen
On Tue, Jun 01, 2010 at 09:55:24PM +0200, angelo wrote: hi all, i also found this link that say that drivers 1.2 are not suitable for dm9000e that is in my board. http://www.cutedigi.com/article_info.php?articles_id=29 Could it be that i have to look for a v 1.2 driver ? The driver in

Re: [uClinux-dev] kernel load issue, jump to _fault vector

2010-05-10 Thread Lennart Sorensen
On Sat, May 08, 2010 at 04:50:56PM +0200, angelo wrote: Hi all, well i have some news with this coldfire 5307 issue, i disassembled and put some loop as opcodes here and there in the kernel (4ef9 jmp ) as a very rude debug. The issue is just at the beginning: Dump of

Re: [uClinux-dev] asterisk with uClinux error

2010-05-06 Thread Lennart Sorensen
On Thu, May 06, 2010 at 10:12:27AM +0900, Zaya Kh wrote: Hi , all I want to create uClinux with Asterisk PBX, I'm using Petalinux tool chain and Spartan3e Starter kit board We can* make menuconfig*, check Asterisk PBX, and libSSL, ncurses While we compiling kernel, I saw this error:

Re: [uClinux-dev] asterisk with uClinux error

2010-05-06 Thread Lennart Sorensen
On Thu, May 06, 2010 at 03:00:40PM +0200, Alexander Stein wrote: If passed --host and --build differ (or --target?) configure _should_ detect such things. But iexpect this will only work, if autofoo is setup correctly, otherwise It should know, but most developers don't think about cross

Re: [uClinux-dev] Is uClinux supported by Marvell PXA3xx?

2010-05-06 Thread Lennart Sorensen
On Thu, May 06, 2010 at 10:59:14PM +0800, Daniel wrote: I am sorry that maybe the special characters crashed my former email. So, I think I need to reinstate my problem.   I am currently now trying to port uclinux into Marvell 89AP303 AMR device. The first important question is whether

Re: [uClinux-dev] asterisk with uClinux error

2010-05-06 Thread Lennart Sorensen
On Thu, May 06, 2010 at 06:00:13PM +0100, Jamie Lokier wrote: The above error should not occur if ./configure is called correctly for cross-compilation. config.log will explain what it's doing before it complains. For a few autoconf tests it does and there is no way to avoid it. In the case

Re: [uClinux-dev] Is uClinux supported by Marvell PXA3xx?

2010-05-06 Thread Lennart Sorensen
On Fri, May 07, 2010 at 01:24:08AM +0800, Daniel wrote: Yes, I mean 'Marvell 88AP303 ARM device'. It is good to know it supports uClinux. Thanks! Well I don't know that exact one, but as I said, I would expect it to work. As far as I can tell all the PXA chips are full armv5tel so they should

Re: [uClinux-dev] coldfire build with DISABLE_XIP causes problems

2010-05-05 Thread Lennart Sorensen
On Wed, May 05, 2010 at 02:40:27PM -0400, Michael C. Silva wrote: The company I work for has long-stable software implementation based on uCLinux Coldfire. Some of our apps are approaching a size limit that I believe is caused by the use of -msep-data (which I believe is used for XIP

Re: [uClinux-dev] Newbe NOMMU question.

2010-04-21 Thread Lennart Sorensen
On Wed, Apr 21, 2010 at 08:56:04AM -0500, Gary Altenberg wrote: I’m working with uClinux on a NOMMU ARM and using BusyBox. I have seen people in this list talk about NOMMU memory fragmentation issues. I’m just wondering if I’m going to run into major memory fragmentation problems if I run

Re: [uClinux-dev] Newbe NOMMU question.

2010-04-21 Thread Lennart Sorensen
On Wed, Apr 21, 2010 at 11:21:19AM -0400, Jeff Bacon wrote: What version of Busybox are you using? I am finding it difficult to make a newer version (1.15.x, 1.16.0) that small. In fact, when I configure it with a single applet, I still somehow get a ~200kB binary. Are there other options you

Re: [uClinux-dev] Newbe NOMMU question.

2010-04-21 Thread Lennart Sorensen
On Wed, Apr 21, 2010 at 11:34:35AM -0400, Jeff Bacon wrote: I was under the impression that for NOMMU, binary Text segments could NOT be shared. How are you getting the kernel to share the text areas? For me, every copy of BB is taking up a new 256kB chunk. I am running on an ARM7TDMI, you?

Re: [uClinux-dev] Creating a new arch

2010-04-15 Thread Lennart Sorensen
On Thu, Apr 15, 2010 at 08:50:01AM +0800, Ben Kloosterman wrote: If you can write a Fortran to CIL compiler it will work which is not that hard. However changing the desktop market from Windows and OSx is not my goal as it is too difficult and needs big marketing. My goal is a Niche where

Re: [uClinux-dev] Creating a new arch

2010-04-13 Thread Lennart Sorensen
On Tue, Apr 13, 2010 at 10:28:45AM +0800, Ben Kloosterman wrote: By using languages that don't allow pointers . I imagine that will go over well with programmers in general. I would be all for that, but it seems most people don't want to rewrite all their code. Of course sticking with our

Re: [uClinux-dev] Coldfire ucLinux bitbanging a PIO.

2010-03-22 Thread Lennart Sorensen
On Mon, Mar 22, 2010 at 03:06:34PM +, g...@novadsp.com wrote: Here's the problem: I need to program some hardware via 2 pins of the PIO (1 clock, 1 data). Timing constraints are tight - 10ms clock cycle time. All this, of course, whilst I maintain very high level services (CAN bus,

Re: [uClinux-dev] Coldfire ucLinux bitbanging a PIO.

2010-03-22 Thread Lennart Sorensen
On Mon, Mar 22, 2010 at 12:58:37PM -0500, John B Moore wrote: On a Coldfire 5233/5235/5307, you can use one of the programmable interrupt timers to get a 10ms interval. This is a less evil solution than using the timer tick. I don't know if all Coldfire processors have more than one PIT

Re: [uClinux-dev] Hi, all, wher can I find information on how to embedding teh initrd fs into the kernel?

2010-03-17 Thread Lennart Sorensen
On Wed, Mar 17, 2010 at 06:35:58AM +0100, Fabio Giovagnini wrote: Thanks a lot Len, Hi have a loto problem above all I'm not sure about my hw; it si a new board I need to debug firstly the hw part of the sistem Can I write to you for an ideas exchange? Sure. I will try to answer if I can

Re: [uClinux-dev] nfsroot is so slow

2010-03-17 Thread Lennart Sorensen
On Wed, Mar 17, 2010 at 05:35:24PM +0100, Fabio Giovagnini wrote: now I'm able to mount root nfs but it is so slow: /dev/root,0x0c1a58a0,0x8000,0x0c24659c do_mount_root,273 - debug 2 do_mount_root,277 - debug 3 do_mount_root,279 - debug 4 VFS: Mounted root (nfs filesystem). Freeing

Re: [uClinux-dev] Re: [PATCH v2] m68knommu: driver for Freescale Coldfire I2C controller.

2010-03-12 Thread Lennart Sorensen
On Fri, Mar 12, 2010 at 12:04:53PM +0100, Philippe De Muyter wrote: Hello all, On Mon, Jan 25, 2010 at 11:56:30AM -0800, Steven King wrote: Add support for the I2C controller used on Freescale/Motorola Coldfire MCUs. Signed-off-by: Steven King sfk...@fdwdc.com What's the

Re: [uClinux-dev] data sections address retrieving

2010-03-10 Thread Lennart Sorensen
On Wed, Mar 10, 2010 at 09:41:53AM -0800, Stern, Allon wrote: On Mar 10, 2010, at 12:03 PM, Daniele Ziglioli wrote: In a uclinux (coldfire) C application , how can I retrieve the myself data section addresses (.data,.rodata,.text, etc) ? m68k-uclinux-objdump -h If you're on a

Re: [uClinux-dev] ARM development?

2010-03-08 Thread Lennart Sorensen
Thank you for your reply. I wish I was using an ARM or something with an MMU but as you can see I am not. I am running uClinux on my board now. I have 32MB of ram. OK 32MB is lots of ram. As I said I purchased a reference design board and it came with a complete uClinux development

Re: [uClinux-dev] I just booted uClinux on a Deskjet. Ask me anything.:-)

2010-02-19 Thread Lennart Sorensen
On Fri, Feb 19, 2010 at 07:37:43AM -0500, Brian S. Julin wrote: IMO almost all bubblejets are crap. Haven't had one yet where the cartridges wouldn't dry up if you didn't use it at least once a week. Which is usually the point at which people get frustrated and chuck them. So other than the

Re: [uClinux-dev] Where are latest and Greatest tool (binutil and gcc, for m68k)

2010-01-28 Thread Lennart Sorensen
On Wed, Jan 27, 2010 at 07:04:07PM -0700, Elden Crom wrote: Where is the latest and greatest version of gcc, binutils, etc for the m68k-uclinux? I use: gcc 4.3.3 binutils 2.19.1 elf2flt checkout from blackfin from 2009/04/20 uclibc 0.9.30.1 (although with a slight patch to remove the

Re: [uClinux-dev] Where are latest and Greatest tool (binutil andgcc, for m68k)

2010-01-28 Thread Lennart Sorensen
On Thu, Jan 28, 2010 at 11:00:16AM -0700, Elden Crom wrote: I'm currently trying to compile wget http://www.promotionalpromos.com/mirrors/gnu/gnu/gcc/gcc-4.3.3/gcc-4.3.3.tar.bz2 wget http://www.promotionalpromos.com/mirrors/gnu/gnu/binutils/binutils-2.20.tar.bz2 svn checkout -r

Re: [uClinux-dev] m68k, C++

2010-01-19 Thread Lennart Sorensen
On Mon, Jan 18, 2010 at 10:36:11PM -0700, Elden Crom wrote: yea I just disabled that lib when compiling gcc 4.4.2/binutils 2.20...I was wondering if it would be possible to either replace a.out with a script that would download to the target and run it over there and return the results, or

Re: SPAM-LOW: [uClinux-dev] newbie questions

2010-01-06 Thread Lennart Sorensen
On Wed, Jan 06, 2010 at 06:53:30PM +, g...@novadsp.com wrote: Hello Martin Re your first question if you are looking to use uCLinux then pick a suitable processor. Unless the hardware budget is very, very, very tight you will save endless amounts of time, energy, thus money using a

Re: [uClinux-dev] newbie questions

2010-01-06 Thread Lennart Sorensen
On Wed, Jan 06, 2010 at 07:18:41PM +, Philip Nye wrote: Lennart Sorensen wrote: ... We have a board using a coldfire 5270 with 8MB ram and 4MB flash, and that works fine. I have a similar setup with Coldfire 5272 and only 2MB flash which works OK. As is common, my kernel and file

Re: [uClinux-dev] kernel panic

2009-12-17 Thread Lennart Sorensen
On Fri, Dec 18, 2009 at 12:10:51AM +1000, Greg Ungerer wrote: Given the simplicity of using MTD and the uclinux.c mapping why would you not be using if you have your root fs after your kernel binary? There are other methods, init ramfs, initrd, etc. Don't know if anyone has tried them on

Re: [uClinux-dev] kernel panic

2009-12-17 Thread Lennart Sorensen
On Thu, Dec 17, 2009 at 10:22:22AM -0500, Lennart Sorensen wrote: On Fri, Dec 18, 2009 at 12:10:51AM +1000, Greg Ungerer wrote: Given the simplicity of using MTD and the uclinux.c mapping why would you not be using if you have your root fs after your kernel binary? There are other

Re: [uClinux-dev] Is there a GIT tree for the uClinux-dist kernel?

2009-12-15 Thread Lennart Sorensen
On Tue, Dec 15, 2009 at 10:11:27PM +1000, Greg Ungerer wrote: Hi Jamie, On 12/12/2009 03:12 PM, Jamie Lokier wrote: I'm looking for a Git repository which corresponds to the kernel in the uClinux distribution, to see the changes with history in a cherry-pickable form. Is there a repository?

Re: [uClinux-dev] Is there a GIT tree for the uClinux-dist kernel?

2009-12-15 Thread Lennart Sorensen
On Tue, Dec 15, 2009 at 07:39:38PM +, Jamie Lokier wrote: Lennart Sorensen wrote: On Tue, Dec 15, 2009 at 10:11:27PM +1000, Greg Ungerer wrote: Have I missed the right repo, or isn't there one? That kernel is really just a compilation of lots of other trees (mostly vendors trees

Re: [uClinux-dev] uclinux and AMD Geode LX700

2009-12-14 Thread Lennart Sorensen
On Mon, Dec 14, 2009 at 09:29:47AM -0300, thiago wrote: I need documentation or talk with anyone about compilation of the uclinux dist in AMD Geode LX700 platform, add in skype. Unless skype gave you source code, I doubt it will run without glibc. -- Len Sorensen

Re: [uClinux-dev] kernel 2.4 and developer environment for newbies

2009-12-10 Thread Lennart Sorensen
On Thu, Dec 10, 2009 at 09:24:26AM +0100, Adal Alom Rodríguez wrote: My name is Adal and I'm new in this world. I'm working with a few freescale coldfire as a developer and after a few weeks of try - error - read, I think I'm ready to ask some questions. The firs one: I'm trying to compile a

Re: [uClinux-dev] Is anyone using net-snmp successfully on the m68knommu/Coldfire platform?

2009-11-16 Thread Lennart Sorensen
On Fri, Nov 13, 2009 at 01:36:10PM -0800, Dan Snyder wrote: Can you suggest an alternative, extensible, snmp v3 capable agent? No, since I have never found one. I have learned net-snmp is amazingly buggy though. We are switching to a proprietary snmp system we licensed for future projects

Re: [uClinux-dev] Is anyone using net-snmp successfully on the m68knommu/Coldfire platform?

2009-11-13 Thread Lennart Sorensen
On Fri, Nov 13, 2009 at 12:03:52PM -0800, Dan Snyder wrote: I would like to know if anyone is using net-snmp successfully on the m68knommu/Coldfire platform, and if so, what is the memory requirement, and were any patches required? We are had a number of problems: First, the compile

Re: Re: Re : [uClinux-dev] An error in building uClinux-dist-20090618

2009-11-05 Thread Lennart Sorensen
On Thu, Nov 05, 2009 at 08:58:18AM +0800, Yuen Chi Chuen wrote:   thx Len Sorensen,   Sorry for typing wrongly in previous email. I did type make CROSS_COMPILE=arm-elf-. However, it turns out an error include/linux/compiler-gcc.h:86: linux/compiler-gcc2.h: No such file or directory.

Re: Re: [uClinux-dev] An error in building uClinux-dist-20090618

2009-11-04 Thread Lennart Sorensen
On Wed, Nov 04, 2009 at 07:11:36PM +0800, Yuen Chi Chuen wrote: thx phil,   In /usr/local/bin/, there's an arm-elf-gcc. So in command prompt, I typed make CROSS_COMPILE = arm-elf. However, as attachment shows, it turns out an error include/linux/compiler-gcc.h:86: linux/compiler-gcc2.h: No

Re: [uClinux-dev] Luminary lm3s9b92

2009-10-20 Thread Lennart Sorensen
On Tue, Oct 20, 2009 at 02:06:41PM +0200, Tom Mayer wrote: I am new to uClinux and have a few questions. I plan to use the lm3s9b92 chip from luminary (already got 2 samples :)) with uClinux. I plan to design hardware with 16mb sdram and 4mb flash. From my research that should be plenty

Re: [uClinux-dev] building uClibc

2009-10-14 Thread Lennart Sorensen
On Wed, Oct 14, 2009 at 02:32:02PM +0100, Philip Nye wrote: Lennart Sorensen wrote: I am currently using a coldfire (5270/5271) with gcc 4.3.3, binutils 2.19.1, elf2flt (blackfin version from a late april checkout, other versions didn't work with gcc 4.3 at the time), 2.6.30 kernel

Re: [uClinux-dev] JFFS2 file corrupt at power down.

2009-10-14 Thread Lennart Sorensen
On Wed, Oct 14, 2009 at 01:04:17PM -0400, Allen Yang wrote: I am working on ARM9 based project with Linux 2.6.22 kernel. I am using JFFS2 (version 2.2) over NAND flash to store some configuration XML files. Once a parameter in the configuration XML file is changed, the XML file will be saved

Re: [uClinux-dev] building uClibc

2009-10-13 Thread Lennart Sorensen
On Mon, Oct 12, 2009 at 11:53:45AM +0100, Philip Nye wrote: I am trying to build a system for Coldfire with an up-to-date kernel, tools and library. I have the latest uClinux dist (patched to 20090810) and Codesourcery tools 4.3-209. This refused to build with an error of limits.h not found.

Re: [uClinux-dev] [PATCH] Add uboot commandline argument passing support to m68knommu (Try #2)

2009-10-02 Thread Lennart Sorensen
On Thu, Oct 01, 2009 at 04:28:37PM +1000, Greg Ungerer wrote: Looks ok to me. I'll go ahead and apply it to the for-next m68knommu git tree. Great. One less patch for me to keep applying. -- Len Sorensen ___ uClinux-dev mailing list

[uClinux-dev] [PATCH] Add uboot commandline argument passing support to m68knommu

2009-09-18 Thread Lennart Sorensen
-by: Lennart Sorensen lsore...@csclub.uwaterloo.ca diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index e2201b9..064f591 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig @@ -533,6 +533,13 @@ config AVNET default y depends on (AVNET5282) +config UBOOT

[uClinux-dev] Re: free_initrd_mem() corrups mm state on m68knommu.

2009-09-18 Thread Lennart Sorensen
On Fri, Sep 18, 2009 at 09:42:59AM +1000, Greg Ungerer wrote: Hi Lennart, Lennart Sorensen wrote: On Thu, Sep 17, 2009 at 05:34:37PM +1000, Greg Ungerer wrote: Hi Lennart, Lennart Sorensen wrote: On Tue, Sep 15, 2009 at 05:49:59PM -0400, Lennart Sorensen wrote: ... OK, seems the issue

[uClinux-dev] [PATCH] Add uboot commandline argument passing support to m68knommu (Try #2)

2009-09-18 Thread Lennart Sorensen
since which are not in the main Linus kernel. I believe this will work on all coldfires, although other m68knommu might be missing the _init_sp stuff in head.S as far as I can tell. I only have the coldfire to test on. Signed-off-by: Lennart Sorensen lsore...@csclub.uwaterloo.ca diff --git a/arch

[uClinux-dev] Re: free_initrd_mem() corrups mm state on m68knommu.

2009-09-17 Thread Lennart Sorensen
On Thu, Sep 17, 2009 at 05:34:37PM +1000, Greg Ungerer wrote: Hi Lennart, Lennart Sorensen wrote: On Tue, Sep 15, 2009 at 05:49:59PM -0400, Lennart Sorensen wrote: I have been trying to solve a problem I keep seeing on m68knommu (on a coldfire 5271). I get: [42949397.33] BUG: failure

[uClinux-dev] Re: free_initrd_mem() corrups mm state on m68knommu.

2009-09-16 Thread Lennart Sorensen
On Tue, Sep 15, 2009 at 05:49:59PM -0400, Lennart Sorensen wrote: I have been trying to solve a problem I keep seeing on m68knommu (on a coldfire 5271). I get: [42949397.33] BUG: failure at mm/page_alloc.c:426/page_is_buddy()! [42949397.33] Kernel panic - not syncing: BUG

Re: [uClinux-dev] Problems loading uClinux from some 2GB SD cards

2009-08-12 Thread Lennart Sorensen
On Wed, Aug 12, 2009 at 11:07:07PM +1000, Microbit_Ubuntu wrote: I'm sorry but I disagree. The reader is stuck in an endless loop and never appears to even fully read the csd or tuples. I have tried with SPI and with MMC where I _was_ able to read the manufacturing details - manually -

Re: [uClinux-dev] Coldfire 5271 hitting BUG_ON(page_count(buddy) != 0);

2009-06-26 Thread Lennart Sorensen
On Fri, Jun 26, 2009 at 01:21:25PM +1000, Greg Ungerer wrote: Hi Lennart, Lennart Sorensen wrote: I am hitting a memory management bug and I would love some hints as to how to track down the bug and fix it. The bug hit is line 423 of page_alloc.c which is: BUG_ON(page_count(buddy) != 0

[uClinux-dev] Coldfire 5271 hitting BUG_ON(page_count(buddy) != 0);

2009-06-25 Thread Lennart Sorensen
I am hitting a memory management bug and I would love some hints as to how to track down the bug and fix it. The bug hit is line 423 of page_alloc.c which is: BUG_ON(page_count(buddy) != 0); The function it is part of is: static inline int page_is_buddy(struct page *page, struct page *buddy,

Re: [uClinux-dev] building gcc 3.4.4

2009-06-03 Thread Lennart Sorensen
On Wed, Jun 03, 2009 at 02:19:01PM -0400, Jeff Bacon wrote: I'm trying to rebuild the gcc 3.4.4 toolchain following the directions from the snapgear website. I had one quick question about the steps. Many of the steps include the statement --with-headers=linux-2.4.x/include For example -

Re: [uClinux-dev] new uClinux-dist patch

2009-05-22 Thread Lennart Sorensen
On Fri, May 22, 2009 at 11:49:33AM +1000, Greg Ungerer wrote: Generally speaking the motivation is to make the ColdFire interrupt support fit into the kernel model. Specifically this means the ability to mask/unmask/ack interrupts directly from the kernels arch independent interrupt code.

Re: [uClinux-dev] new uClinux-dist patch

2009-05-21 Thread Lennart Sorensen
On Thu, May 21, 2009 at 04:53:33PM +1000, Greg Ungerer wrote: I have started an upload of a new uClinux-dist patch, at: http://www.uclinux.org/pub/uClinux/dist/patches/uClinux-dist-20080808-20090520.patch.gz It won't all be there for probably about 24 hours. So hold of downloading 'till

Re: [uClinux-dev] torrent client

2009-04-27 Thread Lennart Sorensen
On Mon, Apr 27, 2009 at 02:47:16AM -0400, Mike Frysinger wrote: msh blows. few doesnt even cover it. Well it was better than sash, which didn't do pipes or backticks or most other things. Not many choices on nommu after all. however, lets forget about the past. Denys has done a lot of work

Re: [uClinux-dev] torrent client

2009-04-27 Thread Lennart Sorensen
On Mon, Apr 27, 2009 at 12:08:25PM -0400, Mike Frysinger wrote: being better than something else does make it good ;) Good enough then? Better than nothing? :) if i were to do something crazy like go to http://busybox.net/, one might think the answer obvious ... Well that seems to indicate

Re: [uClinux-dev] torrent client

2009-04-22 Thread Lennart Sorensen
On Wed, Apr 22, 2009 at 01:14:00PM +0100, Jamie Lokier wrote: I was more thinking of all those loadable modules. Without FDPIC-ELF there's no dlopen() and no (useful) shared libs. Hmm, FDPIC ELF sounds a lot more useful than FLAT. I wonder if it would be possible to add FDPIC support to m68k

Re: [uClinux-dev] torrent client

2009-04-22 Thread Lennart Sorensen
On Wed, Apr 22, 2009 at 11:05:13PM +1000, David McCullough wrote: There's a good reason that only sash and the minix shell work on !MMU, and the initially the minix shell needed a fair bit of work to make safe on !MMU :-) Seems to work very well now though. -- Len Sorensen

Re: [uClinux-dev] torrent client

2009-04-21 Thread Lennart Sorensen
On Tue, Apr 21, 2009 at 11:28:23PM +0100, Peter Voslak wrote: No I would rather think about a client that does not require a webserver. I do not have a webserver and I don't want to do one in order to get torrentflux running (or any other client). Bittornado is python. Does python run on

Re: [uClinux-dev] cannot create ntpdate with distribution 20080808

2009-04-06 Thread Lennart Sorensen
On Mon, Apr 06, 2009 at 09:00:39AM +0200, Bernd B?ttner wrote: ping is this a silly question? Bernd B?ttner schrieb: I'm trying to switch from 20070130 distribution to 20080808 with 20090312 patch. Platform is Coldfire 5282 (no mmu). uClibc has a new compiler-switch named

Re: [uClinux-dev] Re: MMU trade-off

2009-03-30 Thread Lennart Sorensen
On Mon, Mar 30, 2009 at 08:10:12PM +1000, David McCullough wrote: Jivin Thomas H?berle lays it down ... First of all: Thanks for the quick, frequent, interesting and informative response!! The numbers mentioned by the developer were a gut feeling and rough estimation, not

Re: [uClinux-dev] MMU trade-off

2009-03-27 Thread Lennart Sorensen
On Fri, Mar 27, 2009 at 12:37:07PM -0400, Mike Frysinger wrote: there are processors which implement other features that people consider part of the MMU (like protection). virtual memory is the most significant feature. Sure. lies. there are no serious limitations at all with FDPIC ELF.

  1   2   >