cross compile software package
hi,all I have built the cross-compile tools chain for ppc 405, gcc-3.3.1-binutils-2.14-glibc-2.3.2.Now i want to use it to compile some software packages making up of a root fs. I compiled findutils-4.1.20 successfully, but failed to compile other packages such as coreutils, vim,etc. Could someone give me some hints about where to download the packages that are able to be cross-compiled. Which version of the cross-compile tools is better? Thanks! ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Which program can re-launch my application when this application exit for exception?
daemontool is one (http://cr.yp.to/djb.html), but it doesn't start application in order. Xiaoshan Dan Kegel wrote: > > John Zhou wrote: > >> Which program can re-launch my application when this application exit >> for exception or error? > > > Your own. It's pretty easy to write a shell script to do this. > Or you can use initd to do the same thing; see 'man inittab'. > > Your questions seem to be fairly generic, not related to > the ppc; you might want to try asking > this kind of question on, say, > http://groups.google.com/groups?group=comp.os.linux.embedded > or http://www.embeddedtux.org/pipermail/etux/ > - Dan > > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
mpc8xx memory mapped 16550 external UART
Hello All, I have been following the mail, ( Subject: mpc8xx memory mapped 16550 extrenal uart driver ) posted on the linux-embedded list. I have a MPC852T based custom board with TL16C752B Dual external UART Chip with 25 MHz clock mapped on CS6 and CS7 and a SMC1 UART. Following the intructions in the mail I am able to get both the SMC1 UART and Dual external UART configured and working. But I see couple of issues. 1. When the SMC and Dual UART both are configured with CONSOLE outputs directed to SMC, the console outputs a line at a time and probably goes to sleep mode, displays another line only if I press a "CNTRL-Z" key. 2. The /proc/tty/driver/serial entries shows only SMC entries. Warm Regards Raghu. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
busybox problem
hi, rc.sh is a script so needs /bin/sh or something do you use shared libraries? That might give problems Jaap-Jan On Tue, 9 Dec 2003, AlessandroPPC wrote: > > Hi to all, > > To solve a problem with ram root filesystem Wolfgang Denk has suggestes to > me to use his > SELF ramdisk image. > I have successfully used his package. > But I have found a problem with BusyBox init, when T have tried to > customized the init board > configuration. > The problem is related to /etc/rc.sh init script, in fact editing rc.sh and > rebuilding the ramdisk > image the output init is the following: > > > "Bummer, could not run '/etc/rc.sh': No such device or directory" > > Notice that /etc/rc.sh is present, is an exutable file and has root > privileges. > > Any suggestion is appreciated. > R.R.C.S.C. > > Thanks to all > Regards, > Alessandro > > > -- --- J.G.J. Boor Anton Philipsweg 1 Software Engineer 1223 KZ Hilversum AimSys bv tel. +31 35 689 1941 Postbus 2194, 1200 CD Hilversum mailto:jjboor at aimsys.nl ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
busybox problem
Hi to all, To solve a problem with ram root filesystem Wolfgang Denk has suggestes to me to use his SELF ramdisk image. I have successfully used his package. But I have found a problem with BusyBox init, when T have tried to customized the init board configuration. The problem is related to /etc/rc.sh init script, in fact editing rc.sh and rebuilding the ramdisk image the output init is the following: "Bummer, could not run '/etc/rc.sh': No such device or directory" Notice that /etc/rc.sh is present, is an exutable file and has root privileges. Any suggestion is appreciated. R.R.C.S.C. Thanks to all Regards, Alessandro ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
ATM Code
Hello, I am trying to use some atm code for the 82xx. The driver is up and running, pace controller is moving, the /proc is setup, there is not a /dev/atm but I don't know if there should be one or not. How do you create a simple AAL5 PVC with CBR using this? I have some example code, but it appears to be out of date (or my code is) and uses SO_BCTXOPT which is not supported. Also when I open the socket with : socket(PF_ATMPVC, SOCK_DGRAM, ATM_AAL5) returns Address family not supported by protocol? Does anyone have some working example code on how to do this or some pointers to up to date documentation? Thank you Kevin ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
440GP DMA and dma.h
I'm trying to get DMA working on a custom board with a 440GP. I was having problem getting a DMA transfer started and traced the problem to 'enable_dma' not being called. After a bit amount of research I found that my device driver didn't have an undefined external reference to 'enable_dma'. I traced the problem to the include of that eventually included that included . This header has many of the DMA functions defined as inline and static, 'enable_dma' being one of them. If I comment out the include of the compiler finds the include in my driver of and DMA transfers work (sort-of). Does anyone have a clue as to what I'm doing wrong? I can't believe I'm the first to discover this. Thanks, Jeff Andre ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
8270 performance
On 8-dec-03, at 22:11, Jean-Denis Boyer wrote: > > Ricardo, > Jaap-Jan, > >>> I would expect the bogomips number >>> to be somewhere near the core clock >>> (like 8xx). >> >> Well, I think the numbers are pretty fair, assuming that the >> bogomips number >> reflect a certain amount of external memory accesses at 66 >> MHz external bus >> clock. > > It has more to do with pipelining! > Hopefully, there ain't any memory access during calibration... > (except, of course, when the instruction cache is disabled!) > > I didn't look at the documentation, but the execution of a branch > probably occurs later in the pipeline of a 8260 than for the 860. It > probably looses one more cycle. The calibration relies on the > execution speed of function __delay (arch/ppc/kernel/misc.S), which > loops on a branch instruction 'bdnz'. > > Fortunately, the number of bogomips will increase linearly with the > core clock. > (These are approximations) > > For 8260: > 200MHz => 66M bdnz per second => 133BogoMips > 266=> 88M => 176 > 400=> 133M=> 266 > > For 860: > 50MHz => 25M bdnz per second => 50BogoMips Ok, that's a nice explanation, thanks! Jaap-Jan > > > Regards, > > Jean-Denis Boyer, Eng. > M5T Centre d'Excellence en T?l?coms Inc. > 4283 Garlock Street > Sherbrooke (Qu?bec) > J1L 2C8 CANADA > (819)829-3972 x241 > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
cross compile software package
hyding wrote: > hi,all > I have built the cross-compile tools chain for ppc 405, > gcc-3.3.1-binutils-2.14-glibc-2.3.2.Now i want to use it to compile some > software packages making up of a root fs. I compiled findutils-4.1.20 > successfully, but failed to compile other packages such as coreutils, > vim,etc. > Could someone give me some hints about where to download the > packages that are able to be cross-compiled. Which version of the > cross-compile tools is better? Have a look at http://ptxdist.sf.net It knows how to cross-compile lots of packages. - Dan ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
quad uart driver for 852T
In message you wrote: > > Hello. I am new to Embedded Linux and wish to find a driver or code for a > quad uart chip that I can use with the Analogue & Micro Adder II (MPC852T) > reference board. I have never done a Linux driver before but am willing to > take the plunge here if I have to. I see that someone as worked with a > 16C554 on this mailing list and might have it working by now. Besides the We are working on such a thing, too (although with a very special hardware interface; the chip is attached to the PCMCIA controller ports ...). We'll check it in on our CVS server within the next 4 weeks or so. > suggestions for the UART code, what is the etiquette for asking people about > their work? I have often heard Linux has tons of drivers but how do you > find the ones you need? Google, then ask. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de You Don't Have To Be 'Damned' To Work Here, But It Helps!!! - Terry Pratchett, _Eric_ ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/