rogers0 / OpenLinkstation

Scripts to get root & bootstrap Debian onto Linkstation RAID/non-RAID models
GNU General Public License v2.0
61 stars 23 forks source link

LS-QVL device tree #3

Closed slumpz closed 9 years ago

slumpz commented 9 years ago

Can you please by chance create the dev tree (and maybe the whole patch) for LS-QVL, or at least give me some hints? Right now I don't understand the ocp@ and gpio part.

Thank you very much.

rogers0 commented 9 years ago

I'm sorry I don't have the device, so it's hard for me to do the real work. However, here's some ideas if I have chance to continue my work on new device:

slumpz commented 9 years ago

Thank you very much for your quick response.

Actually I had my box up and running Debian for a while now, however it is using buffalo kernel.

My goal is to build new kernel because I'm in need of using the tun/tap device, so I would like to know how to make dts/dtb for the box.

I have read your patch here https://github.com/rogers0/patchset/blob/master/linkstation/dts_wxl-wsxl-wvl-vl/0002-ARM-dts-add-buffalo-linkstation-ls-wvl-vl.patch but couldn't understand the part with pin control and gpio values.

So if you can give me some infos about that, that would be very great.

Thanks again.

rogers0 commented 9 years ago

Understand your situation.

For the pin value and gpio value, I have to admit only having limited knowledge. But it's quite related to the HW, to be specific, chipset, which should be defined in devel manual of the SoC.

I created the DTS by referring other kirkwood based device's DTS, and various patchset on various forum/BBS, merge them and try different combinations. The final result works perfectly on my boxes, but it was a hard work.

I still suggest you to try the ideas in previous post. Since you're already on a Debian system, you can simply install Jessie kernel + VL/WVL DTB. You can read "1_debootstrap/build_rootfs_with_buffalo-kernel.sh" and "lib/shell_lib" for clue. A more detailed instruction is upon request.

Actually, I think if you ONLY need tun/tap kernel module, you can simply compile it by using buffalo's kernel source. (http://opensource.buffalo.jp/ls-x-165.html) BTW. I use Debian because I rely on it's security updates (including kernel).

Good luck!

slumpz commented 9 years ago

Thanks much for your help. I really appreciate it. I hope I'll get good result with your clues.

Since this is not an issue, I will close this thread.