From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2404 invoked by alias); 14 Nov 2004 18:00:35 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 2383 invoked from network); 14 Nov 2004 18:00:29 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 14 Nov 2004 18:00:29 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAEI0NB5008351 for ; Sun, 14 Nov 2004 13:00:23 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAEI0Mr03213; Sun, 14 Nov 2004 13:00:22 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id iAEI0MoS004195; Sun, 14 Nov 2004 13:00:22 -0500 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 6E899800360; Sun, 14 Nov 2004 13:00:22 -0500 (EST) Received: from tooth.toronto.redhat.com (IDENT:5tSLY2TPoyIvqpZc/kKph0Z+QzLV1uH7@localhost [127.0.0.1]) by tooth.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id iAEI0MdS030182; Sun, 14 Nov 2004 13:00:22 -0500 Received: (from fche@localhost) by tooth.toronto.redhat.com (8.12.8/8.12.8/Submit) id iAEI0Lh1030180; Sun, 14 Nov 2004 13:00:21 -0500 Date: Sun, 14 Nov 2004 18:00:00 -0000 From: "Frank Ch. Eigler" To: Tarun Siripurapu Cc: sid@sources.redhat.com Subject: Re: hw-visual-tty Message-ID: <20041114180018.GJ26215@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Hashcash: 1:20:041114:sid@sources.redhat.com::sg7K5Qoh1Ws+wbXx:00000 00000000000000000000000000000000006iJ9 X-Hashcash: 1:20:041114:starunj@gmail.com::gAfsAwNOFMqzETm2:0000000000 00000000000000000000000000000000001iKV X-SW-Source: 2004-q4/txt/msg00011.txt.bz2 Hi - On Sun, Nov 14, 2004 at 12:18:30PM -0500, Tarun Siripurapu wrote: > [...] > To run SID and show the 'hw-uart-ns16550 uart1' tty window, this is > what I'm currently doing: > $ arm-elf-sid --board=pid7t-normalmap --gdb=2000 -EL --tksm & > [...] Sounds good. > Is there a way to do it with out having to open the System Monitor and > click these every time? Certainly. In the sid framework, a gui frontend component can be configured into the simulation just as easily as any hardware model - even easier perhaps. The GUI component convention consists of only a few additional bits of sid configuration: # ... other configuration new hw-uart-ns16550 uart # ... new hw-visual-tk widget relate widget "hw-uart-ns16550 uart" uart The key of course is the last "relate" command. For GUI connections, the "relationship name" is a two-part string, the first of which identifies the component type of the target hardware model. (This way the GUI can adapt itself to several virtual hardware variants.) The second component appears to be just some identifying text used in the title bar of the GUI component, in order to tell the user which hardware module is being observed. So all you need to do is to append those two lines of configuration to your sid run, perhaps using two "-e '......'" options, or else generating and editing a configuration file. - FChE