OpenWRT on NS-K330?

893 views
Skip to first unread message

Drnoone

unread,
May 6, 2011, 12:46:21 PM5/6/11
to DealExtreme NAS
Acording to these links, it seems that someone ported OpenWRT to
STR8132 based devices:

https://dev.openwrt.org/browser/trunk/target/linux/cns21xx/base-files/etc/uci-defaults/ns-k330?rev=24859
http://openwrt.pastebin.ca/raw/2033021

but, I couldn't find another info about that. If the network interface
problem is solved on openwrt we could adapt this to include the
SnakeOS features.

What do you think? Am I wrong?

Regards

ull

unread,
May 16, 2011, 2:04:32 PM5/16/11
to DealExtreme NAS
It works for me. It is officially not supported and there are no
prebuilt binaries on openwrt download site. You can compile the
firmare and apps yourself.
You have to set up the buildroot and get the trunk sources via svn.
Edit target/linux/cns21xx/Makefile and remove "broken" from FEATURES
or else this target platform (Cavium Networks CNS21xx) does not appear
in the make menuconfig.

As for flashing i think its simplest to upgrade NS-K330 to the newest
Snake-OS version first. After that you can copy kernel and rootfs
images from your buildhost to the device and flash them separatelly:
mtd openwrt-cns21xx-ns-k330-zImage kernel
mtd openwrt-cns21xx-ns-k330-root.squashfs rootfs

Its certainly not a stable solution. If you make some file changes
then it has sometimes problems writing them to the flash. I compiled
all my apps directly to the flash so i only have to make very few
modifications on the device itself and it is not a big problem for me.

Regards,
Ull

On 6 mai, 19:46, Drnoone <mdb...@gmail.com> wrote:
> Acording to these links, it seems that someone ported OpenWRT to
> STR8132 based devices:
>
> https://dev.openwrt.org/browser/trunk/target/linux/cns21xx/base-files...http://openwrt.pastebin.ca/raw/2033021

ull

unread,
Apr 30, 2013, 6:09:52 AM4/30/13
to dealextr...@googlegroups.com
Few corrections:

SnakeOS does not include mtd so you need to build a rootfs version first, boot it via tftp and then you can write kernel and rootfs to the flash with mtd command.

Also cns21xx in the Openwrt trunk is no more marked as broken, this is great!

mtd commands described below miss the write option. Right commands are:

mtd write openwrt-cns21xx-ns-k330-zImage kernel 
mtd write openwrt-cns21xx-ns-k330-root.squashfs rootfs


Regards,
Ull
Reply all
Reply to author
Forward
0 new messages