Agestar NCB3AST
A NSD with a USB Host port and 1x FastEthernet port, internal SATA or IDE HDD.
Supported Versions
| Version/Model | Launch Date | S/N | OpenWrt Version Supported | Model Specific Notes |
|---|---|---|---|---|
| AS208 v1.5 | 2007(Or Earlier) | - | - | - |
NOTE: Anything not included in model specific notes, or where a short comment couldn't be included on the notes.
Hardware Highlights
| CPU | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|
| cns1104 / str9104 | 32MiB | MiB | 1x FastEthernet | Yes | Yes | NO |
Keep the articles modular
| Please include only model specific information, omit bla,bla and put everything generic into separate articles |
| generic.overview if you have no time to write certain stuff link to this |
| basic.config should lead the way, do not explain this again |
| DO NOT provide a complete howto here! Instead groom the general HowTos. |
Installation
Flash Layout
Please check out the article Flash Layout. It contains an example and a couple of explanations.
Creating 4 MTD partitions on "str9100_flash":
0x00000000-0x00020000 : "Armboot"
0x00020000-0x007e0000 : "Kernel & Ramdisk"
0x007e0000-0x00800000 : "configure"
0x001a0000-0x007c0000 : "squashfs"
OEM easy installation
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
- Browse to http://192.168.1.?
- Upload .bin file to NSD
- 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, follow firstboot
OEM installation using the TFTP method
If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process.
Upgrading OpenWrt
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.
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
- If sysupgrade does not support this router, use the following commands.
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Interfaces
The default network configuration is:
| Interface Name | Description | Default configuration |
|---|---|---|
| br-lan | LAN | 192.168.1.1/24 |
| lan eth0 | LAN port | None |
Failsafe mode
Buttons
→ hardware.button on howto use and configure the hardware button(s).
| BUTTON | Event |
|---|---|
| Reset | reset |
| USB1 EXIT | ? |
Hardware
Info
| Architecture: | ARM |
| Vendor: | Cavium Networks |
| Bootloader: | ARMboot 1.1.0 |
| System-On-Chip: | STR9104 |
| CPU/Speed | CPU: FA526id(wb) revision 1 |
| Flash-Chip: | EON EN29LV640H (4M-16Bit) |
| Flash size: | 4096KiB |
| RAM-Chip: | Samsung K4H561638H |
| RAM size: | 32 MiB |
| USB-SATA & USB-PATA Chip: | JM20337 |
| Wireless: | NONE |
| Ethernet: | IC+ IP101A Manufacture |
| Internet: | NONE |
| USB: | Yes 1 x 2.0 |
| Serial: | Yes |
| JTAG: | NO |
Photos
Model Number
Front:
Photo of front of the casing
Back:
Photo of back of the casing
Opening the case
Note: This will not void your warranty, since you have to open the device in order to install hard drive!
- To remove the cover follow instructions in manual.
Main PCB
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Header on the board has TX,RX,RTS,CTS,GND,3.3v. Only RX TX and Ground are needed to use the terminal set up with 38400 baud, 8 data bits, no parity and one stop bit (38400 8N1).
| PIN | Name | Description |
| 1 | TX | Data from Device to Host |
| 2 | RX | Data From Host to Device |
| 3 | RTS | Request to Send (unimplemented Output) |
| 4 | CTS | Clear to send (unimplemented Input) |
| 5 | Vcc | 3.3V - some ttl converters need this |
| 6 | GND | - |
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
You Can't! (maybe by removing the BGA SoC)
Photo of PCB with markings
Debricking
Hardware mods
- as a beginner, you really should inform yourself about soldering in general and then obtain some practical experience!
Notes
Some info for developers(will be removed once device is developed):
Firmware/Flash layout
OLD:
| Layer 0 | 8MiB Flash Chip | ||||
|---|---|---|---|---|---|
| Layer 1 | Mtd0 Armboot 128KiB | mtd1 Firmware? lots. | mtd2 configure data 128KiB | ||
| Layer 2 | kernel | 'ramdisk' | |||
| Mountpoint | / | ||||
| Filesystem | mini_fo | ||||
| Size | 128 KiB | ?KiB | ?KiB | ?KiB | 128 KiB |
| Name | ArmBoot | kernel | rootfs_Data | art | |
| Mountpoint | none | none | ? | ? | none |
| Filesystem | none | none | ? | ? | none |
0x00000000-0x00020000 : "Armboot"
0x00020000-0x007e0000 : "Kernel & Ramdisk"
0x007e0000-0x00800000 : "configure"
NEW:
| Layer 0 | 8MiB Flash Chip | ||||
|---|---|---|---|---|---|
| Layer 1 | Mtd0 Armboot 128KiB | mtd1 Firmware 7936 KiB | mtd2 art 128KiB | ||
| Layer 2 | kernel | rootfs | |||
| Mountpoint | / | ||||
| Filesystem | mini_fo | ||||
| Size | 128 KiB | 1024 KiB | ? KiB | ? KiB | 128 KiB |
| Name | ArmBoot | kernel | rootfs_data | art | |
| Mountpoint | none | none | /rom | /overlay | none |
| Filesystem | none | none | squashfs | jffs2 | none |
Note:
for NCB3AST : mach id 2148 (0x0864)
kernel has the following prefixed: "\x$(2)\x1c\xa0\xe3\x$(3)\x10\x81\xe3"
$(2) is the first to hex characters of the machine id (0x08)
$(3) is the second two hex characters of the machine id (0x64)
Log
Unmodified reboot:
Uncompressing Linux.............................................................
request_standard_resources()....OK
trap_init().....OK
init_IRQ().....OK
sched_init().....OK
softirq_init().....OK
time_init().....OK
Linux version 2.4.27-star (root@ubuntu) (gcc version 3.3.6) #1806 Fri Dec 7 16:7
CPU: FA526id(wb) revision 1
ICache:16KB enabled, DCache:16KB enabled, BTB support
Machine: STAR_STR9100
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,38400 root=/dev/ram0 initrd=0x00900000,10M m0
IRQ Timer1 at interrupt number 0x0 and clock 100000000(Hz)
console_init().....OK
kmem_cache_init().....OK
Calibrating delay loop... 153.60 BogoMIPS
Memory: 32MB = 32MB total
Memory: 19328KB available (1953K code, 574K data, 220K init)
mem_init().....OK
pgtable_cache_init().....OK
max_threads is :512 @@@@@@@@@@@@@@@@@
proc_caches_init().....OK
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)
vfs_caches_init().....OK
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
buffer_init().....OK
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
page_cache_init().....OK
signals_init().....OK
POSIX conformance testing by UNIFIX
Data In reg is:1bfc0f!!!!!!!!!!!!!
USB to PC now
PCI: bus0: Fast back to back transfers disabled
pci bridge found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
do initcalls start
Starting kswapd
NTFS driver v1.1.22 [Flags: R/W]
SGI XFS with no debug enabled
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-algo-bit.o: i2c bit algorithm module
pty: 256 Unix98 ptys configured
Str9100 Serial Driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xf7800000 (irq = 10) is a Star_UART
!!!!!!!!!!!!!mac is: 0:b:2b:c0:39:5d
phy0 id:0243, phy1 id:ffff !!!!!!!!!!!
function:configure_lan_port Line:1811
function:configure_lan_port Line:1855
function:configure_lan_port Line:1881
function:configure_lan_port Line:1961
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 4 MTD partitions on "str9100_flash":
0x00000000-0x00020000 : "Armboot"
0x00020000-0x007e0000 : "Kernel & Ramdisk"
0x007e0000-0x00800000 : "configure"
0x001a0000-0x007c0000 : "squashfs"
ftl_cs: FTL header not found.
ftl_cs: FTL header not found.
ftl_cs: FTL header not found.
ftl_cs: FTL header not found.
usb.c: registered new driver hub
hcd.c: ehci_hcd @ EHCI, EHCI_HCdriver
hcd.c: irq 24, pci mem fcc00000
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-ohci.c: USB OHCI at membase 0xc3819000, IRQ 23
host/usb-ohci.c: usb-OHCI, OHCI_HCdriver
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: AppleTalk 0.18a for Linux NET4.0
NetWinder Floating Point Emulator V0.97 (double precision)
do initcalls end
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 10240K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 220K
UART IRQ_ports = c02a6038
UART IRQ at interrupt number 0xa
Mon Jan 1 00:00:00 UTC 2007
Mounting root fs rw ...
hub.c: new USB device EHCI-2, assigned address 2
Load x1205 rtc driver ...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: WDC WD80 Model: 0BB-55JKC0 Rev: 1C05
Type: Direct-Access ANSI SCSI revision: 02
Using /lib/modules/2.4.27-star/x1205-rtc.o
port:50
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
X1205: I2C based RTC driver.
X1205: found X1205 on STR9100 I2C Adapter
ccr_write_enable: verify SR failed
X1205: i2c_add_driver RTC driver.
X1205: misc_register RTC driver.
atr is 0
Partition check:
sda: sda1 sda2 sda3
Synchronize system date & time ...
Mounting other filesystems ...
System initialization begin!
Load configuration file OK!
Time zone setting OK!
Load nt_sev OK!
info, udhcpc (v0.9.9-pre) started
Network setting OK!
System time setting OK!
sh: �t@���,�����: not found
Http & Ftp OK!
Load automount OK!
USB connect to pc;
clear all interrupt !
Load button driver OK!
Load bittorrent job control deamon OK!
Load upnp av finished!
Load check disk full finished!
Adding Swap: 144576k swap-space (priority -1)
XFS mounting filesystem sd(8,2)
System initialization end!
Load printerd ...
printerd wakened
Sysinit done
BusyBox v1.00-rc2 (2007.08.16-07:29+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# XFS mounting filesystem sd(8,3)
STR9100>tftpboot 1000000 age-zImage phy0_id =0243, phy1_id =ffff Check MAC/PHY 0 Link Status : UP! Check MAC/PHY 1 Link Status : DOWN! ARP broadcast 1 ARP broadcast 2 eth addr: 00:13:20:58:bd:34 TFTP from server 192.168.1.15 ; our IP address is 192.168.1.17 Filename 'age-zImage'. Load address: 0x1000000 Loading: #################################################################################################################################################### done Bytes transferred = 1738468 (1a86e4 hex) STR9100>go 1000000 Uncompressing Linux............................................................................................................. done, booting the kernel. [ 0.000000] Linux version 2.6.29joe (david@david-shed) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #5 PREEMPT Thu May 3 19:54:50 2 [ 0.000000] CPU: FA526id(wb) [66015261] revision 1 (ARMv4), cr=0000397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: STAR_9104NAS [ 0.000000] Warning: bad configuration page, trying to continue [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: console=ttyS0,38400 root=LABEL=/ rootdelay=10 [ 0.000000] PID hash table entries: 128 (order: 7, 512 bytes) [ 0.000000] STR9100 CPU Clock: 200 MHz [ 0.000000] IRQ Timer1 at int #0x0 clock 100000000(Hz) [42949372.960000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [42949372.960000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [42949372.970000] Memory: 32MB = 32MB total [42949372.970000] Memory: 28868KB available (3160K code, 248K data, 116K init) [42949372.970000] Calibrating delay loop... 153.19 BogoMIPS (lpj=765952) [42949373.170000] Mount-cache hash table entries: 512 [42949373.170000] CPU: Testing write buffer coherency: ok [42949373.180000] net_namespace: 296 bytes [42949373.180000] NET: Registered protocol family 16 [42949373.270000] bio: create slab <bio-0> at 0 [42949373.280000] SCSI subsystem initialized [42949373.290000] usbcore: registered new interface driver usbfs [42949373.290000] usbcore: registered new interface driver hub [42949373.290000] usbcore: registered new device driver usb [42949373.320000] NET: Registered protocol family 2 [42949373.320000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [42949373.320000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [42949373.320000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [42949373.320000] TCP: Hash tables configured (established 1024 bind 1024) [42949373.320000] TCP reno registered [42949373.320000] NET: Registered protocol family 1 [42949373.330000] NetWinder Floating Point Emulator V0.97 (double precision) [42949373.340000] fuse init (API version 7.11) [42949373.350000] SGI XFS with security attributes, no debug enabled [42949373.350000] msgmni has been set to 56 [42949373.380000] alg: No test for stdrng (krng) [42949373.380000] io scheduler noop registered [42949373.380000] io scheduler anticipatory registered [42949373.380000] io scheduler deadline registered [42949373.380000] io scheduler cfq registered (default) [42949373.390000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [42949373.400000] serial8250.11: ttyS0 at MMIO 0xf7800000 (irq = 10) is a 16550A [42949373.400000] console [ttyS0] enabled [42949373.410000] brd: module loaded [42949373.450000] loop: module loaded [42949373.480000] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver [42949373.490000] usbcore: registered new interface driver pegasus [42949373.500000] usbcore: registered new interface driver dm9601 [42949373.510000] Driver 'sd' needs updating - please use bus_type methods [42949373.530000] str9100_flash: Found 1 x16 devices at 0x0 in 16-bit bank [42949373.540000] Amd/Fujitsu Extended Query Table at 0x0040 [42949373.550000] str9100_flash: CFI does not contain boot bank location. Assuming top. [42949373.560000] number of CFI chips: 1 [42949373.570000] cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. [42949373.580000] Creating 3 MTD partitions on "str9100_flash": [42949373.590000] 0x000000000000-0x000000020000 : "armboot" [42949373.610000] 0x000000020000-0x0000007e0000 : "Kernel & Ramdisk" [42949373.620000] 0x0000007e0000-0x000000800000 : "configure" [42949373.640000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [42949373.650000] ehci-str9100 ehci-str9100: STR9100 EHCI Host Controller [42949373.670000] ehci-str9100 ehci-str9100: new USB bus registered, assigned bus number 1 [42949373.680000] ehci-str9100 ehci-str9100: irq 24, io mem 0xfcc00000 [42949373.710000] ehci-str9100 ehci-str9100: USB 2.0 started, EHCI 1.00 [42949373.730000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [42949373.740000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [42949373.750000] usb usb1: Product: STR9100 EHCI Host Controller [42949373.760000] usb usb1: Manufacturer: Linux 2.6.29joe ehci_hcd [42949373.770000] usb usb1: SerialNumber: ehci-str9100 [42949373.780000] usb usb1: configuration #1 chosen from 1 choice [42949373.790000] hub 1-0:1.0: USB hub found [42949373.800000] hub 1-0:1.0: 2 ports detected [42949373.820000] EHCI platform driver Successfully registerd<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [42949373.840000] Initializing STR9100 OHCI controller [42949373.950000] ohci-str9100 ohci-str9100: STR9100 OHCI [42949373.960000] ohci-str9100 ohci-str9100: new USB bus registered, assigned bus number 2 [42949373.970000] ohci-str9100 ohci-str9100: irq 23, io mem 0xfc400000 [42949374.040000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [42949374.050000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [42949374.060000] usb usb2: Product: STR9100 OHCI [42949374.070000] usb usb2: Manufacturer: Linux 2.6.29joe ohci_hcd [42949374.080000] usb usb2: SerialNumber: ohci-str9100 [42949374.090000] usb usb2: configuration #1 chosen from 1 choice [42949374.100000] hub 2-0:1.0: USB hub found [42949374.110000] hub 2-0:1.0: 2 ports detected [42949374.130000] usbcore: registered new interface driver usblp [42949374.140000] Initializing USB Mass Storage driver... [42949374.150000] usbcore: registered new interface driver usb-storage [42949374.160000] USB Mass Storage support registered. [42949374.170000] usbcore: registered new interface driver libusual [42949374.180000] TCP cubic registered [42949374.190000] NET: Registered protocol family 17 [42949374.200000] RPC: Registered udp transport module. [42949374.210000] RPC: Registered tcp transport module. [42949374.230000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [42949374.240000] Waiting 10sec before mounting root device... [42949377.170000] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad? [42949380.240000] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad? [42949383.310000] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad? [42949384.260000] Root-NFS: No NFS server available, giving up. [42949384.270000] VFS: Unable to mount root fs via NFS, trying floppy. [42949384.280000] VFS: Cannot open root device "LABEL=/" or unknown-block(2,0) [42949384.290000] Please append a correct "root=" boot option; here are the available partitions: [42949384.300000] 1f00 128 mtdblock0 (driver?) [42949384.320000] 1f01 7936 mtdblock1 (driver?) [42949384.330000] 1f02 128 mtdblock2 (driver?) [42949384.350000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
On the 2.6.37 kernel:
Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 2.6.37dav (david@david-shed) (gcc version 4.6.3 202 [ 0.000000] CPU: FA526 [66015261] revision 1 (ARMv4), cr=0000397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: STAR_9104NAS [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa8 [ 0.000000] Kernel command line: console=ttyS0,38400 root=LABEL=/ rootdelay=0 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Memory: 32MB = 32MB total [ 0.000000] Memory: 28904k/28904k available, 3864k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xc2800000 - 0xd0000000 ( 216 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .init : 0xc0008000 - 0xc0025000 ( 116 kB) [ 0.000000] .text : 0xc0025000 - 0xc0334000 (3132 kB) [ 0.000000] .data : 0xc0334000 - 0xc0348ee0 ( 84 kB) [ 0.000000] Preemptable hierarchical RCU implementation. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:25 [ 0.000000] STR9100 CPU Clock: 200 MHz [ 0.000000] IRQ Timer1 at int #0x0 clock 100000000(Hz) [ 0.000000] Calibrating delay loop... 153.19 BogoMIPS (lpj=765952) [ 0.200000] pid_max: default: 32768 minimum: 301 [ 0.200000] Mount-cache hash table entries: 512 [ 0.210000] CPU: Testing write buffer coherency: ok [ 0.220000] NET: Registered protocol family 16 [ 0.330000] bio: create slab <bio-0> at 0 [ 0.350000] SCSI subsystem initialized [ 0.400000] NET: Registered protocol family 2 [ 0.400000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.400000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.400000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.410000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.410000] TCP reno registered [ 0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.410000] NET: Registered protocol family 1 [ 0.420000] RPC: Registered udp transport module. [ 0.420000] RPC: Registered tcp transport module. [ 0.420000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.420000] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.480000] fuse init (API version 7.15) [ 0.480000] SGI XFS with security attributes, large block/inode numbers, no d [ 0.510000] msgmni has been set to 56 [ 0.520000] io scheduler noop registered [ 0.520000] io scheduler deadline registered [ 0.530000] io scheduler cfq registered (default) [ 0.530000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.550000] serial8250.11: ttyS0 at MMIO 0xf7800000 (irq = 10) is a 16550A [ 0.560000] console [ttyS0] enabled [ 0.580000] brd: module loaded [ 0.630000] loop: module loaded [ 0.670000] str9100_flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufae [ 0.680000] Amd/Fujitsu Extended Query Table at 0x0040 [ 0.690000] Amd/Fujitsu Extended Query version 1.3. [ 0.700000] number of CFI chips: 1 [ 0.710000] Creating 3 MTD partitions on "str9100_flash": [ 0.720000] 0x000000000000-0x000000020000 : "armboot" [ 0.740000] 0x000000020000-0x0000007e0000 : "Kernel & Ramdisk" [ 0.760000] 0x0000007e0000-0x000000800000 : "configure" [ 0.780000] TCP cubic registered [ 0.790000] NET: Registered protocol family 17 [ 0.810000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 0.820000] Please be patient, while OpenWrt loads ... [ 0.830000] Waiting 10sec before mounting root device...
GPIO Details
| Name | INPUT/OUTPUT | Active High/Low | GPIO Name | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Rear of case | |||||||||
| Reset Switch | Input | High | GPIO_18 | ||||||
| USB Disconnect switch | Input | High | GPIO_11 | ||||||
| Internal | |||||||||
| Bi-color Red LED | Output | Low | GPIO_3 | ||||||
| Bi-color Green LED | Output | Low | ? | ||||||
| Serial RX | Input | ? | UART_DRX Or GPIO_9 | ||||||
| Serial Tx | Output | ? | UART_DTX Or GPIO_10 | ||||||
| Serial RTS | Output | N/A | UART_RTS Or GPIO_7 | ||||||
| Serial CTS | Input | N/A | UART_CTS Or GPIO_8 | ||||||
Front panel Note: The display is Independent to the SoC as is the Red Hdd LED and green Power LED(always on).
Goals
platform = cns11xx
device = NCB3AST
SoC = STR91xx (CNS11xx)
| Primary Tasks | 1.0 | ||
|---|---|---|---|
| add a new platform following add.new.platform | WIP | ||
| Add patches to compile the kernel platform/patches/?.patch | WIP | ||
| Write a new makefile platform/Makefile | DONE | ||
| Write a new Makefile to build image files platform/image/Makefile | DONE | ||
| Add a default profile platform/profiles/00-default.mk | DONE | ||
| Test thoroughly | WIP | ||
| Add the device: add.new.device | TODO | ||
| Add a new machine image in image/Makefile | TODO | ||
| write machine file mach-device.c | TODO | ||
| GPIO pins for LEDs and buttons | TODO | ||
| Flash memory configuration | TODO | ||
| Watchdog timer | TODO | ||
| Reference the new machine file in arch/arm?/?/$CHIP/{Kconfig,Makefile} |
TODO | ||
| Reference the new machine name in files/arch/arm?/include/asm/mach-SoC/machine.h | TODO | ||
| Add your board to base-files/lib/??.sh for userspace scripts to read the board name | TODO | ||
| Secondary Tasks | 1.0 | ||
| base-files/etc/diag.sh to set a LED which OpenWRT should blink on bootup | TODO | ||
| base-files/lib/upgrade/platform.sh to allow sysupgrade to work on your board | TODO | ||
| base-files/etc/uci-defaults/network to configure default network interface settings, particularly MAC addresses | TODO | ||
| base-files/etc/uci-defaults/leds if you have configurable LEDs which should default to a behavior, like a WLAN activity LED | TODO | ||
| base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom to extract the firmware image for the wireless module | TODO | ||
| base-files/lib/preinit/06_set_iface_mac to set the MAC addresses of any other interfaces | TODO | ||
| Tertiary Tasks | 1.0 | ||
| Compile an image for people to use | TODO | ||
| ? | TODO | ||
Symbol Names
since I have had trouble following symbol names I decided to make a list of what ones are used by this system:
| Symbol | Description | New/Existing | Value |
|---|---|---|---|
| CONFIG_ARCH_STR9100 | The Architecture type is compatible with the str9100/cns1100 series of SoC | NEW | |
| CONFIG_CPU_FA526 | The cpu used in this particular Soc | Existing | |
| CONFIG_MACH_STAR9104NAS | The Machine is a Network adressable storage device based on STR9104 | New? | |
| CONFIG_STR9100_DRAM_16M | Ram capacity 16MiB | NEW | |
| CONFIG_STR9100_DRAM_32M | Ram capacity 32MiB | NEW | y |
| CONFIG_STR9100_DRAM_64M | Ram capacity 64MiB | NEW | |
| MACH_TYPE_STR9100 | exist? | 2425 | |
| MACH_TYPE_STAR9104NAS | exist? | 2148 |
See Also
Same SoC: Procare eShare ES-8068 Corega CG-WLBARGN
By same manufacturer: nsb3as NCB3AS - same just no front display? NSB3AS1T ?? Coolmax CN-570 NS-348S Agestar NCB3AHT NAS2 revoltec rs049 Similar: emprex nsd100 (some old work by artekw)
Edimax 3G-6210n Pocket wifi device. http://www.edimax.com/en/produce_detail.php?pd_id=330&pl1_id=1&pl2_id=2 source available patches for archatecture can be made…
Tags
For some Help with the Tags, please have a look here: tags
toh/agestar/ncb3ast.txt · Last modified: 2013/06/15 20:07 by lorema
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.



