Index: BOOK/Makefile
===================================================================
--- BOOK/Makefile	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/Makefile	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -7,5 +7,5 @@
 S		:= -
 
-ARCHS		:= x86 mips
+ARCHS		:= x86 mips wrt
 
 ARCHS_HTML	:= $(ARCHS:%=%$(S)html)
Index: BOOK/beyond-clfs3/wrt-chapter.xml
===================================================================
--- BOOK/beyond-clfs3/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/beyond-clfs3/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-beyond-clfs" xreflabel="Beyond CLFS 3.x">
+  <?dbhtml dir="beyond-clfs3"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Beyond CLFS 3.x</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dropbear.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iptables.xml"/>
+
+</chapter>
Index: BOOK/bootable/mips/kernel.xml
===================================================================
--- BOOK/bootable/mips/kernel.xml	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/bootable/mips/kernel.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -45,20 +45,4 @@
 
 <screen os="d4"><userinput>patch -Np1 -i ../linux-&linux-version;-mips_fixes-1.patch</userinput></screen>
-
-<para os="d5">The following patch adds support for squashed filesystens to the kernel:</para>
-
-<screen os="d6"><userinput>patch -Np1 -i ../linux-&linux-version;-squashfs-1.patch</userinput></screen>
-
-<para os="d7">The following patch backports the d80211 wireless stack to the kernel:</para>
-
-<screen os="d8"><userinput>zcat ../linux-2.6.19-d80211-import-1.patch.gz | patch -Np1</userinput></screen>
-
-<para os="d9">The following patch updates the bcm43xx-d80211 wireless module:</para>
-
-<screen os="da"><userinput>zcat ../linux-2.6.19-bcm43xx-update-1.patch.gz | patch -Np1</userinput></screen>
-
-<para os="db">The following patch adds support for wireless routers to the kernel:</para>
-
-<screen os="dc"><userinput>patch -Np1 -i ../linux-&linux-version;-bcm947xx-2.patch</userinput></screen>
 
    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -117,5 +101,5 @@
    xpointer="xpointer(//*[@os='s'])"/>
 
-<screen os="t"><userinput>cp arch/mips/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+<screen os="t"><userinput>cp arch/mips/boot/vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
 
    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Index: BOOK/bootable/wrt-chapter.xml
===================================================================
--- BOOK/bootable/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/bootable/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-bootable" xreflabel="Making the CLFS System Bootable">
+  <?dbhtml dir="bootable"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Making the CLFS System Bootable</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/fstab.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="wrt/kernel.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/chowning.xml"/>
+
+</chapter>
Index: BOOK/bootable/wrt/kernel.xml
===================================================================
--- BOOK/bootable/wrt/kernel.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/bootable/wrt/kernel.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-bootable-kernel" role="wrap">
+  <?dbhtml filename="kernel.html"?>
+
+  <title>Linux-&linux-version;</title>
+
+  <indexterm zone="ch-bootable-kernel">
+    <primary sortas="a-Linux">Linux</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/kernel.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of the kernel</title>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='a'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='b'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='c'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='d'])"/>
+
+<para os="d1">The following patch merges changes from Linux-MIPS into the kernel:</para>
+
+<screen os="d2"><userinput>patch -Np1 -i ../linux-&linux-version;-mips-1.patch</userinput></screen>
+
+<para os="d3">The following patch merges updates for Linux-MIPS kernel:</para>
+
+<screen os="d4"><userinput>patch -Np1 -i ../linux-&linux-version;-mips_fixes-1.patch</userinput></screen>
+
+<para os="d5">The following patch adds support for squashed filesystens to the kernel:</para>
+
+<screen os="d6"><userinput>patch -Np1 -i ../linux-&linux-version;-squashfs-1.patch</userinput></screen>
+
+<para os="d7">The following patch backports the d80211 wireless stack to the kernel:</para>
+
+<screen os="d8"><userinput>zcat ../linux-2.6.19-d80211-import-1.patch.gz | patch -Np1</userinput></screen>
+
+<para os="d9">The following patch updates the bcm43xx-d80211 wireless module:</para>
+
+<screen os="da"><userinput>zcat ../linux-2.6.19-bcm43xx-update-1.patch.gz | patch -Np1</userinput></screen>
+
+<para os="db">The following patch adds support for wireless routers to the kernel:</para>
+
+<screen os="dc"><userinput>patch -Np1 -i ../linux-&linux-version;-bcm947xx-2.patch</userinput></screen>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='e'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='f'])"/>
+
+<screen os="g"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='h'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='i'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='j'])"/>
+
+<screen os="k"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='l'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='m'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='n'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='o'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='p'])"/>
+
+<screen os="q"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
+    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='r'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='s'])"/>
+
+<screen os="t"><userinput>cp arch/mips/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='u'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='v'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='w'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='x'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='y'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='z'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='aa'])"/>
+
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+   href="../x86/kernel.xml"
+   xpointer="xpointer(//*[@os='ab'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/kernel.xml"
+  xpointer="xpointer(//*[@role='content'])"/>
+
+</sect1>
Index: BOOK/bootloaders/wrt-chapter.xml
===================================================================
--- BOOK/bootloaders/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/bootloaders/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-bootloaders" xreflabel="Bootloaders">
+  <?dbhtml dir="bootloaders"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Bootloaders</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/patches.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/colo.xml"/>
+
+</chapter>
Index: BOOK/cross-tools/wrt-chapter.xml
===================================================================
--- BOOK/cross-tools/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/cross-tools/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-cross-tools" xreflabel="Constructing Cross-Compile Tools">
+  <?dbhtml dir="cross-tools"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Constructing Cross-Compile Tools</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/abi.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/clear-toolchain.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
+
+</chapter>
Index: BOOK/final-system/wrt-chapter.xml
===================================================================
--- BOOK/final-system/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/final-system/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-building-system" xreflabel="Installing Basic System Software">
+  <?dbhtml dir="final-system"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Installing Basic System Software</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/busybox.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
+
+</chapter>
Index: BOOK/general.ent
===================================================================
--- BOOK/general.ent	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/general.ent	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!ENTITY month "01"> <!-- Use two digits -->
+<!ENTITY month "02"> <!-- Use two digits -->
 <!ENTITY month_name "January">
-<!ENTITY day "23"> <!-- Use two digits -->
+<!ENTITY day "3"> <!-- Use two digits -->
 <!ENTITY year "2007"> <!-- Use four digits -->
 
@@ -18,4 +18,5 @@
 <!ENTITY version-x86 "&version;-x86">
 <!ENTITY version-mips "&version;-mips">
+<!ENTITY version-wrt "&version;-wrt">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">
Index: BOOK/index.xml
===================================================================
--- BOOK/index.xml	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/index.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -26,5 +26,5 @@
 
   <copyright id="copyright">
-    <year>2005&ndash;2006</year>
+    <year>2005&ndash;2007</year>
     <holder>Jim Gifford,Ryan Oliver &amp; Maarten Lankhorst</holder>
   </copyright>
Index: BOOK/introduction/wrt-chapter.xml
===================================================================
--- BOOK/introduction/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/introduction/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-intro" xreflabel="Introduction">
+  <?dbhtml dir="introduction"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Introduction</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/acknowledgements.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/how.xml"/>
+  <!-- Uncoment after the first CLFS release
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/whatsnew.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="wrt/whatsnew.xml"/>
+  -->
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/changelog.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="wrt/changelog.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/resources.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/askforhelp.xml"/>
+
+</chapter>
Index: BOOK/introduction/wrt/changelog.xml
===================================================================
--- BOOK/introduction/wrt/changelog.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/introduction/wrt/changelog.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-intro-changelog-mips">
+  <title>Changelog for MIPS</title>
+  <?dbhtml filename="changelog-mips.html"?>
+
+  <para>Below is a list of changes specifics for this architecture made
+  since the previous release of the book. For general changes see
+  <xref linkend="ch-intro-changelog"/>,</para>
+
+  <itemizedlist>
+    <title>Changelog Entries:</title>
+
+<!-- Changelog template
+
+    <listitem>
+      <para>Date</para>
+      <itemizedlist>
+        <listitem>
+          <para>[name] - Changelog entry.</para>
+        </listitem>
+        <listitem>
+          <para>[name] - Another changelog entry.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+-->
+
+    <listitem>
+      <para>February 3, 2007</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jim] - Added wrt to the book.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+  </itemizedlist>
+
+</sect1>
Index: BOOK/introduction/wrt/whatsnew.xml
===================================================================
--- BOOK/introduction/wrt/whatsnew.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/introduction/wrt/whatsnew.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-intro-whatsnew-arm">
+  <title>What's New for ARM</title>
+  <?dbhtml filename="whatsnew-arm.html"?>
+
+  <para>Below is a list of changes specifics for this architecture made
+  since the previous release of the book. For general changes see
+  <xref linkend="ch-intro-whatsnew"/>,</para>
+
+  <itemizedlist>
+    <title>Upgraded to:</title>
+
+    <listitem>
+      <para>None</para>
+    </listitem>
+  </itemizedlist>
+
+  <itemizedlist>
+    <title>Added:</title>
+
+    <listitem>
+      <para>None</para>
+    </listitem>
+  </itemizedlist>
+
+  <itemizedlist>
+    <title>Removed:</title>
+
+    <listitem>
+      <para>None</para>
+    </listitem>
+  </itemizedlist>
+
+</sect1>
Index: BOOK/materials/mips/patches.xml
===================================================================
--- BOOK/materials/mips/patches.xml	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/materials/mips/patches.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -31,40 +31,4 @@
     </varlistentry>
 
-    <varlistentry os="linux-squashfs-patch">
-      <term>Linux Squashfs Patch - <token>&linux-squashfs-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink
-        url="&patches-root;&linux-squashfs-patch;"/></para>
-        <para>MD5 sum: <literal>&linux-squashfs-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry os="linux-d80211-patch">
-      <term>Linux BCM947XX port - <token>&linux-d80211-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink
-        url="&patches-root;&linux-d80211-patch;"/></para>
-        <para>MD5 sum: <literal>&linux-d80211-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry os="linux-bcm43xx-patch">
-      <term>Linux BCM43XX-d80211 backport - <token>&linux-bcm43xx-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink
-        url="&patches-root;&linux-bcm43xx-patch;"/></para>
-        <para>MD5 sum: <literal>&linux-bcm43xx-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry os="linux-bcm947xx-patch">
-      <term>Linux BCM947XX port - <token>&linux-bcm947xx-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink
-        url="&patches-root;&linux-bcm947xx-patch;"/></para>
-        <para>MD5 sum: <literal>&linux-bcm947xx-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
   </variablelist>
 
Index: BOOK/materials/wrt-chapter.xml
===================================================================
--- BOOK/materials/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/materials/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-getting-materials" xreflabel="Packages and Patches">
+  <?dbhtml dir="materials"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Packages and Patches</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="wrt/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="wrt/patches.xml"/>
+
+</chapter>
Index: BOOK/materials/wrt/packages.xml
===================================================================
--- BOOK/materials/wrt/packages.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/materials/wrt/packages.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-packages-mips">
+  <?dbhtml filename="packages-mips.html"?>
+
+  <title>Additional Packages for WRT</title>
+
+<!--
+  <variablelist role="materials">
+
+  </variablelist>
+-->
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/packages.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+</sect1>
Index: BOOK/materials/wrt/patches.xml
===================================================================
--- BOOK/materials/wrt/patches.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/materials/wrt/patches.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-patches-mips">
+  <?dbhtml filename="patches-wrt.html"?>
+
+  <title>Additional Patches for WRT</title>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../mips/patches.xml"
+    xpointer="xpointer(//*[@os='linux-mips-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../mips/patches.xml"
+    xpointer="xpointer(//*[@os='linux-mips_fixes-patch'])"/>
+
+    <varlistentry os="linux-squashfs-patch">
+      <term>Linux Squashfs Patch - <token>&linux-squashfs-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&linux-squashfs-patch;"/></para>
+        <para>MD5 sum: <literal>&linux-squashfs-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry os="linux-d80211-patch">
+      <term>Linux BCM947XX port - <token>&linux-d80211-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&linux-d80211-patch;"/></para>
+        <para>MD5 sum: <literal>&linux-d80211-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry os="linux-bcm43xx-patch">
+      <term>Linux BCM43XX-d80211 backport - <token>&linux-bcm43xx-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&linux-bcm43xx-patch;"/></para>
+        <para>MD5 sum: <literal>&linux-bcm43xx-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry os="linux-bcm947xx-patch">
+      <term>Linux BCM947XX port - <token>&linux-bcm947xx-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&linux-bcm947xx-patch;"/></para>
+        <para>MD5 sum: <literal>&linux-bcm947xx-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+  </variablelist>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/patches.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+</sect1>
Index: BOOK/mips-index.xml
===================================================================
--- BOOK/mips-index.xml	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/mips-index.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -29,5 +29,4 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-preps/chapter.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="system-prep/mips-chapter.xml"/>
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="system-prep/wrt-chapter.xml"/>
   </part>
 
Index: BOOK/partitioning/wrt-chapter.xml
===================================================================
--- BOOK/partitioning/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/partitioning/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-partitioning" xreflabel="Preparing a New Partition">
+  <?dbhtml dir="partitioning"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Preparing a New Partition</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/creatingpartition.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/creatingfilesystem.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mounting.xml"/>
+
+</chapter>
Index: BOOK/prologue/mips/bookinfo.xml
===================================================================
--- BOOK/prologue/mips/bookinfo.xml	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/prologue/mips/bookinfo.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -23,5 +23,5 @@
 
   <legalnotice>
-    <para>Copyright &copy; 2005-2006, Jim Gifford, Ryan Oliver &amp; Maarten Lankhorst</para>
+    <para>Copyright &copy; 2005-2007, Jim Gifford, Ryan Oliver &amp; Maarten Lankhorst</para>
 
     <para>All rights reserved.</para>
Index: BOOK/prologue/wrt/bookinfo.xml
===================================================================
--- BOOK/prologue/wrt/bookinfo.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/prologue/wrt/bookinfo.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<bookinfo>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
+  <subtitle>Version &version-wrt;</subtitle>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/authorgroup)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/copyright)"/>
+
+  <legalnotice>
+    <para>Copyright &copy; 2005-2007, Jim Gifford, Ryan Oliver &amp; Maarten Lankhorst</para>
+
+    <para>All rights reserved.</para>
+
+    <para>This material may be distributed only subject to the terms and
+    conditions set forth in the <xref linkend="license"/> v1.0 or later
+    (the latest version is presently available at <ulink
+    url="http://www.opencontent.org/openpub/"/>).</para>
+
+    <!-- Modifications and limitations to the OPL (see section VI)
+    can be place here, if needed. -->
+
+    <para><trademark class='registered'>Linux</trademark> is a registered
+    trademark of Linus Torvalds.</para>
+
+  </legalnotice>
+
+</bookinfo>
Index: BOOK/stylesheets/top-index.xsl
===================================================================
--- BOOK/stylesheets/top-index.xsl	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/stylesheets/top-index.xsl	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -120,4 +120,11 @@
             </h4>
           </li>
+          <li>
+            <h4>
+              <a href="wrt">
+                <xsl:text>WRT - MIPS Based</xsl:text>
+              </a>
+            </h4>
+          </li>
         </ul>
       </div>
Index: BOOK/system-build/wrt-chapter.xml
===================================================================
--- BOOK/system-build/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/system-build/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-systembuild" xreflabel="System Build">
+  <?dbhtml dir="systembuild"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>System Build</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+
+</chapter>
Index: BOOK/system-prep/wrt-chapter.xml
===================================================================
--- BOOK/system-prep/wrt-chapter.xml	(revision f2aa9021ea35f88960b6da8781f2f095fa7fe3e9)
+++ BOOK/system-prep/wrt-chapter.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -6,5 +6,5 @@
 ]>
 
-<chapter id="chapter-wrt" xreflabel="Wireless routers">
+<chapter id="chapter-systemprep" xreflabel="System Prep">
   <?dbhtml dir="systemprep"?>
   <?dbhtml filename="wrt.html"?>
Index: BOOK/wrt-index.xml
===================================================================
--- BOOK/wrt-index.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
+++ BOOK/wrt-index.xml	(revision cbe8492c2bac27392d8dccf726ccc11d702bc7a0)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "general.ent">
+  %general-entities;
+]>
+
+<book>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/mips/bookinfo.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/preface.xml"/>
+
+  <part id="part1">
+    <?dbhtml filename="part1.html"?>
+
+    <title>Introduction</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction/mips-chapter.xml"/>
+
+  </part>
+
+  <part id="part2">
+    <?dbhtml filename="part2.html"?>
+
+    <title>Preparing for the Build</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="partitioning/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="materials/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-preps/chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="system-prep/wrt-chapter.xml"/>
+  </part>
+
+  <part id="part3">
+    <?dbhtml filename="part3.html"?>
+
+    <title>Make the Cross-Compile Tools</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cross-tools/mips-chapter.xml"/>
+
+  </part>
+
+  <part id="part4">
+    <?dbhtml filename="part4.html"?>
+
+    <title>Building the CLFS System</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-system/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="system-build/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootable/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts/chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootloaders/mips-chapter.xml"/>
+
+  </part>
+
+  <part id="part5">
+    <?dbhtml filename="part5.html"?>
+
+    <title>Beyond CLFS</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="beyond-clfs3/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cleanup/chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="the-end/chapter.xml"/>
+
+  </part>
+
+  <part id="part6">
+    <?dbhtml filename="part6.html"?>
+
+    <title>Appendices</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acronymlist.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acknowledgments.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/dependencies/common.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/dependencies/mips.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/license.xml"/>
+
+  </part>
+  <index/>
+
+</book>
