From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from CYBORG3.cyclone.com (unknown [69.37.28.78]) by ozlabs.org (Postfix) with ESMTP id DD16DDDFEA for ; Sat, 28 Apr 2007 06:48:02 +1000 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7890B.39BA0E6E" Subject: RE: Date: Fri, 27 Apr 2007 16:30:08 -0400 Message-ID: <43EB80E07C42E1408726E4905FB96B04822F64@CYBORG3.cyclone.com> In-Reply-To: From: "Scott Coulter" To: "Mead, Joseph" Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C7890B.39BA0E6E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Check your UART interrupt setup =20 ___________________________________________________________________=20 Scott N. Coulter=20 Senior Software Engineer=20 =20 Cyclone Microsystems =20 370 James Street Phone: 203.786.5536 ext. 118=20 New Haven, CT 06513-3051 Email: scott.coulter@cyclone.com=20 U.S.A. Web: http://www.cyclone.com=20 ___________________________________________________________________=20 ________________________________ From: linuxppc-embedded-bounces+scott.coulter=3Dcyclone.com@ozlabs.org [mailto:linuxppc-embedded-bounces+scott.coulter=3Dcyclone.com@ozlabs.org]= On Behalf Of Mead, Joseph Sent: Friday, April 27, 2007 3:16 PM To: linuxppc-embedded@ozlabs.org Subject:=20 =20 Hi,=20 I'm trying to use initramfs on an ML403 system but don't understand why I can't see any console output after the line:=20 [ 1.034361] Freeing unused kernel memory: 1172k init =20 =20 my filesystem is built from the following:=20 dir /dev 755 0 0=20 nod /dev/console 644 0 0 c 5 1=20 dir /proc 755 0 0=20 dir /sys 755 0 0=20 file /init usr/busybox 755 0 0=20 =20 Busybox was built statically, with init functionality so I think I can just rename it to init and it should run the init process. It seems to find /dev/console because if I delete that node I get an error message that it can't find /dev/console. Also I think it is finding the busybox init because I don't get a kernel panic like I do when I don't include it. Any help would be great.=20 Thanks, Joe=20 =20 Kernel boot-up messages.=20 loaded at: 00400000 005E613C =20 board data at: 005E4124 005E413C =20 relocated to: 004050D0 004050E8 =20 zimage at: 004057E9 005E3869 =20 avail ram: 005E7000 04000000 =20 Linux/PPC load: console=3DttyS0,9600 =20 Uncompressing Linux...done. =20 Now booting the kernel =20 [ 0.000000] Linux version 2.6.17.1 (root@ansto1) (gcc version 3.4.5) #29 Thu Apr 27 11:13:26 EDT 2007 =20 [ 0.000000] Xilinx ML403 Reference System (Virtex-4 FX) [ 0.000000] Built 1 zonelists =20 [ 0.000000] Kernel command line: console=3DttyS0,9600 [ 0.000000] Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFE000 [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) [ 0.000105] Console: colour dummy device 80x25 [ 0.000394] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000887] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.009214] Memory: 61964k available (1292k kernel code, 468k data, 1172k init, 0k highmem) =20 [ 0.096238] Mount-cache hash table entries: 512 [ 0.435539] NET: Registered protocol family 16 [ 0.440315] NET: Registered protocol family 2 [ 0.480121] IP route cache hash table entries: 512 (order: -1, 2048 bytes) [ 0.480636] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.480755] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.480821] TCP: Hash tables configure [ 0.480843] TCP reno registered =20 [ 0.484696] io scheduler noop registered [ 0.484754] io scheduler anticipatory registered (default) [ 0.484799] io scheduler deadline registered [ 0.484890] io scheduler cfq registered [ 0.510230] Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled =20 [ 0.511764] serial8250.0: ttyS0 at MMIO 0x40401003 (irq =3D 9) is a 16550A [ 0.924578] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize =20 [ 0.948301] tun: Universal TUN =20 [ 0.963483] tun: (C) 1999-2004 Max Krasnyansky [ 0.982713] mice: PS/2 mouse device common for all mice [ 0.998445] TCP bic registered =20 [ 1.007702] NET: Registered protocol family 1 [ 1.020827] NET: Registered protocol family 17 [ 1.034361] Freeing unused kernel memory: 1172k init =20 ------_=_NextPart_001_01C7890B.39BA0E6E Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Check your UART  interrupt = setup

 




________________________________________________________= ___________

  Scott N. = Coulter
  = Senior Software Engineer
  =
  = Cyclone Microsystems          =
  = 370 James Street           &= nbsp;  Phone:  203.786.5536 ext. 118
  = New Haven, CT = 06513-3051      Email:  scott.coulter@cyclone.com
  = U.S.A.   &nbs= p;            = ;        Web:    http://www.cyclone.com<= font color=3Dnavy>
________________________________________________________= ___________


From: linuxppc-embedded-bounces+scott.coulter=3Dcyclone.com@ozlabs.org [mailto:linuxppc-embedded-bounces+scott.coulter=3Dcyclone.com@ozlabs.org]= On Behalf Of Mead, Joseph
Sent: Friday, April 27, = 2007 3:16 PM
To: = linuxppc-embedded@ozlabs.org
Subject: =

 

Hi,

I'm trying to use initramfs on an ML403 system but don't understand why I = can't see any console output after the line:

[    1.034361] Freeing unused kernel memory: 1172k init  =

 

my filesystem is built from the following:

dir /dev 755 0 0
nod /dev/console 644 0 0 c 5 1
dir /proc 755 0 0
dir /sys 755 0 0
file /init usr/busybox 755 0 0

 

Busybox was built statically, with init functionality so I think I can just = rename it to init and it should run the init process.   It seems to find /dev/console because if I delete that node I get an error message that = it can't find /dev/console.   Also I think it is finding the busybox = init because I don't get a kernel panic like I do when I don't include = it.

Any help would be great.

Thanks,
Joe

 

Kernel boot-up messages.

loaded at:     00400000 005E613C           = ;            =         
board data at: 005E4124 005E413C           = ;            =         
relocated to:  004050D0 004050E8           = ;            =         
zimage at:     004057E9 005E3869           = ;            =         
avail ram:     005E7000 04000000           = ;            =         

Linux/PPC load: console=3DttyS0,9600         = ;            =             
Uncompressing Linux...done.          =             &= nbsp;   
Now booting the kernel           &= nbsp;         
[    0.000000] Linux version 2.6.17.1 (root@ansto1) (gcc version 3.4.5) #29 = Thu Apr 27 11:13:26 EDT 2007           &nb= sp;           

[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)           &nbs= p;            = ;            =             &= nbsp;        
[    0.000000] Built 1 zonelists          &nbs= p;            = ;        
[    0.000000] Kernel command line: console=3DttyS0,9600         = ;            =             &= nbsp;           &n= bsp;       
[    0.000000] Xilinx INTC #0 at 0x41200000 mapped to = 0xFDFFE000          &nb= sp;           &nbs= p;            = ;            =             &= nbsp;   

[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;    

[    0.000105] Console: colour dummy device = 80x25           &n= bsp;           &nb= sp;           &nbs= p;            = ;
[    0.000394] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =    

[    0.000887] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =   

[    0.009214] Memory: 61964k available (1292k kernel code, 468k data, 1172k = init, 0k highmem)           = ;  
[    0.096238] Mount-cache hash table entries: = 512           &nbs= p;            = ;            =             &= nbsp;
[    0.435539] NET: Registered protocol family 16            = ;            =             &= nbsp;           
[    0.440315] NET: Registered protocol family 2            =             &= nbsp;           &n= bsp;          
[    0.480121] IP route cache hash table entries: 512 (order: -1, 2048 bytes)           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =     

[    0.480636] TCP established hash table entries: 2048 (order: 1, 8192 bytes)           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      

[    0.480755] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;          

[    0.480821] TCP: Hash tables configure          &nbs= p;            = ;            =     
[    0.480843] TCP reno registered          &nb= sp;           &nbs= p;          
[    0.484696] io scheduler noop registered          &nb= sp;           &nbs= p;            = ;       
[    0.484754] io scheduler anticipatory registered (default)          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;

[    0.484799] io scheduler deadline registered          &nb= sp;           &nbs= p;            = ;           
[    0.484890] io scheduler cfq registered          &nb= sp;           &nbs= p;            = ;      
[    0.510230] Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ = sharing disabled       
[    0.511764] serial8250.0: ttyS0 at MMIO 0x40401003 (irq =3D 9) is a 16550A           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =   

[    0.924578] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize    
[    0.948301] tun: Universal TUN           &nbs= p;            = ;       
[    0.963483] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>        =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;           

[    0.982713] mice: PS/2 mouse device common for all mice           &nb= sp;           &nbs= p;            = ;            =          
[    0.998445] TCP bic registered          &nb= sp;           &nbs= p;         
[    1.007702] NET: Registered protocol family 1            =             &= nbsp;           &n= bsp;          
[    1.020827] NET: Registered protocol family 17            = ;            =             &= nbsp;           
[    1.034361] Freeing unused kernel memory: 1172k init  =

------_=_NextPart_001_01C7890B.39BA0E6E--