sorry!Another question about flash!

2001-09-06 Thread weiwu
> A character device driver is included with our sources, see for instance >ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2001-07-23.tar.bz2 > >The standard solution is to use MTD, which is part of recent kernels, too. 1.who have block device driver of flash? And can I share with you? (In

ppp for Walnut 405GP

2001-09-06 Thread ibm405gp
Hi, I successfully compiled ppp-2.4.0 for my walnut board. But each time, i start "pppd", i have the following messages : [root at maquette405GP /]# pppd call dialout mapped database of hash_size 128 map_size=8192 bad magic 0x in free list tdb_allocate failed for size 17 tdb_store failed

patch for mktree.c on cross compiles

2001-09-06 Thread Mark Hatle
andrew may wrote: > > > Yes, it's an imperfect solution at best. What would be correct is for us > > to copy all of the needed magic into our own header and toss it in > > arch/ppc/boot/include. With some proper magic for the !Linux case too. > > I am not sure why we would need to do this. mktre

patch for mktree.c on cross compiles

2001-09-06 Thread Tom Rini
On Thu, Sep 06, 2001 at 01:54:32PM -0700, andrew may wrote: > > Yes, it's an imperfect solution at best. What would be correct is for us > > to copy all of the needed magic into our own header and toss it in > > arch/ppc/boot/include. With some proper magic for the !Linux case too. > > I am not

Init code for ppc405 enet

2001-09-06 Thread David Gibson
The following patch adds module init code to the ppc405 enet driver, so that it no longer needs additions to Space.c to be initialised. diff -urN ../linuxppc_2_4_devel/drivers/net/ppc405_enet.c linux-bungo/drivers/net/ppc405_enet.c --- ../linuxppc_2_4_devel/drivers/net/ppc405_enet.c Tue Aug

patch for mktree.c on cross compiles

2001-09-06 Thread Tom Rini
On Thu, Sep 06, 2001 at 01:01:06PM -0700, andrew may wrote: > On Thu, Sep 06, 2001 at 07:55:42AM -0700, Tom Rini wrote: > > On Wed, Sep 05, 2001 at 10:39:03PM -0700, acmay at acmay.homeip.net wrote: > > > On Wed, Sep 05, 2001 at 09:20:50PM -0700, Tom Rini wrote: > > > > On Wed, Sep 05, 2001 at 04:

Ctrl-C does not work

2001-09-06 Thread Dan Malek
Mark Hatle wrote: > . There is a problem with the > way the serial consoles are started on CDK 1.0 and 1.2, it was left up > to the serial driver to turn on or off the control-c activation. It actually has to do with the way tty process groups are created and signals are managed. If you bo

Ctrl-C does not work

2001-09-06 Thread Mark Hatle
Dan Malek wrote: > > Mark Hatle wrote: > > > . There is a problem with the > > way the serial consoles are started on CDK 1.0 and 1.2, it was left up > > to the serial driver to turn on or off the control-c activation. > > It actually has to do with the way tty process groups are created and

sorry!Another question about flash!

2001-09-06 Thread Wolfgang Denk
In message <200109061016.SAA00658 at isdn.iscas.ac.cn> you wrote: > > 1.who have block device driver of flash? And can I share with you? > (Intel 28F320J5(4MBytes, 8bit) flash memory) See the MTD stuff that comes with your kernel sources. > 2.The "ftl or mtd" is only for PCMCIA? MTD is not on

patch for mktree.c on cross compiles

2001-09-06 Thread andrew may
On Thu, Sep 06, 2001 at 07:55:42AM -0700, Tom Rini wrote: > On Wed, Sep 05, 2001 at 10:39:03PM -0700, acmay at acmay.homeip.net wrote: > > On Wed, Sep 05, 2001 at 09:20:50PM -0700, Tom Rini wrote: > > > On Wed, Sep 05, 2001 at 04:43:33PM -0400, Dan Malek wrote: > > > > andrew may wrote: > > > > >

SysVInit (RC Scripts) on HHL 2.0 (Add'n info)

2001-09-06 Thread Mark Hatle
Mark Hatle wrote: > > James F Dougherty wrote: > > > I am using HHL 2.0 (2.4.2) on MPC8240 and I downloaded > > the root filesystem RPM's from > > > > ftp://ftp.mvista.com/pub/Journeyman/cd2/ppc_82xx/apps/*.rpm > > > > Is there some bug in HHL 2.0 on ppc_82xx I don't know about? > > Assuming you u

SysVInit (RC Scripts) on HHL 2.0

2001-09-06 Thread Mark Hatle
James F Dougherty wrote: > I am using HHL 2.0 (2.4.2) on MPC8240 and I downloaded > the root filesystem RPM's from > > ftp://ftp.mvista.com/pub/Journeyman/cd2/ppc_82xx/apps/*.rpm > > and installed them on my root filesystem. > > Question: How come none of the init scripts work? > > I have to run:

How to make ramdisk ?

2001-09-06 Thread Amit D Chaudhary
Look at Documentation/ramdisk.txt in the kernel source tree for details. Amit ?? wrote: > Hi > > I'am trying to Hard Hat linux 1.2 on custom MPC8240 Board > modifying Sandpointing8240 SDK. > I want to use ramdisk so I did " make zImage.initrd" > but there are errors. following

MVME5100 and bugboot fails

2001-09-06 Thread Brian Waite
Tom, I was in the process of writing the same message you wrote. I would be more than willing to test the patch. Right now here is what I do in misc-simple.c /* * Find a place to stick the zimage and initrd and * relocate them if we have to. -- Cort */ avail_r

initrd failing.

2001-09-06 Thread Amit D Chaudhary
Things to check. Ensure that you have the correct size set in the .config. Next time, please email the relevant .config entries for the kernel and also what is the size of initrd. Next, check that your boot loader is copying the initrd and kernel at correct offset and uncompressing it. Since you

MVME5100 and bugboot fails

2001-09-06 Thread Tom Rini
On Thu, Sep 06, 2001 at 11:32:21AM -0700, Matt Porter wrote: > On Thu, Sep 06, 2001 at 10:48:30AM -0700, Tom Rini wrote: > > On Thu, Sep 06, 2001 at 07:03:58AM -0700, Matt Porter wrote: > > > On Thu, Sep 06, 2001 at 08:56:39AM -0700, Tom Rini wrote: > > > > > > > > On Thu, Sep 06, 2001 at 11:36:39

Ctrl-C works just fine.

2001-09-06 Thread Mark Hatle
Navin Boppuri wrote: > > Ctrl-C works just fine on everything now, thanks to Cal Erickson. The > trick is to make /dev/console a symbolic link to ur serial port > /dev/ttyS0 or S1. > > Navin. Just keep in mind that, if your /dev/ttyXX device does not (by default) turn on the control-c stuff it wo

MVME5100 and bugboot fails

2001-09-06 Thread Brian Waite
I tried that and I was unable to relocate just the initrd. Right now, I just tested to see: if ((zImage_start >= 0xf000) || (zImage_start <= 0x0080)) That seems to work for now, but I'll take a peek at the gemeni and see how they do it. On Thursday 06 September 2001 11:23 am, you wrote

MVME5100 and bugboot fails

2001-09-06 Thread Matt Porter
On Thu, Sep 06, 2001 at 10:48:30AM -0700, Tom Rini wrote: > On Thu, Sep 06, 2001 at 07:03:58AM -0700, Matt Porter wrote: > > On Thu, Sep 06, 2001 at 08:56:39AM -0700, Tom Rini wrote: > > > > > > On Thu, Sep 06, 2001 at 11:36:39AM -0400, Brian Waite wrote: > > > > > > > I tried that and I was unabl

Walnut bootloader fix

2001-09-06 Thread David Gibson
The following patch adds code to the "simple" bootloader to disable the ethernet controller on the Walnut board before booting the kernel. This is necessary on the Walnut I have, at least, or the EMAC has a tendency to DMA broadcast packets into the kernel text. diff -urN ../linuxppc_2_4_devel/a

xmon support for Walnut

2001-09-06 Thread David Gibson
The following patch allows xmon to run on Walnut machines. diff -urN ../linuxppc_2_4_devel/arch/ppc/xmon/start.c linux-bungo/arch/ppc/xmon/start.c --- ../linuxppc_2_4_devel/arch/ppc/xmon/start.c Wed Sep 5 13:58:54 2001 +++ linux-bungo/arch/ppc/xmon/start.c Wed Sep 5 14:52:38 2001 @@ -151,6 +

Ctrl-C works just fine.

2001-09-06 Thread Navin Boppuri
Ctrl-C works just fine on everything now, thanks to Cal Erickson. The trick is to make /dev/console a symbolic link to ur serial port /dev/ttyS0 or S1. Navin. -Original Message- From: Mark Hatle [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2001 10:38 AM To: Navin Boppuri Cc:

4xx - a question and a patch

2001-09-06 Thread David Gibson
On Wed, Sep 05, 2001 at 11:34:03AM -0400, Dan Malek wrote: > > David Gibson wrote: > > > But when it hits zero we'll also get another timer interrupt and will > > shortly be updating it with a corrected value. Why does it matter > > that the value is reloaded? > > I don't understand the reason fo

IDMA freezes but with periodic printk() things work...

2001-09-06 Thread John Francis
Hello, I am faced with very strange problem. I have IDMA channel 1 that I am using to send ethernet packets to external device. What I have seen is if I try to transmit large amount of data at really fast rate things IDMA transfer simply stops. However if I do printk() after say every 1 byte

MVME5100 and bugboot fails

2001-09-06 Thread Brian Waite
I am playing with the MVME5100 and I am having a bit of trouble with booting using bugboot and an initrd. I get a message at bootup saying initrd > 16 MB and then as it is booting it gets an oops in mem_init. It appears that the oops happens when ClearPageReserved() is called. Here is a snippet o

MVME5100 and bugboot fails

2001-09-06 Thread Tom Rini
On Thu, Sep 06, 2001 at 07:03:58AM -0700, Matt Porter wrote: > On Thu, Sep 06, 2001 at 08:56:39AM -0700, Tom Rini wrote: > > > > On Thu, Sep 06, 2001 at 11:36:39AM -0400, Brian Waite wrote: > > > > > I tried that and I was unable to relocate just the initrd. Right now, I > > > just > > > tested t

pthread support in ppc405 gdb

2001-09-06 Thread Mark Hatle
Bryan Rittmeyer wrote: > > Hi, > > * gdb 5.0 >gdb 5.0 included with HHL 2.0 does not support >debugging multi-threaded (pthread) applications. > > What are the problem areas that prevent gdb 5.0 from debugging > threaded applications on the ppc405? Is anyone on the > list or within MontaVi

Ctrl-C does not work

2001-09-06 Thread Mark Hatle
Navin Boppuri wrote: > > Hello everyone, > > Ctrl-C does on work on my serial console when I use the sample file > system from Hardhat 1.0 toolkit. It , however, works with the Hardhat > 1.2 toolkit sample file system. I am using the same kernel to test both > the file systems. What could be diffe

sorry!Another question about flash!

2001-09-06 Thread Kári Davíesson
> -Original Message- > From: weiwu [mailto:weiwu at isdn.iscas.ac.cn] > Sent: 6. september 2001 10:18 > To: linuxppc-embedded at lists.linuxppc.org > Subject: sorry!Another question about flash! > > > > > A character device driver is included with our sources, > see for instance > >ftp://

SysVInit (RC Scripts) on HHL 2.0

2001-09-06 Thread Matthew Locke
sounds like a user error during installation. try using the installer, otherwise you have to figure out the dependancies by hand. James F Dougherty wrote: > Hi, > > I am using HHL 2.0 (2.4.2) on MPC8240 and I downloaded > the root filesystem RPM's from > > ftp://ftp.mvista.com/pub/Journeyman/cd

SysVInit (RC Scripts) on HHL 2.0

2001-09-06 Thread James F Dougherty
Hi, I am using HHL 2.0 (2.4.2) on MPC8240 and I downloaded the root filesystem RPM's from ftp://ftp.mvista.com/pub/Journeyman/cd2/ppc_82xx/apps/*.rpm and installed them on my root filesystem. Question: How come none of the init scripts work? I have to run: devfsd /dev mount -a every time I

Can't run init... MPC8240

2001-09-06 Thread Andrew Johnson
?? wrote: > > I am working MPC8240 custom board with Sandpoint8240 BSP > from MVista CDK 2.0 . I think that I made something wrong. Check that your installation of the Sandpoint LSP actually completed without any errors - I found that the HHL-2.0 release had some problems and many of the ta

MVME5100 and bugboot fails

2001-09-06 Thread Tom Rini
On Thu, Sep 06, 2001 at 11:36:39AM -0400, Brian Waite wrote: > I tried that and I was unable to relocate just the initrd. Right now, I just > tested to see: > if ((zImage_start >= 0xf000) || (zImage_start <= 0x0080)) > > That seems to work for now, but I'll take a peek at the gemeni and

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. (copie

MVME5100 and bugboot fails

2001-09-06 Thread Tom Rini
On Thu, Sep 06, 2001 at 10:55:46AM -0400, Brian Waite wrote: > I am playing with the MVME5100 and I am having a bit of trouble with booting > using bugboot and an initrd. I get a message at bootup saying initrd > 16 MB > and then as it is booting it gets an oops in mem_init. [snip] > My question

initrd failing.

2001-09-06 Thread karanth
Hai, Iam Using a custom made board, using kernel 2.2.14. Iam able to boot from the NFS and from the flash, I want ramdisk to work, but it is failing in start_kernel. while booting it gives the message, Uncompressing Linux...done. hold_residual=00600100 Now booting the kernel bi_memory_size =

patch for mktree.c on cross compiles

2001-09-06 Thread Tom Rini
On Wed, Sep 05, 2001 at 10:39:03PM -0700, acmay at acmay.homeip.net wrote: > On Wed, Sep 05, 2001 at 09:20:50PM -0700, Tom Rini wrote: > > On Wed, Sep 05, 2001 at 04:43:33PM -0400, Dan Malek wrote: > > > andrew may wrote: > > > > I would think everything in arch/ppc/boot/utils should be checked >

MVME5100 and bugboot fails

2001-09-06 Thread Matt Porter
On Thu, Sep 06, 2001 at 08:56:39AM -0700, Tom Rini wrote: > > On Thu, Sep 06, 2001 at 11:36:39AM -0400, Brian Waite wrote: > > > I tried that and I was unable to relocate just the initrd. Right now, I just > > tested to see: > > if ((zImage_start >= 0xf000) || (zImage_start <= 0x0080)) > >

FLASH RamDisk and kernel init options for disk

2001-09-06 Thread James F Dougherty
Hi, What are peoples thoughts on the best way to make a small ramdisk which fits in less than 1M and performs the task of checking for a root disk, running fsck, and then remounting it as root. As a fallout condition, it would let your run fdisk and possibly some network script which runs rpm ov