bodhi Wrote: ------------------------------------------------------- > bobafetthotmail, > > > but does that mean I can use a script to > control > > the fan by sending GPIO signals? > > > > I'm probably going to try. > > Yes, pls try. It should work to activate the MCU > with GPIO pins. I tried but the last command (write 0 to GPIO 1by bobafetthotmail - Debian
thanks for checking :) I don't know if I'm reading this correctly http://forum.doozan.com/read.php?2,16532,22608#msg-22608 but does that mean I can use a script to control the fan by sending GPIO signals? I'm probably going to try. Also, if pbg4 makes a patch I'm available for testing on the nsa310 (if needed at all). Sadly I'm little more than a tinkerer,by bobafetthotmail - Debian
I'm setting up a nsa310 atm (not a 310s), stock uboot, with kernel/rootfs version 3.17 (wheezy, need this for OpenMediaVault), I see that sensor module lm85 is loaded but I cannot get any reading about temp nor RPM and the fan spins at max speed. Any idea?by bobafetthotmail - Debian
You looked here? It seems he runs debian in them since 2013. http://jamie.lentin.co.uk/devices/dlink-dns325/ And here http://davidedg.github.io/NAS-DNS325-mod/by bobafetthotmail - Debian
osa Wrote: ------------------------------------------------------- > bobafetthotmail Wrote: > -------------------------------------------------- > ----- > > Does that erase stock firmware? > We have 2 copies of kernel/rootfs so it detects > which was used to boot and overwrite second copy Cool. Will definitely need to look into this. Why there are two copies? &by bobafetthotmail - Debian
Everything you said has been fixed in the new uboot. :) My script recognizes the NAS so I can add specific envs for nsa 310, 320 and 325 in the right NAS.by bobafetthotmail - Debian
>I skipped GPT limit by putting kernel and initram into NAND if disk is > 2TB Does that erase stock firmware? I don't want to do that as my script is aimed at less-savyy users, I want it to work as recovery. > I remember i was able to create lvm by hand and > was able to use it in OMV I was talking of using the webinterface. OMV can raid/partition only data drives. Dby bobafetthotmail - Debian
bodhi Wrote: ------------------------------------------------------- > bobafetthotmail, > > I've released a > new > u-boot for NSA325. It solved all little > problems that have been nagging us. That's nice. But you know I like things my way soooo.... :D ...could that be done with GPIO register modification too like the watchdog (sigh)? What GPIO number isby bobafetthotmail - Debian
Cool script, thanks. I thought GPT support was an issue of stock bootloader. Can stock bootloader boot from GPT disks now? (they disabled the watchdog in their u-boot a few firmwares ago, they enabled GPT booting now? What's next, dtb boot? ) NAND install is boss, but is a bit useless to me because there isn't enough space to store Debian + OpenMediaVault, and I'd rather keby bobafetthotmail - Debian
With stock Uboot you need to enable usb power first, or it won't find usb drives. add "mw.l f1010100 0020c000" to your usb bootcmd, this will power up USB. (it writes a command directly into the GPIO ram registers to enable USB power) Also you can use my automated install script, you can figure out how to have it install a standard Debian instead of my package with OMV incby bobafetthotmail - Debian
I uploaded keys that *should* theoretically work. If they don't, you will have to make them with instructions in "create salted checksums.txt" Due to OpenMediaVault limitations on disk partitioning (cannot change partitions on its own system drive), I modified the installer so you can only install Debian on a USB drive (so you can repartition/format the Sata data drives from OMby bobafetthotmail - Debian
I think yes. the space between the holes is indeed a bit more than 2 mm. (just checked) Might be a PITA to solder it without a hot-air station though. Why do you want to connect a Jtag? Better understanding of the SoC/box? Btw, a german guy seems to have installed (your) Debian + OMV successfully with my script, no watchdog in his box either. I hoped for a bit more volunteers for tesby bobafetthotmail - uBoot
meh, it would have been cooler if they left it active so we could have taken some credit for disabling it. :) Anyway, before putting my face on this I'm probably asking some brave volunteers to do the same tests I did. I have access to a relatively large pool of NSA325v1/v2 users at various skill levels in one of my favourite forums, I should be able to get at least one or two volunteersby bobafetthotmail - uBoot
@bodhi, assuming the MCU has visible pins and isn't a BGA you can get specsheets or carefully measure them with a multimeter and see what pins do the power-cut trick. If it works like a dumb switch you just need to short them (bypassing the MCU, that will happily trigger whenever it feels like it, but will no more have any effect). A more extreme measure or the only thing possible if itby bobafetthotmail - Debian
As said above, I can't activate the watchdog by any means. The only sign that it is still alive is that if I pull the power plug and then power up again the NSA325v2 starts up then reboots after a couple seconds. After it has booted once there is no way to get it to show up again. Here serial console log with some comments. __ __ _ _ | \/ | __ _by bobafetthotmail - uBoot
Thanks for the help! I was looking at the wrong address then... :/ Hmmm.... that's strange. After I switched back to stock u-boot I updated the firmware of the NSA325v2, now whatever I do the watchdog just gives the usual kick at startup (reboots after 2 seconds I powered it on). Otherwise it appears to be disabled. I tried with M = 0x4000, and also by copy-pasting the whole numberby bobafetthotmail - uBoot
not the full document, but did you see this? http://lacie-nas.org/doku.php?id=2big_nas#functional_specs the guy also cites a page number, maybe he has the docs.by bobafetthotmail - uBoot
Following a lead in a message left by the ALARM dev of the kirkwood kernel/u-boot, I would need some help to read GPIO registers in RAM so I can disable nsa325 watchdog with a mw from stock u-boot. I've seen around people using mw in u-boot envs to power up USB or to turn on leds, so I am hoping there is some method. I did try making mem dumps with LiME but i cannot get at these registby bobafetthotmail - uBoot
Cool. Thanks again :-Dby bobafetthotmail - uBoot
@ Johnny did you try what I said in post here http://forum.doozan.com/read.php?2,22241,22436#msg-22436 pengu Wrote: ------------------------------------------------------- > > some sites say that the NSA320S has 1,2 GHz and > 512 MB RAM > The oldest trick in the world, make devices with similar name but crappier hardware. Shops will keep using old description and will lby bobafetthotmail - Debian
Ok, thanks for the info. I'm trying anyway though. Can you tell me what is the command to kill the watchdog from Uboot? Any other info on how to make the uboot application is welcome, but I can probably find that on my own too.by bobafetthotmail - uBoot
Yes, I only need something I can place in a ext2 partition that can be used to disable the NSA325 watchdog before booting the kernel, without flashing a new Uboot. I don't like the idea of flashing a new Uboot and then its envs with a script run by a crappy firmware without human intervention and a serial connection. If my script fails no permanent damage is done (as even in worst case itby bobafetthotmail - uBoot
ok, what about the Uboot Standalone Application or Program? http://www.denx.de/wiki/U-Bootdoc/StandalonePrograms I have the "go" command in stock Uboot (to run such applications). I only need something to have the stock uboot write things to GPIO so it can disable the watchdog.by bobafetthotmail - uBoot
sounds like an issue like there was on NSA320, you had to write stuff to GPIO to have the ethernet come up again after a reboot. like described here about powering up the ethernet and/or WOL http://forum.doozan.com/read.php?2,12096,13404#msg-13404 In your case it may not be the same GPIO, I don't know how to check what it might be.by bobafetthotmail - Debian
PROJECT CANCELLED because the firmware and stock uboot are not reliable enough, the entire point of this was avoiding the need to install a new uboot and using a serial connection, but if it fails so often as reported (here and elsewhere) it's a waste of time and a danger for newbies. Links have been removed. Preserving the below post for posterity. I made an automated installer to instby bobafetthotmail - Debian
I did an automated installer script to install debian and OMV into Zyxel NAS boxes from nsa310 onwards. For nsa325 and the v2 it's not possible to disable reliably the watchdog without flashing your new uboot, and this is a bit of a problem for most of the intended audience of my installer. I was wondering how to make a Uboot I could chainload from the stock Uboot to deal with these thby bobafetthotmail - uBoot