1 (edited by whm3 2006-01-30 00:01:08)

Topic: D-Link DSM-G600 Serial Console

I finally got a change to play around with the DSM-G600 again, and mapped out the serial console. The following diagram assumes the case open with the power to the left, and the status LEDs to the right. Serial console is 9600 8N1. Processor is a MPC8245 V1.2 PPC. 32M RAM, 4M FLASH. See posts in the general board for dmesg output, etc. The serial console is the white connector between the CPU and the battery which has a pinout parallel to the front LEDs.  Platform has raylink minipci and an ATA133 controller, as well as GigE and 2x USB2.0.

                            
Console Pinout
(Towards CPU)
[1]+3.3v
[2]RxD
[3]TxD
[4]Ground
(Towards Battery)

The U-Boot console itself is interactive, but the underlying OS is non interactive. See previous discussion about putting "fun_plug" in the default smb share, for getting semi interactive IO.

Boot process:

*

U-Boot 0.2.0 (May 11 2005 - 18:56:16)

CPU:   MPC8245 V1.2 at 170.503 MHz:
Board: Sandpoint 8245
DRAM:  32 MB
FLASH: FUJI_DL323BE 
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  2  1  0 
## Booting image at fff10000 ...
   Image Name:   Linux-2.4.21-pre4
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    853146 Bytes = 833.2 kB
   Load Address: 00000000
   Entry Point:  00000000
 Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at ffc20000 ...
   Image Name:   default
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    3006547 Bytes =  2.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Ramdisk to 01c51000, end 01f2f053 ... OK
Total memory 33554432 MB.

Memory BAT mapping: BAT2=32Mb, BAT3=0Mb, residual: 0Mb

Total memory is 33554432.

CPU = 82xx

Linux version 2.4.21-pre4 (ffna@swtest2) (gcc version 2.95.4 20010319 (prerelease)) #480 ¥| 8¤ë 25 17:39:08 CST 2005

OpenPIC_Addr in mpc10x_bridge_init function is fc040000 

Motorola SPS Sandpoint Test Platform

Port by MontaVista Software, Inc. (source@mvista.com)

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/ram console=ttyS0,9600

OpenPIC Version 1.2 (1 CPUs and 123 IRQ sources) at fc040000

Calibrating delay loop... 133.12 BogoMIPS

Memory: 27312k available (1560k kernel code, 508k data, 60k init, 0k highmem)

Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)

Inode cache hash table entries: 2048 (order: 2, 16384 bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 8192 (order: 3, 32768 bytes)

POSIX conformance testing by UNIFIX

PCI: Probing PCI hardware

PCI fixup irq: (PCI device 1814:0201) got 0

PCI fixup irq: (PCI device 1033:0035) got 1


PCI fixup irq: (PCI device 1033:0035) got -1

PCI fixup irq: (PCI device 1033:00e0) got 2

PCI fixup irq: (PCI device 13f0:1023) got 3

PCI fixup irq: (PCI device 1191:0008) got 4

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

Journalled Block Device driver loaded

NTFS driver v1.1.22 [Flags: R/W]

udf: registering filesystem

Serial driver version 5.05c (2001-07-08) with MANY_PORTS SERIAL_PCI enabled

ttyS00 at 0xfc004500 (IOMEM)(irq = 121) is a ST16650

ttyS01 at 0xfc004600 (IOMEM)(irq = 122) is a ST16650

RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize

loop: loaded (max 8 devices)

ipg : v0.36 10/31/01  Written by Craig Rich, www.sundanceti.com

IC PLUS IP1000 1000/100/10 based NIC found.

Ethernet device registered as: eth0

IPG module loaded.

SCSI subsystem driver Revision: 1.00

atp86x_detect: 

   ACARD ATP-865 PCI ATA133 2-Channels Host Adapter: 0    IO:FEBFFEF8, IRQ:4.

         ID:  0  Maxtor 53073H4                   UDMA5 (100)

scsi0 : ACARD ATP86X PCI ATA133 Adapter Driver Ver: 0.78  Date: 2004/01/15


  Vendor: Maxtor 5  Model: 3073H4            Rev:     

  Type:   Direct-Access                      ANSI SCSI revision: 02

Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

SCSI device sda: 60030431 512-byte hdwr sectors (15368 MB)

Partition check:

 sda1 sda2

USI AMD/FUJITSU flash: probing 8-bit flash bus

 Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling fast programming due to code brokenness.

Creating 5 MTD partitions on "USI Intel flash":

0x00000000-0x00010000 : "Linux mtd1"

0x00010000-0x00020000 : "Linux mtd2"

0x00020000-0x00300000 : "Linux Ramdisk"

0x00300000-0x00310000 : "U-BOOT BOOT LOADER"

0x00310000-0x00400000 : "Linux Kernel"

usb.c: registered new driver hub

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 2048)

RAMDISK: Compressed image found at block 0

Freeing initrd memory: 2936k freed

VFS: Mounted root (ext2 filesystem) readonly.

Freeing unused kernel memory: 60k init


init started:  BusyBox v1.0EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

0-pre1 (2005.04.26-03:13+0000) multi-call binary

init started:  BusyBox v1.00-pre1 (2005.04.26-03:13+0000) multi-call binary

Starting pid 12, console /dev/ttyS0: '/etc/rc.sh'
Check MTD block device ...
    MTDC: Mount MTD1 done.
    MTDC: Mount MTD2 done.
    MTDC: No need to copy file.
** mount mtd2
** umount mtd2
** copy mtd1 files
cp: /sys/mtd1/firmwareupdate: No such file or directory
** soft-link modules
** set loopback interface
Using /sys/crfs/bonding.c:v2.4.20-20021210 (December 10, 2002)

brbr0 registered withid MII link monitoring set to 100 msge, in fault-tolerance (active-backup) mode.

/bbr0 registered withonout ARP monitoring

ding.o
device    = /dev/mtdblock3
ibr0: released all slaves

nterface = eth0
MAC = 00:13:46:D9:A4:A8
mac = 00:13:46:d9:a4:a8

Link speed = undefined!

Link speed = undefined!

br0: enslaving eth0 as a backup interface with a down link.

** execute rc.init.sh
SIOCADDRT: Network is unreachable
Setting hostname .... DSM-G600
Starting DHCP client ....
info, client (v0.9.9-pre) started
get IP = [NONE SET]
no cable
debug, Sending discover...
kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
UPnP AV 1.1  UPnP AV 1.1  Can't get br0 IP. Can't get br0 IP. Link speed = 10Mbps.

eth0: 10Mbps operational mode enabled.

setting half duplex, no TX flow control, no RX flow control.

br0: link status definitely up for interface eth0.

 and making interface eth0 the active one.

debug, Sending discover...
debug, Sending select for 192.168.2.171...
info, Lease of 192.168.2.171 obtained, lease time 3600
deleting routers
SIOCDELRT: No such process
adding dns 192.168.2.20
adding dns 192.168.2.1
get IP = 192.168.2.171
bonding driver
br0: releasing active interface eth0 but could not find any backup interface.

br0: now running without any active interface !

mac = 00:13:46:d9:a4:a8

Link speed = undefined!

Link speed = undefined!

br0: enslaving eth0 as a backup interface with a down link.

br0: releasing backup interface eth0.

br0: now running without any active interface !

mac = 00:13:46:d9:a4:a8

Link speed = undefined!

kill: Usage: kill [-s sigspec |br0: enslaving eth0 as a backup interface with a down link.

 Adding Swap: 530104k swap-space (priority -1)

-signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
UPnP AV 1.1  Can't get br0:0 IP. UPnP AV 1.1  Can't get br0:0 IP. The number of cylinders for this disk is set to 3736.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
partitions = 4 sys_ind = 0x82 
exit status 0 
success 
Setting up swapspace version 1, size = 542830592 bytes
check button version v1.27 2005.08.25
swapon
find: /etc/202: No such file or directory
find: /tmp/202: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
Link speed = 10Mbps.

eth0: 10Mbps operational mode enabled.

setting half duplex, no TX flow control, no RX flow control.

br0: link status definitely up for interface eth0.

 and making interface eth0 the active one.

kjournald starting.  Commit interval 5 seconds

EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal

EXT3-fs: recovery complete.

EXT3-fs: mounted filesystem with ordered data mode.

Build Shared Name Table version v1.04
Set Daylight :/usr/sbin/daylight f &
buf2=HDD_a

br0 HWaddr 00:13:46:D9:A4:A8  
get last 2 items from MAC = A4 A8 
IP Now = 169.254.164.168

target = 169.254.164.168
ARPING to 169.254.164.168 from 0.0.0.0 via br0
Sent 2 probes (2 broadcast(s))
Received 0 reply
ARPING return value = 0

ifconfig: set interface br0:0 to 169.254.164.168

get IP = 192.168.2.171
get IP = 169.254.164.168
Set Timezone=-8
1.Set Date & time ...(command: rdate -s 158.121.95.4 &)
Card Reader buttons = 1
buf2=HDD_a
$Shutting down SMB services: 
$Shutting down NMB services: 
$Starting SMB services: 
$Starting NMB services: 
sftp v1.07_2005.04.15
General Samba
exit sftp
UPNPAV_SF: lock resource.
UPNPAV_SF: unlock resource.
2.Set Date & time ...(command: rdate -s 216.200.93.8 &)
1.00(1.13.0825.2005)
2005/08/25
** ehci_hcd 00:0e.2: PCI device 1033:00e0

inehci_hcd 00:0e.2: irq 2, pci mem c306af00

seusb.c: new USB bus registered, assigned bus number 1

rtehci_hcd 00:0e.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4

 USB Host Controller modules
Using /hub.c: USB hub found

lihub.c: 5 ports detected

b/modules/ehci-hcd.o
Jan 29 13:26:43 crond[473]: crond 2.3.2 dillon, started, log level 8
 usb-ohci.c: USB OHCI at membase 0xc3073000, IRQ 1

Ususb-ohci.c: usb-00:0e.0, PCI device 1033:0035

ing /lib/modules/ususb.c: new USB bus registered, assigned bus number 2

b-ohci.o
hub.c: USB hub found

hub.c: 3 ports detected

usb-ohci.c: USB OHCI at membase 0xc3075000, IRQ -1

usb-ohci.c: usb-00:0e.1, PCI device 1033:0035

usb.c: new USB bus registered, assigned bus number 3

request_irq irq >= NR_IRQS fail 

usb-ohci.c: request interrupt -1 failed

usb.c: USB bus 3 deregistered

Trying to vfree() nonexistent vm area (c3075000)

Using /lib/modules/usb-Initializing USB Mass Storage driver...

stmy_host_number = 1

orusb.c: registered new driver usb-storage

agUSB Mass Storage support registered.

e.hub.c: new USB device 00:0e.2-3, assigned address 2

o
mfg_search
scsi1 : SCSI emulation for USB Mass Storage devices

  Vendor: Pretec    Model: 512MB Gini        Rev: 1.10

  Type:   Direct-Access                      ANSI SCSI revision: 02

kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
ehco: No such file or directory
UPnP AV 1.1  UPnP AV 1.Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0

1  ** load wireless driver
Using /sys/crfs/wireless/rt2500.o
SCSI device sdb: 975744 512-byte hdwr sectors (250 MB)

ra0: at 0xbfffe000, VA 0xc30ab000, IRQ 0. 

 sdb1

ra0: RT2500_open() irq 0. MAC = 00:13:46:d9:a4:a8 

pAdapter->PortCfg.StaWithEtherBridge.Enable = FALSE

bond_enslave(): MII and ETHTOOL support not available for interface ra0, and arp_interval/arp_ip_target module parameters not specified, thus bonding will not detect link failures! see bonding.txt for details.

br0: enslaving ra0 as a backup interface with an up link.


Starting pid 546, console /dev/ttyS0: '/bin/sh'


BusyBox v1.00-pre1 (2005.04.26-03:13+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

br0: releasing active interface eth0 and making interface eth0 the active one.

br0: releasing backup interface ra0.

br0: now running without any active interface !

br0: released all slaves

NET4: Ethernet Bridge 008 for NET4.0

device eth0 entered promiscuous mode

mac = 00:13:46:d9:a4:a8

Link speed = undefined!

Link speed = undefined!

br0: port 1(eth0) entering listening state

MSDOS FS: IO charset cp850

FAT: bogus logical sector size 20487

VFS: Can't find a valid FAT filesystem on dev 08:10.

FAT: freeing iocharset=cp850

device ra0 entered promiscuous mode

MSDOS FS: IO charset cp850

FAT: bogus logical sector size 20487

VFS: Can't find a valid FAT filesystem on dev 08:10.

FAT: freeing iocharset=cp850

MSDOS FS: IO charset cp850

FAT: bogus logical sector size 20487

VFS: Can't find a valid FAT filesystem on dev 08:10.

FAT: freeing iocharset=cp850

Current Tx Antenna = Antenna B

Current Rx Antenna = Antenna B

br0: port 2(ra0) entering listening state

VFS: Can't find ext3 filesystem on dev sd(8,16).

VFS: Can't find ext2 filesystem on dev sd(8,16).

Link speed = 10Mbps.

eth0: 10Mbps operational mode enabled.

setting half duplex, no TX flow control, no RX flow control.

br0: port 1(eth0) entering learning state

MSDOS FS: IO charset cp850

FAT: bogus logical sector size 0

br0: port 2(ra0) entering learning state

br0: port 1(eth0) entering forwarding state

br0: topology change detected, sending tcn bpdu

br0: port 2(ra0) entering forwarding state

br0: topology change detected

VFS: Can't find a valid FAT filesystem on dev 08:11.

FAT: freeing iocharset=cp850

EXT2-fs: Unrecognized mount option umask

ext3: No journal on filesystem on sd(8,17)

EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

Some of the post output is due to having a 512M ext3 formatted thumb drive on there. (playing around with trying to get chroot to work within the existing config)

2 (edited by framer99 2006-02-02 15:28:08)

Re: D-Link DSM-G600 Serial Console

I see the picture of the IDE connector and chip on the previous DSM-G600 thread and I'm assuming it has only 1 connector on the board.  There's not one underneath the board or something is there?

Reading the marketing blurb on that chip at http://www.acard.com/english/fb01-produ … pe1_idno=1
seems to say it has 2 ide channels. The "Product Brief" link to a pdf on that same page shows 2 channels for sure

I'm sure it's too much to hope  it has 2 connectors actually soldered on though.. or am I wrong?

Re: D-Link DSM-G600 Serial Console

could you have the fun_plug start a getty on the serial input so that you can interactively login?

Also, from a cursory glance, this box seems somewhat similar to the buffalo linkstation HG/kuroboxHG. There's a very active developer community around the box (and there's even a from scratch gentoo install for it). If the hardware is indeed similar, maybe you could bootstrap their work?

raj

Re: D-Link DSM-G600 Serial Console

I'm interested in this box as well. Almost all the NAS devices I've seen so far have .....disappointing speeds. Like around 1 MB/sec. So I really have to wonder if this thing can deliver? Can it reach even the potential of a 100 Mbit port much less the Gig-E?

Re: D-Link DSM-G600 Serial Console

See also revision A here - http://forum.openwrt.org/viewtopic.php?id=4338

Re: D-Link DSM-G600 Serial Console

vincentfox wrote:

I'm interested in this box as well. Almost all the NAS devices I've seen so far have .....disappointing speeds. Like around 1 MB/sec. So I really have to wonder if this thing can deliver? Can it reach even the potential of a 100 Mbit port much less the Gig-E?

This is dependant on the IO properties of the drive itself. Can you get 100Mb speeds streaming off a normal workstation with an IDE drive in it? With a single drive, it's going to suck. Some of the bigger NAS boxes that let you stripe across 4 disks, they're still going to suck because they're doing parity calculations in the embedded CPU. If you want real NAS, get a real NAS head. If you want a multifunctional embedded appliance with does some cifs/nfs NAS on top of other stuff, these boxes are ideal because the aren't going to hammer the USB bus which could be used for other stuff.

Re: D-Link DSM-G600 Serial Console

Ahem, I wasn't looking for serious hardware at BLAZING speeds, just wondering if this device tested out any better than previous devices.

Which so far haven't come anywhere near the speeds of the storage devices whether they be IDE or USB.

Just would be nice to know where it stands. DOG-SLOW, at least as fast as my USB flash-drive, or better?

Re: D-Link DSM-G600 Serial Console

vincentfox wrote:

Ahem, I wasn't looking for serious hardware at BLAZING speeds, just wondering if this device tested out any better than previous devices.

Which so far haven't come anywhere near the speeds of the storage devices whether they be IDE or USB.

Just would be nice to know where it stands. DOG-SLOW, at least as fast as my USB flash-drive, or better?

On the stock RevB version, cifs to linux I get (completely unscientific) 3.170525388 MB/s Read and 2.4587656 MB/s Write, where 1 MB is defined as 1024KB. This could be samba on either end sucking.


         File Size               Meg              Time (sec)          Speed
READ    127053824         121.1679688      38.217             3.170525388
WRITE    127053824        121.1679688      49.28               2.4587656

Re: D-Link DSM-G600 Serial Console

podux wrote:

could you have the fun_plug start a getty on the serial input so that you can interactively login?

Also, from a cursory glance, this box seems somewhat similar to the buffalo linkstation HG/kuroboxHG. There's a very active developer community around the box (and there's even a from scratch gentoo install for it). If the hardware is indeed similar, maybe you could bootstrap their work?

raj

In theory, yes, but getty was removed from the stock firmware's busybox for some reason.

Re: D-Link DSM-G600 Serial Console

Those are pretty decent numbers. Considering.

I guess you are not at the state yet though to test with FTP or NFS to take SMB out of the picture.

I don't have the leisure right now to embark on another project, but will keep an eye on this one looks interesting.

Re: D-Link DSM-G600 Serial Console

vincentfox wrote:

Those are pretty decent numbers. Considering.

I guess you are not at the state yet though to test with FTP or NFS to take SMB out of the picture.

I don't have the leisure right now to embark on another project, but will keep an eye on this one looks interesting.

Same here. I'm just using the thing with stock firmware until I finish up about 6 other projects. Then I'm going to have a look at the kuro/gentoo install. U-boot is going to be problematic unless we find someone who knows it. Dlink didn't produce source for their implementation. I put in an email to their support desk about it, but have yet to hear back.

Re: D-Link DSM-G600 Serial Console

Enabled the ftp server...

ncftp /HD_a2 > get test2
test2:                                                 121.17 MB    6.81 MB/s
ncftp /HD_a2 > rm test2
ncftp /HD_a2 > put test2
test2:                                                 121.17 MB    4.67 MB/s
ncftp /HD_a2 >

So on ftp.. reads are 6.81MB/s and writes are 4.67MB/s. Not too shabby. Not stellar, but who knows. Maybe mbm can bench the revA.

Re: D-Link DSM-G600 Serial Console

The rates under Samba seem typical.

I just ran some similar tests with an WRTSL54GS, using both USB 2.0 flash and a Seagate Barracuda-IV drive got same results of about 2.7 megs/sec. So all these embedded devices seem to cap out around the same range, likely CPU-limited on the Samba side.

It will be interesting to see if Samba-4 embedded will wring some more performance out of the little boxes.

Re: D-Link DSM-G600 Serial Console

U-Boot Source has now been posted.

ftp://ftp.dlink.com/GPL/dsmg600_revB/

Re: D-Link DSM-G600 Serial Console

Aaron_L_C wrote:

U-Boot Source has now been posted.

ftp://ftp.dlink.com/GPL/dsmg600_revB/

Interesting. I should dig through and see what else they put in the firmware that we could use source for elsewhere.

16 (edited by r0tt3n 2006-03-01 19:29:16)

Re: D-Link DSM-G600 Serial Console

Any updates in regards to DSM-G600 performance testing using the 1.01 Firmware dated 06-01-31?

How about the ability to get this v1.01 firmware to boot from the device's internal drive?

"It really is easier to not do something dumb than it is to do something smart." - mjr

Re: D-Link DSM-G600 Serial Console

I haven't had a chance to play with it in a month or so.. Anyone else?

Re: D-Link DSM-G600 Serial Console

Hi,

Please dont flame me for posting here. I have this device and really like it. I have looked for other resources for modifing the device but have not found any others.  I am willing to put in the time and learn how to mod this thing but wondered if a guru or two could answer a few questions for me before I jump into the deep end.

I am using this device in a non traditional application. In my car. I have a few friends that would liketo do the same. What I want to do is make a few changes to the device. Such as enable/add dchp, make the wifi come on as a default not have to use the cat5 jack to set it up, make the wifi load faster, and remove any unnecessary stuff that causes it to load slower. I would also love to get access to the built in web browser.

If any of this can be done I would love a shout and any tips/pointers in the right direction.

Thans,
-Greg

Re: D-Link DSM-G600 Serial Console

gbreen wrote:

Hi,

Please dont flame me for posting here. I have this device and really like it. I have looked for other resources for modifing the device but have not found any others.  I am willing to put in the time and learn how to mod this thing but wondered if a guru or two could answer a few questions for me before I jump into the deep end.

I am using this device in a non traditional application. In my car. I have a few friends that would liketo do the same. What I want to do is make a few changes to the device. Such as enable/add dchp, make the wifi come on as a default not have to use the cat5 jack to set it up, make the wifi load faster, and remove any unnecessary stuff that causes it to load slower. I would also love to get access to the built in web browser.

If any of this can be done I would love a shout and any tips/pointers in the right direction.

Thans,
-Greg

You can do all of that by playing with "fun_plug" scripts. "fun_plug" is more or less an rc.local.

Re: D-Link DSM-G600 Serial Console

Can Some one post some info on how to get started doing this? 

Thanks,
Greg

Re: D-Link DSM-G600 Serial Console

Ok here is the deal. I tried to play with this a bit and I now beleive that I am in way over my head. I looked quite a bit for information about your reference and I have come to the conclusion. Im not that smart! I have an offer to paypal someone if they can change the "fun_plug" script for me and tell me how in detail to install it.  The things I would like are to enable wifi by default so if the thing crashes or the power is pulled wifi will always boot. I would love to have a dhcp server installed and give devices that conect to it an ip address. If there is a way to have it boot faster that would be cool.  Please let me know if you are interested and what compensation you would require.

Thank You much,
-Greg

Re: D-Link DSM-G600 Serial Console

Any ideas if you can turn the DSM-G600 into a USB print server? Also, would anybody share any of their fun_plug files? I just want to see what kind of cool things people are doing with this cool little box.  Thank you.

Re: D-Link DSM-G600 Serial Console

I got a serial console working on a revision b dsm-g600, and I have a few notes:
the configuration of the serial header (same position) is, from the cpu to the battery, +3.3v, tx, rx, gnd
perhaps I just misunderstood what you meant in your diagram, but it's definitely trasmitting data on the second pin
there is a shell running on the serial console, but it's not setup properly.. no commands work, but pressing ctrl+c causes it to respawn

hopefully someone will come out with a working custom firmware / build environment soon smile

Re: D-Link DSM-G600 Serial Console

note for the hence to be more lucky then I:
the serial upload option in u-boot automatically replaces the current kernel image in flash
there is a tool that comes with u-boot source distrib to make images
the original firmware is not a valid image (checked with image program, not upload, as upload over 9600bps serial would take >1 hour)

guess i'm forced to make this work now smile

Re: D-Link DSM-G600 Serial Console

Kevin wrote:

note for the hence to be more lucky then I:
the serial upload option in u-boot automatically replaces the current kernel image in flash
there is a tool that comes with u-boot source distrib to make images
the original firmware is not a valid image (checked with image program, not upload, as upload over 9600bps serial would take >1 hour)

guess i'm forced to make this work now smile

Nice work. I'm not going to have a chance to play with mine for a month or so. Good luck. If you can get a working kernel into U-Boot it would rock, because from there everything else should theoretically be easy. Updating U-Boot itself to support netbooting would be majorly helpful. It looks like the box is a standard motorola sandpoint dev platform. The Kuro-box/linkstation guys can probably help if you need pointers. Good luck.