From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75637 invoked by alias); 3 Apr 2015 01:41:53 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 75627 invoked by uid 89); 3 Apr 2015 01:41:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 03 Apr 2015 01:41:51 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 9D43B3406B2; Fri, 3 Apr 2015 01:41:49 +0000 (UTC) Date: Fri, 03 Apr 2015 01:41:00 -0000 From: Mike Frysinger To: Joel Sherrill Cc: "gdb@sourceware.org" Subject: Re: lm32 simulator configuration file question Message-ID: <20150403014149.GJ22171@vapier> Mail-Followup-To: Joel Sherrill , "gdb@sourceware.org" References: <551DC087.7040103@oarcorp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7AwgMNpd3VkAVXjS" Content-Disposition: inline In-Reply-To: <551DC087.7040103@oarcorp.com> X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00005.txt.bz2 --7AwgMNpd3VkAVXjS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 947 On 02 Apr 2015 17:19, Joel Sherrill wrote: > RTEMS has a BSP for the lm32 which runs on the simulator in gdb. > Based on our wrapper scripts and READMEs, this is how the simulator > is invoked in gdb: >=20 > tar sim --hw-device lm32cpu \ > --hw-device "lm32uart/reg 0x80006000 0x100" \ > --hw-device "/lm32uart > int int0 /lm32cpu" \ > --hw-device "lm32timer/reg 0x80002000 0x80" \ > --hw-device "/lm32timer > int int1 /lm32cpu" \ > --memory-region 0x08000000,0x4000000 you can pass --hw-file to target sim too > That works great. When we use lm32-rtems4.11-run, you are supposed > to provide a hw description file matching those arguments. This is > the file we are using: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > lm32cpu > lm32uart/reg 0x80006000 0x100 > /lm32uart > int int0 /lm32cpu > lm32timer/reg 0x80002000 0x80 > /lm32timer > int int1 /lm32cpu put a leading / for each one missing it -mike --7AwgMNpd3VkAVXjS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVHe/dAAoJEEFjO5/oN/WB9IcP+wbxh4VcUsRiPdVfb776cvyL ZPbM6EcwcK3JsfILxhrzgO9gQ4fnVBo9RO5u2sGPbw5HNl51m6ZuE9KWivRdAYM9 IpWz02OL8JeGu0JoiD2r+pd76NISyDeDsEQ6VTHMKVtMMxPaJaVWVfJOja4T6BhA GlxFTEVDy8QV38ycNINWIFL4SBv36b/tgHI3HTSZ4uFexvIxgdfX5j0dsjErWFfL cXN+apOLvx0G9a/IFOJso9j5/8Tconpt2ehjD9yi+ZY5GbQmUyxRPLsEPt13jwIB vDK9Rajn3KV+WcQSHtDhk1uzkmr0lLxH9zmbqpPb2+9js3H8XAXAO8UYYNi7Awxu QI7alBHy8oe13uTICbWUcxla5sxHO8qC80/WT6n0tcZS0MyTqH2xyJfqTMirKKJd /oY4Y36s5xBWx19ijCR691zF3A1p5bc+aZ+pnmBiB4utNlB8P+TXsEweoht5EKCE BLsyJJF5J042rHaLEZKbLkhuSDEa4Sj2a/odcyExsC/AH0CJFw2T6e8i8+QN/UdB QLW8kLbwxEhRqdhkhwhP9V2rAaM2PHEV436YwPiw0zmTh/KjIswwQ1ATI+B+McgO rutZfCtbL5LWDWFE8y2XF1FO2uu9RgQLt2E8lXsbvGQBZVLhylEEwNj9kMf2gCQv TNtYGxWy/a4GiTHFMrp5 =PWjh -----END PGP SIGNATURE----- --7AwgMNpd3VkAVXjS--