User Tools

Site Tools


toh:easyacc:wi100-s7800

EasyAcc WI100-S7800 4in1 Wireless Storage Repeater Router

Hardware

Overview

CPU MIPS 24KEc V5.0
Architecture: MIPS
System-On-Chip: 360 MHZ Ralink RT5350 id:1 rev:3
Flash: 8 MB Winbond W25Q64FVSIG
RAM: 16 MB Etron EM63A165TS-6G
Ethernet: Yes 1x (10/100Mbit )
USB: Yes 1x
Power Supply: 7800mAh Li-ion battery (3 Cell 3,7V NUO18650 )

CPU Info

root@OpenWrt:/# cat /proc/cpuinfo
system type             : Ralink RT5350 id:1 rev:3
machine                 : HAME MPR-A2
processor               : 0
cpu model               : MIPS 24KEc V4.12
BogoMIPS                : 239.61
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

MEM Info

root@OpenWrt:~# cat /proc/meminfo
MemTotal:          29196 kB
MemFree:            7596 kB
MemAvailable:      16352 kB
Buffers:            2448 kB
Cached:             7500 kB
SwapCached:            0 kB
Active:             6452 kB
Inactive:           4644 kB
Active(anon):       1192 kB
Inactive(anon):       16 kB
Active(file):       5260 kB
Inactive(file):     4628 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          1156 kB
Mapped:             2436 kB
Shmem:                60 kB
Slab:               5964 kB
SReclaimable:       1124 kB
SUnreclaim:         4840 kB
KernelStack:         264 kB
PageTables:          232 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       14596 kB
Committed_AS:       3620 kB
VmallocTotal:    1048372 kB
VmallocUsed:         676 kB
VmallocChunk:    1042460 kB

Images

Serial

Pinout

Looking from above with the UART pads in the bottom left corner and horizontal to your view

1 2 3 4
GND RX TX VCC

Linux Connect

Serials console baudrate is : 57600,8n1

sudo screen /dev/ttyUSB0 57600

Pictures

Bootlog

U-Boot 1.1.8 (Feb 6 2012 - 16:07:57) Board: Ralink APSoC DRAM: 16 MB relocate_code Pointer at: 80fb0000 ****************************** Software System Reset Occurred ****************************** spi_wait_nsec: 42 spi device id: ef 40 17 0 0 (40170000) find flash: W25Q64BV raspi_read: from:30000 len:1000 .*** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 3.6.0.0 -------------------------------------------- ASIC 5350_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: SDRAM DRAM_SIZE: 128 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_MEMORY_SIZE: 16 MBytes Flash component: SPI Flash Date:Feb 6 2012 Time:16:07:57 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ##### The CPU freq = 360 MHZ #### estimate memory size =16 Mbytes raspi_read: from:40028 len:6 . raspi_read: from:0 len:30004 ....[ff ff] Init Plat A1 *************Is_update = 0 plat = 1************** No lcd plat Disable usb Usb ok Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bc050000 ... raspi_read: from:50000 len:40 . Image Name: Linux Kernel Image Created: 2015-07-25 17:44:28 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1004733 Bytes = 981.2 kB Load Address: 80000000 Entry Point: 80000000 raspi_read: from:50040 len:f54bd ................ Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 16 Starting kernel ... [ 0.000000] Linux version 3.10.49 (prav@kali) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46287) ) #2 Sat Jul 25 18:44:19 BST 2015 [ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 0001964c (MIPS 24KEc) [ 0.000000] MIPS: machine is HAME MPR-A2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 01000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x00ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x00ffffff] [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes) [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Writing ErrCtl register=00062000 [ 0.000000] Readback ErrCtl register=00062000 [ 0.000000] Memory: 13108k/16384k available (2160k kernel code, 3276k reserved, 551k data, 164k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] CPU Clock: 360MHz [ 0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.080000] pinctrl core: initialized pinctrl subsystem [ 0.090000] NET: Registered protocol family 16 [ 0.110000] rt2880-pinmux pinctrl.1: invalid group "rgmii" for function "gpio" [ 0.120000] rt2880-pinmux pinctrl.1: invalid group "mdio" for function "gpio" [ 0.150000] bio: create slab <bio-0> at 0 [ 0.160000] rt2880_gpio 10000600.gpio: registering 22 gpios [ 0.170000] rt2880_gpio 10000600.gpio: registering 22 irq handlers [ 0.180000] Switching to clocksource MIPS [ 0.190000] NET: Registered protocol family 2 [ 0.200000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.220000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.230000] TCP: Hash tables configured (established 512 bind 512) [ 0.240000] TCP: reno registered [ 0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.270000] NET: Registered protocol family 1 [ 0.280000] rt-timer 10000100.timer: maximum frequncy is 7324Hz [ 0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.350000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.370000] msgmni has been set to 25 [ 0.380000] io scheduler noop registered [ 0.390000] io scheduler deadline registered (default) [ 0.400000] gpio-export gpio_export.6: 2 gpio(s) exported [ 0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.430000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 0.440000] console [ttyS0] enabled, bootconsole disabled [ 0.440000] console [ttyS0] enabled, bootconsole disabled [ 0.480000] m25p80 spi32766.0: s25fl064k (8192 Kbytes) [ 0.490000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.500000] Creating 4 MTD partitions on "spi32766.0": [ 0.510000] 0x000000000000-0x000000030000 : "u-boot" [ 0.520000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.540000] 0x000000040000-0x000000050000 : "factory" [ 0.550000] 0x000000050000-0x000000800000 : "firmware" [ 0.570000] 0x0000001454fd-0x000000800000 : "rootfs" [ 0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.600000] mtd: device 4 (rootfs) set to be root filesystem [ 0.620000] mtd: partition "rootfs_data" created automatically, ofs=0x3f0000, len=0x410000 [ 0.630000] 0x0000003f0000-0x000000800000 : "rootfs_data" [ 0.660000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5 [ 0.670000] rt3xxx-usbphy usbphy.3: loaded [ 0.680000] rt2880_wdt 10000120.watchdog: Initialized [ 0.690000] TCP: cubic registered [ 0.700000] NET: Registered protocol family 17 [ 0.710000] 8021q: 802.1Q VLAN Support v1.8 [ 0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 0.760000] Freeing unused kernel memory: 164K (802a7000 - 802d0000) procd: Console is alive procd: - watchdog - [ 8.520000] usbcore: registered new interface driver usbfs [ 8.530000] usbcore: registered new interface driver hub [ 8.540000] usbcore: registered new device driver usb [ 8.620000] SCSI subsystem initialized [ 8.640000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.650000] ehci-platform: EHCI generic platform driver [ 8.870000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled [ 8.880000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz [ 8.890000] ehci-platform 101c0000.ehci: EHCI Host Controller [ 8.900000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 8.920000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 8.950000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 8.960000] hub 1-0:1.0: USB hub found [ 8.970000] hub 1-0:1.0: 1 port detected [ 8.980000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 8.990000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller [ 9.010000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 9.020000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 9.100000] hub 2-0:1.0: USB hub found [ 9.110000] hub 2-0:1.0: 1 port detected [ 9.130000] dwc_otg: version 2.72a 24-JUN-2008 [ 9.140000] leds-gpio gpio-leds.4: pins are not configured from the driver [ 9.160000] usbcore: registered new interface driver usb-storage procd: - preinit - [ 10.080000] rt305x-esw 10110000.esw: link changed 0x00 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 15.310000] jffs2: notice: (315) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 1 orphan) and 24 of xref (0 dead, 14 orphan) found. [ 15.340000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 15.360000] block: unable to load configuration (fstab: Entry not found) [ 15.370000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab [ 15.400000] block: extroot: not configured jffs2 is ready No jffs2 marker was found [ 15.650000] jffs2: notice: (312) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 1 orphan) and 24 of xref (0 dead, 14 orphan) found. [ 16.770000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 16.780000] block: unable to load configuration (fstab: Entry not found) [ 16.800000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab [ 16.820000] block: extroot: not configured switching to overlay procd: - early - procd: - watchdog - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 21.670000] NET: Registered protocol family 10 [ 23.980000] nf_conntrack version 0.5.0 (207 buckets, 828 max) [ 24.330000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 24.360000] fuse init (API version 7.22) [ 24.730000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 24.740000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 24.880000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 26.390000] usbcore: registered new interface driver ums-alauda [ 26.400000] usbcore: registered new interface driver ums-cypress [ 26.420000] usbcore: registered new interface driver ums-datafab [ 26.430000] usbcore: registered new interface driver ums-freecom [ 26.450000] usbcore: registered new interface driver ums-isd200 [ 26.470000] usbcore: registered new interface driver ums-jumpshot [ 26.480000] usbcore: registered new interface driver ums-karma [ 26.500000] usbcore: registered new interface driver ums-sddr09 [ 26.520000] usbcore: registered new interface driver ums-sddr55 [ 26.530000] usbcore: registered new interface driver ums-usbat [ 27.000000] xt_time: kernel timezone is -0000 [ 27.380000] cfg80211: Calling CRDA to update world regulatory domain [ 27.390000] cfg80211: World regulatory domain updated: [ 27.400000] cfg80211: DFS Master region: unset [ 27.410000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 27.430000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 27.450000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 27.460000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 27.480000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 27.500000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 27.510000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 27.530000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 27.550000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 31.300000] PPP generic driver version 2.4.2 [ 31.310000] NET: Registered protocol family 24 [ 33.430000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected [ 33.450000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected [ 49.950000] device eth0.1 entered promiscuous mode [ 49.960000] device eth0 entered promiscuous mode [ 49.990000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 50.030000] br-lan: port 1(eth0.1) entered forwarding state [ 50.040000] br-lan: port 1(eth0.1) entered forwarding state [ 50.050000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 50.110000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 52.040000] br-lan: port 1(eth0.1) entered forwarding state procd: - init complete -


Installation

Flash Layout

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 007b0000 00010000 "firmware"
mtd4: 006bab03 00010000 "rootfs"
mtd5: 00410000 00010000 "rootfs_data"

OpenWRT Version

BusyBox v1.22.1 (2015-07-25 18:33:42 BST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Barrier Breaker, r46287)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/#

TFTP Method

Tags

toh/easyacc/wi100-s7800.txt · Last modified: 2016/02/27 03:51 by pkirkovsky