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

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
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
mips-r2-relnotes.diff (text/x-patch, 2 KB)
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><!--
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJXvtISAAoJEMfxZ23qLQHve5sP/jL0TDoSaACR/nAY9WZ0W2tX
jiR8/BYiIOYMVEabJGO3wqw05PGaiICcT1ZcYhU1RM4zPUZzrYn7UaTccj8kiVEV
ngCiNzvcp1b7n6SNjF8iV8l5Cx1wRBkDUR+A1HJYsvK+s4O9dZ0FRLIcxw5vp+vG
HrAbqmAjIEbk74JVq9RLYsjeAX52CT/jVmH7Tx01Bhoomtj59lCnw5UAe8MW5Jcl
5pbqYm7kQoI/nO5vlHiOw7Kw+hBzqkuiX/AFa4YG1Z676hU+0r1Gxtk/e+IBLKB7
oJAE8PiHSoC1AejAiJXuGqfw3EfQHuIINJig843QdySs8leNazl/ckwjaLGN/lZJ
p+d59K1h/DdWjag49QQJGfQ4nWGlMy5d9MTOeqOmrp7sNURlEpQkg0kXkt9qmHdI
UTw0TpJIn41n5e4N+cB9iIaAMDDTan7ZigwST6OY5tGUFF5BrCRzZ3WYx6u1RaIi
++/nRnD4AjdiDs8DBZRlsFPR++n6w4j7tjVGKaHD9xd5CSD3SmUadp3rz916VDwO
idYF5hnwrvacDUtgnlwP9PrALLdg/M4z00eO51ncBxWLdDhPOtogXvRmza6KLJ0i
eCg4C7fB98I8GPVveYFUYGD0p09e5L59jxEWRvpvHN9hlVWs5F/i0pwPFkxnTa5V
g3yheOTyI12G0X0bamwh
=4Oju
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.