OK, I've dug all over the forum as well as the internet and can't find any info on whether anyone has ever tried to get Debian or anything else running on the older Zyzel NSA221. Is this doable? I've successfully done this on Buffalo NAS's, my Zyxel NSA310 and NSA320 units but I can't see any info on the NSA221, hence the question.
Looks pretty close to the NSA320 device. Can this be done or is the CPU too different from anything else to be workable?
Here's what I can tell you about it.
From the uboot console...
Looks pretty close to the NSA320 device. Can this be done or is the CPU too different from anything else to be workable?
Here's what I can tell you about it.
~ # cat /proc/cpuinfo Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 183.09 Features : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 5 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format C Cache format : Harvard I size : 32768 I assoc : 4 I line length : 32 I sets : 256 D size : 32768 D assoc : 4 D line length : 32 D sets : 256 Hardware : Oxsemi NAS Revision : 0000 Serial : 00000cb31a366c80
/ # cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "uboot" mtd1: 001c0000 00010000 "kernel" mtd2: 001a0000 00010000 "initrd" mtd3: 00070000 00010000 "etc" mtd4: 0000c000 00002000 "empty" mtd5: 00002000 00002000 "env1" mtd6: 00002000 00002000 "env2" / #
~ # uname -a Linux NSA221-1 2.6.24.4 #1 Thu Aug 16 14:34:54 CST 2012 armv5tejl GNU/Linux
From the uboot console...
1.00 U-Boot 1.1.2 (Apr 11 2010 - 20:23:49)
U-Boot code: 48D00000 -> 48D172F4 BSS: -> 48D1AFA4
RAM Configuration:
Bank #0: 48000000 256 MB
SRAM Configuration:
128KB at 0x58000000
Flash: 4 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
$ ?
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
erase - erase FLASH memory
exit - exit script
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
iminfo - print header information for application image
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
$
$ printenv
bootcmd=cp 0x411e0000 0x4a000000 0x25c000; bootm 0x41020000
bootdelay=2
baudrate=115200
ipaddr=192.168.1.3
serverip=192.168.1.1
autoload=n
netmask=255.255.255.0
bootfile="uImage"
MODEL_ID=DC01
PRODUCT_NAME=NSA-221
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
ethaddr=C8:6C:87:9B:B7:69
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyS0,115200n8 root=/dev/ram0 rw init=/sbin/init initrd=0x4a000000,4M elevator=cfq mtdparts=physmap-flash.0:128k(uboot),1792k(kernel),1664k(initrd),448k(etc),48k(empty),8k(env1),8k(env2) mem=256M poweroutage=yes
Environment size: 579/8187 bytes
$
$ bdinfo
arch_number = 0x00000480
env_t = 0x00000000
boot_params = 0x48000100
DRAM bank = 0x00000000
-> start = 0x48000000
-> size = 0x10000000
ethaddr = C8:6C:87:9B:B7:69
ip_addr = 192.168.1.3
baudrate = 115200 bps
$
$ flinfo
Bank # 1: CFI conformant FLASH (16 x 16) Size: 4 MB in 71 Sectors
Erase timeout 16384 ms, write timeout 0 ms, buffer write timeout 1 ms, buffer size 1
Sector Start Addresses:
41000000 41010000 41020000 41030000 41040000
41050000 41060000 41070000 41080000 41090000
410A0000 410B0000 410C0000 410D0000 410E0000
410F0000 41100000 41110000 41120000 41130000
41140000 41150000 41160000 41170000 41180000
41190000 411A0000 411B0000 411C0000 411D0000
411E0000 411F0000 41200000 41210000 41220000
41230000 41240000 41250000 41260000 41270000
41280000 41290000 412A0000 412B0000 412C0000
412D0000 412E0000 412F0000 41300000 41310000
41320000 41330000 41340000 41350000 41360000
41370000 41380000 41390000 413A0000 413B0000
413C0000 413D0000 413E0000 413F0000 413F2000
413F4000 413F6000 413F8000 413FA000 413FC000 RO
413FE000 RO
$