Memesa Wrote: ------------------------------------------------------- > After my NSA320 failed to start davygravy's > package because of a superblock error (was running > for a year or so with this config), I just > installed tld3. It really works like a charm. > Thanks so much for the effort of making this > available! > The package also felt a little less finicby bodhi - Debian
Buttzy, Can you pm me the mtd0 dump, or upload it somewhere? I'd like to take a look at the binary. Thnx.by bodhi - Debian
Buttzy, Regarding the uBoot dump (http://forum.doozan.com/read.php?2,12096,14462#msg-14462). The dump is more than what uBoot image is (should be only 512K). If Marvell padded it then it is 512K, if not then we don't really know the exact size. Have you tried to boot UART with Davy's uBoot image?by bodhi - Debian
It is normal. The USB device detected was the hub. UBI error is normal too, since it tried to use mtd3. Everything looks OK. Also look in dmesg to see if there is any error.by bodhi - Rescue System
To answer SoL question: QuoteShould I expect drive and panel leds to work? on the power button and led just below that are on. power = blue and system status or led just below power is orage and usb is green when I have a usb device plugged in. See LED controls in /etc/rc.local, and /etc/rc0.d/K07halt. For NSAxx LEDs control, see posts by pbg4 in this thread: http://forum.doozan.com/rby bodhi - Debian
Please post in this thread http://forum.doozan.com/read.php?2,14351 for NSA325 related stuff. We are OT for a while, it's hard to find some posts that burried under on-going working topic such as NSA3xx boxes.by bodhi - Debian
@WarheadsSE, Davy's uBoot is based on: https://github.com/psch2/uboot-nsa320 He mentioned that in this thread: http://forum.doozan.com/read.php?2,7806 I have not tried to compile it. Davy said he added some patch and turned on some scripting capability. But we don't have his patch, so getting Peter's Git source is still not quite exactly the same version that people havby bodhi - Debian
Rainer, Download the latest roofs (link in my signature). Put it on Usb thumb drive. Boot with it and then mount the rescue rootfs. Chroot in and change password.by bodhi - Rescue System
Good works Buttzy! Please keep NSA325 discussion in this thread.by bodhi - Debian
Look at Davygravy NSA320 thread for newer uBoot. Stock uBoot does not have netconsole. May I suggest we move this to a different working thread for NSA325?by bodhi - Debian
Ah! OK. 1. Arch installation is 2 partitions, partition 1 is Ext2, partition 2 is Ext3. So it assumes that you use the rootfs HDD at a certain slot that would make it sda. Therefore, the first partition is sda1 and second is sda2. If you are going to boot with HDD then: - extract Debian rootfs to the 2nd partition - copy Debian rootfs /boot directory (entire directory) from second partitiby bodhi - Debian
bodhi Wrote: ------------------------------------------------------- > SoL, > > I forgot! execute these commands in uBoot also to > list which uBoot version, and what command it > provides: > > version > help > > - Does it have usb start? > - Why is your root set to /dev/sda2 ? Also, if you want to boot SATA then just use what Buttzy has for thosby bodhi - Debian
SoL, I forgot! execute these commands in uBoot also to list which uBoot version, and what command it provides: version help - Does it have usb start? - Why is your root set to /dev/sda2 ?by bodhi - Debian
What is your output of printenv?by bodhi - Debian
Just use one Ext2 partition, make it simple. Get it working first, then worry about other things.by bodhi - Debian
StephenR0, Thanks for a testing with this SSD. I agreed, it seems uBoot has problem reading Sandisk SSD descriptor. I looked at uBoot code for this process, and it is a common function for all SATA. I have some idea how to test/fix this, but atm I don't have the same SSD to test with. Newegg's sale price is quite good for a 32GB SSD (30 USD) so I'm ordering one to use as boot drby bodhi - uBoot
Buttzy, What gaogao found was only LED trigger ide-disk1 or ide-disk2 works for both drives. I don't know if the NSA3xx SATA port numbers have anything to do with it. On the GoFlex Net it works correctly.by bodhi - Debian
SOL, See how Buttzy got it working with my rootfs Debian installed on HDD in the sticky thread here (should read a few posts before and the rest): http://forum.doozan.com/read.php?2,12096,14406#msg-14406 I'd suggest you use serial console, and set uBoot envs using setenv, and test booting Debian. Don't do saveenv while you are in uBoot command line. After you've satisifiedby bodhi - Debian
Restamp is right: that the current uBoot does not understand 3TB drive. To use it with this uBoot, one must format it as a hybrid MBR. So 2 partitions, a small one and a larger one. uBoot will only see the 1st one, and the kernel will see both. I guess that's what isptrader tried to do. The new uBoot I built recently can boot a 3TB GPT drive, but it needs to be flashed manually in Linux oby bodhi - uBoot
Did you try both SATA slots? (in the past, the GoFlex Net had problem booting on the left slot, but I have not tried to verify it lately). I normally use the right slot. Also please post the model number here!by bodhi - uBoot
StephenR0 Wrote: ------------------------------------------------------- > I can't find any ide commands in this uBoot. I'm > trying to boot from an SSD on a sata interface. > Can this uBoot do that? Yes it can. But you have to use the image for your box, which box?by bodhi - uBoot
SomeoneOnLine Wrote: ------------------------------------------------------- > So I got my hands on a cp2102 usb uart cable but > when I broke it open I noticed that the red wire > is soldered to the 5v pin in the usb plug. Will > that fry the controller on my nsa325? My usb cable > only has 4wires on it. > > Thanks > > ~sol Don't connect power! Theby bodhi - Debian
Ah! of course you're right :) yes. BTW, some people reported that the ide-disk1 and 2 did not work for them (I think gaogao). So, it'd be good to see the actual HDDs triggers in action, when you have the 2 disks connectecd.by bodhi - Debian
It also has /sys/class/leds/nsa320:green:sys/trigger, see this post: http://forum.doozan.com/read.php?2,12096,13642#msg-13642 And that's where I think we should use echo to control the LEDs for individual HDDs.by bodhi - Debian
Buttzy, It's great to break new ground :) What about the system LEDS constrol? (not hdd1 or hdd2). See pbg4 posts in this thread. It should show ide-disk1 and 2 also. I build kernels natively using a mini-farm (1 GoFlex Net and 3 Pogoplug E02 nfs cluster). Just the standard commands (make-kpkg, and the rest) to build and use distcc to distribute the load. Another note: I stillby bodhi - Debian
You're the first to get the NSA325 to boot on Debian 3.12.x that I knew of :) Awesome! The key point is setenv bootcmd_linux 'setenv bootargs $(bootargs_linux); usb reset; ext2load usb 0:1 $(loadaddr) /boot/uImage; ext2load usb 0:1 0x01100000 /boot/uInitrd; bootm $(loadaddr) 0x01100000' So you can adjust this address if uBoot ever have problem loading the kernel and initrdby bodhi - Debian
Rootfs Debian-3.12.0-kirkwood-tld-3 was uploaded. Please see 1st post for download link.by bodhi - Debian
Buttzy, Did you check to see if the NSA has UART booting (bootROM v 1.21): http://forum.doozan.com/read.php?3,7852 The nanddump could just be: nanddump -nof uboot.mtd0.bak /dev/mtd0 Or you could use Davygravy's image, too in this thread http://forum.doozan.com/read.php?2,7806 This command is correct (if the image is ready-for-NAND format, then -p must be used for kwboot toby bodhi - Debian
Buttzy, Do you have serial console connected? it's best to do that before you play with uBoot envs. The stock uBoot does not have netconsole. That loadaddr I believe is where stock uBoot load the kernel uImage (that's how I understood WarheadsSE set it up so users can restore to stock easily). I don't have the NSA325, so I can help you but it must be done with serial console.by bodhi - Debian