User Tools

Site Tools


toh:netgear:sc101

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:netgear:sc101 [2013/04/13 10:44]
laibsch fix URL
toh:netgear:sc101 [2015/12/31 09:17] (current)
tmomas link fixed
Line 1: Line 1:
 +====== Netgear SC101 ======
 +The netgear SC101 is a two drive IDE/PATA SAN system. It is not usable as network share through FTP, SMB/CIFS or NFS, but needs a Windows installed driver to make it appear as local drive. It uses a proprietary SAN over IP technology from Zetera called ZSAN. No drivers for Linux or any other than Windows exists. The Windows drivers are quite nice and run on Vista. It can reach about 6.5MB/s.
  
 +The device supports RAID-1 but even though 2 drives are in the same box, the mirroring is done over the network, so drains the performance further. Another slightly disappointing feature is it uses its own file system. You cannot take out the drive, and use it in another housing and read the data.
 +
 +Off topic, I like the comparable Ximeta NDAS technology better: Linux support, choice of file system and better performance,​ but I would probably like OpenWRT even more, if it can fit in the meager 2MB/8MB.
 +
 +===== Known Versions =====
 +^ Version/​Model ​  ^ Launch Date   ^ S/N   ^ OpenWrt Version Supported ​  ^ Model Specific Notes   ^
 +| v1              |       ​- ​      | -     | -                           | No Fan Support ​        |
 +| v2              |       ​- ​      | -     | -                           | Fan Support ​           |
 +
 +
 +**NOTE:** Anything not included in model specific notes, or where a short comment couldn'​t be included on the [[#notes]].
 +
 +===== Hardware Highlights =====
 +^ Version ​  ^ CPU                   ^ Ram    ^ Flash   ^ Network ​  ^ USB   ^ Serial ​  ^ JTag   ^
 +| V1        | TNETV2005GGW@125MHz ​  | 8MiB   | 2MiB    | 1         | No    | Yes      | ?      |
 +| V2        | TNETV2005ZGW@125MHz ​  | 8MiB   | 2MiB    | 1         | No    | Yes      | ?      |
 +
 +
 +/*
 +===== Installation =====
 +  - -> [[doc:​howto:​obtain.firmware]]
 +  - -> [[doc:​howto:​generic.flashing|Install OpenWrt]]
 +*/
 +
 +/*
 +==== Flash Layout ====
 +Please check out the article [[doc:​techref:​Flash.Layout]]. It contains an example and a couple of explanations.
 +*/
 +
 +/*
 +==== OEM easy installation ====
 +
 +| FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! |
 +
 +This section deals with how you install OpenWrt from a device freshly opened. ​ Plus the steps required such as reset to factory defaults if the device has already been configured
 +
 +**Note:** Reset router to factory defaults if it has been previously configured.
 +  *Browse to http://​192.168.1.1/​Upgrade.asp
 +  *Upload .bin file to router
 +  *Wait for it to reboot
 +  *Telnet to 192.168.1.1 and set a root password, or browse to http://​192.168.1.1 if LuCI is installed.
 +*/
 +
 +/*
 +==== OEM installation using the TFTP method ====
 +
 +->  [[doc:​howto:​generic.flashing.tftp]]
 +
 +=== Specific values you need ===
 +
 +| Bootloader tftp server IPv4 address | FILL-IN |
 +| Bootloader MAC address (special) | FILL-IN |
 +| Firmware tftp image | [[http://​downloads.openwrt.org/​FILL-IN/​openwrt-FILL-IN-generic-FILL-IN-squashfs-tftp.bin]] (**''​NOTE:''​** Name must contain //"​tftp"//​) |
 +| TFTP Transfer Window | FILL-IN seconds |
 +| TFTP Window Start | approximately FILL-IN seconds after power on |
 +| TFTP Client Required IP Address | FILL-IN |
 +
 +==== Upgrading OpenWrt ====
 +->  [[doc:​howto:​generic.sysupgrade]]
 +
 +If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
 +
 +=== LuCI Web Upgrade Process ===
 +
 +  * Browse to http://​192.168.1.1/​cgi-bin/​luci/​mini/​system/​upgrade/​ LuCI Upgrade URL
 +  * Upload image file for sysupgrade to LuCI
 +  * Wait for reboot
 +
 +=== Terminal Upgrade Process ===
 +
 +  * Login as root via SSH on 192.168.1.1
 +  * Use the following commands to upgrade.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​downloads.openwrt.org/​snapshots/​trunk/​XXX/​xxx.abc
 +sysupgrade /​tmp/​xxx.abc
 +</​code>​
 +
 +  * If sysupgrade does not support this router, use the following commands.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​downloads.openwrt.org/​snapshots/​trunk/​XXX/​xxx.abc
 +mtd write /​tmp/​xxx.abc linux && reboot</​code>​
 +*/
 +
 +===== Bootwait, dhcp and tftp =====
 +
 +There is a 3 second bootwait, and the tftp command exists in the bootloader. Dhcp is disabled by default due to BOOTCFG=m:​f:"​vxWorks"​ environment variable. Manually changing BOOTCFG=a:​nf:"​vxWorks"​ forces dhcp starts right after minimal boot completed and auto-setup IPA and IPA_GATEWAY variables according to network settings. By using tftp it is possible to store files on flash or load ELF(?​)executable directly to RAM and run it.
 +
 +Boot with default settings:
 +<​code>​
 +Minimal POST completed... ​    ​Success.
 +PSPBoot1.0 rev: 0.10.4
 +(c) Copyright 2002-2003 Texas Instruments,​ Inc. All Rights Reserved.
 +Current mac address = 00-18-4d-3a-2c-cb
 +Already exist available mac address...
 +
 +Press ESC for monitor... 1
 +
 +(psbl) help
 +ls                boot              df                cp
 +tftp              printenv ​         setenv ​           unsetenv
 +help              fmt               ​reboot ​           dm
 +cat               ​rm ​               oclk              defragenv
 +fa                info              version
 +(psbl)
 +(psbl) version
 +
 +PSPBoot1.0 rev: 0.10-4
 +Build: using [gcc-2.96 19990621 [[oldwiki:​vxworks|VxWorks]] 5.4] at [10:29:56 May  5 2005]
 +Compiled for RDK006 board in Big Endian mode.
 +
 +Optional modules included ('​+'​) or not ('​-'​):​
 + ​+tibinary +elf +gzip +ffs +tftp -ftp +dhcp -pcapp
 +(psbl)
 +(psbl) info
 +
 +CHIP ID: AVALANCHE-D (0x2), REV: 0x1
 +
 +EMIF runnimg at Full rate of the processor.
 +Processor running in Big Endian mode.
 +Processor clock is Synchronous to internal bus (VBUS) clock.
 +(psbl)
 +(psbl) ls
 +FlashDiskDump for /
 +     ​drwxrwxrwx 0:0 a:  0 i:0 Jul 27, 1999  2:​17:​40am ​      2 etc
 +     ​drwxrwxrwx 0:0 a:  0 i:0 Jul 27, 1999  2:​17:​40am ​      2 bin
 +     ​drwxrwxrwx 0:0 a:  0 i:0 Jul 27, 1999  2:​17:​40am ​      2 ttyS
 +      rwxrwxrwx 0:0 a: -1 i:2 Jan  1, 1970 12:00:00am 1395397 vxWorks
 +(psbl)
 +(psbl) df
 +Mounted File Systems: 1
 +Slot: 0, Total: 1900544, Used: 1395488, Available: 505056 (in bytes)
 +(psbl)
 +(psbl) printenv
 +
 +MEMSZ           ​0x00800000
 +FLASHSZ ​        ​0x00200000
 +MODETTY0 ​       9600,​n,​8,​1,​hw
 +MODETTY1 ​       9600,​n,​8,​1,​hw
 +PATH            /bin:/ttyS
 +CPUFREQ ​        ​125000000
 +SYSFREQ ​        ​125000000
 +PROMPT ​         psbl
 +IPA             ​192.168.1.1
 +IPA_SVR ​        ​192.168.1.100
 +SUBNET_MASK ​    ​255.255.255.0
 +BOOTCFG ​        ​m:​f:"​vxWorks"​
 +HWA_0           ​00-18-4d-3a-2c-cb
 +(psbl)
 +(psbl) fa
 +Current Flash Allocation:
 +
 +section :   PSBL, base : 0xb0000000, size :     ​103008 bytes
 +section :    ENV, base : 0xb0020000, size :      65536 bytes
 +section :    FFS, base : 0xb0030000, size :    1900544 bytes
 +
 +no unallocated space left on flash
 +
 +(psbl)boot
 +</​code>​
 +The attachments below show an interrupted boot with the bootloader, an uninterrupted boot into [[oldwiki:​vxworks|VxWorks]] (with no drives or network attached), and test of tftp with dhcp enabled.
 +
 +{{:​oldwiki:​openwrtdocs:​hardware:​netgear:​bootloader.txt}}
 +{{:​oldwiki:​openwrtdocs:​hardware:​netgear:​vxworks.txt}}
 +{{:​oldwiki:​openwrtdocs:​hardware:​netgear:​dhcp_tftp.txt}}
 +
 +===== Formating the flash memory =====
 +Beware, don't type fmt on the PSBoot prompt, it will erase the flash memory without confirmation:​
 +<​code>​
 +(psbl) fmt
 +
 +Formating Flash Disk...
 +Flash Disk Unmounted
 +Finding FFS section...
 +Calculated Flash size: 2 MB
 +FlashEraseBlock(b0030000,​b01fffff);​
 +.......
 +</​code>​
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>​Instruction set|Architecture]]:​** ​ | [[wp>​MIPS architecture|MIPS]] |
 +| **Vendor:​** ​                              | [[wp>​Texas Instruments]] |
 +| **[[doc:​techref:​Bootloader]]:​** ​          | [[doc:​techref:​bootloader:​pspboot|PSPBoot]] |
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | TNETV2005ZGW / TNETV2005GGW |
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | 125 Mhz |
 +| **Flash-Chip:​** ​     | 29LV160CBTC-90G (MX) Both V1/V2 - 2 MiB |
 +| **RAM:​** ​            | M12L64322A (ESMT) on V1 / EM63825TS-6G (EtronTech) on V2 - 8 MiB   |
 +| **Ethernet:​** ​       | 1893BFLF (ICS) |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​ | [[#​Serial|Yes]] ​  |
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​     | [[#​JTAG|No]] ​     |
 +
 +==== Buttons ====
 +-> [[doc:​howto:​hardware.button]]
 +
 +The SC101 has only 1 button.
 +^ BUTTON ​  ^ Event   ^
 +| Reset    | reset   |
 +
 +==== Photos ====
 +^ Model ^ Top ^ Bottom ^
 +| Ver 1 | {{:​media:​netgear:​sc101:​sc101_v1_top.jpg?​250}} | {{:​media:​netgear:​sc101:​sc101_v1_bottom.jpg?​250}} |
 +| Ver 2 | {{:​media:​netgear:​sc101:​sc101_v2_top.jpg?​250}} | {{:​media:​netgear:​sc101:​sc101_v2_bottom.jpg?​250}} |
 +
 +==== Opening the case ====
 +**Note:** This will void your warranty!
 +
 +  * Opening this device is quite simple.
 +
 +==== Serial ====
 +-> [[doc:​hardware:​port.serial]] general information about the serial port, serial port cable, etc.
 +On the J4 20 pin header, pin 10, 12, 14 (square pin is pin 1)
 +Settings 3.3v with 9600 8N1
 +<​code>​
 +    0V   ​1 ​ 2  3.3V
 +  3.3V   ​3 ​ 4  3.3V
 +    0V   ​5 ​ 6  3.3V
 +  3.3V   ​7 ​ 8  3.3V
 +  3.3V   9 10  RxD (data receiving pin)
 + ​Reset ​ 11 12  GND
 +  3.3V  13 14  TxD (data sending pin)
 +   ​GND ​ 15 16  3.3V
 +    0V  17 18  GND
 +   ​GND ​ 19 20  GND
 +</​code>​
 +
 +My 3.3V phone USB serial cable had its Tx floating pulled up to 3.3V, and if I connected before powerup to pin 10 Rx, the device **would not power up**. I had to apply power first, then quickly connect pin 10, just in time to press Esc in the 3 second boot wait. If I was too slow, I had to wait a minute for the full [[oldwiki:​vxworks|VxWorks]] boot, and type reboot. Upon reboot, the already connected Rx did not matter.
 +
 +==== JTAG ====
 +-> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc.
 +
 +Not known atm.
 +
 +/*
 +===== Debricking =====
 +-> [[doc:​howto:​generic.debrick]]
 +*/
 +
 +/*
 +===== Bootloader Mods =====
 +  - you could read about [[doc:​techref:​bootloader]] in general
 +*/
 +
 +===== Hardware mods =====
 +  - as a beginner, you really should inform yourself about [[doc:​hardware:​soldering]] in general and then obtain some practical experience!
 +[[http://​forum1.netgear.com/​showthread.php?​p=92640|Passive Heat Reduction]]
 +
 +===== Notes =====
 +Source comes from oldwiki -> http://​wiki.openwrt.org/​oldwiki/​openwrtdocs/​hardware/​netgear/​sc101
 +All not completely ported over to the new wiki, mainly did this to add thoughts and resources to this device, also added information/​images on version 1.
 +
 +===== Resources =====
 +  * [[http://​support.netgear.com/​product/​SC101|Product Page]] - Netgear SC101
 +  * [[http://​code.google.com/​p/​sc101-nbd/​|Linux Drivers]] - sc101-nbd
 +  * [[https://​forum.openwrt.org/​viewtopic.php?​id=41120|OpenWRT Forum]] - Idea of sc101-nbd package for OpenWRT, letting OWRT share the sc101 via smb?
 +  * [[http://​forum1.netgear.com/​showthread.php?​t=29788|Mounting in Linux]]
 +  * [[http://​www.tomsguide.com/​us/​review-sc101,​review-561-2.html|Review of the device]]
 +
 +===== Tags =====
 +
 +{{tag>​FastEthernet 1NIC 0WNIC no_switch 0USB 8RAM 2Flash MIPS}}