<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: InfoTaskForce running on PowerPC (Dynamips)	</title>
	<atom:link href="https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Tue, 29 Sep 2015 00:45:40 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>
	<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148662</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 29 Sep 2015 00:45:40 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5552#comment-148662</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148646&quot;&gt;Nick B.&lt;/a&gt;.

I guess because it occupies the same space IOS expects to load (because it basically is an IOS), so there is a conflict.  I&#039;ll have to read up on relocation, or embedding another copy of itself in itself to relocate in middle memory so high memory and low memory are free... 

But otherwise, I need to see how to talk to the clock so I can run those integer benchmark tools (hanoi, queens etc) to get an idea of how fast the emulation is.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148646">Nick B.</a>.</p>
<p>I guess because it occupies the same space IOS expects to load (because it basically is an IOS), so there is a conflict.  I&#8217;ll have to read up on relocation, or embedding another copy of itself in itself to relocate in middle memory so high memory and low memory are free&#8230; </p>
<p>But otherwise, I need to see how to talk to the clock so I can run those integer benchmark tools (hanoi, queens etc) to get an idea of how fast the emulation is.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nick B.		</title>
		<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148646</link>

		<dc:creator><![CDATA[Nick B.]]></dc:creator>
		<pubDate>Mon, 28 Sep 2015 22:11:41 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5552#comment-148646</guid>

					<description><![CDATA[It didn&#039;t load IOS from the prompt - it eventually dropped me back to the prompt again. Ended up recovering from rommon and tftp booting IOS to recover it.

I&#039;ll tftp boot ciscoload.bin next time. All good fun though!]]></description>
			<content:encoded><![CDATA[<p>It didn&#8217;t load IOS from the prompt &#8211; it eventually dropped me back to the prompt again. Ended up recovering from rommon and tftp booting IOS to recover it.</p>
<p>I&#8217;ll tftp boot ciscoload.bin next time. All good fun though!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148520</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 27 Sep 2015 01:34:59 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5552#comment-148520</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148495&quot;&gt;Nick B.&lt;/a&gt;.

Wow that&#039;s pretty cool!!!!  Thanks for booting it up, it&#039;s awesome to know it actually works on IRON!

It ought to be able to load multisegment ELF executables, and I hope single segment executables... Meaning you should be able to load your IOS back to get a functional device...  

Thanks again for testing this!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148495">Nick B.</a>.</p>
<p>Wow that&#8217;s pretty cool!!!!  Thanks for booting it up, it&#8217;s awesome to know it actually works on IRON!</p>
<p>It ought to be able to load multisegment ELF executables, and I hope single segment executables&#8230; Meaning you should be able to load your IOS back to get a functional device&#8230;  </p>
<p>Thanks again for testing this!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nick B.		</title>
		<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148495</link>

		<dc:creator><![CDATA[Nick B.]]></dc:creator>
		<pubDate>Sat, 26 Sep 2015 20:03:46 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5552#comment-148495</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148494&quot;&gt;neozeed&lt;/a&gt;.

Yup!
I copied it to flash and added 
boot system flash ciscoload.bin


*Aug  5 23:33:44.743: %SYS-5-RELOAD: Reload requested  by console. Reload Reason: Reload Command.
System Bootstrap, Version 12.2(7r)XM4, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 2003 by cisco Systems, Inc.
C1700 platform with 98304 Kbytes of main memory

program load complete, entry point: 0x8000d9c8, size: 0x24f03
CILO
    CiscoLoader (CILO) - Linux bootloader for Cisco Routers
Available RAM: 98304 kB
Available commands:
c1700-k9o3sy7-mz.124-15.T10.bin
vlan.dat
old-startup
ciscoload.bin
queen
hanoi
horse
fib
planetfall
halt

Enter filename to boot:
&#062; 
Enter filename to boot:
malloc 64512 offset is 0 offset is now 64522
malloc 38912 offset is 64522 offset is now 103444
PLANETFALL
          Infocom interactive fiction - a science fiction story
                                                               Copyright (c) 1983 by Infocom, Inc. All rights reserved.
                                       PLANETFALL is a trademark of Infocom, Inc.
 Release 37 / Serial number 851003

                                  Another routine day of drudgery aboard the Stellar Patrol Ship Feinstein. This 
                                 morning&#039;s assignment for a certain lowly Ensign Seventh Class: scrubbing the 
                              filthy metal deck at the port end of Level Nine. With your Patrol-issue 
                      self-contained multi-purpose all-weather scrub brush you shine the floor with a
                     diligence born of the knowledge that at any moment dreaded Ensign First Class 
                   Blather, the bane of your shipboard existence, could appear.

                                                                               Deck Nine
        This is a featureless corridor similar to every other corridor on the ship. It 
       curves away to starboard, and a gangway leads up. To port is the entrance to 
    one of the ship&#039;s primary escape pods. The pod bulkhead is closed.

                                                                       Deck Nine                            Score: 0/4451       
                                                &#062;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148494">neozeed</a>.</p>
<p>Yup!<br />
I copied it to flash and added<br />
boot system flash ciscoload.bin</p>
<p>*Aug  5 23:33:44.743: %SYS-5-RELOAD: Reload requested  by console. Reload Reason: Reload Command.<br />
System Bootstrap, Version 12.2(7r)XM4, RELEASE SOFTWARE (fc1)<br />
TAC Support: <a href="http://www.cisco.com/tac" rel="nofollow ugc">http://www.cisco.com/tac</a><br />
Copyright (c) 2003 by cisco Systems, Inc.<br />
C1700 platform with 98304 Kbytes of main memory</p>
<p>program load complete, entry point: 0x8000d9c8, size: 0x24f03<br />
CILO<br />
    CiscoLoader (CILO) &#8211; Linux bootloader for Cisco Routers<br />
Available RAM: 98304 kB<br />
Available commands:<br />
c1700-k9o3sy7-mz.124-15.T10.bin<br />
vlan.dat<br />
old-startup<br />
ciscoload.bin<br />
queen<br />
hanoi<br />
horse<br />
fib<br />
planetfall<br />
halt</p>
<p>Enter filename to boot:<br />
&gt;<br />
Enter filename to boot:<br />
malloc 64512 offset is 0 offset is now 64522<br />
malloc 38912 offset is 64522 offset is now 103444<br />
PLANETFALL<br />
          Infocom interactive fiction &#8211; a science fiction story<br />
                                                               Copyright (c) 1983 by Infocom, Inc. All rights reserved.<br />
                                       PLANETFALL is a trademark of Infocom, Inc.<br />
 Release 37 / Serial number 851003</p>
<p>                                  Another routine day of drudgery aboard the Stellar Patrol Ship Feinstein. This<br />
                                 morning&#8217;s assignment for a certain lowly Ensign Seventh Class: scrubbing the<br />
                              filthy metal deck at the port end of Level Nine. With your Patrol-issue<br />
                      self-contained multi-purpose all-weather scrub brush you shine the floor with a<br />
                     diligence born of the knowledge that at any moment dreaded Ensign First Class<br />
                   Blather, the bane of your shipboard existence, could appear.</p>
<p>                                                                               Deck Nine<br />
        This is a featureless corridor similar to every other corridor on the ship. It<br />
       curves away to starboard, and a gangway leads up. To port is the entrance to<br />
    one of the ship&#8217;s primary escape pods. The pod bulkhead is closed.</p>
<p>                                                                       Deck Nine                            Score: 0/4451<br />
                                                &gt;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148494</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 26 Sep 2015 19:45:02 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5552#comment-148494</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148493&quot;&gt;Nick B.&lt;/a&gt;.

I think you ought to be able to netboot it.. which I know is a PITA on it&#039;s own right...  At least on Dynamips this compiles and acts like IOS.  This old version of binutils lets me kick out an exe that only has a single program segment. which is what the cisco ROM can only deal with.

But I totally get that &#039;works on an emulator that emulates just enough hardware&#039; is not the same as real hardware.

ELFTool - a simple tool for viewing ELF file structures.
(c) 2008 Philippe Vachon &lt;philippe@cowpig.ca&gt;

ELF File Header:
================================================
Ident bytes:
        Class: 32-bit
        Data type: Big endian
        Version: 1

ELF Object Type: Executable File (2)
Machine ID: 0x33
        Cisco 1700 Series Router (PowerPC, MPC860) or Stanford MIPS-X
Version: 0x00000001
Entry point: 0x8000d5d0
Program header offset: 0x00000034
Section header offset: 0x00025930
Flags: 0x00000000
ELF Header Size: 52 bytes
Program Header Entry Size: 32 bytes
Program Header Count: 1
Section header Entry Size: 40 bytes
Section Header Count: 9
String table entry index: 8

Section Header Entries:
================================================
Section 0
        Name: null [0]
        Type: SHT_NULL (0x00000000)
        Flags: 0x00000000
                ---
        Address: 0x00000000
        Offset: 0 bytes
        Size: 0 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000000
        Per-Entry Size: 0 bytes

Section 1
        Name: .text [11]
        Type: SHT_PROGBITS (0x00000001)
        Flags: 0x00000007
                Awx
        Address: 0x80008000
        Offset: 84 bytes
        Size: 40892 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000004
        Per-Entry Size: 0 bytes

Section 2
        Name: .rodata [17]
        Type: SHT_PROGBITS (0x00000001)
        Flags: 0x00000002
                A--
        Address: 0x80011fbc
        Offset: 40976 bytes
        Size: 2772 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000004
        Per-Entry Size: 0 bytes

Section 3
        Name: .data [25]
        Type: SHT_PROGBITS (0x00000001)
        Flags: 0x00000003
                Aw-
        Address: 0x80012a90
        Offset: 43748 bytes
        Size: 109543 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000004
        Per-Entry Size: 0 bytes

Section 4
        Name: .sdata [31]
        Type: SHT_PROGBITS (0x00000001)
        Flags: 0x00000003
                Aw-
        Address: 0x8002d678
        Offset: 153292 bytes
        Size: 12 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000004
        Per-Entry Size: 0 bytes

Section 5
        Name: .sbss [38]
        Type: SHT_NOBITS (0x00000008)
        Flags: 0x00000003
                Aw-
        Address: 0x8002d684
        Offset: 153304 bytes
        Size: 208 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000004
        Per-Entry Size: 0 bytes

Section 6
        Name: .bss [44]
        Type: SHT_NOBITS (0x00000008)
        Flags: 0x00000003
                Aw-
        Address: 0x8002d754
        Offset: 153304 bytes
        Size: 1049120 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000004
        Per-Entry Size: 0 bytes

Section 7
        Name: .comment [49]
        Type: SHT_PROGBITS (0x00000001)
        Flags: 0x00000000
                ---
        Address: 0x00000000
        Offset: 153304 bytes
        Size: 540 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000001
        Per-Entry Size: 0 bytes

Section 8
        Name: .shstrtab [1]
        Type: SHT_STRTAB (0x00000003)
        Flags: 0x00000000
                ---
        Address: 0x00000000
        Offset: 153844 bytes
        Size: 58 bytes
        Link: 0x00000000
        Additional Info: 0x00000000
        Address Alignment: 0x00000001
        Per-Entry Size: 0 bytes


Program Header Entries
================================================
Segment 0
        Type: PT_LOAD (0x00000001)
        Offset: 0x00000054
        Virtual Address: 0x80008000
        Physical Address: 0x80008000
        Size in File: 153220 bytes
        Size in Memory: 1202548 bytes
        Flags: 0x00000007
        Alignment: 0x00000004

]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148493">Nick B.</a>.</p>
<p>I think you ought to be able to netboot it.. which I know is a PITA on it&#8217;s own right&#8230;  At least on Dynamips this compiles and acts like IOS.  This old version of binutils lets me kick out an exe that only has a single program segment. which is what the cisco ROM can only deal with.</p>
<p>But I totally get that &#8216;works on an emulator that emulates just enough hardware&#8217; is not the same as real hardware.</p>
<p>ELFTool &#8211; a simple tool for viewing ELF file structures.<br />
(c) 2008 Philippe Vachon <philippe@cowpig.ca>
<p>ELF File Header:<br />
================================================<br />
Ident bytes:<br />
        Class: 32-bit<br />
        Data type: Big endian<br />
        Version: 1</p>
<p>ELF Object Type: Executable File (2)<br />
Machine ID: 0x33<br />
        Cisco 1700 Series Router (PowerPC, MPC860) or Stanford MIPS-X<br />
Version: 0x00000001<br />
Entry point: 0x8000d5d0<br />
Program header offset: 0x00000034<br />
Section header offset: 0x00025930<br />
Flags: 0x00000000<br />
ELF Header Size: 52 bytes<br />
Program Header Entry Size: 32 bytes<br />
Program Header Count: 1<br />
Section header Entry Size: 40 bytes<br />
Section Header Count: 9<br />
String table entry index: 8</p>
<p>Section Header Entries:<br />
================================================<br />
Section 0<br />
        Name: null [0]<br />
        Type: SHT_NULL (0x00000000)<br />
        Flags: 0x00000000<br />
                &#8212;<br />
        Address: 0x00000000<br />
        Offset: 0 bytes<br />
        Size: 0 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000000<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 1<br />
        Name: .text [11]<br />
        Type: SHT_PROGBITS (0x00000001)<br />
        Flags: 0x00000007<br />
                Awx<br />
        Address: 0x80008000<br />
        Offset: 84 bytes<br />
        Size: 40892 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000004<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 2<br />
        Name: .rodata [17]<br />
        Type: SHT_PROGBITS (0x00000001)<br />
        Flags: 0x00000002<br />
                A&#8211;<br />
        Address: 0x80011fbc<br />
        Offset: 40976 bytes<br />
        Size: 2772 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000004<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 3<br />
        Name: .data [25]<br />
        Type: SHT_PROGBITS (0x00000001)<br />
        Flags: 0x00000003<br />
                Aw-<br />
        Address: 0x80012a90<br />
        Offset: 43748 bytes<br />
        Size: 109543 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000004<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 4<br />
        Name: .sdata [31]<br />
        Type: SHT_PROGBITS (0x00000001)<br />
        Flags: 0x00000003<br />
                Aw-<br />
        Address: 0x8002d678<br />
        Offset: 153292 bytes<br />
        Size: 12 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000004<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 5<br />
        Name: .sbss [38]<br />
        Type: SHT_NOBITS (0x00000008)<br />
        Flags: 0x00000003<br />
                Aw-<br />
        Address: 0x8002d684<br />
        Offset: 153304 bytes<br />
        Size: 208 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000004<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 6<br />
        Name: .bss [44]<br />
        Type: SHT_NOBITS (0x00000008)<br />
        Flags: 0x00000003<br />
                Aw-<br />
        Address: 0x8002d754<br />
        Offset: 153304 bytes<br />
        Size: 1049120 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000004<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 7<br />
        Name: .comment [49]<br />
        Type: SHT_PROGBITS (0x00000001)<br />
        Flags: 0x00000000<br />
                &#8212;<br />
        Address: 0x00000000<br />
        Offset: 153304 bytes<br />
        Size: 540 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000001<br />
        Per-Entry Size: 0 bytes</p>
<p>Section 8<br />
        Name: .shstrtab [1]<br />
        Type: SHT_STRTAB (0x00000003)<br />
        Flags: 0x00000000<br />
                &#8212;<br />
        Address: 0x00000000<br />
        Offset: 153844 bytes<br />
        Size: 58 bytes<br />
        Link: 0x00000000<br />
        Additional Info: 0x00000000<br />
        Address Alignment: 0x00000001<br />
        Per-Entry Size: 0 bytes</p>
<p>Program Header Entries<br />
================================================<br />
Segment 0<br />
        Type: PT_LOAD (0x00000001)<br />
        Offset: 0x00000054<br />
        Virtual Address: 0x80008000<br />
        Physical Address: 0x80008000<br />
        Size in File: 153220 bytes<br />
        Size in Memory: 1202548 bytes<br />
        Flags: 0x00000007<br />
        Alignment: 0x00000004</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nick B.		</title>
		<link>https://virtuallyfun.com/2015/09/27/infotaskforce-running-on-powerpc-dynamips/comment-page-1/#comment-148493</link>

		<dc:creator><![CDATA[Nick B.]]></dc:creator>
		<pubDate>Sat, 26 Sep 2015 19:42:18 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5552#comment-148493</guid>

					<description><![CDATA[As it happens I have a few bits of 1700 series hardware around here. If I can get ciscoload.bin into flash: I&#039;ll give it a go]]></description>
			<content:encoded><![CDATA[<p>As it happens I have a few bits of 1700 series hardware around here. If I can get ciscoload.bin into flash: I&#8217;ll give it a go</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
