wr-switch-sw:0047eda1a40cf0e59775953100066c2017f9f230 commitshttps://ohwr.org/white-rabbit/wr-switch-sw/commits/0047eda1a40cf0e59775953100066c2017f9f2302010-11-26T08:37:14Zhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/0047eda1a40cf0e59775953100066c2017f9f230.gitignore: added *.mod.c2010-11-26T08:37:14ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/411406dc8d0838d49fe5c6d0c79d042865711b6dwr_vic: redone as a struct irq_chip2010-11-22T16:35:58ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/2e38b6263c37a879b95cbaa84f20107175d24fc6patches/2.6.35: export symbols needed fro irq_chip2010-11-22T16:30:19ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/3685e27065fa99fe2287909bbc955893ce39be04patches/2.6.35: added NR_IRQS patch2010-11-22T14:48:59ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/b18bc785dcc5696ea9e56a573bcc07d748fa7052nic/README: new file2010-11-22T09:23:54ZAlessandro Rubinirubini@gnudd.com
This describes the driver's layout and what's missing at this
point (see FIXME notes)https://ohwr.org/white-rabbit/wr-switch-sw/commit/7af7f3743a39ed93ae71a323cadc4e1ce01ae2d5nic: current status of affairs2010-11-22T09:21:49ZAlessandro Rubinirubini@gnudd.com
This is nothing to be excited about, but it's compiling and the
basic layout is there. There are quite some FIXME notes inside,
and each of them explains what is missing in the specific point.
Some files are still empty, with no FIXME either, but they must
clearly be filled with code.https://ohwr.org/white-rabbit/wr-switch-sw/commit/43a5018dc74cc7a92ddc88b527b73a18865f5610wr_nic.wb.h: hand-edited as needed2010-11-22T09:20:19ZAlessandro Rubinirubini@gnudd.com
This fixes a few issues I had with the machine-generated file. Nothing
serious, as it's mostly from me using a pathname instead of running in the
same directory where the source .wb is.https://ohwr.org/white-rabbit/wr-switch-sw/commit/d16b3da7b2927495978c9439dd707b3622927109wr_nic.wb.h: from wbgen22010-11-22T09:18:13ZAlessandro Rubinirubini@gnudd.com
This is the file as I get from running wbgen2. It still has
some issues, fixed in the next commit. The source file was
trunk/documentation/specifications/hdlspec/WRSW_wbc_internal_NIC/wr_nic.wb
(svn version is 628)https://ohwr.org/white-rabbit/wr-switch-sw/commit/5c8489aafc46b762a264f2115572bb36518ef3b0.gitignore: added in main directory2010-11-22T09:16:00ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/38ebf741139d9a3c952cef0322821c8630e1a4e4Makefile: added nic/2010-11-22T09:15:16ZAlessandro Rubinirubini@gnudd.com
This simply addes ./nic to the subdiretories being compiledhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/2f1d333d3743d31d6a8c1557400c3f5549be85a3nic/Makefile: trivial Makefile and empty files.2010-11-22T09:14:00ZAlessandro Rubinirubini@gnudd.com
The empty files in here are the way I had split the nic driver, the
Makefile is a standard thing for modules. Depends on $LINUX being sethttps://ohwr.org/white-rabbit/wr-switch-sw/commit/f018977007f03210935357387b736cfcc8dcfde2README: information on how to use this package2010-11-22T09:03:50ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/abf792259e0f1cec59b70fe6291e0c44219ed258wr_minic.c: whitespace and indentation cleanup2010-11-22T09:03:50ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/4dfe582fa42e97f2eb89c067a6baddfbff49b5bewr_vic.c: whitespace and indentation cleanup2010-11-22T09:03:50ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/white-rabbit/wr-switch-sw/commit/bee4bcf890d63a5cbbf02ab0a2ca80bd60df220fwr_vic: moved to wr_minic dir; simplified make2010-11-22T09:03:50ZAlessandro Rubinirubini@gnudd.com
This unifies wr_vic and wr_minic in a single directory,
which results in a simplification of Makefiles.
EXTRA_CFLAGS has been removed as it's now not needed any more.https://ohwr.org/white-rabbit/wr-switch-sw/commit/3e46362411ffee3c9de52de4175ae01dc7db212eminic and vic: cleanup Makefiles2010-11-22T09:03:44ZAlessandro Rubinirubini@gnudd.com
This commit cleans up the Makefiles, removing the "build.sh"
scripts and adding EXTRA_CFLAGS to include wr_vic.h from
wr_minic directory. This works, but the next commit
works better.https://ohwr.org/white-rabbit/wr-switch-sw/commit/fb59f3f4789e0cc4e3b100c194dda90a2f700bfepatches/2.6.35: added initramfs hack2010-11-20T12:24:40ZAlessandro Rubinirubini@gnudd.com
This patch simply breaks the loop that uncompresses cpio.gz
archives into initramfs. The default behaviour is to error out
when no more valid data is there in the "initrd=start,size" area.
Since we don't know in advance the exact size of the compressed
initramfs when the kernel is being compiled, the command line in the
WR switch shas 16M ("initrd=0x23000000,16777216") as a safe size.
This patch prevents a panic and allos the system to boot with a
smaller-than-expected cpio archive.https://ohwr.org/white-rabbit/wr-switch-sw/commit/7e5a17211a00e07da20c2f162f61ce92c600fb33Added patches for 2.6.35, by Tom2010-11-19T23:20:37ZAlessandro Rubinirubini@gnudd.com
This adds the patches that bring vanilla Linux-2.6.35 to
the version we run on the WR switch. Actual code comes from
Tomasz Wlostowski's tree whic is currently at
<a href="http://www.ohwr.org/projects/white-rabbit/wiki/WhiteRabbitSwitch" rel="nofollow noreferrer noopener" target="_blank">http://www.ohwr.org/projects/white-rabbit/wiki/WhiteRabbitSwitch</a> .
Since Tom's tree is not forked off Linus, I diffed and re-patched
over a real 2.6.35 git tree, and published in my own slow server at
<a href="git://gnudd.com/linux-wrswitchv2">git://gnudd.com/linux-wrswitchv2</a>
The patches here come from my tree by means of "git format-patch".https://ohwr.org/white-rabbit/wr-switch-sw/commit/8d4919530cbc689dc976fbf34937bce92c430ed2Tom's sources, from svn:software/drivers (rev. 623)2010-11-19T23:18:54ZAlessandro Rubinirubini@gnudd.com
This is a simple copy for files from the white-rabbit svn,
currently at revision 623. No local modification is there
at this commit. The author of the code is Tomasz Wlostowski,
even though I haven't marked him as --author (lazy me).https://ohwr.org/white-rabbit/wr-switch-sw/commit/e55357b6f6ff17f1cb707d8cc7c0eaa4520a46b8Added GNU GPL2 as first commit2010-11-19T10:34:00ZAlessandro Rubinirubini@gnudd.com