Debian Squeeze/Wheezy on NSA-310

Marvell Kirkwood based
Post Reply
DesertF0x
Posts: 25
Joined: Fri Aug 31, 2012 9:46 pm

Re: Debian Squeeze/Wheezy on NSA-310

Post by DesertF0x » Fri Mar 06, 2015 11:54 am

Have you tried to find the kernel in the firmware package?

TheBestIsaac
Posts: 7
Joined: Sun Oct 12, 2014 7:03 pm

Re: Debian Squeeze/Wheezy on NSA-310

Post by TheBestIsaac » Fri Mar 06, 2015 2:33 pm

Hi DesertF0x, thanks for your reply!

Actually, yes, I was able to extract the two gzipped blocks as Mijzelf described in this post.
I've got a ~8MB file which according to Mijzelf is the kernel. I also wrote that file to the NAND at 0x4640000 just like I earlier did with the linux kernel from this tutorial. But when the device tries to boot this is the output:

Code: Select all

NAND read: device 0 offset 0x4640000, size 0xa00000

Reading data from 0x503f800 -- 100% complete.
 10485760 bytes read: OK
## Booting image at 02000000 ...
Bad Magic Number
So I guess that was wrong. But from here on I'm lost; I don't know whether I have to extract other files from this kernel file and what to do with it.

It would be really great if you or someone else could give me some hints to the right direction.

Thanks again!

DesertF0x
Posts: 25
Joined: Fri Aug 31, 2012 9:46 pm

Re: Debian Squeeze/Wheezy on NSA-310

Post by DesertF0x » Fri Mar 06, 2015 2:36 pm

Maybe I find time to look at my original NAND during the weekend, but I can not promise you that.

TheBestIsaac
Posts: 7
Joined: Sun Oct 12, 2014 7:03 pm

Re: Debian Squeeze/Wheezy on NSA-310

Post by TheBestIsaac » Fri Mar 06, 2015 2:37 pm

Ok, thank you anyways!

noonecanhide
Posts: 1
Joined: Thu Jun 25, 2015 10:41 am
Location: Munich

Re: Debian Squeeze/Wheezy on NSA-310

Post by noonecanhide » Thu Jun 25, 2015 11:11 am

If anyone is interested, i recompiled the 3.5.1 kernel from OP (peeter123) with support for Extended ACL, XATTR, NFS and Disk Quotas for use with OpenMediaVault. Seems fine, running for 2 days and copied 1.2 TB of data over SMB with no problems. Maybe i'll look at newer kernel versions, but for now i want just my NAS back online ;)

Download here: 3.5.1 NSA310 Kernel for squeeze/wheezy with extended FS support

as usual

Code: Select all

#include <standard_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the system failed. Please
 * do some research if you have any concerns about features included in this Kernel/OS
 * before flashing it! YOU are choosing to use these modifications upon your own choice, and if
 * you point the finger at me for messing up your device, I'll just sit and laugh at you.
 */

sc0ty
Posts: 1
Joined: Sun Jul 19, 2015 9:56 am
Location: Poland
Contact:

Re: Debian Squeeze/Wheezy on NSA-310

Post by sc0ty » Sun Jul 19, 2015 10:31 am

I've build kernel 3.18.18 (latest longterm from Linus tree) for my NSA310. For anyone interested, here is config and scripts to cross compile - https://github.com/sc0ty/nsa310-kernel, and here is uImage and modules:
http://sc0ty.pl/files/nsa310-linux.3.18.18.tar.xz
http://sc0ty.pl/files/nsa310-linux-3.18.18.tar.xz.md5

It has hardcoded commandline params (console=ttyS0,115200 root=/dev/sda3), because uboot params are not passed to this kernel for some reason. So if you like to have your root partition somewhere else, you must rebuild it, sorry.

It has enabled NFS and CIFS support. Also HDD led patch from Richard Purdie is applied, but not network led patch because it crashed my device.

dietgert
Posts: 3
Joined: Sun Aug 30, 2015 5:44 am
Location: Germany

Re: Debian Squeeze/Wheezy on NSA-310

Post by dietgert » Tue Sep 01, 2015 8:23 pm

Need Help..

tried an install as described at the first page.
Preparations were no problem, the installer started to the ssh login.
After that, i`ve got the problem: i could choose an install-server but on every server there was a break - at last when the bootstrap package was received.
Some servers presented a menu for choosing the wished release, so i dont think this was a general network failure.
Choosing different releases / servers - the problem remained.
What can i do now?

Thanks for any useful hint,
Mario

myckei
Posts: 1
Joined: Mon Nov 16, 2015 9:10 am

Re: Debian Squeeze/Wheezy on NSA-310

Post by myckei » Mon Nov 16, 2015 9:14 am

Hello.

Solution in this problem is quite easy, but I have spent with it many hours :-)
When you select installation mirror for packages, choose manual server and type this: archive.debian.org.
After that, installer will be able to download all needed packages without any problem.

Hope, this will help.

bttd
Posts: 3
Joined: Mon May 16, 2016 9:49 am

Re: Debian Squeeze/Wheezy on NSA-310

Post by bttd » Mon May 30, 2016 7:35 am

sc0ty wrote:I've build kernel 3.18.18 (latest longterm from Linus tree) for my NSA310. For anyone interested, here is config and scripts to cross compile - https://github.com/sc0ty/nsa310-kernel, and here is uImage and modules:
http://sc0ty.pl/files/nsa310-linux.3.18.18.tar.xz
http://sc0ty.pl/files/nsa310-linux-3.18.18.tar.xz.md5

It has hardcoded commandline params (console=ttyS0,115200 root=/dev/sda3), because uboot params are not passed to this kernel for some reason. So if you like to have your root partition somewhere else, you must rebuild it, sorry.

It has enabled NFS and CIFS support. Also HDD led patch from Richard Purdie is applied, but not network led patch because it crashed my device.

Hi,

I build the 3.18.25 kernel, now how can i install it? I just need overwrite the exiting uimage file, and where i need to copy the modules?

Can i upgrade to jessie with 3.18.25 kernel?


Update: What about this? http://forum.doozan.com/read.php?2,12096

nicnec
Posts: 6
Joined: Thu Nov 29, 2012 2:56 pm

Re: Debian Squeeze/Wheezy on NSA-310

Post by nicnec » Wed Jul 27, 2016 1:31 pm

How to go back to the original software Zyxel. Thank you!

nicnec
Posts: 6
Joined: Thu Nov 29, 2012 2:56 pm

Re: Debian Squeeze/Wheezy on NSA-310

Post by nicnec » Mon Aug 01, 2016 5:21 pm

nobody even knows?

Post Reply