Open GoogleCodeExporter opened 8 years ago
I found these lines in kernel config:
______________________________________________________
#
# STR8100 Options
#
CONFIG_VIC_INTERRUPT=y
# CONFIG_STR8100_DRAM_16M is not set
CONFIG_STR8100_DRAM_32M=y
# CONFIG_STR8100_DRAM_64M is not set
______________________________________________________
I think if we comment ..32M and uncomment ..64M, and recompile kernel, it will
detect 64 Megabytes of RAM with 64MB chip.
Original comment by tadas.be...@gmail.com
on 21 Sep 2010 at 4:14
Changed type of issue.
Original comment by dgazi...@gmail.com
on 21 Sep 2010 at 4:43
How did this go, did you find any success?
Original comment by Jeremy.B...@gmail.com
on 13 Oct 2010 at 5:21
I have wanted to try this to.. I think you need to remove a chip from a 1GB or
2GB DDR400 PC DIMM. What "Donner" DIMM did you use? Be nice if STAR NAS could
automatically detect the extra ram. Laptop DIMMS should work too (DDR400)
Bad news is DDR400 DIMMS aren`t cheap.. (for what they are..) But 1 DIMM should
do 8 or 16 units!
Original comment by drifttoy...@hotmail.com
on 17 Oct 2010 at 12:33
I tried with chip from Kingston KVR400X64C3A/1G. Device didn't boot, but I
don't know why, because I don't have SERIAL connection. Resoldered back old
chip and everything worked fine. Tried few times, until PCB pads broke (because
I overheated them), so now my device is dead... Probably can send this Kingston
module (there is missing two chips on it) to you, if you have a PayPal and pay
me $6 + $4 (shipping). Please email me, if you interested.
About module - http://www.valueram.com/datasheets/KVR400X64C3A_1G.pdf
Original comment by tadas.be...@gmail.com
on 17 Oct 2010 at 1:46
I don`t think the chips on that DIMM are correct. You need a 32M X 16. (Default
unit has 16M X 16. I think this DIMM uses 64M X 8 chips. (If i`m reading this
right). So it would not have worked. I`ll look into this more.. But will still
need a SW update on the snake side to "see" the 64MB of ram! :-). Can this be
set to auto?? So it will just detect how much you have?
Thanks guys!
D.
PS Yes i did make a donation quite a while back. Hope it helps!
Original comment by drifttoy...@hotmail.com
on 18 Oct 2010 at 11:05
Ok.. I think you need a 8 chip single sided 1GB DDR 400 DIMM.
Or maybe a 2GB 16 Chip double sided DIMM. Mac or PC i don`t think will matter.
Need 66 pin TSOP chips.. Not BGA's. I will confirm this.. But it gives people
info if anyone else is looking into it.
I`m sure the cost of either of these will be way more than the NAS box it`s
self :-) Surprise Surprise.
Original comment by drifttoy...@hotmail.com
on 18 Oct 2010 at 11:52
OK. A PC laptop DDR400, 512MB SODIMM (8 chip) should have 32M X 16 chips.
I have a hynix DDR333, 512 sodimm (8 chip) here.. It has 32M X 16 chips. But it
is only DDR333 :-(.
Original comment by drifttoy...@hotmail.com
on 19 Oct 2010 at 10:08
Well i have ordered a Laptop SODIMM which should have the right chip on it. If
i install it all ok. Will it still run as 32MB? Even though it has 64MB? Until
there is a SW version that will allow the 64MB?
Does snake OS check the CHIP IDs of the DDR chip? If so.. That will stop it all
together..
.
Original comment by drifttoy...@hotmail.com
on 20 Oct 2010 at 10:39
I think it should work, but show only 32MB (if not 64 MB).
Original comment by tadas.be...@gmail.com
on 20 Oct 2010 at 1:49
SODIMM has arrived. Contains 8 hynix HY5DU121622DTP-D43 chips. These are 32M X
16. Should be what we need. Now have to find time to do the upgrade!
Original comment by drifttoy...@hotmail.com
on 26 Oct 2010 at 8:52
Attachments:
Good news! Ram "Transplant" was successful! My "snazzy Nazzy" is now 64MB on
board. But as expected it only shows 32MB.
Not for the faint hearted.. You must have high soldering skills or experience
with SMD parts. (Or a friend that is). In the end i used a fine tiped soldering
iron, Lots of desoldering braid, 0.5mm solder with Crystil 511 flux + some X33
rework flux as well.
Is it possible for a mod to the SNAKE OS so it will detect the extra RAM?? Can
this be set to auto? So the same code will run on a "normal" 32MB version??
Untill then i can`t 100% confirm that it all works...
Thanks Guys (and Gals)!
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 7:45
Attachments:
[deleted comment]
[deleted comment]
[deleted comment]
Is this "chip detected bit" in a log file some were?? I`m not sure were to
look..
Can some one do a 64MB build for me? Sorry i`m more of a hardware guy.. not
software..
Thanks!
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 8:45
Naah, it wont help - the .config is hardcoded to 32M
I can compile you a 64M version (with 64M set) but I cannot guarantee it! (I
only have the 32M version)
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 8:57
Well better jump in some were! Gone to all the trouble of buying the sodimm and
doing the "transplant". Better go all the way :-)
Thanks for your help!
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 9:12
Here you go..
I compiled the 32M and it worked peachy..., here is the 64M one with one line
changed in the kernel config.
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 9:36
Attachments:
What will be if you enable both (set both 32M and 64M to yes)? :-)
Original comment by tadas.be...@gmail.com
on 28 Oct 2010 at 9:52
@todas,
That will cause a big problem... as the source has alot of #ifdef compilation
directives in it..
#ifdef DRAM_64M
memory= 64;
#endif
#ifdef DRAM_32M
memory= 32;
#endif
If you enable both, you will get the value from the LAST #ifdef and it will
overwrite what you are trying to achieve.
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 9:56
Understand. But maybe 64M will also work on 32M, need to try.
Original comment by tadas.be...@gmail.com
on 28 Oct 2010 at 10:30
it should be OK .. just need to recover from serial port if things go really
bad. (uboot should be running still afaik)
I only have one device so I am a bit reluctant as its currently streaming video
for the kids... (and I dont want to suffer the wrath of the little people) :)
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 10:37
Oh yes.. Kids will never let you live it down!
Well i will let you all know how it goes.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 11:05
Well it works! I haven`t tested everthing in it.. But loads fine. Says it has
64MB ram. Now will all that work to make it 64MB help? I presume now it will
use host ram before using swap? So since there is more.. It should run a bit
better?
Thanks guys for all your help!
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 11:28
Attachments:
zaclee... it will run a TON better! Linux now has space for caching and you
should see a vast performance increase.
The swapper is used when memory sectors are rarely used, but the kernel cant
remove them from memory... so it moves them to the swap-file... its a
LAST-RESORT and when a swap files are used, the performance takes a big hit.
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 11:40
I think i may have found some issues though...
It won`t mount either my USB stick (which i`m using for swap) Or my HDD on the
other USB port. Can i go back to a 32MB version? As long as it is "From Snake"
i presume it`s all cool? I did notice this 64MB version is 1.1.0, But the
version i was running before is 1.2.0
Any ideas??
Thanks,
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 11:48
Yeah, the 32MB version is OK in the _from_snake versions. I will revert to
original configs, but before you change, can you telnet to the box, plug in the
USB stick and type in dmesg a few seconds later.. want to see if USB is working.
The version I sent was 1.1.0 (as that is the only SDK that is available on the
web site to download)
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 12:01
I can see that the disks are connecting. It has their names and types listed.
But just won`t mount them. So i would say USB is working. I will telnet into it
if i can.....
But i can`t find a "From snake" version of 1.2.0 (well any for that matter).
They are all "From Original".
Unless i`m missing it....
Thanks for your help
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 12:16
telent to the device, and mount the disks manually
mount /dev/sda1 /usb/sda1 (think you might have to mkdir /usb/sda1 first
but you are right.. there are no from-snake files in the downloads directory..
I can only build a 1.1.0 image (32MB and 64MB version without my tweeks..
perhaps one of then is the problem you experienced, although the 32MB version
is OK on my side)
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 12:26
just to add...
can you do
cat /etc/fstab
and post it here ?
it will show me if the disks are mounted correctly
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 12:39
It won`t let me mount them manualy. Says "permission denied"
Could you attach a "from snake 32MB 1.1.0" bin to a message in here? I`ll try
it...
Info you wanted..
Linux version 2.6.16-gazineu (root@g61-laptop) (gcc version 3.4.6) #1 Thu Oct
28 10:27:39 BST 2010
CPU: FA526id(wb) [66015261] revision 1 (ARMv4)
Machine: STAR STR8100
Warning: bad configuration page, trying to continue
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
DMA zone: 16384 pages, LIFO batch:3
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 2, 16 byte lines, 256 sets
CPU0: D cache: 8192 bytes, associativity 2, 16 byte lines, 256 sets
PLL clock at 250MHz
CPU clock at 250MHz
AHB clock at 125MHz
APB clock at 62MHz
Built 1 zonelists
Kernel command line:
mtdparts=m25p80:256k(boot)ro,128k(config),960k(kernel)ro,2688k(initrd)ro,4032k@0
x0000(web),4032k@0x0000(flash) root=31:03 ro rootfstype=jffs2
PID hash table entries: 512 (order: 9, 8192 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62768KB available (1804K code, 161K data, 76K init)
Calibrating delay loop... 192.51 BogoMIPS (lpj=962560)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
PCI clock at 33M
PCI: bus0: Fast back to back transfers disabled
PCI Bridge not found
PCI map irq: 00:00.00 slot 0, pin 1, irq: 0
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
str8100_led_init: <6>Registered NAS 652 led device driver.
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
fuse init (API version 7.8)
fuse distribution version: 2.7.4
io scheduler noop registered
io scheduler cfq registered (default)
str8100_rtc.o: rtc module version 1.0.0
str8100_wdt.o: watchdog module version 1.0.1
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x78000000 (irq = 9) is a 16550A
serial8250: ttyS1 at MMIO 0x78800000 (irq = 10) is a 16550A
loop: loaded (max 8 devices)
Star NIC Driver(for Linux Kernel 2.6) - Star Semiconductor
rxring.vir_addr=0xFFC00000 rxring.phy_addr=0x003FF000
txring.vir_addr=0xFFC01000 txring.phy_addr=0x002EA000
Star Internal PHY
MAC Addr: 08:0a:0b:0c:0d:0e
star_nic_init_module: internal phy patch included.
star_nic_init_module: scatter/gather enabled.
STR8100 SPI: init
m25p80 spi1.0: m25p64 (8192 Kbytes)
Creating 6 MTD partitions on "m25p80":
0x00000000-0x00040000 : "BOOT"
0x00040000-0x00060000 : "CFG"
0x00060000-0x00150000 : "KERNEL"
0x00150000-0x003f0000 : "INITRD"
0x00000000-0x003f0000 : "WEB"
0x00000000-0x003f0000 : "ALL"
str8100-ehci str8100-ehci: str8100-ehci
str8100-ehci str8100-ehci: new USB bus registered, assigned bus number 1
str8100-ehci str8100-ehci: irq 24, io mem 0xcc000000
str8100-ehci str8100-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (STR8100)
str8100-ohci str8100-ohci: str8100-ohci
str8100-ohci str8100-ohci: new USB bus registered, assigned bus number 2
str8100-ohci str8100-ohci: irq 23, io mem 0xc4000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
usb 1-1: new high speed USB device using str8100-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
usb 1-2: new high speed USB device using str8100-ehci and address 4
usb 1-2: configuration #1 chosen from 1 choice
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi1 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
NET: Registered protocol family 2
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Vendor: TOSHIBA Model: MK2004GAL Rev: 0014
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Sony Model: Storage Media Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 39063024 512-byte hdwr sectors (20000 MB)
SCSI device sdb: 3917824 512-byte hdwr sectors (2006 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
SCSI device sda: 39063024 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda:<5>SCSI device sdb: 3917824 512-byte hdwr sectors (2006 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 1:0:0:0: Attached scsi removable disk sdb
sd 1:0:0:0: Attached scsi generic sg0 type 0
Empty flash at 0x00295aa4 ends at 0x0029fff0
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0029fff0: 0x1105
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0029fff4: 0xb4d8
instead
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing init memory: 76K
usb-storage: device scan complete
sda1
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
MAC Addr: ac:de:48:ff:9a:9d
eth0:star_nic_lan_open
star_nic_enable: starting patch check.
#
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 12:45
gimme 30 minutes... building from scratch :D
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 12:53
# cat /etc/fstab
/dev/ram0 / ext2 defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
#
Is that what you are looking for??
No rush.. I don`t need to use it any time soon :-). Do it tommorrow :-)
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 12:56
Doh! .. one comes in the SDK
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 12:58
Attachments:
drifttoy...@hotmail.com,
Can you sell me one chip? How much you want? I will pay for shipping. :-)
Original comment by tadas.be...@gmail.com
on 28 Oct 2010 at 1:16
I`ll send you a chip, if you pay for postage. I presume you can send me an
email though here some were??? Send me one and we can get it arranged. I`ll
probably send 2 chips.. In case one is faulty. Other wise you could buy the
same sort of DIMM from like ebay ect...
If anyone else wants to do dev work on a 64MB unit and has the skills, i`ll
send them a chip too. As long as they cover postage. As a last resort i *may*
consider moding units for people that live in AU.. But i make no promisses on
that.. For now i just want to get it all running and help Dev / people who can
DIY the 64 MB chip. 32M X 16 DDR 400 *IS* the correct chip by the way. Use the
data sheet of the hynix chips that were on my SODIMM for more info above. These
chips SHOULD be present on normal desktop ram as well.. I just haven`t looked
into it much...
D.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 1:32
This is ironic! I can't change the firmware because i don't have a nounted
drive avalible! Better work on this...
D.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 1:40
So connect with telnet and mount it by you hands.
mkdir /test
mount /dev/sdXX /test
Original comment by tadas.be...@gmail.com
on 28 Oct 2010 at 1:47
Tryed mounting manually in a few posts above.. Doesn`t work. I think i may be
stuck!!
D.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 2:14
Ammm, did you change XX to your connected device name? :-)
example: mount /dev/sda1 /test
when you connect usb mass storage device:
cat /proc/partitions
here you find all partitions and it's size in bytes, so then you will know what
you need to mount.
Original comment by tadas.be...@gmail.com
on 28 Oct 2010 at 3:46
Connect a serial port.. and then you should be able to get the TFTP boot and
flash via tftp
Otherwise you can make a fake directory (/usb/sda1) as you have plenty of RAM
for tmpfs
Original comment by tuxbox.g...@gmail.com
on 28 Oct 2010 at 4:49
Hey Drifttoy, I want to buy a chip from you! wanna play with my nas' guts too :D
Original comment by dar...@gmail.com
on 28 Oct 2010 at 7:10
@ Tadas
# mkdir /test
mkdir: cannot create directory '/test': Read-only file system
#
Can`t get that bit to work...
# cat /proc/partitions
major minor #blocks name
31 0 256 mtdblock0
31 1 128 mtdblock1
31 2 960 mtdblock2
31 3 2688 mtdblock3
31 4 4032 mtdblock4
31 5 4032 mtdblock5
8 0 1958912 sda
8 1 1958487 sda1
Now does that mean it IS mounted??? I`m getting very confused!
@ daraos : No worries, Just sent me an email :-)
D.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 8:03
# mkdir /usb/sda1
mkdir: cannot create directory '/usb/sda1': File exists
# mount /dev/sda1 /usb/sda1
mount: mounting /dev/sda1 on /usb/sda1 failed: Invalid argument
#
OK.. am i doing this correctly?? Seams i may be missing something...
D.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 8:09
Correct, I fogot that system is read only. Try mount it on empty folder, for
example:
mount /dev/sda1 /usb
also, check if sda1 partition is ext2 or ext3
cfdisk /dev/sda or fdisk /dev/sda, then letter p (to check if it is linux
partition)
and
mkfs.ext3 /dev/sda1 (if partition is not ext*) after that try to mount.
P.S. My device is now dead, so I can't remember everything.
Original comment by tadas.be...@gmail.com
on 28 Oct 2010 at 8:23
Well good news. Mounting to the USB dir worked, Still had to do it manualy.
upgrading to the 1.1.0 32MB software has been done. It did take ages for it to
do it. Now i can mount and unmount disks from within the SNAKE menu. For some
strange reason this didn't work in the 1.1.0 64MB Version.
Maybe some day some one will release a "From Snake 1.2.0 64 MB version". Or a
"From Snake 1.2.0 32 MB version".
Thanks for all your help guys!
D.
Original comment by drifttoy...@hotmail.com
on 28 Oct 2010 at 9:52
I will build another 64MB version without my USBFS changes in it - thats if
you want it (I did have some changes trying to make scanners work)
Original comment by tuxbox.g...@gmail.com
on 29 Oct 2010 at 7:43
Yes, That would be great! :-). Thanks for your help.
I`m not using a scanner or printer. Just FTP server and transmission. That's
it! (And USB stick for swap, HDD for files) I presume some one could do a 1.2.0
build (from snake) for 64 MB? Am i meant to contact some one about that?
I guess i better start pulling some more chips off the SODIMM for the emails
i`m sure i`ll soon start getting ;-). Be nice if i could find some cheap
SODIMMs!
I wonder how many people will do this mod? It`s not an easy one at all...
D.
Original comment by drifttoy...@hotmail.com
on 29 Oct 2010 at 8:14
here ye go... SnakeOS 1.1 with 64MB
Original comment by tuxbox.g...@gmail.com
on 29 Oct 2010 at 1:32
Attachments:
Original issue reported on code.google.com by
tadas.be...@gmail.com
on 19 Sep 2010 at 1:25