01-11-2011 03:29 AM - edited 01-11-2011 03:47 AM
I recently bought the Seagate NAS 110 and is very satisfied with it, but would like to be able to add functions to it. For example a torrent-client would be nice.
I've made a try to get a native tool-chain working for it, but it is just partly working for now. Has anybody else tried this? Any luck?
Either a native tool-chain using the device to build applications or a cross-tool chain which runs Linux on a PC would both be good enough I think.
The steps I've tried this far is:
1) Make the device is accessible via SSH by switching firmware.
2) Tried to follow these steps: LS-Pro_-_chroot_Arm_Build_Environment (made adjustments to exclude more dirs when copying the root under Transfer entire Linkstation system to build directory)
After executing chroot the gcc command works and give me feedback of missing files in the SSH-console. When trying to build a simple "hello world" problems shows up. When trying to build an even simpler empty program, even that give problems. The error I get is:
Connect2 cannot find 'ld'
After googling for a while I think I've found the problem, The SSH solution using DropBear have problems with GCC and paths, so by issuing the build as two separate commands it "works":
gcc -c hello.c
The file a.out is created but when run it gives a "segmentation error" back. Anybody knows how to fix this? Is it possible to run GCC correctly through DropBear?
Has anybody gotten ipkg running for NAS 110? And if so, which services/products are compatible with NAS 110 so we know which package-servers to connect to?
I keep on trying to get this to work so please give feedback on the above.
11-16-2011 07:51 PM - edited 11-17-2011 04:19 AM
I recently started working on building a toolchain for the BlackArmor 110 as well. I am not too far into the process but have been writing down what I have run into on a blog. If you want to follow or comment my progress, it is at http://michaelmcgarrah.blogspot.com.
Best of luck and I'd love to hear about any success you have.
11-17-2011 08:11 AM
I actually did not CHANGE the firmware but used a image-file that only updated a small part of the FW. Take caution to only use this on correct version of your firmware from the beginning. I'm not responsible for any problem that may occur to you but...
Here's a link to another post on this forum that mentions a solution that works for the NAS220 (big brother of 110) and also worked for several users of NAS110 including me.
Please read carefully and feedback after you tried. Either in this thread or maybe even better in the original thread. Be sure to report which firmware version you started out with. This may help new users trying out the same thing.
Also remember NOT to update your NAS110 after the SSH-fix. An update removes the SSH-access and I'm not sure if a fix actually works for later firmware. I decided to stick with the firmware that my NAS110 was shipped with to have SSH-access. This also means not having access to later fixes by Seagate, which for example includes DLNA-fixes for better usage with PS3 and much more.. Good luck!
11-17-2011 08:21 AM
Great news Mcgarrah,
I actually paused my tries with the 110 because of minimal Linux-knowledge but I probably can help out a lot with actual hardware knowledge being to interested Electronics/FPGA/Assembler/Embedded-hacker.
For example did you know the CPU on the NAS110 does NOT have any display-controller, but do have Audio-controller? This means that it could actually double as a InternetRadio/StremingRadio-unit if someone were to add Audio-connector+simple circuit and added drivers+program for Linux! :-)
My primary interest are the tool-chain and then being able to kick-start some nice programs as SVN-server, Torrent-client+web-interface and more.
I'll follow you on your site.
Let's keep in touch and help each other to achieve more great stuff for ourselves and other 110 users!
I'll private mess you my mail so we can keep in contact.
11-17-2011 09:00 AM - edited 11-17-2011 09:02 AM
Great to hear that someone else is working in the area on the BA-110. I'm less hardware and more software but I do have a soldering iron in my computer room. Good to know a hardware guy is out there. I'm looking at the serial/USB work and seeing if I can get a quick setup for that in case I need or want a serial console connection.
I saw the TDMI feature set for the ARM processor and that it could do audio and video processing and was intrigued. This processor also has the Jazelle feature set as well for java direct bytecode execution. This was a really feature rich processor in it's day. The Thumb-1 looks like the winner and appears to be supported in more recent compilers.
My first goals are to get a real openssh server (with sftp) running in there along and a fully functional rsyncd with an extension to the web-interface for configuration. Those seem like achievable goals and could be packaged for the existing firmware.
So my overall goal is to get a working toolchain that will work inside the existing firmware and allow drop-in feature updates that a user can pick and choose.