* No bash prompt
@ 2000-04-12 11:51 Kim Jørgensen
0 siblings, 0 replies; 10+ messages in thread
From: Kim Jørgensen @ 2000-04-12 11:51 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hi.
A got a similar problem as described by LiuTao, my custom MPC823 board won't
display the bash prompt at start up. Is there anybody who got a solution to
this problem?
I tried like LiuTao to define "SERIAL_DEBUG_INTR" in uart.c, and I got the
same result: Lots of "THRE...rs_interrupt_single(0, 2)...end." on the
console.
I have successfully used the ramdisk image on a RPXL board, so that should
be ok.
Here are the console messages:
loaded at: 00200000 0020B1F0
relocated to: 00100000 0010B1F0
board data at: 001001C4 001001E0
relocated to: 00200100 0020011C
zimage at: 00206000 002383D8
initrd at: 002383D8 002B2E77
avail ram: 002B3000 00800000
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.2.13 (root@LinuxDriverPC.infocom.dk) (gcc version 2.95.2
19991024 (release)) #74 Wed Apr 12 12:41:36 CEST 2000
Boot arguments: root=/dev/ram
time_init: decrementer frequency = 187500000/60
Calibrating delay loop... 49.66 BogoMIPS
Memory: 7032k available (376k kernel code, 268k data, 24k init)
[c0000000,c0800000]
DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
Starting kswapd v 1.5
CPM UART driver version 0.02
ttyS00 at 0x0280 is a SMC
RAM disk driver initialized: 16 RAM disks of 4096K size
RAMDISK: Compressed image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
THRE...rs_interrupt_single(0, 2)...end.
THRE...rs_interrupt_single(0, 2)...end.
THRE...rs_interrupt_single(0, 2)...end.
Hope someone can help.
Kim Jorgensen
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: No bash prompt
@ 2000-04-12 12:12 Wohlgemuth, Jason
2000-04-12 13:09 ` Wolfgang Denk
0 siblings, 1 reply; 10+ messages in thread
From: Wohlgemuth, Jason @ 2000-04-12 12:12 UTC (permalink / raw)
To: 'Kim Jørgensen',
'linuxppc-embedded@lists.linuxppc.org'
Kim,
Are you trying to boot your board with a BDM plugged in? If so, Dan made us
aware that BDM's will fight with the kernel and will get confused about the
VM. If this is your situation, you will need to program your flash with the
kernel and boot it without a BDM connected.
Hope that helped,
Jason
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Kim
Jørgensen
Sent: Wednesday, April 12, 2000 7:52 AM
To: 'linuxppc-embedded@lists.linuxppc.org'
Subject: No bash prompt
Hi.
A got a similar problem as described by LiuTao, my custom MPC823 board won't
display the bash prompt at start up. Is there anybody who got a solution to
this problem?
I tried like LiuTao to define "SERIAL_DEBUG_INTR" in uart.c, and I got the
same result: Lots of "THRE...rs_interrupt_single(0, 2)...end." on the
console.
I have successfully used the ramdisk image on a RPXL board, so that should
be ok.
Here are the console messages:
loaded at: 00200000 0020B1F0
relocated to: 00100000 0010B1F0
board data at: 001001C4 001001E0
relocated to: 00200100 0020011C
zimage at: 00206000 002383D8
initrd at: 002383D8 002B2E77
avail ram: 002B3000 00800000
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.2.13 (root@LinuxDriverPC.infocom.dk) (gcc version 2.95.2
19991024 (release)) #74 Wed Apr 12 12:41:36 CEST 2000
Boot arguments: root=/dev/ram
time_init: decrementer frequency = 187500000/60
Calibrating delay loop... 49.66 BogoMIPS
Memory: 7032k available (376k kernel code, 268k data, 24k init)
[c0000000,c0800000]
DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
Starting kswapd v 1.5
CPM UART driver version 0.02
ttyS00 at 0x0280 is a SMC
RAM disk driver initialized: 16 RAM disks of 4096K size
RAMDISK: Compressed image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
THRE...rs_interrupt_single(0, 2)...end.
THRE...rs_interrupt_single(0, 2)...end.
THRE...rs_interrupt_single(0, 2)...end.
Hope someone can help.
Kim Jorgensen
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No bash prompt
2000-04-12 12:12 Wohlgemuth, Jason
@ 2000-04-12 13:09 ` Wolfgang Denk
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2000-04-12 13:09 UTC (permalink / raw)
To: Wohlgemuth, Jason; +Cc: 'Kim J?rgensen', "'linuxppc-embedded
In message <200004121212.IAA10789@hoover.gilbarco.com> you wrote:
>
> Are you trying to boot your board with a BDM plugged in? If so, Dan made us
> aware that BDM's will fight with the kernel and will get confused about the
> VM. If this is your situation, you will need to program your flash with the
It is true that the BDM debuggers usually don't understand the
address mappings very well as soon as the MMU has been turned on, but
it is NOT TRUE that "BDM's will fight with the kernel".
So the BDM debugger might not be too helpful while Linux is running,
but it does not cause any problems if you configure it correctly:
Depending on your settings of the Debug Enable Register (DER) you can
run Linux with a BDM debugger attached without any problems;
0x6002000F or 0x2002000F might be useful settings - depending on what
you like.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Perfection is reached, not when there is no longer anything to add,
but when there is no longer anything to take away.
- Antoine de Saint-Exupery
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: No bash prompt
@ 2000-04-12 13:54 Kim Jørgensen
0 siblings, 0 replies; 10+ messages in thread
From: Kim Jørgensen @ 2000-04-12 13:54 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
>> Hi.
>>
>> A got a similar problem as described by LiuTao, my custom MPC823 board
won't
>> display the bash prompt at start up. Is there anybody who got a solution
to
>> this problem?
>
>Do you get any console output at all? Try instrument init/main.c
>round the exec of the standalone shell / init program.
No after "Freeing unused kernel memory: 24k init", nothing appears on the
console.
I tried to put a printk before execve("/bin/sh"... and one after. Only
output from the first printk appears on the console.
>Do you see any output in the log_buf area?
What is the log_buf area?
>> I have successfully used the ramdisk image on a RPXL board, so that
should
>> be ok.
>
>What happens without intrd, for instance woith NFS as root
>filesystem?
I haven't got Ethernet on my board.
>You seem to have 8 MB of RAM; how big is your (uncompressed) initrd?
The uncompressed ramdisk image is 1.5MB.
I tried to program my flash with the kernel and ramdisk, and boot without
the debugger, but it still didn't work.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No bash prompt
@ 2000-04-14 11:01 Kim Jørgensen
2000-04-14 14:56 ` Marcus Sundberg
0 siblings, 1 reply; 10+ messages in thread
From: Kim Jørgensen @ 2000-04-14 11:01 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hi.
I finally got Linux running on my board, thanks to Wolfgang.
My problem was that I placed the internal memory map at 0x1F00000, and that
won't work.
Here is Wolfgang's explanation why:
This will not work. You will have to change your address map so IMMR
is above 0xD0000000; usually 0xFFF00000 is a good value to use.
The reason for that is that the IMMR / DPRAM area needs to be mapped
as physical memory prior to the kernel VM initialization, the mapping
being virtual to physical. This happens in mm/init.c for things like
the IMMR and some other board control registers. In this case,
mapping below something like 0xD0000000 causes problems with VM
collision in kernel or user process space.
Thank you.
Kim Jorgensen
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No bash prompt
2000-04-14 11:01 No bash prompt Kim Jørgensen
@ 2000-04-14 14:56 ` Marcus Sundberg
2000-04-14 18:54 ` Dan Malek
0 siblings, 1 reply; 10+ messages in thread
From: Marcus Sundberg @ 2000-04-14 14:56 UTC (permalink / raw)
To: linuxppc-embedded
Kim Jørgensen <KIJ@infocom.dk> writes:
> I finally got Linux running on my board, thanks to Wolfgang.
>
> My problem was that I placed the internal memory map at 0x1F00000, and that
> won't work.
Seems this problem is way too common...
How about adding a ppc_md.init function which checks that the internal
registers are mapped in a sane place, and panics with an informative
message otherwise?
//Marcus
--
Signature under construction, please come back later.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No bash prompt
2000-04-14 14:56 ` Marcus Sundberg
@ 2000-04-14 18:54 ` Dan Malek
2000-04-17 8:09 ` Marcus Sundberg
0 siblings, 1 reply; 10+ messages in thread
From: Dan Malek @ 2000-04-14 18:54 UTC (permalink / raw)
To: Marcus Sundberg; +Cc: linuxppc-embedded
Marcus Sundberg wrote:
> Seems this problem is way too common...
> How about adding a ppc_md.init function which checks that the internal
> registers are mapped in a sane place, and panics with an informative
> message otherwise?
My plan is just to force all 8xx ports to use the same IMMR address.
This is part of the 8M page mapping of the kernel for performance
enhancements. I am going to collect as much I/O and IMMR into an
8M space as possible. Someplace around 0xff000000 is going to be the
"Linux" IMMR setting.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No bash prompt
2000-04-14 18:54 ` Dan Malek
@ 2000-04-17 8:09 ` Marcus Sundberg
0 siblings, 0 replies; 10+ messages in thread
From: Marcus Sundberg @ 2000-04-17 8:09 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded
Dan Malek <dan@netx4.com> writes:
> My plan is just to force all 8xx ports to use the same IMMR address.
> This is part of the 8M page mapping of the kernel for performance
> enhancements. I am going to collect as much I/O and IMMR into an
> 8M space as possible. Someplace around 0xff000000 is going to be the
> "Linux" IMMR setting.
Sounds like a good idea.
In combination with explicitly setting IMMR to this address in
mbxboot/head.S it will save a lot of trouble for newcommers.
//Marcus
--
Signature under construction, please come back later.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* no bash prompt
@ 2003-03-21 8:17 Rahul Dev
2003-03-21 8:51 ` Paul White
0 siblings, 1 reply; 10+ messages in thread
From: Rahul Dev @ 2003-03-21 8:17 UTC (permalink / raw)
To: linuxppc-embedded
Dear all,
I am running linux 2.4.2 over ads powerpc (8260) board.
Since , there is no support of scsi controller over the board , i m
using ramdisk image.
I m getting the following prints:
Linux version 2.4.2 (rahuld@hpv2k-35) (gcc version 3.0.4) #1
Fri Mar 7 15:30:25 IST 2003
Boot arguments:
On node 0 totalpages: 4095
zone(0): 4095 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line:
Warning: real time clock seems stuck!
Calibrating delay loop... 244.12 BogoMIPS
Memory: 13016k available (724k kernel code, 260k data, 40k init, 0k
highmem)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
CPM UART driver version 0.01
ttyS0 on SCC1 at 0x8000, BRG1
ttyS1 on SCC2 at 0x8100, BRG2
block: queued sectors max/low 8581kB/2860kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 0k freed
Serial driver version 5.02 (2000-08-09) with no serial options enabled
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
setting up filesystem
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 40k init
The problem is that i m not getting bash prompt.
Then i added one application in my ramdisk.image that prints some
message on "/dev/console" .
But i m not getting any prints .
Can anybody point out that where could the problem be??
thanx and regards,
-rd
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: no bash prompt
2003-03-21 8:17 no " Rahul Dev
@ 2003-03-21 8:51 ` Paul White
0 siblings, 0 replies; 10+ messages in thread
From: Paul White @ 2003-03-21 8:51 UTC (permalink / raw)
To: Rahul Dev; +Cc: linuxppc-embedded
Rahul,
I'm not familiar with an ads powerpc 8260 board, however if your
linux console is over a serial port, you will need to add an option
to your linux kernel command line:
"console=/dev/ttyS0" or "console=/dev/ttyS1"
I can see your passing nothing, due to:
> Boot arguments:
and
> Kernel command line:
Hope this helps!
Paul White
Bivio Networks, Inc.
On Fri, 21 Mar 2003, Rahul Dev wrote:
>
> Dear all,
>
> I am running linux 2.4.2 over ads powerpc (8260) board.
> Since , there is no support of scsi controller over the board , i m
> using ramdisk image.
>
> I m getting the following prints:
>
> Linux version 2.4.2 (rahuld@hpv2k-35) (gcc version 3.0.4) #1
> Fri Mar 7 15:30:25 IST 2003
> Boot arguments:
> On node 0 totalpages: 4095
> zone(0): 4095 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line:
> Warning: real time clock seems stuck!
> Calibrating delay loop... 244.12 BogoMIPS
> Memory: 13016k available (724k kernel code, 260k data, 40k init, 0k
> highmem)
> Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
> Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Starting kswapd v1.8
> CPM UART driver version 0.01
> ttyS0 on SCC1 at 0x8000, BRG1
> ttyS1 on SCC2 at 0x8100, BRG2
> block: queued sectors max/low 8581kB/2860kB, 64 slots per queue
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> RAMDISK: ext2 filesystem found at block 0
> RAMDISK: Loading 2048 blocks [1 disk] into ram disk... done.
> Freeing initrd memory: 0k freed
> Serial driver version 5.02 (2000-08-09) with no serial options enabled
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 512 bind 1024)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> setting up filesystem
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 40k init
>
> The problem is that i m not getting bash prompt.
> Then i added one application in my ramdisk.image that prints some
> message on "/dev/console" .
> But i m not getting any prints .
> Can anybody point out that where could the problem be??
>
> thanx and regards,
> -rd
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-03-21 8:51 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-14 11:01 No bash prompt Kim Jørgensen
2000-04-14 14:56 ` Marcus Sundberg
2000-04-14 18:54 ` Dan Malek
2000-04-17 8:09 ` Marcus Sundberg
-- strict thread matches above, loose matches on Subject: below --
2003-03-21 8:17 no " Rahul Dev
2003-03-21 8:51 ` Paul White
2000-04-12 13:54 No " Kim Jørgensen
2000-04-12 12:12 Wohlgemuth, Jason
2000-04-12 13:09 ` Wolfgang Denk
2000-04-12 11:51 Kim Jørgensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).