Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 17, 2017 6:19 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Wed Aug 06, 2014 1:59 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
Hi guys,

I just thought that it would make sense to provide a full kernel source tree with patches for the LS-WVL.

It is based on various patches that I found online. Most importantly this:
http://hajduk.one.pl/Buffalo%20LS-WVL%2 ... 203.14-rc7

I then made some changes to it that I found to be necessary and/or useful.
A defconfig is provided, but you should keep in mind that you have to change it, in order to fit your needs.
Most importantly the default kernel commandline NEEDS to be checked.

The sources are hosted here:
https://github.com/ingmar-k/Buffalo-Lin ... 5-1-debian

EDIT:
Make sure to switch to the right branch for the LS-WVL, after cloning the git repo!


Edit:
Just updated the sources to 3.16-1:

https://github.com/ingmar-k/Buffalo-Lin ... 6-1-debian

Have fun! And a big THANKS to all people who provided patches, Information or any other form of help for this.

Regards

Ingmar :)


Top
   
PostPosted: Fri Aug 15, 2014 6:58 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
Updated the source to 3.16-1. See changes inserted above.


Top
   
PostPosted: Sun Aug 17, 2014 5:19 pm 
Offline
Newbie

Joined: Fri Jun 27, 2014 8:38 am
Posts: 23
Hello celemine1gig,

what would need to be done to add ls-wxl support to this? Is it (appart from cpu clock and 128MB instead 256MB ram) the same as the wvl stuff?


Top
   
PostPosted: Sun Aug 17, 2014 7:26 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
I don't know exactly. You would have to check the exact hardware specs and the original source code.
But generally it is quite easy to add support for Kirkwood based machines, as Long as they don't have any fancy special hardware included.


Top
   
PostPosted: Sun Aug 17, 2014 7:30 pm 
Offline
Newbie

Joined: Fri Jun 27, 2014 8:38 am
Posts: 23
So creating /arch/arm/boot/dts/kirkwood-lswxl.dts starting from your lswvl-version and that should be "about it"?

Still trying to figure out where to get the entries; the "old way" seems to have been to create a custom setup-function in /arch/arm/mach-kirkwood

Well, first tries aren't working yet :roll:


Top
   
PostPosted: Sun Aug 17, 2014 8:00 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
Have a look here for the device tree support changes for the ls-wvl:
https://github.com/ingmar-k/Buffalo-Lin ... c4da2532f2

And to get to know what to do to get a system supported the old way (non-device tree), just have a look at the LS-XL v3 support, here:
https://github.com/ingmar-k/Buffalo-Lin ... 79b390118f


Top
   
PostPosted: Sun Sep 21, 2014 3:28 pm 
Offline
Newbie

Joined: Sun Sep 21, 2014 3:23 pm
Posts: 6
I've been trying to upgrade the kernel on my NAND-less ls-wvl for about 2 weeks now, without success, despite having read everything on these pages. Any tips on how to compile this for my box? I've previously tried following this http://pastebin.com/H6rEZ5ge and this http://hajduk.one.pl/Buffalo%20LS-WVL%20kernel%203.11.10/ without success. On the other hand, I'm now an absolute PRO with bricking my NAS and getting debian back on.


Top
   
PostPosted: Sun Sep 21, 2014 7:04 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
There are some pitfalls when trying to run a mainline Kernel on these Linkstation.

The most important one is the U-Boot environment variable "mainlineLinux".
By default it is set to "no", which means that only non-mainline Linux kernels can be booted successfully.

NOW, if you want to run a mainline Kernel, you absolutely HAVE TO set this to read "mainlineLinux=yes". From the U-Boot prompt this is done by issueing a "setenv mainlineLinux yes". If you want to set it permanently (be sure that you know what you are doing), then run a "saveenv" to save it to flash.

I would not recommend to do any kernel tinkering on these Linkstations without access to the serial console! :!: :!: :!:


Top
   
PostPosted: Sun Sep 21, 2014 8:01 pm 
Offline
Newbie

Joined: Sun Sep 21, 2014 3:23 pm
Posts: 6
Thanks for the reply, celemine. I think the key phrase you used was that you 'have to know what you're doing'. I wholeheartedly admit that I do *not*. I'm the worst kind of linux-tinkerer; self-taught, only have time late at night or on weekends, and just enough knowledge to shoot myself in the foot over and over, lol. For instance, I have no idea what/where the U-boot prompt is, lol. The only reason I've been trying to get the mainline kernel installed is because I'd like to see if I can get openmediavault running on the linkstation, which is based on debian.

What's frustrating to me is that everyone is reading these instructions on the forums and reporting success in updating the kernel, whereas I get a nice steady blue light, but no ssh access. Grrr!


Top
   
PostPosted: Sun Sep 21, 2014 8:07 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
Well, I am a embedded developer and do this stuff in my free time, mostly for fun. ;)

Unforunately I don't always have the time to really document the necessary steps as good as I would like to.

That mostly is the reason why it is pretty hard to get anything running on those devices. As I said, I would like to do it better, but who has the time? :(
I'll see what I can do.


Top
   
PostPosted: Sun Sep 21, 2014 8:10 pm 
Offline
Newbie

Joined: Sun Sep 21, 2014 3:23 pm
Posts: 6
Lol, I'm a bankruptcy attorney. But I'm also a *NERD*.


Top
   
PostPosted: Tue Nov 11, 2014 11:54 pm 
Offline
Total Newbie

Joined: Fri Sep 02, 2011 9:38 am
Posts: 3
mfritschewxl wrote:
So creating /arch/arm/boot/dts/kirkwood-lswxl.dts starting from your lswvl-version and that should be "about it"?

Still trying to figure out where to get the entries; the "old way" seems to have been to create a custom setup-function in /arch/arm/mach-kirkwood

Well, first tries aren't working yet :roll:

Would this http://www.spinics.net/lists/arm-kernel/msg331785.html
help.
Stumble upon it in my quest to use some old patches on new kernels for LS-WXL.


Top
   
PostPosted: Wed Nov 12, 2014 11:16 pm 
Offline
Newbie

Joined: Tue Apr 08, 2014 3:23 pm
Posts: 14
Not really.
The patchset just removes part of the kirkwood definitions in the kernel code, that were no longer needed.
The device tree behaviour and everything is still the same. It just has the effect that some dependencies were removed and some other small changes were needed.
That is to say:
If you had a working device tree "dts" file before, it will probably still work now, without any changes.

BTW, I was recently working on 3.17 kernel source, that will include both LS-WVL and LS-XLv3 via device tree files.
Have it working already, but did not yet have enough time for final testing and squashing of the last bugs/quirks.


Top
   
PostPosted: Fri Nov 21, 2014 2:40 am 
Offline
Total Newbie

Joined: Fri Nov 21, 2014 2:38 am
Posts: 1
How can I enable Ntfs-3g on kernel config


Top
   
PostPosted: Fri Nov 21, 2014 7:13 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
do not enable it

maximum speed on ARM9 ist 5MB/s writing on ntfs


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 15 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited