Serial install problems on NSA310

I don't think the uboot can use network (tftp) on nsa310 as it has an external network chip and bodhi (he made the uboot also OpenWrt uses) never fixed that. Openwrt can use the network chip so this is a problem only when installing the first time and you are using uboot.

I didn't know the uboot in OpenWrt has no ide command. The only option for you is installing bodhi's uboot then. Use his uboot and follow the tutorial on the nsa310b page in the wiki.

Unfortunately, bodhi uboot ide is broken :confused: when I try use is command, I have "?" - disk isnt recognized correct:

NSA310> ide reset

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?� Firm: ?�?�?�?� Ser#: ?�?�?�?�?�?�?�?�?�?�
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 427923841.5 MB = 417894.3 GB (4611474908973580287 x 512)

Proper is(my backuped uboot):

NSA310>> ide reset

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: CT120BX300SSD1                           Firm: M2CR010  Ser#: 1743E10589E1        
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)

So if there isnt any other option to install openwrt without usb, i give up for now. Maybe openwrt uboot will be have in future ide.

i made dump of my old uboot so i can back and restore it (ide command works there).
But now i have problem too...

NSA310>> ide reset

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: CT120BX300SSD1                           Firm: M2CR010  Ser#: 1743E10589E1        
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)

NSA310>> fatload ide 0 0x1000000 mtd0.kwb
reading mtd0.kwb

1048576 bytes read
NSA310>> nand erase 0x0 0x100000

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK
NSA310>> nand write 0x1000000 0x00000 0x100000

NAND write: device 0 offset 0x0, size 0x100000
 1048576 bytes written: OK
NSA310>> reset

After reset, my nas didnt boot (5 orange leds). So i dont know if that ide command works property. Everything i do as on tutorials, but nas didnt boot. What I doing wrong? now I want to go back to stock...

System when i boot it via serial and kwtool boot normally without stop bootloader... I dont know if i put uboot correctly.

after you flash uboot and reset you should pull power plug to make sure all is powered off, like when you kwboot. I had similar issues where the system did not like a warm reboot after uboot update.

If it still does not work, I will add ide to OpenWrt uboot (it is just a yes/no selection, it's fast to do) and compile it so you can flash it.

This is all I can do, sorry.

If bodhi's uboot does not see the hard drive in your device you can also ask him in his forums.

Thank You for you time and help. I will check it later/tomorrow and will write results.
But if I recover my nas with my backuped mtd0 (so make sure that all is working), i will ask you to put ide to openwrt uboot and try install it by ide. I would like have openwrt on my injured nas :slight_smile:

I checked now, and "cold reset" doesnt help.

It looks like my nand didnt write uboot.. There is any way to check if nand is write ok? For example make dump mtd0 after kwboot and full boot and check md5 or sha256 with my backup?

If it isnt to much work for you, please prepare for me openwrt uboot with ide, i will check it, and this will be probably last thing to do... :frowning:

After 10 times writing my dump, finally its working. Last time i formated my hdd from fat32 to fat16 and made only one 3GB partition... I dont know if it was help or maybe I have more luck on tenth attempt.

Now i know that i can use ide to flash my nas.

@bobafetthotmail If you proposition is still active, please prepare for me uboot with ide :slight_smile: I will be very grateful.

Ok, compiled and tested on my nsa310, ide command works and sees the drive
Use the u-boot.kwb file from this zip
https://mega.nz/file/GqBFCaDY#L9LlBfBQk6sAE-362J4i_ZqmO1dWaUNj7YP9Vq3AA2Q
try with kwboot first to see if ide works correctly on your device, if all is good you can flash it.

1 Like

Thank You so much @bobafetthotmail my 310 have now openwrt :slight_smile:

bodhi's uboot was ok too. Problem was with my ssd, it was wrong recognize... I put another hdd (older) and was ok. Same was with your uboot too. There was "?�" on sdd, but hdd install uboot, and openwrt.

So i can confirm that with ide openwrt can be installed. IDE should be enable in uboot by default :slight_smile:

There is a hope for people without USB :slight_smile:

1 Like

yeah I'll send a PR to and enable ide support in all kirkwood uboot built by OpenWrt now.

1 Like

A post was split to a new topic: Unbricking NSA310S after I flashed the wrong U-Boot

A post was merged into an existing topic: Unbricking NSA310S after I flashed the wrong U-Boot