All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Strange problem after shell appears...
@ 2001-03-21 11:29 machael
  0 siblings, 0 replies; 2+ messages in thread
From: machael @ 2001-03-21 11:29 UTC (permalink / raw
  To: linuxppc-embedded


Hello,all:

Now I can boot linux on my 8260-based custom board. But I have a strange
problem:

#############################
.....................
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 48k init
Sash shell (version 1.0)
sash# hel^@
###############################

After shell appears, I cannot run any built-in commands such as "ls" , "cp"
etc...
As you can see above, when  I type 2 or 3 characters(for example, "hel"),
then it appends "^@" automatically at once(So you see "hel^@" above). Then
it stops there. It has no any response  when I try to type any more
characters. But I can ping it from my host computer.
This means the target board is not crashed...

Of course I am sure the root NFS is OK. I have tried cross-compile sash
statically or dynamically, but both have the same result as above:

###########################################
    powerpc-linux-gcc -O2 -c -o sash.o sash.c
    powerpc-linux-gcc -O2 -c -o cmds.o cmds.c
    .....................
then:
    powerpc-linux-ld -O2 -static -s -o sash sash.o cmds.o ......
or
   powerpc-linux-ld  -O2 -Wl,--rpath,/lib -o sash sash.o cmds.o ...
################################################

Any ideas?
Thank you very much.

machael


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Strange problem after shell appears...
@ 2001-03-22  2:37 machael
  0 siblings, 0 replies; 2+ messages in thread
From: machael @ 2001-03-22  2:37 UTC (permalink / raw
  To: Wolfgang Denk, Dan Malek, Murray Jensen; +Cc: linuxppc-embedded


Hello,all:

Now I can boot linux on my 8260-based custom board. But I have a strange
problem:

#############################
.....................
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 48k init
Standalone shell (version 1.0)
> hel^@
###############################

After shell appears, I cannot run any built-in commands such as  "cp" etc...
As you can see above, when  I type _EXACTLY_ 3 characters(for example,
"hel"),
then it appends "^@" automatically at once(So you see "hel^@" above). Then
it stops there. It has no any response  when I try to type any more
characters. But I can ping it from my host computer.
This means the target board is not crashed...

If I first type "ls", then press "Enter" key, then there are correct output
for "ls". But after that it has the same result as above: That is to say,
I have type 3 characters("ls" + "Enter" ), and "^@" also appended
automatically. I cannot type any character at this time.

I don't know what may cause this happen? I have look for the ASCII table and
find that "^@" mean "NULL".
Maybe this is a uart driver problem? What do you have to modify
arch/ppc/8260_io/uart.c when you port linux on your 8260-based custome
board?


Of course I am sure the root NFS is OK. I have tried cross-compile sash
statically or dynamically, but both have the same result as above:

###########################################
    powerpc-linux-gcc -O2 -c -o sash.o sash.c
    powerpc-linux-gcc -O2 -c -o cmds.o cmds.c
    .....................
then:
    powerpc-linux-ld -O2 -static -s -o sash sash.o cmds.o ......
or
   powerpc-linux-ld  -O2 -Wl,--rpath,/lib -o sash sash.o cmds.o ...
################################################

Any ideas? I am really much confused :-(((
Thank you very much.

machael


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-22  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-21 11:29 Strange problem after shell appears machael
  -- strict thread matches above, loose matches on Subject: below --
2001-03-22  2:37 machael

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.