make module_install

2002-12-17 Thread Wolfgang Denk
In message <20021217190611.AA903C6139 at atlas.denx.de> I wrote: ... > Do not hesitate to relase your code early. This is one of the basic > ideas of Open Source development, and a source of huge mutual > benefit: first, a duplication of effort may result, as others can

AW: Possible problem in asm/bitops.h

2002-12-17 Thread Paul Mackerras
Georg Klug writes: > Oops, I thought, that the directories /usr/include/linux as well as > /usr/include/asm should come directly from the kernel (either as a copy That is how it used to be done, but that way of doing things has been deprecated for a long time now. /usr/include/{linux,asm} are p

make module_install

2002-12-17 Thread Wolfgang Denk
In message <002301c2a5fd$918c5fc0$0700a8c0 at pc005> you wrote: > > Many are the things that we must learn (from Linux point of view) before > release some code under GPL, and we shouldn't like to release something that > could be a bad example. Do not hesitate to relase your code early. This is

How Do I: Make My Own /root file system

2002-12-17 Thread Wolfgang Denk
In message you wrote: > > I just finished getting a basic bash shell running on my embedded PPC > platform using a standard RAM file system from www.denx.de. > > Are there any instructions on line as to how I would go about making my own > RAM FS? ... most online info seem to point to commercial

bug in early_uart_init()? linuxppc_2_4_devel

2002-12-17 Thread Brad Parker
I think there's a bug in early_uart_init() from linuxppc_2_4_devel. It sets up a structure and calls early_serial_setup() which crashes because "req->line" is huge. early_uart_init() does ... serial_req.line = rs_table[0].port; ... and then calls early_serial_setup() in drivers/char/seria

make module_install

2002-12-17 Thread Wolfgang Denk
In message you wrote: > > > driver anyway. I will even go so far to say that if you need to run > > "depmod" for your embedded system you should fix your system design > > because you are doing something wrong. > > Someone might use loadable modules because he doesn't want to release > his d

make module_install

2002-12-17 Thread Marius Groeger
On Tue, 17 Dec 2002, Wolfgang Denk wrote: > different for embedded systems: modules are usually only used for > driver development, and then you will manually load and unload the > driver anyway. I will even go so far to say that if you need to run > "depmod" for your embedded system y

make module_install

2002-12-17 Thread Wolfgang Denk
In message <001301c2a5ed$1d546ea0$0700a8c0 at pc005> you wrote: > > > make modules_install INSTALL_MOD_PATH=/opt/eldk/ppc_8xx > > By doing that I have solved only the 50% of the problem. In fact now the > files are moved in the right place but the message still exist. I know. I tend to simply ign

Question: mvista kernel ... how do i enable SCC1 for enet

2002-12-17 Thread James Don
Hi, I have my kernel running with SMC1 UART support and would now like to add SCC1 support. FYI: My platform is based on a FADS board ... but some of my SCC pins have moved. 1.) What kernel modules do I need to enable to get ENET on SCC1? I have added basic network support ... but see no SCC1 u

make module_install

2002-12-17 Thread Wolfgang Denk
Dear Gianfranco, in message <000701c2a5e5$30b5a660$0700a8c0 at pc005> you wrote: > > I have implemented a loadable driver and I have compiled the source code > with the command "make modules". When I try to run the install script with OK so far. > the command "make modules_install" it exits wit

405LP compile fix

2002-12-17 Thread Hollis Blanchard
On Tue, 2002-12-17 at 13:49, Hollis Blanchard wrote: > > This patch fixes the Beech build, which is calling the now-nonexistant > function beech_time_init. In actuality beech_time_init was never called > anyways... :) Oops, I meant to say "beech_calibrate_decr was never called anyways", but you k

kmalloc and startup process

2002-12-17 Thread Pantelis Antoniou
Pantelis Antoniou wrote: > > Joakim Tjernlund wrote: > >> Don't know when it's safe to call kmalloc, but maybe you >> should avoid kmalloc? Is it possible to use >> kmalloc when the microcode(8xx_io/micropatch.c) is loaded? >> >> Jocke >> > I fixed the problem via another way. > > At startup I

kmalloc and startup process

2002-12-17 Thread Pantelis Antoniou
Joakim Tjernlund wrote: >Don't know when it's safe to call kmalloc, but maybe you >should avoid kmalloc? Is it possible to use >kmalloc when the microcode(8xx_io/micropatch.c) is loaded? > > Jocke > I fixed the problem via another way. At startup I use a statically allocated area, or the boot

Arctic-2 MTD driver

2002-12-17 Thread David Gibson
On Mon, Dec 16, 2002 at 07:43:49AM -0700, Tom Rini wrote: > > On Mon, Dec 16, 2002 at 01:09:22PM +1100, David Gibson wrote: > > > Having committed the core support code for the Arctic-2, here come > > some drivers for it. Below is an MTD map for the Arctic-2, derived > > from beech-mtd.c. Essent

Compiling ucd-snmp using ELDK for PPC

2002-12-17 Thread Erik Christiansen
On Fri, Dec 13, 2002 at 11:23:26AM -0800, Jin Cheng wrote: > I have compiled one, but only can snmpget/snmpwalk/etc, but can not > snmpset, it always returns timeout. Presumably you have looked in /var/log/snmpd.log , to see what it is telling you about the problem. Chances are that your

IRQ config problem on MPC8245

2002-12-17 Thread "Callebaut, BenoƮt"
> Hello, I have on a custom board a little problem with the IRQ configuration. > Our board is a custom board derived from a sandpoint board X3B with a > MPC8245 without any peripheral (no extern bridge, no IRQ controller,...) > except 2 MAC/PHY 82449 from Intel and run Montavista Linux 2.1 base

kmalloc and startup process

2002-12-17 Thread Pantelis Antoniou
Hi I'm hacking now the 8xx hostalloc and dpalloc stuff, and I have a a question. At what point in the startup process is it OK to call kmalloc? I don't think it is safe at the setup_arch point. Is this correct? Thanks -- Pantelis Antoniou INTRACOM S.A. Greece ** Sent via the linuxppc-embed

kmalloc and startup process

2002-12-17 Thread Joakim Tjernlund
Don't know when it's safe to call kmalloc, but maybe you should avoid kmalloc? Is it possible to use kmalloc when the microcode(8xx_io/micropatch.c) is loaded? Jocke > > > Hi > > I'm hacking now the 8xx hostalloc and dpalloc stuff, > and I have a a question. > > At what point in the startup p

How Do I: Make My Own /root file system

2002-12-17 Thread James Don
Hello, I just finished getting a basic bash shell running on my embedded PPC platform using a standard RAM file system from www.denx.de. Are there any instructions on line as to how I would go about making my own RAM FS? ... most online info seem to point to commercial distro's ... and I wouldn'

405LP EBC setup fix

2002-12-17 Thread Hollis Blanchard
EBC0_B0CR should be set as 16-bit; through an ifdef merging typo it is currently set incorrectly as 8-bit. This prevents 405LP wakeup from succeeding and needs to be fixed. Please apply to _2_4_devel and 2.5. -Hollis -- PowerPC Linux IBM Linux Technology Center -- next part -

405LP RTC reset

2002-12-17 Thread Hollis Blanchard
Here's the updated 405LP RTC reset diff (after David's move of the RTC functions to ibm405lp.c). This patch a) does a full RTC reset as specified in the docs b) sets the RTC clock speed in RTC "Register A" DV bits, i.e. it does not assume the firmware has done this correctly. Please apply to _2_4_

kmalloc and startup process

2002-12-17 Thread Dan Malek
Pantelis Antoniou wrote: > At what point in the startup process is it OK to call > kmalloc? Before you start hacking up things that are "broken", you should probably take a moment to understand why they are currently implemented the way they are. The CPM support functions are called _very_ ear

AW: Possible problem in asm/bitops.h

2002-12-17 Thread Georg Klug
Hi Tom, > On Wed, Dec 11, 2002 at 04:31:14PM +0100, Georg Klug wrote: > > > Q: Is the ffz() function desgined to work in a user space > application, too? If > >yes, the file asm-ppc/bitops.h would need a change. > > Q: Does it make any sense to define one single macro (PPC405_ERR77()) in > >

SCC and SMC to RS232 for MPC850

2002-12-17 Thread Donald MacArthur
When enabling the SCC and SMC ports for RS232 on a MPC850, do you simply need to connect the RX/TX/GND lines to a RS232 line driver and enable the ports for UART in the kernel? Is there a alternative/simple method for configuring an MPC850 to have four RS232 serial ports? Thank You Donald MacArt

artic or artic II

2002-12-17 Thread John F Davis
Hello Which system are you folks using for development - artic or artic II? Also, the artic II says to connect a serial port to get terminal access. I do this before I boot the box and I don't get anything on the minicom session. I am using the db-9 serial connector on the base unit. My null

MPC8265/6 and PCI support

2002-12-17 Thread None Atall
Hello everybody! I have started writting a PCI driver for Motorola's MPC8265/6 processors (about 45% complete, untested). This code will be open source, since this is developed in my free time :) Is there anybody out there developing such a code? Is he/she willing to help?

Possible problem in asm/bitops.h

2002-12-17 Thread Tom Rini
On Tue, Dec 17, 2002 at 10:10:09AM +0100, Georg Klug wrote: > > I suspect the actual problem is that iproute2 only needs > > a very small amount of what is in include/linux/inetdev.h > > That might be true. But would the solution be to copy the linux/inetdev.h > to a local directory and change th

memory management bug??

2002-12-17 Thread Owen Green
.. Name: memory_problems_output.txt Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20021217/9580ec6a/attachment.txt