![]() |
HowTo.TestSDRAMinRedBoot HistoryHide minor edits - Show changes to markup May 19, 2007, at 09:39 PM
by -- fixed false wikilinks
Changed line 20 from:
to:
Platform: IXDP425 Development Platform (XScale) Changed lines 32-36 from:
dd if=/dev/urandom of=RamTest?.bin bs=32 count=1032291 (do a "ls -la RamTest?.bin" if you want to verify size) cksum RamTest?.bin (output for me showed: "163853644 33033312 RamTest?.bin") to:
dd if=/dev/urandom of=RamTest.bin bs=32 count=1032291 (do a "ls -la RamTest.bin" if you want to verify size) cksum RamTest.bin (output for me showed: "163853644 33033312 RamTest.bin") Changed lines 39-40 from:
to:
RedBoot> load -r -v -b 0x000723a0 -h 192.168.0.99 RamTest.bin
May 19, 2007, at 04:29 PM
by -- Change to make it clear to compare to the generated file\'s checksum
Changed lines 56-58 from:
Now it matched. So my SDRAM memory must be good. :-) Note that for some reason, I couldn't access (from within RedBoot) the entire 32MiB RAM. Perhaps some env vars or such are stored there and are in-use? to:
This is the same as the checksum produced above when we generated the file. So the slug's SDRAM memory must be good. :-) Note that for some reason, I couldn't access (from within RedBoot) the entire 32MiB RAM. Perhaps some env vars or such are stored there and are in-use? April 08, 2007, at 01:58 AM
by -- added link for \"dd\"
Changed line 5 from:
to:
April 07, 2007, at 06:16 PM
by -- forgot trailing ]
Changed lines 1-2 from:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server] , and have either [[http://www.cygwin.com|Cygwin or some Linux machine available. to:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server , and have either Cygwin or some Linux machine available. April 07, 2007, at 06:15 PM
by -- changed links from SolarWinds to generic TFTP server
Changed lines 1-2 from:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server], and have either [[http://www.cygwin.com|Cygwin or some Linux machine available. to:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server] , and have either [[http://www.cygwin.com|Cygwin or some Linux machine available. Changed lines 37-38 from:
Copy the file to your TFTP server. Now in RedBoot, do this: (assume your TFTP server is 192.168.0.99) to:
Copy the file to your TFTP server. Now in RedBoot, do this: (assume your TFTP server is 192.168.0.99) April 07, 2007, at 05:46 PM
by -- formatting, added links
Changed lines 1-2 from:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server, and have either Cygwin or some Linux machine available. to:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server], and have either [[http://www.cygwin.com|Cygwin or some Linux machine available. Changed line 7 from:
to:
Changed lines 15-25 from:
RedBoot> version RedBoot(tm) bootstrap and debug environment [ROMRAM] Red Hat certified release, version 1.92 - built 15:16:07, Feb 3 2004 Platform: IXDP425? Development Platform (XScale?) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each. to:
RedBoot> version RedBoot(tm) bootstrap and debug environment [ROMRAM] Red Hat certified release, version 1.92 - built 15:16:07, Feb 3 2004 Platform: IXDP425? Development Platform (XScale?) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each. Changed lines 31-38 from:
dd if=/dev/urandom of=RamTest?.bin bs=32 count=1032291 (do a "ls -la RamTest?.bin" if you want to verify size) cksum RamTest?.bin (output for me showed: "163853644 33033312 RamTest?.bin") Copy the file to your TFTP server. Now in RedBoot, do this: (assume your TFTP server is 192.168.0.99) RedBoot> load -r -v -b 0x000723a0 -h 192.168.0.99 RamTest?.bin to:
dd if=/dev/urandom of=RamTest?.bin bs=32 count=1032291 (do a "ls -la RamTest?.bin" if you want to verify size) cksum RamTest?.bin (output for me showed: "163853644 33033312 RamTest?.bin") Copy the file to your TFTP server. Now in RedBoot, do this: (assume your TFTP server is 192.168.0.99) RedBoot> load -r -v -b 0x000723a0 -h 192.168.0.99 RamTest?.bin Changed lines 42-47 from:
Raw file loaded 0x000723a0-0x01ff2fff, assumed entry at 0x000723a0 RedBoot> cksum (above should do a checksum of the previously transferred file) Computing cksum for area 0x000723a0-0x01ff3000 POSIX cksum = 163853644 33033312 (0x09c4354c 0x01f80c60) to:
Raw file loaded 0x000723a0-0x01ff2fff, assumed entry at 0x000723a0 (below should do a checksum of the previously transferred file) RedBoot> cksum
Computing cksum for area 0x000723a0-0x01ff3000
POSIX cksum = 163853644 33033312 (0x09c4354c 0x01f80c60)
Changed lines 52-54 from:
RedBoot> cksum -b 0x000723a0 -l 0x01f80c60 POSIX cksum = 163853644 33033312 (0x09c4354c 0x01f80c60) to:
RedBoot> cksum -b 0x000723a0 -l 0x01f80c60
POSIX cksum = 163853644 33033312 (0x09c4354c 0x01f80c60)
April 07, 2007, at 05:35 PM
by -- Links added
Changed lines 4-13 from:
# Creating a (nearly) 32MiB file with random contents
# Doing a cksum of the file
# Get into Redboot
# TFTP the file into the NSLU2 RAM
# Verify the checksum of the transferred file
# Verify again (just to be sure!)
Once you're in RedBoot, type "version" as shown below. to:
First, telnet into RedBoot. Once you're in RedBoot, type "version" as shown below. Changed line 30 from:
in Linux or cygwin, do this: to:
in Linux or Cygwin, do this: Changed line 36 from:
Copy the file to your TFTP server. Now in RedBoot, do this: to:
Copy the file to your TFTP server. Now in RedBoot, do this: April 07, 2007, at 05:27 PM
by -- Initial creation
Added lines 1-51:
This Wiki assumes that you know how to get into RedBoot, how to set up a TFTP server, and have either Cygwin or some Linux machine available. The purpose of this Wiki is to test the SDRAM of the NSLU2. This is done as follows: # Creating a (nearly) 32MiB file with random contents
# Doing a cksum of the file
# Get into Redboot
# TFTP the file into the NSLU2 RAM
# Verify the checksum of the transferred file
# Verify again (just to be sure!)
Once you're in RedBoot, type "version" as shown below. RedBoot> version RedBoot(tm) bootstrap and debug environment [ROMRAM] Red Hat certified release, version 1.92 - built 15:16:07, Feb 3 2004 Platform: IXDP425? Development Platform (XScale?) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each. From the available RAM space (shown above), 0x01ff3000 - 0x000723a0 = 0x01F80C60 in decimal, the result is: 33033312 in Linux or cygwin, do this: dd if=/dev/urandom of=RamTest?.bin bs=32 count=1032291 (do a "ls -la RamTest?.bin" if you want to verify size) cksum RamTest?.bin (output for me showed: "163853644 33033312 RamTest?.bin") Copy the file to your TFTP server. Now in RedBoot, do this: (assume your TFTP server is 192.168.0.99) RedBoot> load -r -v -b 0x000723a0 -h 192.168.0.99 RamTest?.bin output shows: Raw file loaded 0x000723a0-0x01ff2fff, assumed entry at 0x000723a0 RedBoot> cksum (above should do a checksum of the previously transferred file) Computing cksum for area 0x000723a0-0x01ff3000 POSIX cksum = 163853644 33033312 (0x09c4354c 0x01f80c60) Just to be sure, I did it again, manually, as follows: RedBoot> cksum -b 0x000723a0 -l 0x01f80c60 POSIX cksum = 163853644 33033312 (0x09c4354c 0x01f80c60) Now it matched. So my SDRAM memory must be good. :-) Note that for some reason, I couldn't access (from within RedBoot) the entire 32MiB RAM. Perhaps some env vars or such are stored there and are in-use?
view ·
edit ·
print ·
history ·
Last edited by fcarolo.
Based on work by sdhip and Rob Lockhart. Originally by Rob Lockhart. Page last modified on May 19, 2007, at 09:39 PM
|