Home»Projects »Linux for Cisco 2500 routers»Verify i/o memory remapping
From the ios prompt, type 'sh mem 0x400000'. If the result is all X's, iomem has not been remapped.
As an example, this is a box with 16mb of ram, 2 mb soldered-on:
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-I-L), Version 12.0(9), RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Mon 24-Jan-00 21:19 by bettyl
Image text-base: 0x0302F300, data-base: 0x00001000
cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of
memory.
Processor board ID 02085518, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)
Press RETURN to get started!
Router#sh mem 0x4000000
04000000: AB1234CD FFFFFFFE 00000000 0317BFFA +.4M...~......?z
04000010: 0317C32C 04000130 00027D34 80000084 ..C,...0..}4....
04000020: 00000001 0004DD3C AFACEFAD 00000000 ......]</,o-....
04000030: 00000000 00000000 00000000 00000000 ................
04000040: 00000000 00000000 00000000 00000000 ................
04000050: 00000000 00000000 00000000 00000000 ................
04000060: 00000000 00000000 00000000 00000000 ................
iomem has been remapped and the ethernet runs fine. This is the same
box with 4 mb of ram, 2 mb soldered-on:
cisco 2500 (68030) processor (revision D) with 4096K/2048K bytes of memory.
Processor board ID 02085518, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)
Press RETURN to get started!
Back to uClinux-cisco2500