[Open-graphics] PCI analyzer - How to get remote access "for free"

Dieter netbsd at sopwith.solgatos.com
Mon Jan 8 09:40:03 EST 2007


I was working on a prototype for the rc/setup/config file
for the PCI analyzer upload program, and it occured to me that
we can get remote access "for free".  A slight modification
of the rc/setup/config file, and it is a shell script:

	#!/bin/sh

	# OGD PCI ANALYZER UPLOAD COMMAND FILE
	# Version 0.01

	export TRIGGER_TYPE=data_pattern_single

	# X = don't care
	export TRIGGER_0=0010XXXXXXXXXXXXX

	# Save 5500 samples before trigger
	export CAPTURE_WINDOW_START=-5500

	export SAMPLE_TIME=1ns

	export CAPTURE_ENABLE=1

	# Generate trigger pulse for oscilloscope 143 samples after LA trigger
	export SCOPE_TRIGGER_OFFSET=143

	export UPLOAD_SAMPLE_RANGE=5000,6000

	/usr/local/bin/ogd_pci_analyzer_capture | gzip --best

The display program can generate this file, and then execute it:

	/data/ogd_pci_analyzer/test_run_67/upload_script > /data/ogd_pci_analyzer/test_run_67/part5000.gz

If the support machine isn't the same as the display machine, then run

	rsh support_machine sh < /data/ogd_pci_analyzer/test_run_67/upload_script > /data/ogd_pci_analyzer/test_run_67/part5000.gz

To upload additional data (demand paging), just set

	export CAPTURE_ENABLE=0
	export UPLOAD_SAMPLE_RANGE=6000,7000

and run it again, directing the output into the appropriate filename.


More information about the Open-graphics mailing list