[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#834844: release-notes: document that mips* arches now require a R2 CPU



Control: tags -1 patch

On 19/08/16 22:42, Aurelien Jarno wrote:
> This is something to be expected as the mips and mipsel port now
> defaults to using R2 instructions set. This means the Loongson 2
> CPUs are not supported anymore (this includes the Yeeloong machine).
> 
> I have asked many times to document this changes in the release notes,
> but this hasn't been done yet. I am therefore reassigning the bug there,
> Cc:ing debian-mips so that somone can take care of that.

How about the attached patch? It's loosely based on the i686 notes just
above.

I also changed the "human readable" mips architecture names since all
the other arches seem to have them.

James
Index: en/issues.dbk
===================================================================
--- en/issues.dbk	(revision 11283)
+++ en/issues.dbk	(working copy)
@@ -118,6 +118,31 @@
       to i686 for the Debian i386 architecture</ulink>.
     </para>
   </section>
+  <section id="mips-requires-r2-processor" arch="mips;mipsel">
+    <!-- Jessie to Stretch -->
+    <title>32-bit MIPS now requires an R2 processor</title>
+    <para>
+      The 32-bit MIPS support (both big and little endian) now requires a
+      processor supporting MIPS32 Release 2 of the MIPS instruction set.
+      Notably the Loongson-2E/2F and systems based on them (including the
+      Yeeloong laptop) are no longer supported.
+    </para>
+    <para>
+      The following shell script can be used to indicate if your machine
+      supports R2 (assuming only one type of processor is present). Note that
+      Loongson-3 processors are supported even though they only claim to
+      support MIPS32 Release 1.
+    </para>
+    <screen>
+if grep -q '^isa.*\bmips32r2\b' /proc/cpuinfo; then
+	echo "OK (R2 supported)"
+elif grep -q '^cpu model.*\bICT Loongson-3\b' /proc/cpuinfo; then
+	echo "OK (Loongson 3)"
+else
+	echo "NOT OK: R2 not supported"
+fi
+</screen>
+  </section>
 </section>
 
 <section id="limited-security-support">
Index: release-notes.ent
===================================================================
--- release-notes.ent	(revision 11283)
+++ release-notes.ent	(working copy)
@@ -87,8 +87,8 @@
 		  --><phrase arch='armel'>ARM EABI</phrase><!--
 		  --><phrase arch='armhf'>ARMv7 (EABI hard-float ABI)</phrase><!--
 		  --><phrase arch='i386'>32-bit PC</phrase><!--
-		  --><phrase arch='mips'>Mips</phrase><!--
-		  --><phrase arch='mipsel'>Mipsel</phrase><!--
+		  --><phrase arch='mips'>32-bit MIPS (big endian)</phrase><!--
+		  --><phrase arch='mipsel'>32-bit MIPS (little endian)</phrase><!--
 		  --><phrase arch='powerpc'>PowerPC</phrase><!--
 		  --><phrase arch='ppc64el'>64-bit little-endian PowerPC</phrase><!--
 		  --><phrase arch='s390'>S/390</phrase><!--

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: