Posted by: bobo
getting a shell - 24/08/1999 04:25
Hi,
it stil seems to be impossible to stop the player and get a shell prompt.
Why dont u make a image which starts immediately a shell ?
bobo
Posted by: altman
Re: getting a shell - 24/08/1999 09:39
An image which just starts a shell isn't a lot of use when the player is used in the car ;)
To get a shell, this *should* work (try this as root (or something with access to ttyS0) on linux, with the empeg connected to ttyS0)
# stty speed 115200
# /bin/echo "\002\000\000\001\000\052\000\000\000\231\237" >/dev/ttyS0
Note that you have to use /bin/echo - some shell's builtin echo's don't do octal.
You should then get a shell prompt.
Hugo
Posted by: chaya
Re: getting a shell - 24/08/1999 21:13
Hmmm.. I tried this and then spawned minicom to connect to the serial port. I get the following on
console:
server.cpp 91 ( 21): Got a timeout.
server.cpp 91 ( 21): Got a tim.
No luck with a shell yet. :(
-c
Posted by: philb
Re: getting a shell - 25/08/1999 04:43
It took me a while to do it, but I finally got the shell:
Flash&pump the developer code onto the empeg in Windows
Boot Linux, get two windows up, run minicom in one (115200,8,N,1,No handshake) and a shell
Plug the empeg power in - should get Linux boot messages and player should start
Do echo pipe to serial port as per Hugo's post in the shell
You should see a few control chars, in minicom and the player should exit dropping you to a bash shell
There isn't a great deal to see, /proc has some interesting stuff, but randomly cat'ing this and devices in /dev you can easily get your terminal into a state which requires a reboot.
Didn't manage to get vi to work - needs a TERM environment variable setting, tried linux and vt100, but no luck. df seemed to complain that it couldnt find some file, but fstab is in /etc/ like you'd expect.
The empeg code seems to be all in one big file. I was hoping that the modules would be seperate so the MP3 decoder etc could be called individually by scripts etc. I s'pose the empeg guys will publish an API for the player, when they get a chance.
Looks like the only way to get files to/from the empeg at the mo is rz/sz which are in /bin. I guess later on we'll get pppd, telnetd etc ported.
Where's a good place to get gcc etc from? Is it a standard ARM one available from the debian/netwinder site?
Phil
Posted by: Kram
Re: getting a shell - 25/08/1999 08:08
I was speaking to Mike (Mac) about gcc last week and he suggested that cross-compiling from Linux (or even Windros) on Intel would be a better bet than running gcc on the Empeg itself, mainly due to disk and memory requirements.
I've not tried this yet, but plan to sometime soon.
Cheers,
Mark.
Posted by: bobo
Re: getting a shell - 26/08/1999 02:16
cool - works fine :-)
bobo
Posted by: chaya
Re: getting a shell - 26/08/1999 10:15
right on. I got the shell.
thanks.
-c
Posted by: gandolf
Re: getting a shell - 06/09/1999 20:31
Beta6 is much easier to get the shell. After the boot messages and the player starts you can press Ctl-C twice and break into the shell. Or better yet just type 'q' (without the quotes) then . Wala.
Curt.
Posted by: raphael
Re: getting a shell - 07/09/1999 03:02
You can get a working vi (well it's rather vim) from
http://members.psi.co.at/weltreise/empeg/.
--
Raphael Wegmann
[email protected]