Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
84
Issues
84
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
d5ff3cba
Commit
d5ff3cba
authored
Oct 28, 2016
by
Federico Vaga
Committed by
Adam Wujek
Dec 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: update doc about kernel and modules
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
6b6075a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
25 deletions
+15
-25
wrs-startup_guide.md
doc/startup-guide/wrs-startup_guide.md
+1
-1
wrs-developer-manual.in
doc/wrs-developer-manual.in
+14
-17
wrs-todo.in
doc/wrs-todo.in
+0
-7
No files found.
doc/startup-guide/wrs-startup_guide.md
View file @
d5ff3cba
...
...
@@ -727,7 +727,7 @@ Specification
| **I/O** | 32bit Async Bridge with FPGA\ |
| | 100Base-T Ethernet |
+--------------------+-------------------------------------------------+
| **OS** | Linux (Kernel v
2.6.39)
|
| **OS** | Linux (Kernel v
3.16.37)
|
+--------------------+-------------------------------------------------+
...
...
doc/wrs-developer-manual.in
View file @
d5ff3cba
...
...
@@ -736,31 +736,26 @@ in two lines with a local variable to fit the page with in documentation):
@node The Linux Kernel
@subsection The Linux Kernel
The kernel is currently version
2.6.39
, compiled from an uncompressed
The kernel is currently version
3.16.37
, compiled from an uncompressed
tar file (so not within a @i{git} repository). The upstream
vanilla kernel is downloaded, then
local patches are applied (they come from a @i{git}
repository, but they are currently applied with a simple @i{patch}
command).
The relevant patches are available in @i{patches/kernel/v
2.6.39
},
The relevant patches are available in @i{patches/kernel/v
3.16.37
},
and are currently the following ones:
@example
0001-wrs3-changes-to-g45ek.patch
0002-initramfs-stop-after-one-cpio-archive.patch
0003-at91-NR_IRQS-increase-by-64-to-fit-custom-muxes.patch
0004-irq-export-symbols-for-external-irq-controller.patch
0005-Change-Vbus-pin.patch
0006-arm-fiq-allow-modules-to-exploit-the-fiq-mechanism.patch
0007-mtd-nand-sam9g45-can-hwecc-like-9263.patch
0008-wrs3-use-correct-nand-partitioning.patch
0009-at91-udc-force-full-speed.patch
0010-sam9m10g45ek-for-wrs-new-partitioning.patch
0011-sam9m10g45ek-for-wrs-final-partitions-for-V4.1.patch
0012-sam9m10g45ek-for-wrs-more-relaxed-nand-timings.patch
0013-mtd_dataflash-Read-EDI-JEDEC-to-support-AT45DB641E.patch
0014-sam9m10g45ek-for-wrs-provide-bootcount-using-scratch.patch
0001-initramfs-stop-after-one-cpio-archive.patch
0002-arm-fiq-allow-modules-to-exploit-the-fiq-mechanism.patch
0003-mtd_dataflash-Read-EDI-bytes-in-JEDEC-to-support-AT4.patch
0004-wr-switch-sam9m10g45ek-enable-FPGA-access-from-EBI1-.patch
0005-wr-switch-sam9m10g45ek-change-USB-vbus_pin-from-PB19.patch
0006-wr-switch-sam9m10g45ek-store-device-partitioning.patch
0007-wr-switch-sam9m10g45ek-more-relaxed-nand-timings.patch
0008-wr-switch-sam9m10g45ek-provide-bootcount-using-scrat.patch
0009-wr-switch-at91-udc-force-full-speed.patch
@end example
The configuration we use to build the kernel is not a patch but a plain
...
...
@@ -797,7 +792,7 @@ Currently, the package includes the following modules:
@itemize @bullet
@item @i{
wr_
vic.ko}: the interrupt controller for in-FPGA devices.
@item @i{
ht
vic.ko}: the interrupt controller for in-FPGA devices.
@item @i{wr-nic.ko}: the network ``card'' driver for WR ports.
@item @i{wr_rtu.ko}: the routing-table interface between the
switching core and the associated user-space daemon.
...
...
@@ -812,6 +807,8 @@ This is considered acceptable, because system time is only
used for logging.
@item @i{wrs_devices.ko}: a dummy module that register our platform devices.
@end itemize
@c --------------------------------------------------------------------------
...
...
doc/wrs-todo.in
View file @
d5ff3cba
...
...
@@ -141,13 +141,6 @@ waiting for the boot loader to be sent to RAM from USB.
@itemize @bullet
@item 2.6.39 is pretty old nowadays. We should move to a recent kernel.
Unfortunately this means writing the ``device tree'' crap for our board,
as everything nowadays is device-tree-based. Which in my opinion has
been designed by our competitors, to kill us slowly and painfully.
In addition, our patches must be ported forward. A patch-set for 3.14
is currently work in progress.
@item The @i
{
wr-nic
}
driver is very similar to what we run for the SPEC,
we went forward in merging it with the one in @i
{
spec-sw
}
but a few
lines are still different. Unifying will allow using a driver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment