Skip to contentSkip to conversation

[Fwd: remote debugging?]

Fwd: remote debugging? Andreas Tobler 1 participant 1 message Jan 8, 2000

lore
Share & tools
lore
#0 lore raw

This should have gone to the list too....
Andreas

Hi all,

Geert got it!!

Quoted 13 lines · Geert Uytterhoeven
Quoted 11 lines · Andreas Tobler

I try to remote debugging a kernel.
Configuration as follows:

pm7200 Linux <------ serial cable------> PowerBook MacOS ZTerm

the physical Link is ok, when cat'ing a file to /dev/ttyS1 I get it on the ZTerm window.

But when I boot with BootX I add the kernel args 'console=/dev/ttyS1' in the corresponding field.

Quoted 8 lines
Quoted 3 lines

The first stage text I see on the pm7200, afterwards Tux comes up and no booting messages are seen either on the pm7200 (what I expect) nor on the ZTerm window. (what I don't expect).

And you did enable CONFIG_SERIAL_CONSOLE?

I'm not 100% sure that it works on PowerMac (don't have one), but at least CONFIG_SERIAL_CONSOLE is in the macserial code.

my problem was not having activated the second point in 'General setup' Mac serial support: CONFIG_SERIAL_CONSOLE: the console support!!

(while building the kernel)

Now I get the boot messages printed out to my serial connection. Yeah!

One point which I think is important, is, the kernel args is 'console=ttySX' where X is the connected serial line. Normally one or two. (Modem/printer on a pm7200)
And NOT console=/dev/ttySX

maybe someone else can use this.....

Thanks,

Andreas

Signature · 4 lines
| Andreas Tobler				
| CH-8004 Zuerich 							
| E-Mail:   [email protected]
-----------------------------------------------