Serial Port (Home Media CE)

From NAS-Central Iomega Wiki
Jump to: navigation, search

Location

The serial port is located at JP1, JP2, JP3 and JP4. You most likely want to use JP4, because it is the only one equiped with pins. If you look at the board like this picture and start from the side where the power/usb/ethernet-connectors are and the "JP4"-lettering is, the pins are:

  • 3.3V ???
  • TX
  • GND
  • RX

The portsettings are 115200-N-8-1.

Detailed pic picture of the pins.

Bootlog

Stage-1 Bootloader Mon Feb  7 16:35:00 MST 2011
Attempting to set PLLA to 600MHz ...
  plla_ctrl0 : 0x0000021A
  plla_ctrl1 : 0x00480000
  plla_ctrl2 : 0x008F008B
  plla_ctrl3 : 0x00000154
PLLA Set

Setup memory, testing
Reading disk 0, Image 0
  Sector : 0x0000009A
  Hdr len: 0x00019480
  Hdr CRC: 0x94C61658
 OK
Initialising disks
SATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
  Device 0: Model: ST32000542AS Firm: CC38 Ser#: 5XW2V380
            Type: Hard Disk
            Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
  Device 1: not available
Environment successfully read from disk 0 primary image


U-Boot 1.1.2 (Jun  9 2011 - 14:14:20)

U-Boot code: 60D00000 -> 60D19480  BSS: -> 60D1D110
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value

IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK
Hit any key to stop autoboot:  0

IDE device 0: Model: ST32000542AS Firm: CC38 Ser#: 5XW2V380
            Type: Hard Disk
            Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
... is now current device

IDE read: device 0 block # 1290, count 5700 ... 5700 blocks read: OK

IDE read: device 0 block # 16674, count 5700 ... 5700 blocks read: OK
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.14
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2189148 Bytes =  2.1 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 60800000 ...
   Image Name:
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2783771 Bytes =  2.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux..................................................................................................................................... done, booting the kernel.
[    0.000000] Linux version 2.6.31.14 (soho@bsoho089.lss.emc.com) (gcc version 4.3.2 (crosstool-NG-1.3.1) ) #1 SMP Fri Jul 22 12:25:51 EDT 2011
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Oxsemi NAS
[    0.000000] 1 memory region
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/md0 console=ttyS0,115200 elevator=cfq mem=256M poweroutage=yes mac_adr=0x00,0xd0,0xb8,0x19,0x81,0xfb
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 252544KB available (3768K code, 275K data, 136K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:96
[    0.000000] OX820_RPS_init_irq: interrupts 64 to 96
[    0.000000] ox820_clocksource_init() Timer 2 running at 390625 Hz
[    0.010000] Console: colour dummy device 80x30
[    0.010000] console [ttyS0] enabled
[    0.020000] Calibrating delay loop... 239.20 BogoMIPS (lpj=1196032)
[    0.260000] Security Framework initialized
[    0.260000] Mount-cache hash table entries: 512
[    0.270000] CPU: Testing write buffer coherency: ok
[    0.270000] Calibrating local timer... 299.99MHz.
[    0.340000] CPU1: Booted secondary processor
[    0.440000] Calibrating delay loop... 239.20 BogoMIPS (lpj=1196032)
[    0.680000] Brought up 2 CPUs
[    0.690000] SMP: Total of 2 processors activated (478.41 BogoMIPS).
[    0.700000] NET: Registered protocol family 16
[    0.700000] Number of DMA channels = 4, version = 4
[    0.710000] Reserving a DMA channel for ODRB
[    0.710000] Allocating 475 SRAM generic DMA descriptors
[    0.730000] bio: create slab <bio-0> at 0
[    0.740000] SCSI subsystem initialized
[    0.740000] usbcore: registered new interface driver usbfs
[    0.750000] usbcore: registered new interface driver hub
[    0.760000] usbcore: registered new device driver usb
[    0.790000] NET: Registered protocol family 2
[    0.790000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.800000] Switched to NOHz mode on CPU #0
[    0.800000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.800000] Switched to NOHz mode on CPU #1
[    0.810000] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.820000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.820000] TCP reno registered
[    0.830000] NET: Registered protocol family 1
[    0.830000] Trying to unpack rootfs image as initramfs...
[    0.840000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.880000] Freeing initrd memory: 2716K
[    0.880000] Create fragment cache
[    0.890000] fuse init (API version 7.12)
[    0.890000] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
[    0.900000] msgmni has been set to 499
[    0.910000] alg: No test for stdrng (krng)
[    0.910000] io scheduler noop registered
[    0.920000] io scheduler anticipatory registered
[    0.920000] io scheduler deadline registered
[    0.930000] io scheduler cfq registered (default)
[    0.950000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.960000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
[    0.980000] brd: module loaded
[    0.990000] loop: module loaded
[    0.990000] ox820sata: OX820 sata core.
[    1.000000] scsi0 : oxnassata
[    1.000000] scsi1 : oxnassata
[    1.010000] ata1: SATA max UDMA/133 irq 50
[    1.010000] ata2: SATA max UDMA/133 irq 50
[    1.010000] ox820sata: reseting SATA core
[    1.540000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.540000] ata1.00: ATA-8: ST32000542AS, CC38, max UDMA/133
[    1.550000] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    1.560000] ata1.00: configured for UDMA/133
[    1.560000] ox820sata: reseting SATA core
[    2.280000] ata2: SATA link down (SStatus 0 SControl 300)
[    2.280000] scsi 0:0:0:0: Direct-Access     ATA      ST32000542AS     CC38 PQ: 0 ANSI: 5
[    2.290000] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    2.300000] sd 0:0:0:0: [sda] Write Protect is off
[    2.300000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.310000] tun: Universal TUN/TAP device driver, 1.6
[    2.310000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.310000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.310000] Start USB clocks
[    2.310000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
[    2.310000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
[    2.340000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
[    2.350000]  sda:
[    2.360000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
[    2.360000] usb usb1: configuration #1 chosen from 1 choice
[    2.370000] hub 1-0:1.0: USB hub found
[    2.370000] hub 1-0:1.0: 2 ports detected
[    2.380000] Initializing USB Mass Storage driver...
[    2.380000] usbcore: registered new interface driver usb-storage
[    2.390000] USB Mass Storage support registered.
[    2.390000] usbcore: registered new interface driver ums-alauda
[    2.400000] usbcore: registered new interface driver ums-datafab
[    2.410000] usbcore: registered new interface driver ums-freecom
[    2.410000] usbcore: registered new interface driver ums-isd200
[    2.420000] usbcore: registered new interface driver ums-jumpshot
[    2.430000] usbcore: registered new interface driver ums-sddr09
[    2.430000] usbcore: registered new interface driver ums-sddr55
[    2.440000] usbcore: registered new interface driver ums-usbat
[    2.450000] mice: PS/2 mouse device common for all mice
[    2.450000] md: linear personality registered for level -1
[    2.460000] md: raid0 personality registered for level 0
[    2.460000] md: raid1 personality registered for level 1
[    2.470000]  sda1 sda2
[    2.470000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    2.480000] TCP cubic registered
[    2.480000] NET: Registered protocol family 17
[    2.490000] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.500000] md: Waiting for all devices to be available before autodetect
[    2.500000] md: If you don't use raid, use raid=noautodetect
[    2.510000] md: Autodetecting RAID arrays.
[    2.540000] md: Scanned 1 and added 1 devices.
[    2.550000] md: autorun ...
[    2.550000] md: considering sda1 ...
[    2.550000] md:  adding sda1 ...
[    2.560000] md: created md0
[    2.560000] md: bind<sda1>
[    2.560000] md: running: <sda1>
[    2.570000] md0: detected capacity change from 0 to 21474770944
[    2.570000] md: ... autorun DONE.
[    2.580000] RAMDISK: gzip image found at block 0
[    3.240000] VFS: Mounted root (ext2 filesystem) on device 1:0.
Looking for shell in cmdline: root=/dev/md0 console=ttyS0,115200 elevator=cfq mem=256M poweroutage=yes mac_adr=0x00,0xd0,0xb8,0x19,0x81,0xfb
Start Blinking Power LED
USB Device node is /dev/sdb1
Started
/dev/buttons file does not exist creating it
Opened /dev/buttons with fd 3
The Button ID from drive is 2 state is 3
Reset Button is NOT pressed
Checking to see the if the reset button is pressed or not
Checking for valid image in hard drives
[    3.420000]  md0: unknown partition table
  2 logical volume(s) in volume group "md0_vg" now active
[    3.720000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Found Valid EMC Image in disk...
Mounting apps image...
Mounting config image...
Check config filesystem
e2fsck 1.41.3 (12-Oct-2008)
ext2fs_check_if_mount: No such file or directory while determining whether /dev/loop1 is mounted.
Constructing root filesystem...
Bootstrapping ...
rootdir=/
table='/usr/local/cfg/device_table.txt'
makedevs: line 42: chown failed for /bin/busybox: Read-only file system
makedevs: line 49: regular file '/usr/share/udhcpc/default.script' does not exist: No such file or directory
warning: can't open /etc/mtab: No such file or directory
mount: unknown filesystem type 'nfsd'
Loading mii
Loading gmac mac_adr=0x00,0xd0,0xb8,0x19,0x81,0xfb
[    5.380000] Probing for Synopsis GMAC, unit 0
[    5.400000] eth0: Tuning GMAC 0 RGMII timings
[    5.400000] eth0: PHY is Realtek RTL8211D, type 0x001cc914
[    5.430000] eth0: GMAC ver = 53, vendor ver = 18 at 0xe1400000, IRQ 40
[    5.430000] eth0: Found PHY at address 2, type 0x001cc914 -> 10/100/1000
[    5.440000] eth0: Ethernet addr: 00:d0:b8:19:81:fb
[    5.440000] probe() eth0: Leon x2 clock
[    5.540000] CoPro offload is active on eth0
[    5.550000] Alloc'ing ARM descs 8192 bytes
[    5.550000] Alloc'ing CoPro parameters 40 bytes
[    5.560000] gmac gmac.0: firmware: requesting gmac_copro_firmware
[    6.170000] CoPro: Programming start address as 0xd000dd00
[    6.280000] Heartbeats started
[    6.280000] eth0: Resetting GMAC
[    6.280000] eth0: GMAC reset complete
[    6.290000] hw_set_mac_address() Storing port0 mac_adr in global array
[    6.300000] eth0: Setting Rx flow control thresholds for LAN port
[    6.320000] CoPro available SRAM end 0x1000dc64
[    6.320000] Copro offload started
[    6.330000] Waiting for auto-negotiation to complete........
[   10.410000] Timed-out of wait
[   10.910000] eth0: link down
[   14.510000] Freeing CoPro parameters 40 bytes
[   14.510000] Freeing ARM descs 8192 bytes
Loading i2c-core
Loading i2c-algo-bit
Loading i2c-oxnas-bitbash
[   14.910000] OXNAS bit-bash I2C driver initialisation OK
Loading rtc-core
Loading rtc-pcf8563
[   15.200000] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[   15.250000] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
Loading msdos
Loading usbhid
[   15.840000] usbcore: registered new interface driver hiddev
[   15.890000] usbcore: registered new interface driver usbhid
[   15.890000] usbhid: v2.6:USB HID core driver
Loading hci_usb
FATAL: Module hci_usb not found.
Loading usblp
[   16.440000] usbcore: registered new interface driver usblp
Loading btusb
[   17.120000] Bluetooth: Core ver 2.15
[   17.160000] NET: Registered protocol family 31
[   17.160000] Bluetooth: HCI device and connection manager initialized
[   17.170000] Bluetooth: HCI socket layer initialized
[   17.230000] Bluetooth: Generic Bluetooth USB driver ver 0.5
[   17.300000] usbcore: registered new interface driver btusb
Loading l2cap
[   17.390000] Bluetooth: L2CAP ver 2.13
[   17.390000] Bluetooth: L2CAP socket layer initialized
Loading rfcomm
[   17.710000] Bluetooth: RFCOMM socket layer initialized
[   17.710000] Bluetooth: RFCOMM ver 1.11
Loading pcbc
Loading michael_mic
Loading nls_iso8859-1
Loading hfsplus
Loading isofs
Loading udf
Loading ufsd
[   18.560000] ufsd: module license 'Commercial product' taints kernel.
[   18.570000] Disabling lock debugging due to kernel taint
[   18.850000] ufsd: driver 8.3 (001_A)  LBD=OFF with ioctl loaded at bf0e2000
[   18.850000] NTFS read/write support included
[   18.850000] Hfs+/HfsX read/write support included
Loading mp_therm
[   19.220000] mp_therm: initializing - NAS7820
Initialization complete.
[   19.450000] Freeing init memory: 136K
INIT: version 2.86 booting
Running file /etc/init.d/rcS
Running file /etc/init.d/rc
Running file /etc/rcS.d/S01glibc.sh
Running file /etc/rcS.d/S02hostname.sh
Running file /etc/rcS.d/S02mountkernfs.sh
Running file /etc/rcS.d/S04mountdevsubfs.sh
Running file /etc/rcS.d/S05bootlogd
Running file /etc/rcS.d/S07hdparm
Setting parameters of disc: (none).
Running file /etc/rcS.d/S08hwclockfirst.sh
Setting the system clock.
Running file /etc/rcS.d/S11hwclock.sh
Setting the system clock.
Running file /etc/rcS.d/S12mtab.sh
mount: according to mtab, tmpfs is already mounted on /lib/init/rw

Running file /etc/rcS.d/S18ifupdown-clean
Cleaning up ifupdown....
Running file /etc/rcS.d/S20module-init-tools
Loading kernel modules...done.
Running file /etc/rcS.d/S26lvm2
Setting up LVM Volume Groups  Reading all physical volumes.  This may take a while...
  Found volume group "md0_vg" using metadata type lvm2
  2 logical volume(s) in volume group "md0_vg" now active
.
Running file /etc/rcS.d/S30checkfs.sh
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Running file /etc/rcS.d/S30procps
Setting kernel variables (/etc/sysctl.conf)...Running file /etc/rcS.d/S35mountall.sh
Mounting local filesystems...mount: unknown filesystem type 'nfsd'
failed.
Activating swapfile swap...done.
Running file /etc/rcS.d/S36mountall-bootclean.sh
Running file /etc/rcS.d/S37mountoverflowtmp
dhclient host identical
Running file /etc/rcS.d/S39ifupdown
Setting up networking....
Running file /etc/rcS.d/S40networking
Configuring network interfaces...done.
Running file /etc/rcS.d/S45mountnfs.sh
Running file /etc/rcS.d/S46mountnfs-bootclean.sh
Running file /etc/rcS.d/S55bootmisc.sh
Running file /etc/rcS.d/S55urandom
Running file /etc/rcS.d/S99stop-bootlogd-single
INIT: cannot execute "/sbin/addLog"
INIT: Entering runlevel: 2
Running file /etc/init.d/rc
Running file /etc/rc2.d/S10rsyslog
Starting enhanced syslogd: rsyslogd.
Running file /etc/rc2.d/S12dbus
chown: invalid user: `messagebus'
Running file /etc/rc2.d/S20rsync
Running file /etc/rc2.d/S20smartmontools
Not starting S.M.A.R.T. daemon smartd, disabled via /etc/default/smartmontools (warning).
Running file /etc/rc2.d/S20sysfsutils
Setting sysfs variables....
Running file /etc/rc2.d/S23ntp
Starting NTP server: ntpdStarting netplugd...
[   27.990000] CoPro offload is active on eth0
[   27.990000] Alloc'ing ARM descs 8192 bytes
[   28.000000] Alloc'ing CoPro parameters 40 bytes
[   28.000000] gmac gmac.0: firmware: requesting gmac_copro_firmware
[   28.200000] CoPro: Programming start address as 0xd000dd00
[   28.300000] Heartbeats started
[   28.300000] eth0: Resetting GMAC
[   28.310000] eth0: GMAC reset complete
[   28.310000] hw_set_mac_address() Storing port0 mac_adr in global array
[   28.320000] eth0: Setting Rx flow control thresholds for LAN port
[   28.340000] CoPro available SRAM end 0x1000dc64
[   28.350000] Copro offload started
[   28.350000] Waiting for auto-negotiation to complete........
[   32.440000] Timed-out of wait
ln: creating symbolic link `/etc/samba/smb.conf': File exists
Starting sshd: OK
hostnamed begin to start...
hostnamed finished
IP obtaining in progress...
Starting executord
Done.
Inside check_if_ran_mfg
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00939262 s, 54.5 kB/s
Did we ran mfg before: 1
MFG verification already Done...Going in to Normal mode
Running file /etc/rc2.d/S99rc.local
Running file /etc/rc2.d/S99rmnologin
Running file /etc/rc2.d/S99stop-bootlogd
Running file /etc/init.d/bootlogd



Welcome to CenterPoint.
hmnhd-B4THNS login: