Re: [uClinux-dev][Failed Hunks] [PATCH 1/4] NOMMU: Present backing device capabilities for MTD chardevs

2008-09-29 Thread rwarner
David Howells wrote: rwarner <[EMAIL PROTECTED]> wrote: Hunk failed, do not have mtdsuper.o on line to have ntdbdi.o added. Is this soemthing i will need or am missing? Searching the 2007 distro did no reveal this object( or source). Hunk failed when applied against what? My patches

Re: [uClinux-dev][Failed Hunks] [PATCH 1/4] NOMMU: Present backing device capabilities for MTD chardevs

2008-09-29 Thread rwarner
Hi Bob, I back-ported David's patches to 2.6.25-uc0 (the rev in the 888 distro). Attached in case you are working with the 888 kernel. I didn't include the fourth patch in the patchset because it doesn't look to be applicable to 2.6.25-uc0. Steve Steve, thanks for the help. looks like i'l

Re: [uClinux-dev] [PATCH 3/4][complie failed] NOMMU: Make it possible for RomFS to use MTD devices directly

2008-09-29 Thread rwarner
rwarner wrote: Compile failed. Can not find include file . Can you please supply the super.h file you have in that directory? and "#error no ROMFS backing store interface configured" What is this and what is it used for? In addition, i'm getting the compile error in supe

Re: [uClinux-dev] [PATCH 3/4][complie failed] NOMMU: Make it possible for RomFS to use MTD devices directly

2008-09-29 Thread rwarner
Compile failed. Can not find include file . Can you please supply the super.h file you have in that directory? and "#error no ROMFS backing store interface configured" What is this and what is it used for? tia - bob ___ uClinux-dev mailing list uClin

Re: [uClinux-dev] [Hunks failed][PATCH 3/4] NOMMU: Make it possible for RomFS to use MTD devices directly

2008-09-29 Thread rwarner
diff --git a/fs/Kconfig b/fs/Kconfig index abccb5d..8852813 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -507,7 +507,6 @@ config DNOTIFY that uses signals to communicate events to user-space. There exist superior alternatives, but some applications may still rely on d

Re: [uClinux-dev] [PATCH 1/4] [compile failed]NOMMU: Present backing device capabilities for MTD chardevs compile failed.

2008-09-29 Thread rwarner
Compile failed in mtdchar.c line 815 VM_SHARED undeclared. Adding #include ___ 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 s

Re: [uClinux-dev][Failed Hunks] [PATCH 1/4] NOMMU: Present backing device capabilities for MTD chardevs

2008-09-29 Thread rwarner
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 4b77335..3dcd38f 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -4,7 +4,7 @@ # Core functionality. obj-$(CONFIG_MTD) += mtd.o -mtd-y := mtdcore.o mtdsuper.o +mtd-y

Re: [uClinux-dev] XIP on uclinux 2.6, fantasy or reality?

2008-09-24 Thread rwarner
David Howells wrote: rwarner <[EMAIL PROTECTED]> wrote: Not working for our uClinux build either, v2007-dist and v2.6 kernel on arm with no mmu. Previously reported it was, but was a communication error between myself and coworker. Any idea on the difficulty of the port from 2.4

Re: [uClinux-dev] XIP on uclinux 2.6, fantasy or reality?

2008-09-24 Thread rwarner
Jun Sun wrote: We recently built the latest uclinux (2.6 kernel) and tried userland XIP (built with PIC flag) on a ARM7 nommu board. However, userland XIP is not working. Text is always copied to kmalloc'ed RAM before the execution. We traced the code and found the following call trace for the l

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

2008-09-23 Thread rwarner
Jamie Lokier wrote: I get an illegal instruction when using Linux Threads on ARM-nommu with arm-uclinux-elf-tools-base-gcc3.4.3-20050221.sh, The illegal instruction happens before main(), and GDB cannot debug it. If I use that compiler but with options to link to a uClibc from an older tool

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

2008-09-19 Thread rwarner
Jamie Lokier wrote: Xin Xie wrote: For NPTL implementation, here is a paper about the implementation on the uClibc http://www.kernel.org/doc/ols/2006/ols2006v1-pages-409-420.pdf. Lovely. Seems that it will be included in the 0.9.30 release of uClibc, though nobody knows when that will be. B

Re: [uClinux-dev] irc on freenode #uC-Linux

2008-08-21 Thread rwarner
Markus Franke wrote: Zitat von rwarner <[EMAIL PROTECTED]>: I prefer #uclinux as this is much more intuitive than the hyphenated version. No one uses either so it's really a moot issue. Maybe a forum type setup with multiple areas to separate out some of the discussions. I th

Re: [uClinux-dev] irc on freenode #uC-Linux

2008-08-20 Thread rwarner
Thomas Petazzoni wrote: Le Wed, 20 Aug 2008 08:39:40 -0700, rwarner <[EMAIL PROTECTED]> a écrit : (08:35:21) ChanServ: (notice) #uclinux is already registered to Lifeeth. You can probably look if Lifeeth is online, and if not, ask Freenode's admins to revoke its right to mana

Re: [uClinux-dev] irc on freenode #uC-Linux

2008-08-20 Thread rwarner
Does it need to be actively maintained? I thought it was enough to just use the channel. Having both #uclinux and #uC-linux seems confusing and silly, especially as #uclinux already exists and nobody's choosing to use it. All good points. And probably this one won't be used either.

Re: [uClinux-dev] irc on freenode #uC-Linux

2008-08-20 Thread rwarner
Not sure this will be used, guess i'll wait to see if it's useful. Have setup an irc on freenode #uC-Linux. It's not visible on the /list, but if you /join #uC-Linux you will get in. Was wondering if this would be a good place for quick communication when needed by the uclinux developers.

[uClinux-dev] irc on freenode #uC-Linux

2008-08-20 Thread rwarner
Hi all, Not sure this will be used, guess i'll wait to see if it's useful. Have setup an irc on freenode #uC-Linux. It's not visible on the /list, but if you /join #uC-Linux you will get in. Was wondering if this would be a good place for quick communication when needed by the uclinux devel

Re: [uClinux-dev] RE: uClinux-dist-20080808 release

2008-08-08 Thread rwarner
[EMAIL PROTECTED] wrote: Greg, I keep getting zero length files when trying to download (http) the new dist...should I just be patient, or is this a problem on my end? john John, I just finally got the download to complete after 5 hrs for 281M :/, did 'tar -jxvf' on it and it did decompres

Re: [uClinux-dev] problem compiling uClinux

2008-08-04 Thread rwarner
Jeff Ramin wrote: I'm using the uClinux-dist-20070130 release. Thanks. > > Jeff, > > When started out with this i ensured my tool suite was correct by > building a generic kernel from kernel.org. Once i verified that asked > for an example .config file for the target i was intending to

Re: [uClinux-dev] problem compiling uClinux

2008-08-04 Thread rwarner
Jeff Ramin wrote: Anybody have an idea of what might be causing this problem? /home/ramin/uClinux/uClinux/uClinux-dist/linux-2.4.x/include/linux/ufs_fs.h:423: storage size of `cg_cs' isn't known followed by an error that stops the compile: < lots of output removed > /home/ramin/uClinux/uCli

Re: [uClinux-dev] uCLinux RAM usage

2008-07-28 Thread rwarner
Marly wrote: Hi Bob, I don't use the ps -ef in my memory calculation. If I do the sum of /proc/slabinfo, I get 6,6 Mbytes of memory used, that is far from the 9 Megabytes used reported by 'free'. Any idea on this difference ? Thanks for your help. Stan Stan, My only suggestion would be to r

Re: [uClinux-dev] uCLinux RAM usage

2008-07-28 Thread rwarner
Stan Marly wrote: # ps -ef PID PORT STAT SIZE SHARED %CPU COMMAND 1 S141K 0K 0.5 /bin/init 2 S 0K 0K 0.0 keventd 3 R 0K 0K 0.0 ksoftirqd_CPU0 4 S 0K 0K 0.0 kswapd 5

Re: [uClinux-dev] uCLinux RAM usage

2008-07-25 Thread rwarner
Marly wrote: # ps -ef PID PORT STAT SIZE SHARED %CPU COMMAND 1 S141K 0K 0.5 /bin/init 2 S 0K 0K 0.0 keventd 3 R 0K 0K 0.0 ksoftirqd_CPU0 4 S 0K 0K 0.0 kswapd 5 S 0K 0K 0.0 bdflush 6 S 0K

Re: [uClinux-dev] uCLinux RAM usage

2008-07-25 Thread rwarner
Stan Marly wrote: Yes, I do have a jffs2 on flash (about 5 Mbytes) and a ramdisk of 4 Mbytes ( ext2, with config_expand_nozeroes ). The ramdisk is empty. Stan what does 'ps -ef' report for ram usage? ___ uClinux-dev mailing list uClinux-dev@uclinux

Re: [uClinux-dev] uCLinux RAM usage

2008-07-24 Thread rwarner
Marly wrote: Hi guys I have a question regarding uClinux 2.4.32 slab allocator. I have a system (Coldfire 5208) with 16 mbytes of Ram and 8 Mbytes of flash. When the system starts, I have: Memory available: 12800k/16383k RAM, 0k/0k ROM (896k kernel code, 275k data) Now if I run my applicati

Re: [uClinux-dev] application memory problem?

2008-07-01 Thread rwarner
Allon Stern wrote: On Jul 1, 2008, at 6:12 AM, Teun Grinwis wrote: I execute an application on uClinux which uses intensively stl vectors. It regularly creates and clears vectors, and this vectors are growing. After some days the application is killed by the kernel with signal SIGILL. -

Re: [uClinux-dev] cache_alloc_refill function?

2008-06-30 Thread rwarner
Markus Franke wrote: Dear uClinux Developers/Users, I developed a linux character device driver in order to access an external memory chip sitting on the flexbus. The data transfers are done via the Multichannel DMA Controller. From time to time (it's not really deterministic) my board hangs

Re: [uClinux-dev] ROMFS troubles

2008-06-26 Thread rwarner
Greg Ungerer wrote: Hi Steven, steven taffs wrote: still cant get to ROMFS loaded, I downloaded a uClinux-dist-2005 and copyed my linux-2.6.x directory into it and now I can compile jffs2 but that still doesnt help me load the ROMFS I am currently loading the romfs image from flash @ 0x18000

Re: [uClinux-dev] atmel_serial.c vs. serial_atmel.c

2008-06-26 Thread rwarner
Hi Greg, this is great. At the moment, I don't have the time to clean up the patch for inclusion, and currently it is for 2.4 only. I can send you the patch for 2.4 as-is, if you like, but it's possible that it needs some tweaking. I have sent the patch to Bob, maybe we get back a 2.6 port if we a

Re: [uClinux-dev] Bootloaders: u-boot vs. micromonitor

2008-06-24 Thread rwarner
missed something in the requirements of uCLinux start up. 1. Initialize and provide access to RAM/ROM and peripherals A. change PLL B. change chip select registers for RAM/ROM C. setup AIC D. setup WDT as necessary E. ensure other peripherals are in a quiesc

Re: [uClinux-dev] Bootloaders: u-boot vs. micromonitor

2008-06-24 Thread rwarner
Martin Euredjian wrote: Why would one choose one over the other? There is another option versus the ones above. I wrote my own as U-Boot above appeared 'heavier-weight' then what is needed. Though i may have missed something in the requirements of uCLinux start up. 1. Initialize and provide

Re: [uClinux-dev] atmel_serial.c vs. serial_atmel.c

2008-06-24 Thread rwarner
Erwin Authried wrote: serial_atmel.c is an ancient,crappy serial driver for AT91 cpus. Later, a driver has been written for the AT91RM9200 that uses the rather new serial core driver (atmel_serial.c). The serial hardware for the mmu-less AT91 cpus and the AT91RM9200 is a bit different, thus the a

[uClinux-dev] atmel_serial.c vs. serial_atmel.c

2008-06-24 Thread rwarner
Hi all appears the htdig is intermittent. Does anyone know the the reason for the two serial drivers for Atmel. One is called serial_atmel.c the other is called atmel_serial.c tia - bob ___ uClinux-dev mailing list uClinux-dev@uclinux.org http:/

Re: [uClinux-dev] Kernel Oops - howto debug (w/JTAG)

2008-06-24 Thread rwarner
That's it! I just got an error about a bogus interrupt return mask and combined with your remark I remembered that I didn't free my irq's. Fixed that and it seems to run a whole lot more stable now. Thanks. BTW, I didn't know I could combine JTAG and Linux. Where can I find information about ho

Re: [uClinux-dev] Kernel Oops - howto debug

2008-06-24 Thread rwarner
How do I debug something like this: Internal error: Oops - undefined instruction: 0 [#1] I suppose the error is in my interrupt handler (it only happens when I load my own module), but it's so simple that I can't believe it's very buggy: irqreturn_t i2s_dma_irq(int irq,void *dev_

Re: [uClinux-dev] interrupt handler for 22

2008-06-21 Thread rwarner
could someone give me any clue how could i fix this: In interrupt handler - not syncing <0>Kernel panic: No interrupt handler for 22 What is the core uC you are using? Is thi

Re: [uClinux-dev] mtd/mknod/romfs/-romfs1- .... need more clear and concise information

2008-06-18 Thread rwarner
Gavin Lambert wrote: Quoth rwarner: [42949379.66] uclinux[mtd]: RAM probe address=0x204cffd0 size=0x8e000 [42949379.67] Creating 1 MTD partitions on "%s": [42949379.68] 0x%8x-0x%x : "" [42949379.70] uclinux[mtd]: set ROMfs to be root filesystem There'

Re: [uClinux-dev] mtd/mknod/romfs/-romfs1- .... need more clear and concise information

2008-06-18 Thread rwarner
Chris Cosby wrote: You might try enabling the following in the kernel config: Device Drivers -> Memory Technology Device (MTD) support --> RAM/ROM/Flash chip drivers ---> Support for RAM chips in bus mapping --> Mapping drivers for chip access ---> Generic uClinux RAM/ROM filesystem support

Re: [uClinux-dev] mtd/mknod/romfs/-romfs1- .... need more clear and concise information

2008-06-18 Thread rwarner
David McCullough wrote: Firstly, at this point, your filesystem has not been accessed, so it doesn't matter what dev nodes you have, they don't matter. The kernel is failing to find your root fs. What is your kernel command line ? And as someone else said, work out that console corruptio

Re: [uClinux-dev] Large Memory allocation with uclinux, ColdFire m5329

2008-06-18 Thread rwarner
I need to work on a large contiguous memory zone for image processing, but I don’t find how reserve this large memory zone (10 Mo). I’m working with uclinux 2.6.17, ColdFire m5329, with 64Mo DDRAM. I have tried to reserve it with malloc which returns NULL. I have tried to address it “manually”

[uClinux-dev] mtd/mknod/romfs/-romfs1- .... need more clear and concise information

2008-06-16 Thread rwarner
Hi, Ok searching the archives i've found a lot of scattered answers. Using scatter and gather algo did not result in joy. ;) I have the necessary correction(s) to the appropriate makefile in the vendors directory, such that mtd(0,1,2) and mtdblock(0,1,2) are created in the romfs. In addit

[uClinux-dev] slab vs slob memory management allocator

2008-06-13 Thread rwarner
Hi Is slab memory management schema only for uC's with a cache (L1, L2, etc)? If yes, is the only option for uC's without a cache is slob memory management? tia - bob warner ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.ucli

[uClinux-dev] Migrating from EB40 uC to AT91SAM7SE uC slab allocation question.

2008-06-13 Thread rwarner
Hi, I'm experiencing an odd issue with the slab allocator during kmem_cache_init(). The memory map between the two systems is 95% identical. I based my original work from the EB40 kernel and have the systems configured the same through 'make menuconfig'. Observing the kmem_cache_init() on

Re: [uClinux-dev] CGI template html page interpreter

2008-05-21 Thread rwarner
Michael Schnell wrote: You could try Pearl or Python, but both are heavier in RAM/ROM foot print than using a specific C app. Yep. I'd like to stick with C. Sorry, i misunderstood. I have C examples of CGI programming is that what you are looking for? I wrote a simple CGI that updates

Re: [uClinux-dev] CGI template html page interpreter

2008-05-21 Thread rwarner
Michael Schnell wrote: I'd like to create a cgi application that is started by (e.g. boa). I have a working simplistic example (provided with uClinux-dist). But same creates the HTML-page to be displayed completely by C code. I am quite sure that there are lots of open source projects that ta

[uClinux-dev] irc for uclinux (in addition to ML)?

2008-05-20 Thread rwarner
Anyone know of an irc server and channel for developers and/or users of the uClinux distribution? I located one article on uCdot, but the originator of that article stated there was little or no interest in it. just curious, thnx - bob ___ uClinux-

Re: [uClinux-dev] [Atmel ARM7]Serial driver for Atmel serial port

2008-05-05 Thread rwarner
part way into the boot process (likely when interrupts were turned on). Sounds similar to your experience, but may not be relevant as I do not know what your target is. Mike rwarner wrote: Glenn Henshaw wrote: Has anyone experienced an issue with including the Atmel serial driver an

Re: [uClinux-dev] [Atmel ARM7]Serial driver for Atmel serial port ... ?

2008-05-04 Thread rwarner
Phil, This is due to the system polling the serial interface by continually adding a task to the workqueue The flush cpu workqueue is waiting for the workqueue to be empty which never happens due to serial polling action. I have not got a "good" solution yet. Some options are : 1/ turn o

Re: [uClinux-dev] [Atmel ARM7]Serial driver for Atmel serial port ... ?

2008-05-02 Thread rwarner
Glenn Henshaw wrote: Has anyone experienced an issue with including the Atmel serial driver and the console connection to the Atmel serial driver not allowing the system to continue to boot. If i do not have the Atmel serial driver built into the kernel image the system boots to the romfs (/b

[uClinux-dev] [Atmel ARM7]Serial driver for Atmel serial port ... ?

2008-05-02 Thread rwarner
Hi, Has anyone experienced an issue with including the Atmel serial driver and the console connection to the Atmel serial driver not allowing the system to continue to boot. If i do not have the Atmel serial driver built into the kernel image the system boots to the romfs (/bin/init executed

Re: [uClinux-dev] [Atmel ARM7] call to run_init_process("/sbin/init"); in main.c causes __pabt_svc

2008-05-01 Thread rwarner
David McCullough wrote: Jivin rwarner lays it down ... Hi (working on Atmel ARM7TDMI variant of the uCLinux tree) searching the romfs for /sbin/init reveals it is not there. however /bin/init is there. Why in main.c is the following present? And shouldn't run_init_process r

[uClinux-dev] [Atmel ARM7] call to run_init_process("/sbin/init"); in main.c causes __pabt_svc

2008-05-01 Thread rwarner
Hi (working on Atmel ARM7TDMI variant of the uCLinux tree) searching the romfs for /sbin/init reveals it is not there. however /bin/init is there. Why in main.c is the following present? And shouldn't run_init_process return gracefully versus causing a prefetch instruction abort? "begin

Re: [uClinux-dev] linkin g script with XIP

2008-04-30 Thread rwarner
Title: Re: [uClinux-dev] linking script with XIP Alberto V駘ez Ortiz wrote: > Hi all, > > I'm using a 2.4.24-uc0-str710 uClinux kernel with a str710 (arm7tdmi) > processor and trying to implement xip. > > I've modified my sources according to patc: > http://home.at/cgi-bin/viewcvs.

Re: [uClinux-dev] Kernel 2.6.25

2008-04-30 Thread rwarner
Title: Re: [uClinux-dev] Kernel 2.6.25 Michael, > >> Well, there is no ARM Ltd tree, as such. Russell is an independent >> developer. He is the primary maintainer, almost all ARM mainline >> kernel changes go through him to Linus. > > So here we are back to the original question. >

Re: [uClinux-dev] .config file Processor Type config values?

2008-04-29 Thread rwarner
Erwin Authried wrote: why do you think that the configuration is for thumb mode? As far as I know, there is no thumb support for the linux kernel until now. The abort handler is using LV4T LV4T = Late version 4 Thumb -- this lead me to believe the abort vector is in thumb mode. though i could

Re: [uClinux-dev] linking script with XIP

2008-04-29 Thread rwarner
Alberto, Alberto Vélez Ortiz wrote: That's the part of the Makefile I'm using to create the image. image: [ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR) # #$(MAKE) -C $(ROOTDIR) LINUXTARGET=zImage linux || exit 1 $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(ROOTDI

Re: [uClinux-dev] during do_initcalls() the call to uclinux_mtd_init is causing a data abort.

2008-04-28 Thread rwarner
Greg, Greg Ungerer wrote: rwarner wrote: Any idea or clue on how i've miss configured the system? Being new to uclinux i'm finding many configurable items and i'm sure i do not have them all correct yet. See below... CONFIG_MTD_UCLINUX=y # CONFIG_MTD_UCLINUX_

[uClinux-dev] Kernel panic ... <4> Internal error: Oop: 800 [#1]

2008-04-28 Thread rwarner
Any idea or clue what i have fouled up? Could it be the start address of the uclinux romfs? Getting a kernel panic as follows below (i think i'm real close, or is it just the oncoming train): tia - bob Calling initcall 0x10014d60: uclinux_mtd_init uclinux[mtd]: RAM probe address=0x100cdd40

[uClinux-dev] during do_initcalls() the call to uclinux_mtd_init is causing a data abort.

2008-04-28 Thread rwarner
Any idea or clue on how i've miss configured the system? Being new to uclinux i'm finding many configurable items and i'm sure i do not have them all correct yet. tia - bob Initialization from __log_buf as follows: Linux version 2.6.19-uc1 ([EMAIL PROTECTED]) (gcc version 4.2.1) #124 Mon Ap

[uClinux-dev] .config file Processor Type config values?

2008-04-28 Thread rwarner
Hi, I'm thinking i have my configuration incorrect for an Atmel AT91 ARM7TDMI board. Either the AT91FR40162S or the AT91SAM7SE512. from the .config file i see the following. # # Processor Type # CONFIG_CPU_32=y CONFIG_CPU_ARM7TDMI=y # CONFIG_CPU_ARM9TDMI is not set CONFIG_CPU_32v4T=y CONFIG_C

Re: [uClinux-dev] linking script with XIP

2008-04-25 Thread rwarner
Alberto Vélez Ortiz wrote: Hi all, I'm using a 2.4.24-uc0-str710 uClinux kernel with a str710 (arm7tdmi) processor and trying to implement xip. I've modified my sources according to patc: http://home.at/cgi-bin/viewcvs.cgi/midori/sources/linux-2.4.20-uc1/xip.patch As it's for 2.4.20, I've a

Re: [uClinux-dev] Kernel 2.6.25

2008-04-25 Thread rwarner
Michael, Well, there is no ARM Ltd tree, as such. Russell is an independent developer. He is the primary maintainer, almost all ARM mainline kernel changes go through him to Linus. So here we are back to the original question. 2.6.25 is said to lift ARM (with MMU) to the same level as x86 (f

Re: [uClinux-dev] Kernel 2.6.25

2008-04-24 Thread rwarner
Hi Greg, Greg Ungerer wrote: Hi Bob, rwarner wrote: Michael Schnell wrote: I read that the now officially released Kernel 2.6.25 offers a lot of goodies for embedded / soft-realtime systems. Will this version included in the tools (Buildroot etc) ? Is it recommended to use 2.6.25 for new

Re: [uClinux-dev] Kernel 2.6.25

2008-04-23 Thread rwarner
Jamie Lokier wrote: rwarner wrote: Michael Schnell wrote: I read that the now officially released Kernel 2.6.25 offers a lot of goodies for embedded / soft-realtime systems. Will this version included in the tools (Buildroot etc) ? Is it recommended to use 2.6.25 for new projects ? Did

Re: [uClinux-dev] Kernel 2.6.25

2008-04-23 Thread rwarner
Michael Schnell wrote: I read that the now officially released Kernel 2.6.25 offers a lot of goodies for embedded / soft-realtime systems. Will this version included in the tools (Buildroot etc) ? Is it recommended to use 2.6.25 for new projects ? Did they fix the ARM no mmu stuff in the kern

Re: [uClinux-dev] XIP and .data section initialization

2008-04-23 Thread rwarner
Erwin Authried wrote: Bob, your makefile seems to be wrong. You are extracting 'image.data' that isn't used anywhere. Besides, this image contains all sections, not only .data. Basically, you have to run obcopy to create the linux.text image, with data+bss sections removed. A second obcopy ca

Re: [uClinux-dev] XIP and .data section initialization

2008-04-22 Thread rwarner
Erwin Authried wrote: Erwin, Have you run across this with XIP? I noted the patch you supplied appears not to populate the area of flash necessary for .data section initialization as well. Am i making a mistake here? tia -- bob Hi Bob, I have used XIP for the kernel with 2.4 only, with

Re: [was-spam] [uClinux-dev] how to receive mails

2008-04-22 Thread rwarner
advan_xiang wrote: > hi,all > how to receive your mails related to problems? > > advan_xiang > 2008-03-20 First with good etiquette. Please see the links on: http://www.uclinux.org/maillist/ Please note some people send html-encoded messages from the mailing list straight to the junk-box or tr

Re: [uClinux-dev] XIP and .data section initialization

2008-04-21 Thread rwarner
rwarner wrote: Currently the __data_loc (at bottom of flash, largest address)is not getting populated with the necessary .data section initialization in the Atmel AT91 ARM7TDMI XIP build. Still contains erased flash values. Looking in image.elf using nm the end address of text and rodata is

[uClinux-dev] XIP and .data section initialization

2008-04-17 Thread rwarner
Currently the __data_loc (at bottom of flash, largest address)is not getting populated with the necessary .data section initialization in the Atmel AT91 ARM7TDMI XIP build. Still contains erased flash values. Looking in image.elf using nm the end address of text and rodata is the top of the __d

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread rwarner
Jamie Lokier wrote: rwarner wrote: For headless systems and ones semi-stagnant in memory allocation/reallocation an MMU-less system has many advantages. However, what they also do is run an "ssh" command every 30 seconds to report home. That's enough to start the fragmentation

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread rwarner
Stanislav Meduna wrote: rwarner wrote: You are aware that the ARM Ltd site has MMU based kernels with XIP? What core/processor are you using? # cat /proc/cpuinfo Processor : ARM7TDMI rev 0 (v4l) BogoMIPS: 20.28 Features: swp 26bit CPU implementer : 0x41 CPU architecture

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread rwarner
Jamie Lokier wrote: Yes, i some instances it is necessary. I worked on an avionics platform that used 4K page sizes, so it was constantly paging in and out memory for execution. The interesting thing was i also used a non-MMU OS on the same processor PPC750 and noted the non MMU OS executed m

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread rwarner
Stanislav Meduna wrote: Jamie Lokier wrote: Have you seen this paper on why an mmu might not be wanted in a embedded system? Perhaps. The biggest problem with not having an MMU is memory fragmentation. Basically, you can't keep allocating large contiguous segments, but you need that to run

Re: [uClinux-dev] Re: booting image.bin

2008-04-17 Thread rwarner
Alberto Vélez Ortiz wrote: Nobody has answered, but I found a solution and I want to share it with the community. The answer is copy the image.bin file from flash to RAM and then jumping to the initial adrress where the image has been copied to. The next step is achieving XIP (execute in pla

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread rwarner
Jamie Lokier wrote: rwarner wrote: Michael Schnell wrote: I suppose due to hardware improvements, in the future even small systems will have MMUs, so I thinks there is not too much priority on these nommu issues. The NIOS will definitively get one, optionally , too, but in the moment I don&#

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread rwarner
Michael Schnell wrote: I suppose due to hardware improvements, in the future even small systems will have MMUs, so I thinks there is not too much priority on these nommu issues. The NIOS will definitively get one, optionally , too, but in the moment I don't consider to switch to that as the

Re: [uClinux-dev] kernel question on start_kernel debugging

2008-04-16 Thread rwarner
rwarner wrote: Hi Finally have some level of source level debugging (optimizations cause issues). I am tracing the code via hardware breakpoints and single stepping due to code execution is in flash. This is on an AT91EB40A eval board (ARM7TDMI). While debugging i've noted

[uClinux-dev] kernel question on start_kernel debugging

2008-04-16 Thread rwarner
Hi Finally have some level of source level debugging (optimizations cause issues). I am tracing the code via hardware breakpoints and single stepping due to code execution is in flash. This is on an AT91EB40A eval board (ARM7TDMI). While debugging i've noted that start_kernel() is not wha

Re: [uClinux-dev] Debug information in vmlinux build & printk output location.

2008-04-03 Thread rwarner
Hi Greg, Greg Ungerer wrote: Ok with respect to the 'linux' kernel i am unlearned in this regard of kernel debug information. Is there a configuration item in the build of the kernel which produces debug information in the vmlinux file? Or do i need to find the build sequence and add -g opti

[uClinux-dev] Debug information in vmlinux build & printk output location.

2008-04-02 Thread rwarner
Hi, Ok with respect to the 'linux' kernel i am unlearned in this regard of kernel debug information. Is there a configuration item in the build of the kernel which produces debug information in the vmlinux file? Or do i need to find the build sequence and add -g option to the Makefile's com

Re: [uClinux-dev] Looking for the lasted arm-elf-tools

2008-03-27 Thread rwarner
Ben Hsan Iyed wrote: Hello for everyone who is reading this mail, I'm working in my final study project and i need the lasted version of arm-elf-tools to cross compile uClinux-dist20070130. Please help me as soon as you can. -- Ben Hsan Iyed, You can find them at ftp.snapgear.org/pub/snapgea

Re: [uClinux-dev] PAGE_OFFSET?, XIP & .lds file?

2008-03-27 Thread rwarner
Erwin Authried wrote: What do the following configuration items do for the kernel build for the ARM7 from Atmel? ... CONFIG_RAMKERNEL=y # CONFIG_ROMKERNEL is not set ... CONFIG_MEM16_BASE=0x0300 CONFIG_MEM8_BASE=0x0300 CONFIG_IO16_BASE=0x0200 CONFIG_IO8_BASE=0x0200 Those variab

Re: [uClinux-dev] PAGE_OFFSET?, XIP & .lds file?

2008-03-27 Thread rwarner
the uClinux dist tree 20070130 and associated kernel. Yes, in this # # System Type # # CONFIG_ARCH_DSC21 is not set # CONFIG_ARCH_VC547X is not set # CONFIG_ARCH_DM270 is not set # CONFIG_ARCH_CNXT is not set # CONFIG_ARCH_NETARM is not set # CONFIG_ARCH_TA7S is not set # CONFIG_ARCH_TA7V is n

Re: [uClinux-dev] PAGE_OFFSET?, XIP & .lds file?

2008-03-20 Thread rwarner
rwarner wrote: rwarner wrote: Greg Ungerer wrote: Hi Bob, [EMAIL PROTECTED] (text) wrote: Gavin Lambert wrote: Quoth [EMAIL PROTECTED]: PAGE_OFFSET question: Looked through archives and grepped through code. It's still unclear to me how PAGE_OFFSET is getting set to 0x2000. W

Re: [uClinux-dev] PAGE_OFFSET?, XIP & .lds file?

2008-03-20 Thread rwarner
rwarner wrote: Greg Ungerer wrote: Hi Bob, [EMAIL PROTECTED] (text) wrote: Gavin Lambert wrote: Quoth [EMAIL PROTECTED]: PAGE_OFFSET question: Looked through archives and grepped through code. It's still unclear to me how PAGE_OFFSET is getting set to 0x2000. When i view

Re: [uClinux-dev] PAGE_OFFSET?, XIP & .lds file?

2008-03-20 Thread rwarner
Greg Ungerer wrote: Hi Bob, [EMAIL PROTECTED] (text) wrote: Gavin Lambert wrote: Quoth [EMAIL PROTECTED]: PAGE_OFFSET question: Looked through archives and grepped through code. It's still unclear to me how PAGE_OFFSET is getting set to 0x2000. When i view What kernel version are

Re: [uClinux-dev] PAGE_OFFSET?, XIP & .lds file?

2008-03-20 Thread rwarner
Erwin Authried wrote: Am Mittwoch, den 19.03.2008, 08:02 -0700 schrieb [EMAIL PROTECTED] (text): Gavin Lambert wrote: Quoth [EMAIL PROTECTED]: PAGE_OFFSET question: Looked through archives and grepped through code. It's still unclear to me how PAGE_OFFSET is getting set to 0x2000. When i

Re: [uClinux-dev] Re: Diab Objects with m68k-uclinux-gcc

2008-03-20 Thread rwarner
Kunal Singh wrote: hi, I figured out the problem. The Diab compiler adds an underscore in front of all the symbol. I could partially resolve the problem by calling _FUNCTION_NAME from my application. However, now I have another problem. The code compiled with Diab uses some functions from C-