Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3178

Synology USB-Station 2 ? (3 replies)

$
0
0
Hello,

I`ve received a 2nd Synology USB-Station 2 .
Now I wonder which U-Boot fits best ...
Pogoplug V4 ?
Attached the output via serial console (no network configured/attached).

BR
dietgert


---------------------------------------------------------------------------


        __  __                        _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology USB Station LE 

U-Boot 1.1.4 (Jul 23 2010 - 14:15:33) Marvell version: 3.4.27

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CCCE0

Soc: 88F6180 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz 

DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode

Synology model: DS011jr0

Net:   egiga0 [PRIME]
Press Ctrl+C to abort autoboot in 1 second
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
.
.....

65536 bytes read
            MAC1: 001132086353
            MAC2: Empty or Invalid checksum (Random: 00e9724c3384)
          Serial: ABHFN01905
   Custom Serial: Empty or Invalid checksum
.
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.....

1899484 bytes read
.
.........................
.........................

540860 bytes read
## Booting image at 01000000 ...
   Image Name:   Linux-2.6.32.12
   Created:      2014-11-14  16:21:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1899420 Bytes =  1.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01400000 ...
   Image Name:   synology_88f6180_us2 1983
   Created:      2014-11-14  16:47:09 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    540796 Bytes = 528.1 kB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.32.12 (root@build1) (gcc version 4.2.1) #1983 Sat Nov 15 00:21:50 CST 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Sys Clk = 200000000, Tclk = 166666667
[    0.000000] Synology Board ID: 22
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 initrd=0x1400040 root=/dev/synoboot1 rootdelay=10 syno_hw_version=DS011jr0 netif_num=1 mac1=001132086353 mac2=00e9724c3384 sn=ABHFN01905 
[    0.000000] Synology Hareware Version: DS011jr0-j
[    0.000000] Internal netif num: 1
[    0.000000] Mac1: 001132086353
[    0.000000] Mac2: 00e9724c3384
[    0.000000] Serial Number: ABHFN01905
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 117800KB available (3396K code, 525K data, 112K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 794.62 BogoMIPS (lpj=3973120)
[    0.230000] Mount-cache hash table entries: 512
[    0.230000] CPU: Testing write buffer coherency: ok
[    0.230000] NET: Registered protocol family 16
[    0.230000] Feroceon L2: Enabling L2
[    0.230000] Feroceon L2: Cache support initialised.
[    0.230000] 
[    0.230000] CPU Interface
[    0.230000] -------------
[    0.230000] SDRAM_CS0 ....base 00000000, size 128MB 
[    0.230000] SDRAM_CS1 ....disable
[    0.230000] SDRAM_CS2 ....disable
[    0.230000] SDRAM_CS3 ....disable
[    0.230000] PEX0_MEM ....base e0000000, size 128MB 
[    0.230000] PEX0_IO ....base f2000000, size   1MB 
[    0.230000] PEX1_MEM ....no such
[    0.230000] PEX1_IO ....no such
[    0.230000] INTER_REGS ....base f1000000, size   1MB 
[    0.230000] NFLASH_CS ....base fa000000, size   2MB 
[    0.230000] SPI_CS ....base f4000000, size  16MB 
[    0.230000] BOOT_ROM_CS ....no such
[    0.230000] DEV_BOOTCS ....no such
[    0.230000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.230000]  Detected Tclk 166666667 and SysClk 200000000 
[    0.230000] Synology 6180 GPIO Init
[    0.730000] PEX0 interface detected no Link.
[    0.730000] PCI: bus0: Fast back to back transfers enabled
[    0.730000] mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
[    0.740000] bio: create slab <bio-0> at 0
[    0.740000] vgaarb: loaded
[    0.740000] SCSI subsystem initialized
[    0.740000] usbcore: registered new interface driver usbfs
[    0.750000] usbcore: registered new interface driver hub
[    0.750000] usbcore: registered new device driver usb
[    0.750000] Switching to clocksource kw_clocksource
[    0.750000] NET: Registered protocol family 2
[    0.750000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.750000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.750000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.750000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.750000] TCP reno registered
[    0.750000] NET: Registered protocol family 1
[    0.750000] RPC: Registered udp transport module.
[    0.750000] RPC: Registered tcp transport module.
[    0.750000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.750000] Trying to unpack rootfs image as initramfs...
[    2.130000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    2.130000] Freeing initrd memory: 528K
[    2.130000] XOR registered 4 channels
[    2.130000] XOR 2nd invalidate WA enabled
[    2.130000] VFS: Disk quotas dquot_6.5.2
[    2.130000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.130000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.140000] NTFS driver 2.1.29 [Flags: R/O].
[    2.140000] aufs 2-standalone.tree-32-20100419
[    2.140000] msgmni has been set to 231
[    2.140000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    2.140000] io scheduler noop registered
[    2.140000] io scheduler anticipatory registered (default)
[    2.150000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.160000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    2.170000] console [ttyS0] enabled
[    2.170000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[   12.190000] brd: module loaded
[   12.190000] Loading Marvell Ethernet Driver:
[   12.200000]   o Cached descriptors in DRAM
[   12.200000]   o DRAM SW cache-coherency
[   12.210000]   o 2 Giga ports supported
[   12.210000]   o Single RX Queue support - ETH_DEF_RXQ=0
[   12.220000]   o Single TX Queue support - ETH_DEF_TXQ=0
[   12.220000]   o TCP segmentation offload (TSO) supported
[   12.230000]   o Receive checksum offload supported
[   12.230000]   o Transmit checksum offload supported
[   12.240000]   o Rx descripors: q0=128
[   12.240000]   o Tx descripors: q0=532
[   12.240000]   o Loading network interface(s):
[   12.250000]     o  register under mv88fx_eth platform
[   12.260000]     o eth0, ifindex = 2, GbE port = 0
[   12.260000]     o eth0, phy chipid = 1410e40, Support WOL = 0
[   12.270000] 
[   12.270000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.270000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   12.280000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   12.320000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   12.340000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   12.340000] usb usb1: configuration #1 chosen from 1 choice
[   12.350000] hub 1-0:1.0: USB hub found
[   12.350000] hub 1-0:1.0: 1 port detected
[   12.360000] Initializing USB Mass Storage driver...
[   12.360000] usbcore: registered new interface driver usb-storage
[   12.370000] USB Mass Storage support registered.
[   12.370000] usbcore: registered new interface driver hiddev
[   12.380000] usbcore: registered new interface driver usbhid
[   12.380000] usbhid: v2.6:USB HID core driver
[   12.390000] TCP cubic registered
[   12.390000] NET: Registered protocol family 17
[   12.400000] Waiting 10sec before mounting root device...
[   12.680000] usb 1-1: new high speed USB device using orion-ehci and address 2
[   12.830000] usb 1-1: configuration #1 chosen from 1 choice
[   12.830000] hub 1-1:1.0: USB hub found
[   12.840000] hub 1-1:1.0: 4 ports detected
[   12.840000] Got empty serial number. Generate serial number from product.
[   13.120000] usb 1-1.1: new high speed USB device using orion-ehci and address 3
[   13.250000] usb 1-1.1: configuration #1 chosen from 1 choice
[   13.260000] scsi0 : SCSI emulation for USB Mass Storage devices
[   18.270000] scsi 0:0:0:0: Direct-Access     Synology USBstation       1.0  PQ: 0 ANSI: 2
[   18.270000] drivers/scsi/sd.c (2308) Got USB disk
[   18.280000] sd 0:0:0:0: [synoboot] 250880 512-byte logical blocks: (128 MB/122 MiB)
[   18.290000] sd 0:0:0:0: [synoboot] Write Protect is off
[   18.290000] sd 0:0:0:0: [synoboot] Assuming drive cache: write through
[   18.300000] sd 0:0:0:0: [synoboot] Assuming drive cache: write through
[   18.310000]  synoboot: synoboot1 synoboot2 synoboot3
[   28.410000] sd 0:0:0:0: [synoboot] Assuming drive cache: write through
[   28.410000] sd 0:0:0:0: [synoboot] Attached SCSI disk
[   28.420000] RAMDISK: lzma image found at block 0
[   29.930000] VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
DISKLESS model
none /sys sysfs rw,relatime 0 0
linuxrc.syno executed successfully.
[   30.070000] VFS: Mounted root (squashfs filesystem) readonly on device 135:241.
[   30.080000] Trying to move old root to /initrd ... okay
[   30.090000] Freeing init memory: 112K
[   30.690000] kjournald starting.  Commit interval 5 seconds
[   30.730000] EXT3 FS on synoboot3, internal journal
[   30.740000] EXT3-fs: synoboot3: 21 orphan inodes deleted
[   30.750000] EXT3-fs: recovery complete.
[   30.860000] EXT3-fs: mounted filesystem with ordered data mode.
[   31.190000] aufs test_add:248:mount[362]: uid/gid/perm /volume1 0/0/0777, 0/0/0755
Prepare var...
Mounting proc filesystem...
Mounting devpts
Starting /etc/rc ...
Check new disk...
Not new disk. Do nothing.
/dev/root on / type squashfs (ro,relatime)
/tmp on /tmp type tmpfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
Hostname USBStation2
192.168.178.24	USBStation2
Load llc.ko... 
Load psnap.ko... 
Load sg.ko... 
[   32.270000] sd 0:0:0:0: Attached scsi generic sg0 type 0
Load crc-ccitt.ko... 
Load crypto_algapi.ko... 
Load crypto_wq.ko... 
Load crypto_blkcipher.ko... 
Load crypto_hash.ko... 
Load aead.ko... 
Load pcompress.ko... 
Load cryptomgr.ko... 
Load cbc.ko... 
Load md5.ko... 
[   32.640000] alg: No test for md5 (md5-generic)
Load aes_generic.ko... 
[   32.680000] alg: No test for aes (aes-generic)
Load rng.ko... 
Load ansi_cprng.ko... 
[   32.730000] alg: No test for stdrng (ansi_cprng)
Load krng.ko... 
[   32.750000] alg: No test for stdrng (krng)
Load eseqiv.ko... 
Load des_generic.ko... 
[   32.800000] alg: No test for des (des-generic)
[   32.810000] alg: No test for des3_ede (des3_ede-generic)
Load chainiv.ko... 
Load ocf.ko... 
[   32.870000] ocf: module license 'BSD' taints kernel.
[   32.880000] Disabling lock debugging due to kernel taint
Load cryptodev.ko... 
Load cesa_dev.ko... 
[   32.940000] cesadev_init(bf0ae000)
Load cesa_ocf_drv.ko... 
[   33.000000] mvCesaInit: sessions=10240, queue=64, pSram=f0000000
Load ecb.ko... 
Load sha1_generic.ko... 
[   33.080000] alg: No test for sha1 (sha1-generic)
Load sha256_generic.ko... 
[   33.100000] alg: No test for sha224 (sha224-generic)
[   33.100000] alg: No test for sha256 (sha256-generic)
Load sha512_generic.ko... 
[   33.140000] alg: No test for sha384 (sha384-generic)
[   33.140000] alg: No test for sha512 (sha512-generic)
Load cryptosoft.ko... 
Load fuse.ko... 
[   33.380000] fuse init (API version 7.13)
Load ipv6.ko... 
[   33.840000] NET: Registered protocol family 10
[   33.840000] lo: Disabled Privacy Extensions
Mounting sysfs...
Mounting usbfs...
Load synobios.ko... 
[   33.900000] synobios: load, major number 201
[   33.910000] Brand: Synology
[   33.910000] Model: DS-011j
synochecknetworkcfg: Pass 

[   34.130000] eth0: mac address changed
[   36.220000] eth0: started
[   36.230000] ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0      Link encap:Ethernet  HWaddr 00:11:32:08:63:53  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

kernel.panic = 3
Starting syslogd...
Pass s00_synocheckfstab ...
Pass CheckSynoinfo ...
Pass CheckUser
Pass CheckSmbConf ...
Pass CheckCronTab ...
Pass CheckGroup.
Pass s62_synocheckapple ...
Checking and Mounting filesystem(s) ...
start findhostd
synokerneltz: set kernel time zone to 480
kernel.core_pattern = /var/services/pgsql/../@%e.core
fs.suid_dumpable = 2
vm.min_free_kbytes = 8192
Starting scemd ...
No rules exists, remove firewall modules...
IPv6 Firewall modules has not been started...
Firewall modules has not been started...
rm: can't remove '/tmp/.db.*': No such file or directory
synocheckshare: Pass SYNOICheckShare()
synocheckshare: Pass SYNOICheckShareExt()
synocheckshare: Pass SYNOICheckServiceLink()
synocheckshare: Pass SYNOICheckAutoDecrypt()
synocheckshare: Pass SYNOIServiceShareEnableDefaultUS()
synobootup: BEGIN
synobootup: END
Starting Hotplug Handling Daemon ...
Starting inetd...
Starting crond...
MySQL is not enabled. Skip...
PGSQL service is disabled. Skip...
PGSQL service is disabled. Skip...
19 May 12:15:56 ntpdate[1187]: can't find host pool.ntp.org
19 May 12:15:56 ntpdate[1187]: no servers can be used, exiting
CUPS: Starting cupsd...
GCP: start gcpd..
No related services are supported. Skip...
PGSQL service is disabled. Skip...
#####Remove Temp TDB#####
###Starting nmbd###

##################
 Starting Samba
##################
#####Checking TDB /usr/syno/etc/private/secrets.tdb
backup tdb /usr/syno/etc/private/secrets.tdb
#####Checking TDB /var/run/account_policy.tdb
backup tdb /var/run/account_policy.tdb
#####Checking TDB /var/run/group_mapping.tdb
#####Checking TDB /var/run/ntdrivers.tdb
backup tdb /var/run/ntdrivers.tdb
#####Checking TDB /var/run/ntforms.tdb
backup tdb /var/run/ntforms.tdb
#####Checking TDB /var/run/ntprinters.tdb
backup tdb /var/run/ntprinters.tdb
#####Checking TDB /var/run/share_info.tdb
backup tdb /var/run/share_info.tdb
#####Checking TDB /var/run/registry.tdb
backup tdb /var/run/registry.tdb
Load usblp.ko... 
[   53.880000] usbcore: registered new interface driver usblp
Local package initialization:startup daemons
.

done.
Thr May 19 12:16:03 PDT 1955

USBStation2 login: Starting Netatalk services (this will take a while): 
 cnid_metad afpd (USBStation2:AFPServer).
PGSQL service is disabled. Skip...
cp: can't stat '/var.defaults/spool/postfix': No such file or directory
chmod: /volume1/@postfix/public: No such file or directory
Start SSH...
Audio Station is not enabled. Skip...
Audio Station is not enabled. Skip...
Start System Apache Server .....  -DREDIRECT_USER -f /usr/syno/apache/conf/httpd.conf-sys
/usr/syno/etc/rc.d/S97apache-sys.sh: system httpd started
start findhostd
/var/spool/synoeaupgrade.list doesn't exist!
Stop upgarde
Starting Avahi mDNS/DNS-SD Daemon
Process 2043 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
PGSQL is not enabled
cat: can't open '/sys/block/sd*/device/model': No such file or directory
19 May 12:16:06 ntpdate[1187]: no servers can be used, exiting
[   60.040000] Unhandled msg num 00005202
19 May 12:16:16 ntpdate[1187]: no servers can be used, exiting
19 May 12:16:26 ntpdate[1187]: no servers can be used, exiting
....

USBStation2 login:

edit 110216: original printenv added:


Marvell>> printenv
bootcmd=set bootargs console=ttyS0,115200 initrd=0x1400040 root=/dev/synoboot1 rootdelay=10 syno_hw_version=DS011jr0 netif_num=1; usb start; vendor usb 0:2 /vender; ext2load usb 0:2 1000000 /zImage; ext2load usb 0:2 1400000 /rd.bin; bootm 1000000 1400000
baudrate=115200
loads_echo=0
ipaddr=192.168.101.224
serverip=192.168.101.111
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root)
mainlineLinux=no
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:egiga0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
bootdelay=1
disaMvPnp=no
ethaddr=00:50:43:xx:xx:xx
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
bootargs=console=ttyS0,115200 ip=off initrd=0x00800040,4M root=/dev/md0 rw syno_hw_version=DS011jr0 ihd_num=2 netif_num=1
ethact=egiga0

Environment size: 1341/4092 bytes

Viewing all articles
Browse latest Browse all 3178

Trending Articles