Re: device tree / how to build/compile use with u-boot to boot uImage?

2007-02-09 Thread Jerry Van Baren
Morrison, Tom wrote: All, Sorry for my ignorance here, but we have upgraded our kernel from 2.6.11.xx to 2.6.20-rcx (using a specific git-branch for the mpc85xx) to run on the MPC8548CDS eval board (using default options provided by this branch for this eval board). I successfully

Linux Kernel boot problem

2005-01-04 Thread Jerry Van Baren
Srivatsan wrote (badly quoted): * * *Well, what are the last readable messages you can find in the buffer?* * * *The last readable message which I see in the log buffer is * * * *00138BD4: 3C 36 3E 4D 65 6D 6F 72 79 20 42 41 54 20 6D 61 |6Memory BAT ma|* *00138BE4: 70 70 69 6E 67 3A

problem executing simple app on ppc target running linux

2005-01-28 Thread Jerry Van Baren
Vijay Padiyar wrote: Hi I have a doubt regarding execution of applications on Linux. I am developing applications to execute on an MPC8260 (PowerPC) target. I started off by building a toolchain for the target (using Kegel's crosstool). The compiler created for my target bears the name

about filesize when copy from flash to ram

2003-02-20 Thread Jerry Van Baren
You are copying flash over top of your interrupt vectors, overwriting active code and crashing your system. Don't do that. Getting a load into the bottom of RAM (e.g. loading linux) is a delicate dance that u-boot does well, so use that function. You are not going to be able to do it with the

NFS root manipulation without being superuser?

2002-11-15 Thread Jerry Van Baren
How about this thought... on your development system, make a group xroot (export root, or maybe name it grub to make a bad pun) and chown your NFS files currently owned by root to xroot. You can add yourself into the xroot group and make sure all the NFS exported root file system have group r/w

NFS root manipulation without being superuser?

2002-11-15 Thread Jerry Van Baren
, but the above script would be simple to fix them up again. You could even use -uid 0 -gid 0 to find only the newly created ones. gvb At 03:51 PM 11/15/2002 -0600, William A. Gatliff wrote: Jerry: On Fri, Nov 15, 2002 at 03:16:16PM -0500, Jerry Van Baren wrote: How about this thought... on your

Hung inside execve

2002-11-26 Thread Jerry Van Baren
At 09:40 PM 11/26/2002 +0100, Wolfgang Denk wrote: In message B0CD235912AED411B69800D0B7C9F60F1DF88A at mail you wrote: I have been going through the LinuxPPC archives, looking for answers to my problem, but still could not proceed ahead. My problem is that the Linux will hang after the

FLASH RamDisk and kernel init options for disk

2001-09-06 Thread Jerry Van Baren
At 01:42 AM 9/6/01 -0700, James F Dougherty wrote: Hi, [snip] Also, is there some way to pass a kernel argument which does an fsck on a disk before it mounts it every time? I'm pretty sure this doesn't exist .. That is already part of /etc/fstab. Set fs_passno to a non-zero value. (copied

PPC 750 booting... exception

2001-09-21 Thread Jerry Van Baren
At 07:54 PM 9/20/01 -0700, Prasad, Siva wrote: Hi, I am trying to boot custom board with PPC 750. * I tftp'd the zImage into the target and when I give go command, it gives exception error. I can't understand what is going on. Below are the copy paste of it. I am using powerboot as the boot

Programming Flash

2000-09-12 Thread Jerry Van Baren
Are you using the Wiggler or Raven? You should check with MaCraigor. Last I checked (about 6 months ago?), Craig said he was working on a flash programming utility for the Wiggler. That would be the cheapest way to go for bootstrapping. If you are loading any significant amount of code, it is

rebooting with the FADS

2000-09-20 Thread Jerry Van Baren
There currently is no formal convention for restarts (i.e. it isn't defined in the EABI :-), but PPC implementations that I've been associated with use the convention of 0xFFF00104 being the restart location. The first instruction executed is at 0xFFF00100 and is set to be a jump to the cold

Limon PowerQUICC II

2000-09-21 Thread Jerry Van Baren
At 05:29 PM 9/21/00 +0100, Ruedi.Hofer at ascom.ch wrote: Hi I ordered an EST SBC8260 evaluation board and I finally got it!!! As always I try to run Linux on it. First of all, I found the bootloader Limon on the net, cross compiled it and tried to run it. I failed!! Why?? Questions: 1. Does

Question regarding PowerPC routine compilation.

2000-09-25 Thread Jerry Van Baren
Some registers are protected, some are free game. For details, see the ABI (Application Binary Interface) page 3-14 and EABI (Embedded Application Binary Interface) specifications: http://www.esofta.com/softspecs.html gvb At 04:33 PM 9/25/00 -0400, Zhaobin Zhu wrote: Hi, This is a newbie

VxWorks bootloader PowerQUICC II, Booting the kernel

2000-09-28 Thread Jerry Van Baren
00016000 2**2 ALLOC 5 .gzimage 00072677 0040b278 0040b278 0001b278 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA At 03:42 PM 6/27/00 +0200, Frank Przybylski wrote: Hi, Jerry Van Baren wrote: Jon Diekema and I tried Wolfgang's load flag hint

gcc and g++

2005-02-03 Thread Jerry Van Baren
Sauro Salomoni wrote: Hello. Where can I find gcc and g++ for ppc? I actually use 2.4.25 Denx Kernel in a Lite5200 board. Is it enough to install the rpms from Denx web site? Thanks Sauro Yes, use the ELDK from Denx. gvb

MPC5200 JTAG/BDM Flash Burning

2005-02-09 Thread Jerry Van Baren
Mark Chambers wrote: You could also look at magraigor.com. I had problems with their 5200 device but they've probably got them worked out by now. Mark Chambers That is http://macraigor.com/ of course ;-). gvb P.S. The BDI2000 gets my endorsement (disclaimer: my experience is with the

BK to CVS? + MDIO

2001-10-08 Thread Jerry Van Baren
Hi Ricardo: For PPCBoot, I made MII serial interface routines for the EST (WindRiver) SBC8260 board. This was a general purpose implementation, customizable for different hardware by changing the #defines that toggled the I/O port pins. I also added a mii command that allows you to read and

Corrupted ramdisk image

2002-01-03 Thread Jerry Van Baren
Since nobody with real knowledge of the problem has responded, I'll take a WAG. This looks like a variation on a PPCBoot FAQ... If I'm reading your numbers correctly, your linux kernel is loading from 0040 to 00A72890, but your initrd image is initially loaded at 00405200. If you do the

8240 booting:bootp time out and hd lost interrupt

2002-01-15 Thread Jerry Van Baren
On the bootp time out, you appear to be sending ARP packets and not getting a response. Is your BOOTP server properly configured? To be specific, is it configured to be 192.168.10.1? Your etherdump trace (ARP with no response and ICMP unreachable error packets) implies not. Ping it to check,

FW: Linux on 857T?

2002-01-23 Thread Jerry Van Baren
Just one dumb question: do you have branches to self in ALL the unused exceptions (since you don't appear to be using any in your monitor, that would be all but the reset exception)? Is it possible you are getting a different exception and your CPU is executing uninitialized memory (opcode

different memory map

2000-10-03 Thread Jerry Van Baren
Your IMMR location will be a problem. It must be above 0x800 (and I believe above the kernel) or you will be making major mods to your kernel (and that will be a _never ending_ task!). Why are you setting your IMMR to 0x1070? Note that you can change the IMMR in software just before

exchanges file in minicom

2000-10-11 Thread Jerry Van Baren
You can use uuencode to convert binary to an ASCII encoding, transfer the (now ASCII) file via cat (or use the minicom capture feature), and then use uudecode to convert the file back into binary. You can use tar to bundle files together and gzip to make them smaller before you uuencode them

SBC8260, kernel 2.4.0-test8, initrd

2000-10-24 Thread Jerry Van Baren
The basic problem is that your root file system isn't valid. What do you think should be your root file system and how should it be mounted? Are you NFS mounting it? If so, are you exporting it properly from your host? Kernel panic: VFS: Unable to mount root fs on 01:00 I believe this means

Motorola finally anounces the MPC5200

2003-07-24 Thread Jerry Van Baren
The spec sheet said it was built on the 603e core so linux support of the core is already present. The peripherals may or may not be supported already, I did not look at them. The 82xx is based on the 603e core as well, so this will be a close cousin to the 82xx. The 8xx is a different PPC

large file support?

2003-07-31 Thread Jerry Van Baren
dd if=/dev/zero of=majorbigfile bs=1M count=2049 get a beer and wait ;-) gvb At 01:37 PM 7/31/2003 -0400, wd at denx.de wrote: In message 3F28EFD6.3070803 at imc-berlin.de you wrote: how could I find out if the kernel and the glibc I am using will correctly supprot large files (2GB)?

Linux boot issues

2002-02-08 Thread Jerry Van Baren
At 01:17 PM 2/8/2002 -0600, Navin Boppuri wrote: Hello again, I have PPCBOOT 1.1.2 running on my hardware with an MPC855T processor running at 64MHZ (both core and bus). I have SDRAM interfaced on this hardware and I think the burst accesses are working fine since PPCBOOT is executing well with

Software FPU emulation

2002-02-21 Thread Jerry Van Baren
98% certainty it is a memory (UPM) problem. You are probably randomly misreading an instruction as 0xFFxx which is a floating point instruction. This causes a FP emulation trap. If you look at where the trap occurred (SPR register SRR0) and look at the actual memory location in question

custom mpc8240 student project (long)

2002-02-22 Thread Jerry Van Baren
[snip] #1, you don't write any C code; you get the BSDL files from the part vendors, and the board's netlist from the board vendor. What I would like to know is wether this BSDL file can be used to reversengineer the functionality of the internal TRAP logic. No. BSDL stands for Boundary

Flash programing

2001-11-12 Thread Jerry Van Baren
At 10:09 AM 11/12/01 +0100, Juan Padron wrote: Hi: I?m new in this list. I have a beginner question. We have Metrowerks CodeWarrior (for Windows). It has a little application and we use it to program the flash (via the Wigglers BDM): write and erase. But now, we are starting with

Reading SDRAM Memory Configuration via EEPROM on SIMM

2001-11-16 Thread Jerry Van Baren
In a URL :-) http://developer.intel.com/technology/memory/pc133sdram/spec/spdsd12b.htm gvb At 10:58 PM 11/15/01 -0800, Neil Russell wrote: Most SDRAM chip specs have enough stuff to figure this out. I don't have an address handy, but if you look at a chip and go to the manufacturer's web

how to use fp unit in kernel

2001-03-07 Thread Jerry Van Baren
Cort answered the how. The why is for speed: since nobody in the kernel uses floating point, it don't have to save and restore the fp unit on every task switch. This is quite expensive as there are quite a few large registers involved. There also could be a floating point instruction in

How to get COFF-format code

2001-03-09 Thread Jerry Van Baren
objcopy should be able to do this (it does everything else!), just specify that the output format be coff (ecoff?). I have not actually done this, so I'll leave it as an exercise to determine the proper set of flags. objdump -i # list known target formats objcopy -h # help: last line

How to get COFF-format code

2001-03-09 Thread Jerry Van Baren
Hey, look at that. Tornado-2 (gcc-based) cross compiler supports a flavor of coff: C:\tmpobjdumpppc -i BFD header file version cygnus-2.6 elf32-powerpc (header big endian, data big endian) powerpc:common aixcoff-rs6000 (header big endian, data big endian) powerpc:common rs6000:6000

strange problem while booting

2001-03-21 Thread Jerry Van Baren
The strange characters you were getting are reminiscent of DEC VT-100 graphics characters. On a VT (compatible) display, you can send an escape sequence which makes the lower case ASCII characters turn into characters that are line graphics, but the upper case characters are unchanged. Note

Debugger Problems

2000-11-06 Thread Jerry Van Baren
At 12:53 PM 11/6/00 +0100, Andreas Schreckenberg wrote: Wolfgang Denk wrote: In message 3A06703F.6D5DBB23 at dspace.de you wrote: Which firmware are you running on your board? Do you know about the PPCBoot project (http://ppcboot.sourceforge.net)? Our board contains a MPC750-466 MHz

mvme2604 - using Gabriel's patches. NFS questions.

2000-11-08 Thread Jerry Van Baren
Root is initially mounted RO on power up. Are you remounting it RW? # mount -n -o remount,rw / From /etc/rc.d/rc.sysinit: action Remounting root filesystem in read-write mode mount -n -o remount,rw / gvb At 04:29 PM 11/8/00 -0600, jlhagen at collins.rockwell.com wrote: Hi, I have two

Bogomips and loops_per_jiffy

2002-05-10 Thread Jerry Van Baren
The 8260's 1 second timer is only useful if your hardware clocks the RTC clock input at the proper rate. A lot of embedded boards don't bother because the usefulness of having another crystal on the board just to clock a counter is very tenuous. gvb At 07:23 AM 5/10/2002 -0700, Allen Curtis

64-bit Data Flash Access Problem [MPC8245]

2003-09-24 Thread Jerry Van Baren
32 bit reads should be easy: reading 32 bits should cause a 64 (full width) read since you only have one chip select and the processor will ignore the 32 bits it doesn't want. I'm confused when you say you have only one chip select but then say only 4 chips respond when you do a 32 bit read.

More dtc changes

2005-06-16 Thread Jerry Van Baren
Jon Loeliger wrote: On Thu, 2005-06-16 at 02:08, David Gibson wrote: I now have a git tree for the device tree compiler up at http://www.ozlabs.org/~dgibson/dtc/dtc.git Very Cool! And, um, rats. So, I'm the victim of an aggressive and anti-social IT Firewall poo-poolicy Or maybe

Where can I get gcc,binutil, etc for PPC on cygwin

2000-06-21 Thread Jerry Van Baren
WindRiver TornadoII toolset is based on cygwin/gcc. This would imply that you should be able to get the sources from somewhere. I have not tried, personally. If you track down the version numbers below at Cygnus, you may find something that works. Otherwise, sending money to WindRiver and/or

MMU problems on YellowKnife board (PPC750) with SmartFirmware

2000-06-21 Thread Jerry Van Baren
This sounds exactly like an issue we went through with the 8260 on an EST eval board (Jon, correct me out if you remember better than me). Our problem, and probably yours too, is that the JTAG debugger doesn't understand the MMU operation. As soon as you turn on the MMU, the PPC goes fetching

omitted kernel sections

2000-06-26 Thread Jerry Van Baren
Jon Diekema and I tried Wolfgang's load flag hint with the EST JTAG debugger and were unsuccessful. We were unable to use objcopy to make the extra sections loadable. We are guessing that you have to set the loadable flag, but you also have to label the section .text for the tools that are

omitted kernel sections

2000-06-26 Thread Jerry Van Baren
At 12:40 AM 6/27/00 +1000, Murray Jensen wrote: On Mon, 26 Jun 2000 08:48:36 -0400, Jerry Van Baren vanbaren_gerald at si.com writes: * It isn't how everybody uses the load: everybody just strips the elf header (pastes on a proprietary(?) header) and uses it as as a raw binary image Here's

omitted kernel sections

2000-06-26 Thread Jerry Van Baren
Treading delicately on the brink of an all-out flamewar :-)... At 06:04 PM 6/26/00 +0200, Wolfgang Denk wrote: In message 4.3.2.2626080626.00b482e0 at falcon.si.com you wrote: Jon Diekema and I tried Wolfgang's load flag hint with the EST JTAG debugger and were unsuccessful. We were

PLPRCR Checkstop reset

2000-06-27 Thread Jerry Van Baren
It would be better to not jump to the reset vector on a warm start. Often there is hardware configuration issues with rerunning all the reset code - the primary one is that the IMMR quite likely is in a different location than the power up default value. I've seen two conventions. The one I've

PLPRCR Checkstop reset

2000-06-27 Thread Jerry Van Baren
. different entry points), we will have to stash a special flag in RAM that, if it is set to a magic number, tells us not to mess with the IMMR because it is already correct. gvb At 03:16 PM 6/27/00 -0400, Dan Malek wrote: Jerry Van Baren wrote: It would be better to not jump to the reset vector

A question about head.S

2000-06-28 Thread Jerry Van Baren
You can use numbers for local (temporary) labels followed by 'f' for forward or 'b' for back. The instruction bne 4f goes to the label '4' further down in the program. If it was bne 4b, it would go to the label '4' previously seen in the file. This is good for short logical jumps and loops.

mpc8241/8245 floating point unit

2003-03-04 Thread Jerry Van Baren
I don't have 8241/8245 experience, but I do have 8260 experience (also uses the 603e core). Floating point (FPU) works well under linux. Using floating point in the kernel is severely frowned on, however, because it takes time, both for the calculations and for additional FPU register

mpc8241/8245 floating point unit

2003-03-05 Thread Jerry Van Baren
It has always had a FPU. For a while, Mot was not advertising it because they had not verified that it worked properly, but it is an advertised feature now. It has always worked. gvb At 12:23 PM 3/5/2003 -0500, jan.damborsky at devcom.cz wrote: Jerry Van Baren wrote: I don't have 8241

Can I run linux without a file system?

2002-06-21 Thread Jerry Van Baren
You need at least a RAM file system for / and a bunch of subdirectories such as /dev, /lib, etc. The common way to do this on a minimalistic system is to create a file system image in ROM (often compressed) and copy it to RAM on start up. Given the questions you are asking, I am very confident

Can I run linux without a file system?

2002-06-21 Thread Jerry Van Baren
:-)? That would require shrinking the libraries to just the necessary functions, which is a big jump in difficulty. gvb At 02:31 PM 6/21/2002 -0600, Dr. Craig Hollabaugh wrote: At 04:12 PM 6/21/2002 -0400, Jerry Van Baren wrote: You need at least a RAM file system for / and a bunch of subdirectories

Has anybody put together a tiny distro for PPC?

2002-07-09 Thread Jerry Van Baren
See Wolfgang Denk's embedded linux development kit: http://www.denx.de/solutions-en.html#ELDK gvb At 11:07 AM 7/9/2002 -0400, Dave Strout wrote: Well, things are going well here with my project to get linux + some custom apps on a custom, but very walnut-like, ppc platform. I have a 2.4

Serial console ports on systems with no console connected.

2002-07-10 Thread Jerry Van Baren
Disclaimer: This is all generic speculation (not based on knowledge of the board, just based on cruel experience :-)... Your description sounds a lot like flow control, either hardware or software, is happening. It could also be an unhandled (or mishandled) error condition. Addressing these

SB Interrupt problem (OT)

2002-04-18 Thread Jerry Van Baren
In x86 hardware, the 8259 is configured to be EDGE sensitive, not level. I assume you carried this over to your new design. Edge triggering means that, if your interrupt occurred before or during the warm boot reset (it likely occurs as a side effect of the warm boot reset), when your system

U-Boot hangs in relocate_code after sw reboot

2005-03-04 Thread Jerry Van Baren
Jaka Mo?nik wrote: hello! I don't really know if this mailing list is the proper place to direct questions regarding U-Boot, but I've seen some preceding posts about it, so I thought I'd ask... I've ported U-Boot over to a custom MPC8560 (PQ3) based board - it works well, except that

how to get a embbed linux for MPC8240 which core is 603e

2005-03-29 Thread Jerry Van Baren
Anchor wrote: Hi everbody: I am a new guy, I want get a ready embedded linux for Motorala ppc8245, give me a hand. Thank you very much! anchor xie CLAP CLap Clap clap Wolfgang Denk has a very good turn-key system Embedded Linux Development Kit (ELDK). Download it and install it

i2c on mpc824x

2002-08-07 Thread Jerry Van Baren
The MPC8260 and 824x I2C are definitely different. Also, I doubt that the DINK32 implementation is suitable for anything other than an example of how to use the I2C interface. The PPCBoot implementation is a hacked together glue piece that makes the DINK32 pieces sort of work. Ugly, ugly,

cygwin and embedded linux

2002-08-23 Thread Jerry Van Baren
At 05:39 PM 8/22/2002 -0600, Dr. Craig Hollabaugh wrote: At 09:36 AM 8/22/2002 +0200, Marius Groeger wrote: 2. The emulation will never be 100%. Maybe 99%. Maybe 99.99%. That last fraction can be a major PITA, because it is not obvious. To compile a kernel you need a lot of tools with a

cygwin and embedded linux

2002-08-23 Thread Jerry Van Baren
At 01:00 PM 8/22/2002 +0200, Magnus Damm wrote: Are there others in this situation and how have they chosen to solve it? [snip] Another way to solve it would be to switch to Linux and use VNC to connect to your Windows boxes. I'm not sure how well this works out, though. Very well. It

Timeout when pinging with larger packages...

2001-04-05 Thread Jerry Van Baren
The FIFO in the CPM for the FCCs is 192 bytes. If you can send short packets but not longer packets, it implies that the CPM is OK as long as the whole packet will fit into the FIFO. As soon as it has to start flushing to memory, things fall apart. My experience is that it starts falling apart

[U-Boot-Users] Re: Failure of 2 BAT schemes to enable D-cache

2006-05-12 Thread Jerry Van Baren
Wolfgang Denk wrote: In message 20060511201329.23866.qmail at web37105.mail.mud.yahoo.com you wrote: Please post comments and suggestions of how I can initialized MMU for d-cache performance. I am new to this. We have been through this before, several times. Many times actually. I have

embedded help for linux links

2002-12-04 Thread Jerry Van Baren
Denx Software http://www.denx.de/ See especially the ELDK stuff. For a BootROM solution, U-boot (also maintained by Wolfgang Denks for Denx Software) http://sourceforge.net/projects/u-boot gvb At 06:45 PM 12/4/2002 +0530, Omanakuttan wrote: Hi, I am a newbie in the embedded linux world,

NFS root woes: No init found

2002-12-04 Thread Jerry Van Baren
Thoughts... Does your mount command * use the defaults options (-o defaults) or equivalent? - includes read/write and execute privileges Does your host * have no_root_squash (may not be necessary)? * allow write access to the remote host? gvb At 05:30 PM 12/4/2002 -0500, Brian Waite

System crash in kernel_thread

2003-06-03 Thread Jerry Van Baren
What initialization is your BDI doing? How does it compare to the actual initialization that works? Answering those two questions should be enlightening. gvb At 05:16 PM 6/3/2003 -0400, Flavio.Pereira at za.flextronics.com wrote: Hi Wolfgang It is most likely that the RAM errors happen

Failsafe bootloader

2003-06-03 Thread Jerry Van Baren
Check out U-Boot http://sourceforge.net/projects/u-boot The project page on sourceforge is pretty much non-existant other than the CVS link. Pull down the source -- there _is_ a good README file in it that explains a lot about u-boot.

Failsafe bootloader

2003-06-04 Thread Jerry Van Baren
At 05:33 AM 6/4/2003 -0400, Darin.Johnson at nokia.com wrote: Of course, this still doesn't protect you from loading a new bootrom that has a valid checksum but a fatal problem (doh-doh-doh). Fortunately, in that case the idiot is ourselves and we deserve the pain involved, and

flash AMD

2003-06-26 Thread Jerry Van Baren
At 05:10 PM 6/26/2003 -0400, greggiraud at netcourrier.com wrote: Hi, I try to use my flash on my custom card. It's like a MPC8260ADS. The flash is the AMD AM29DL323GB. I read some source from ppcboot with am29dl323b. And for the moment I just want to ask the flash the manufacturor id. I try the

PPCBoot memory mapping problems

2000-08-21 Thread Jerry Van Baren
At 05:45 PM 8/18/00 -0700, clark at esteem.com wrote: Okay here is the situation, I have hacked slashed the PPCBoot code to work with our custom board (all except the flash portion). I have mapped the memory as show below. address sizename

Problems of Compiling Kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP Board

2006-07-12 Thread Jerry Van Baren
Zhou Rui wrote: Hi, Yesterday I tried to compile kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP board. Both of the kernel images were created successfully, but when I tested them in ram from u-boot with NFS used. Both of the images could not booted from ram. The two kernel

AW: parse error before `{', stray '\' in program

2003-04-10 Thread Jerry Van Baren
Suggestion #1, use a better editor under windows such as UltraEdit (yeah, I know, ain't gonna happen). Suggestion #2, in your build procedure, run dos2unix program on your files before building them. Note that various names have been used for this utility such as undos and dos2unix. If you

boot/simple in ROM?

2003-04-24 Thread Jerry Van Baren
The simple boot loaders are loaders, they are NOT bootroms. They expect the board to have a firmware/bootrom/monitor that does the necessary very low level very hardware specific initialization (things like setting up memory maps, initializing the SDRAM controller, etc.). The simple boot

60 second CPU load spike

2001-02-06 Thread Jerry Van Baren
Did you check the file system synchronizing? Traditionally, it happens every 30 seconds, but it may be 60 seconds in your system. Even if you are running on a RAM disk, the system quite likely is doing a bdflush() periodically. man update(8), bdflush(2) gvb At 10:33 AM 2/6/01 -0800,

Embedded Linux for data acquisition and control

2001-02-20 Thread Jerry Van Baren
Do a web search. The hardest part will be picking the best one for your needs. http://www.google.com/search?q=small+embedded+web+server Some candidates from a quick scan: http://www-sop.inria.fr/koala/phk/k-web/intro.html http://www.linuxdevices.com/links/LK7524879313.html

programming ppcboot onto an sbc8260 with a vision ice

2001-12-03 Thread Jerry Van Baren
Your PPCBoot image is linked at 0x4000 and your convert defaults are converting from 0xfe00..0xfe02 (this is where EST puts the boot memory unless you've changed the HRCW to ORG it at 0x -- glossing over quite a few details here). Anyway, there ain't no data in that range,

programming ppcboot onto an sbc8260 with a vision ice

2001-12-04 Thread Jerry Van Baren
At 09:49 AM 12/4/2001 -0500, Andrew Dixon wrote: Jerry Van Baren wrote: Your PPCBoot image is linked at 0x4000 and your convert defaults are converting from 0xfe00..0xfe02 (this is where EST puts the boot memory unless you've changed the HRCW to ORG it at 0x

MEMORY PROBLEM

2004-12-14 Thread Jerry Van Baren
ppclinux at sundmangroup.com wrote: Hello, I have a Freescale-PPC8270 ( Former Motorola ) based board with 256Megs of RAM. I am using the Montavista Vista Kernel 2.4.20. When the system is handling larger files ~100M when NFS mounted and ~20M when RAMDISKed the kernel crashes since

BDI-2000

2003-01-08 Thread Jerry Van Baren
You are setting your breakpoint at 0x0c00. Linux in virtual memory starts at 0xc000. Am I missing something? gvb At 04:40 PM 1/7/2003 -0500, cecilia.muaddi at alloptic.com wrote: Hello, I finally got my BDI-2000 for PPC 860 this week, and tried to set it up to debug my MMU problem.

8xx SCC and SMC uart latency

2003-01-13 Thread Jerry Van Baren
Your last line on the i386 makes me think you are polling the UART and immediately sending back the response. This is a totally different model than what you are running under linux. You can approach that model under linux only by writing a custom device driver that understand your

8xx SCC and SMC uart latency

2003-01-15 Thread Jerry Van Baren
that is works we can commit our project to Linux and use the RTAI. Thanks again, and Best Regards Eli Brin -Original Message- From: Jerry Van Baren [mailto:gerald.vanbaren at smiths-aerospace.com] Sent: Monday, January 13, 2003 5:40 PM To: linuxppc-embedded at lists.linuxppc.org Subject: Re

Hi

2003-01-16 Thread Jerry Van Baren
If you want responses, please use a better subject line next time. I (and probably many others) delete emails with silly subject lines like Hi without reading them because 99.99% of the time they are spam. The only reason I read yours is because Wolfgang responded to it. gvb At 09:00 AM

building lilo, grub or PPCBoot for a custom board

2003-01-17 Thread Jerry Van Baren
OK, everybody together shout use u-boot (sourceforge.net). gvb At 02:58 PM 1/17/2003 -0500, jean-charles.breuvart at airbus.com wrote: Hi ! I' succedded in building denx-eldk from rpm packages on my RedHat 8.0 (thanks wolfgang !), and then a 1st linux kernel that I'd like to download via the

Need IDE for embedded Linux project

2003-01-21 Thread Jerry Van Baren
My pick: #4 Don't cross compile under Windows, you are setting yourself up for immense frustration and zero help. On the email lists and newsgroups, I've heard people ask several times whether it is possible to cross compile the linux kernel under CygWin and a few said they actually were going

Problem Exporting Symbol

2003-01-22 Thread Jerry Van Baren
I haven't checked the actual sources, but I bet 'va_to_pte' is _not_ a symbol... it is probably either an inline function so the compiler inserts the function's code everywhere it is called (saves the overhead of the call and return with associated stack pushing and popping). When you try to

Problem Exporting Symbol

2003-01-22 Thread Jerry Van Baren
OK, the source module was pointed out to me (arch/ppc/mm/fault.c). The problem is that Shiv is targeting the 8260, but va_to_pte() is only defined for 8xx or CONFIG_GT64260_ETH. Shiv doesn't say if he has CONFIG_GT64260_ETH defined, I'm guessing not. The code in question: #if

/dev/console and mknod question

2002-10-10 Thread Jerry Van Baren
mknod is a generic unix command, used to make device controlling entries (nodes) in the /dev tree. gvb At 10:21 PM 10/9/2002 -0500, Yu Bo-BOYU1 wrote: Finally I got the linux work on my custom board. At first I encountered unable to open an initial console problem. I created /dev/console then

Binary Compatibility of various flavors of PPC

2002-10-14 Thread Jerry Van Baren
You have unreasonable expectations. The PowerPC architecture does not aspire to maintain total code compatibility at all levels. It specifically disclaims any aspirations of achieving full code compatibility. Reference: PowerPC Microprocessor Family: The Programming Environments Section 1.1.2

MV kernel on 405GP

2001-01-08 Thread Jerry Van Baren
Sounds like you have one or more pending interrupts that you are not handling properly. As soon as you enable external interrupts, you take the vector, but don't clear the pending interrupt(s). Since you don't clear the interrupt, as soon as you leave the ISR, you get hit by another interrupt.

Using realtime clock?

2001-01-10 Thread Jerry Van Baren
The proper way to handle a RTC is to read it on power up and set the system clock based on it. From then on, the system clock will be correct and everyone will use the system clock efficiently and accurately. On the x86 (PC host), the utility is hwclock (man hwclock). Your best approach is to

Using realtime clock?

2001-01-10 Thread Jerry Van Baren
4.3.2.20010110072315.00bb5230 at falcon.si.com Jerry Van Baren wrote: The proper way to handle a RTC is to read it on power up and set the system clock based on it. From then on, the system clock will be correct and everyone will use the system clock efficiently and accurately. Well, that's

Using realtime clock?

2001-01-10 Thread Jerry Van Baren
At 05:22 PM 1/10/01 +0100, Wolfgang Denk wrote: In message 4.3.2.20010110104647.00baee80 at falcon.si.com you wrote: The astronomy people, among others, are really fanatical about accurate time and have some very elaborate programs to synchronize clocks to the nanosecond (microsecond?)

Initial stack frame

2001-01-30 Thread Jerry Van Baren
At 10:05 PM 1/29/01 +0100, Wolfgang Grandegger wrote: Hello, I'm currently debugging a task stack initialization problem in RTAI on MPC8xx. The task is switched by calling rt_startup() via blr (or rfi in RTLinux). The objdump of rtai_sched.o shows the following function prolog: rtai_sched.o:

Initial stack frame

2001-01-30 Thread Jerry Van Baren
At 03:46 PM 1/30/01 +0100, Wolfgang Denk wrote: In message 4.3.2.20010130074919.00bb0a80 at falcon.si.com Jerry Van Baren wrote: One of the differences between the ABI and EABI is that the EABI requires 8 byte alignment of the stack and the ABI requires 16 byte alignment (EABI, p.28

Bootstrapping a PPC8260 board

2000-01-28 Thread Jerry Van Baren
I need to create a bootstrap program for a PPC8260-based board and am looking for code (always most helpful :-), ideas, and critiques. The idea is to have a minimal bootstrap loader built into flash such that it is sufficient to load a real program into RAM and start to run that program. The

EST SBC8260 and Canary CTX-1170

2000-11-30 Thread Jerry Van Baren
[oops, forgot to send it to the list. Sorry for the duplicate Jon, Brian, Dan] ...and the other Canary dongle had a chip in it labeled: Enable (c) 1998 5v Simple 3001AD1E2MJ1C 3440903 9934P I have not tried to track down the manufacturer. The primary point is that PHYs have different chip

66 Mhz bus clock for EST8260?

2000-12-08 Thread Jerry Van Baren
At 02:03 PM 12/8/00 -0500, Dan Malek wrote: Brian Ford wrote: I have made a few corrections to the bootrom so the decrementer frequency is set correctly from the user dip switches in addition to setting the core, cpm, and bus speeds. You are going to have to reprogram the memory

2.5 or 2.4 kernel profiling

2000-12-12 Thread Jerry Van Baren
At 09:26 AM 12/12/00 -0600, Brian Ford wrote: On Tue, 12 Dec 2000, Graham Stoney wrote: Also, doesn't the 8260 have seperate memory subsystems to help get around this? I assume you are referring to the local bus? Well yes, but there are large tradeoffs. If you use the local bus for the

2.5 or 2.4 kernel profiling

2000-12-13 Thread Jerry Van Baren
At 04:08 PM 12/13/00 -0600, Brian Ford wrote: On Wed, 13 Dec 2000, Dan Malek wrote: Graham Stoney wrote: [snip] I speak only for the 8260, but... With it, you can DMA directly into IP aligned skbuffs, eliminating the copy. I've done it and it seems to work. I'll have to benchmark it,

Software Emulation error

2000-12-21 Thread Jerry Van Baren
Scrogged memory, bad code. You are trying to execute a floating point instruction and your processor doesn't support floating point (or it is disabled). Memories like to go to 0xFFs and that is a floating point instruction. Most floating point instructions are 0xFE and the 'D' field supplies