Differences
This shows you the differences between the selected revision and the current version of the page.
software:kernel 2007/11/22 17:12 | software:kernel 2017/09/06 18:38 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linux Kernel on the DNS-323 ====== | ====== Linux Kernel on the DNS-323 ====== | ||
- | |||
Line 16: | Line 15: | ||
| LEDs | ''ioctl(egiga0,...)'' | ''/sys/class/leds/...'' | | | LEDs | ''ioctl(egiga0,...)'' | ''/sys/class/leds/...'' | | ||
| Key Buttons | ''ioctl(egiga0,...)'' | ''/dev/input/...'' | | | Key Buttons | ''ioctl(egiga0,...)'' | ''/dev/input/...'' | | ||
+ | |||
===== Mainline Sources ===== | ===== Mainline Sources ===== | ||
As the ''orion.git'' is in the progress of being prepared for merging into Linus' mainline repository, if you want to play with the current source base you'll have to | As the ''orion.git'' is in the progress of being prepared for merging into Linus' mainline repository, if you want to play with the current source base you'll have to | ||
- | checkout the [[http://git.kernel.org/?p=linux/kernel/git/nico/orion.git;a=summary|git://git.kernel.org/pub/scm/linux/kernel/git/nico/orion.git]] repository. | + | checkout the [[http://git.kernel.org/?p=linux/kernel/git/nico/orion.git;a=summary|git://git.kernel.org/pub/scm/linux/kernel/git/nico/orion.git]] repository. Note: the 'for-rmk' branch of this git repository was merged into the Linux 2.6.26 kernel on Fri May 9 23:24:09 2008 +0100. |
And you might want to apply the following [[http://wwwhephy.oeaw.ac.at/u3w/r/riedel/www/dns323/|DNS-323 add-on patches]] not yet merged yet, if you want full support for additional devices found on the DNS-323. | And you might want to apply the following [[http://wwwhephy.oeaw.ac.at/u3w/r/riedel/www/dns323/|DNS-323 add-on patches]] not yet merged yet, if you want full support for additional devices found on the DNS-323. | ||
+ | ===== Problems ===== | ||
+ | |||
+ | |||
+ | There seems to be a cache coherence issue with L2 cache. | ||
+ | |||
+ | http://lists.infradead.org/pipermail/linux-arm-kernel/2009-December/005589.html | ||
+ | |||
+ | http://lists.infradead.org/pipermail/linux-arm-kernel/2009-December/005626.html | ||
+ | |||
+ | |||
+ | ====== NetBSD on the DNS-323 ====== | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | The usual disclaimer applies. If you brick your device it is your fault 100% of the time. This page describes what has always worked for my DNS 323 hardware. | ||
+ | |||
+ | NetBSD was ported by Kiyohara in 2007 but is not yet part of the official tree so you have to get current and patch it. The patches are in http://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas. | ||
+ | |||
+ | The entire NetBSD distribution can be built using a Linux box so there is no need to switch from your favourite OS. The build.sh script that comes with the NetBSD sources builds everything or just the cross-compiler or just the kernel depending on the arguments passed to it. | ||
+ | |||
+ | I will focus on building the kernel and the cross compiler for now. Once the kernel is built you could save time by downloading userland from the netbsd.org because all little-endian arm boards share the same binaries. The final result is going to be a standard NetBSD installation (like the one on a PC) except that this one runs on ARM. That is how my setup is but you can do whatever you want obviously. | ||
+ | |||
+ | |||
+ | ===== The dmesg ===== | ||
+ | http://embedexpert.blogspot.com/2008/08/dns323-dmesg-output.html |