Shell mode on development kernel & Hijack

Posted by: Amarth

Shell mode on development kernel & Hijack - 08/03/2002 14:55

I didn't find this in the FAQ.

How can I enter the shell-mode I was previously able to do with the 'q' key. Now my empeg just goes past it as I have installed Hijack (latest version just now and several versions before:

Press 'q' now to go into development mode. You Have Zero Seconds To ComStarting player


Posted by: tfabris

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:02

This is in the FAQ.
Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:09

I just read it twice. Either I'm dumb or blind.. OR both. But I still can't figure it out. Q used to work pre-hijack, but alas, no longer.

Am I not seeing something?
Posted by: tfabris

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:11

You're not seeing the sentence "If you just have the consumer software installed, you'll get:"

I'll re-word that FAQ entry to be more clear now.
Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:16

Um. I have the development version of 2.0-b11 and hijack (2.2.14-rmk5-np17-empeg50-hijack-v235) .. I just upgraded it since my hijack 223 wasn't letting me into shell either.

My empeg bootup:


empeg-car bootstrap v1.00 20000601 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux...................................... done, booting the kernel.
Linux version 2.2.14-rmk5-np17-empeg50-hijack-v235 ([email protected]) (gcc version 2.95.3 20010315 (release)) #2 Fri Mar 8 14:49:23 EST 2002
Processor: Intel StrongARM-1100 revision 11
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 7, serial number 90000839)
Command line: mem=12m
Calibrating delay loop... 208.08 BogoMIPS
Memory: 10912k/12M available (1008k code, 20k reserved, 344k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Linux-IrDA: IrCOMM protocol ( revision:Tue May 18 03:11:39 1999 )
ircomm_tty: virtual tty driver for IrCOMM ( revision:Wed May 26 00:49:11 1999 )
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 67706d65 'empg'
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0004e00).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hda: IBM-DJSA-220, ATA DISK drive
hda: IBM-DJSA-220, ATA DISK drive
hda: IBM-DJSA-220, ATA DISK drive
hda: IBM-DJSA-220, ATA DISK drive
hda: IBM-DJSA-220, ATA DISK drive
hda: IBM-DJSA-220, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IBM-DJSA-220, 19077MB w/1874kB Cache, CHS=38760/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:12:03:47
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...ԕjչѕɽсɁѕɕ)5change_root: old root has d_count=1
Wѽչչсɽсokay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
Mounting second music partition
Tried to mount /dev/hdc4 but got error 6
Error mounting partitions (possibly already mounted)
Remounting first music partition read-only
Remounting second music partition read-only
No secondary hard disk
Press 'q' now to go into development mode. You Have Zero Seconds To Comp
Starting player
hijack: removed menu entry: "Home/Work Location"

khttpd: listening on port 80
kftpd: listening on port 21
player.cpp : 385:empeg-car 2.00-beta11 2002/02/08.
Loading dancefile: "/empeg/lib/visuals/breakdance.raw"
Loading dancefile: "/empeg/lib/visuals/stonkdance.raw"
Loading dancefile: "/empeg/lib/visuals/princedance.raw"
Prolux 4 empeg car - 2.1434 Feb 7 2002
Vcb: 0x4054d000
! mp3_decoder.cpp :1049:Failed to find valid sync after seeking to offset 4429915, error=0xc0044000
Posted by: tfabris

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:25

I have no trouble dropping to the shell with Hijack installed. Works like it always has. You sure the serial port is working right? Have you rebooted the player and the PC? Have you checked the cable?
Posted by: peterk

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:27

wait till the player has started and then hit q <enter>

works for me on b11 dev hijack 200

PeterK

EDIT: From your initial post, it sounds as if you are expecting to hit q during the boot up sequence. The q is trapped/processed by the player so you have to wait till the player has started.
Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:29

Hmm.

I just used the same cable to upgrade to Hijack ver. 235 (by using the kernel flash utility in the Logo editor). I took the cable and plugged it into my laptop (was in my desktop computer)...the same effect

Doing some more tests.

Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:33

I verified my terminal settings, they're correct.
I am getting output from the empeg on both of my comps' screens.
I even turned the RS-cable around (swapped heads), btw it is the same one shipped w/ my empeg.
I succesfully flash upgraded the hijack kernel through this same cable.
I tried waiting 5 seconds before any key-presses after all the boot messages had been printed.

It seems no key-commands go through to the player.

Posted by: peterk

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:41

when I go to dev mode from hyperterminal I hit q then <enter> as posted/discussed.

Thing is, I see the 'q' on the terminal screen (its echoed back to me)

Is this the case for you, do any characters you type in get echoed back?

PeterK
Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:44

No, nothing is echoed back.

I'm currently doing it the long way again from step 1:

1) Using emplode to upgrade to 2.0b11-devel.
2) Using LogoEditor to put Hijack 235 in.

Just downloaded everything from the appropriate sources again. Maybe something had went wrong in my previous installations or some old hijack version broke something .

I'll post info here ASAP.

Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:53

ERM. After re-installing 2.0b11 developer image, I am still not able to enter the shell-mode with 'q'. At this point I have no hijack installed.

Maybe the sunspots are to blame?
Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 15:56

OK.

I found the reason.

I'm using SecureCRT to connect through serial to the empeg. Even though I clicked RTS/CTS hardware flow control OFF, my existing connection re-did the setting back as I exited 'properties-mode' and 'disconnected'.

Sorry My bad. You might want to emphasize this in the FAQ once more. Now it works wonders. Thanks for all the help everyone. Especially the note about characters echoing back helped me trace back the problem.
Posted by: tfabris

Re: Shell mode on development kernel & Hijack - 08/03/2002 16:14

You might want to emphasize this in the FAQ once more.

It's in red letters with the word "Important" in red, bold and italic. Don't see how that could be more emphasized...
Posted by: Amarth

Re: Shell mode on development kernel & Hijack - 08/03/2002 16:31

Perhaps you might want to write an additional:

If you think you're doing everything right and still cannot access the shell-mode (or give any other commands through the serial connection), please check that your terminal settings' RTS/CTS flow protection has been turned OFF (default is usually ON).

Just after the "If your player is working properly, you can control it at this point by typing commands such as N (Enter) for the next track. A full list of commands can be found at the developer's site."

Your call, of course, though!