Friday, May 12, 2006

KuroBox/HG

Been playing with my kurobox/hg, its pretty cool little embedded linux NAS box.

Currently the only thing it serves me up is being a samba share holding all my infocom story files (i have a full archive of all the different versions)…

Id love to use rendezvous or whatever its called to write a serverice that lets you find and play IF. like mt-daapd for itunes. Use zeroconf to advertise a service. browse by game type (zmachine, tads, agt etc), genre, version etc etc etc. lots of nice metadata…

One thing I need to do is update the box, the stock install is an oooold linux 2.4 setup. The biggest hurdle is the kernel resides in flash and has some secret flash bootloader that nobody understands or has access to.. The two biggest projects in the kuro/hg world right now are trying to replace the loader with uboot and getting a 2.16 kernel working properly…

I just need to get a cross tool chain for gcc 2.95.3 working and I can start hacking away....

dmesg output below

Memory BAT mappingBAT2=128MbBAT3=0Mbresidual0Mb
Linux version 2.4.17_mvl21 
(root@toda_dev.melcoinc.co.jp) (gcc version 2.95.3 20010315 (release/MontaVista)) #24 2004ǯ 10·î 19Æü ²ÐÍËÆü 17:17:03 JST
KURO-BOX (C2004 KUROUTO-SHIKOU.
On node 0 totalpages32768
zone
(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command lineroot=/dev/hda1
OpenPIC Version 1.2 
(1 CPUs and 139 IRQ sourcesat 80040000
decrementer frequency 
32.619045 MHz 
Calibrating delay loop
... 173.67 BogoMIPS
Memory
124760k available (1244k kernel code556k data188k init0k highmem)
Dentry-cache hash table entries16384 (order5131072 bytes)
Inode-cache hash table entries8192 (order465536 bytes)
Mount-cache hash table entries2048 (order216384 bytes)
Buffer-cache hash table entries8192 (order332768 bytes)
Page-cache hash table entries32768 (order5131072 bytes)
POSIX conformance testing by UNIFIX
PCI
Probing PCI hardware
Linux NET4.0 
for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
pty
256 Unix98 ptys configured
MELCO INC
RTC driver ver 1.00
Serial driver version 5.05c 
(2001-07-08with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x80004600 
(irq 138is a 16550A
ttyS01 at 0x80004500 
(irq 137is a 16550A
block
128 slots per queuebatch=32
RAMDISK driver initialized
16 RAM disks of 10000K size 1024 blocksize
Uniform Multi
-Platform E-IDE driver Revision6.31
ide
Assuming 33MHz system bus speed for PIO modesoverride with idebus=xx
CMD680
IDE controller on PCI bus 00 dev 60
CMD680
chipset revision 2
CMD680
100native mode on irq 17
    ide0
BM-DMA at 0xbffed0-0xbffed7BIOS settingshda:piohdb:pio
    ide1
BM-DMA at 0xbffed8-0xbffedfBIOS settingshdc:piohdd:pio
hda
WDC WD200EB-00BHF0ATA DISK drive
ide0 at 0xbffef8
-0xbffeff,0xbffef6 on irq 17
hda
39102336 sectors (20020 MBw/2048KiB CacheCHS=38792/16/63UDMA(100)
Partition check:
 
hdahda1 hda2 hda3
FLASHDISK
:Initialized [FUJITSU MBM29PL32TM] 
eth0
Identified chip type is 'RTL8169s/8110s'.
eth0RTL8169s/8110s Gigabit Ethernet driver supports Jambo Frame 1.8n4b <2004-3-16at 0xc9000f0000:0d:0b:99:46:a2IRQ 16
eth0
Auto-negotiation Enabled.
eth0100Mbps Full-duplex operation.
SCSI subsystem driver Revision1.00
request_module[scsi_hostadapter]
Root fs not mounted
usb
.cregistered new driver usbdevfs
usb
.cregistered new driver hub
hcd
.cehci-hcd 00:0e.2PCI device 1033:00e0 (NEC Corporation)
hcd.cirq 19pci mem c9002f00
usb
.c: new USB bus registeredassigned bus number 1
hcd
/ehci-hcd.cUSB 2.0 support enabledEHCI rev 1. 0
hub
.cUSB hub found
hub
.c5 ports detected
usb
-ohci.cUSB OHCI at membase 0xc9004000IRQ 19
usb
-ohci.cusb-00:0e.0NEC Corporation USB
usb
.c: new USB bus registeredassigned bus number 2
hub
.cUSB hub found
hub
.c3 ports detected
usb
-ohci.cUSB OHCI at membase 0xc9006000IRQ 19
usb
-ohci.cusb-00:0e.1NEC Corporation USB (#2)
usb.c: new USB bus registeredassigned bus number 3
hub
.cUSB hub found
hub
.c2 ports detected
usb
.cregistered new driver usblp
printer
.cv0.11USB Printer Device Class driver
Initializing USB Mass Storage driver
...
usb.cregistered new driver usb-storage
USB Mass Storage support registered
.
NET4Linux TCP/IP 1.0 for NET4.0
IP Protocols
ICMPUDPTCPIGMP
IP
routing cache hash table of 1024 buckets8Kbytes
TCP
Hash tables configured (established 8192 bind 8192)
NET4Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4AppleTalk 0.18a for Linux NET4.0
RAMDISK
Compressed image found at block 0
Freeing initrd memory
2137k freed
fff70000
:4f4b4f4b
EXT2
-fs warningchecktime reachedrunning e2fsck is recommended
VFS
Mounted root (ext2 filesystem).
fff70000:4f4b4f4b
kjournald starting
.  Commit interval 5 seconds
EXT3
-fsmounted filesystem with ordered data mode.
VFSMounted root (ext3 filesystemreadonly.
change_rootold root has d_count=2
Trying to unmount old root 
... okay
Freeing unused kernel memory
188k init
Adding Swap
524656k swap-space (priority -1)
EXT3-fs warningchecktime reachedrunning e2fsck is recommended
EXT3 FS 2.4
-0.9.1710 Jan 2002 on ide0(3,1), internal journal
kjournald starting
.  Commit interval 5 seconds
EXT3
-fs warningchecktime reachedrunning e2fsck is recommended
EXT3 FS 2.4
-0.9.1710 Jan 2002 on ide0(3,3), internal journal
EXT3
-fsmounted filesystem with ordered data mode.

cpu info
cpu        
82xx
revision    
16.20 (pvr 8081 1014)
bogomips    173.67
vendor        
Motorola SPS
machine        
Sandpoint
processor    
PVID0x80811014vendorMotorola


flash info
PRODUCTNAME
=KURO-BOX/HG(IESHIGE)
VERSION=1.00
SUBVERSION
=FLASH 1.0
PRODUCTID
=0x00001002
BUILDDATE
=2004/10/19 17:18:54
BOOTFLAG
=OK

Posted by Stu on 05/12 at 09:13 AM Permalink to this post.
Filed Under : Development
Comments are closed There are no comments on this entry.
Linked To by (0) blogs. Get a Trackbacks link here

Tuesday, May 09, 2006

Kuro Box HG

Just ordered a Kuro Box HG, which is a NAS. Its a powerpc G2 (more or less) at 266mhz with 128mb ram and boots off flash.

Gonna have this puppy serve up my mp3’s via itunes across my lan/wireless net and server my infocom game files heheheh…

I’m sure I’ll rig up some other stuff on it too, maybe some ruby…

Posted by Stu on 05/09 at 08:42 PM Permalink to this post.
Filed Under : Development
Comments are closed There are no comments on this entry.
Linked To by (0) blogs. Get a Trackbacks link here

Page 1 of 1 pages