<div class="gmail_quote">2012/8/5 John Long <span dir="ltr"><<a href="mailto:codeblue@inbox.lv" target="_blank">codeblue@inbox.lv</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, Aug 05, 2012 at 05:38:16AM -0700, Ted Krovetz wrote:<br>
</div>(....)<br><div class="im"><br>
> I know my system works. The preinstalled "rays" linux booted and ran just<br>
> fine, and so did the installer.<br>
<br>
</div>I didn't find any source of info that definitively explained installing and<br>
living with Debian on the 2F. Some people have done it but I could not find<br>
a page with all the info. Like you, I found Yeelong and other pages but they<br>
simply don't work. I know the Debian guys have been pioneers in getting<br>
Linux to run on these boxes so I really don't understand why there isn't a<br>
better explanation somewhere.<br></blockquote><div><br>I guess that this can help. =)<br><br><a href="https://groups.google.com/d/msg/loongson-dev/sFytbxZ0_jw/kpxVG6873j4J">https://groups.google.com/d/msg/loongson-dev/sFytbxZ0_jw/kpxVG6873j4J</a><br>
"<font face="FreeSans, sans-serif"><font size="3">4. <b>Debian GNU/Linux</b> (BJLX /
Chinese variant) </font></font>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">This
section describes how to install Debian modified for the Yeeloong by
the Beijing Loongson & Debian Users Club. </font></font>
</p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Note
that mainline Debian is working on supporting the Yeeloong / Loongson
at this point, but as of January 2012 this Chinese distribution seems
to be much easier to install and to work better.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">The
(slight) Debian variant at
<a href="http://www.anheng.com.cn/loongson/install/" target="_blank">http://www.anheng.com.cn/loongson/install/</a> uses the Yeeloong's
built-in tab recovery mode to install - so you just put a USB key in
your Yeeloong with the latest vmlinux and .lzma files and press tab
at bootup when prompted, and then answer some questions.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Note
that after the install you'll need to take a few minutes to change
the default language from Chinese to your native language. :-)
</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">
</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Here
is an example of the full install process; you'll want to visit the
web site to make sure that the 2011-10-10 image is still the most
recent install image before you do your install. We recommend the
LXDE image as it uses substantially fewer computing resources than
Gnome.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">wget
\</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3"><a href="http://www.anheng.com.cn/loongson/install/loongson2_debian6_lxde_20111010.tar.lzma" target="_blank">http://www.anheng.com.cn/loongson/install/loongson2_debian6_lxde_20111010.tar.lzma</a></font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">wget
\</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3"><a href="http://www.anheng.com.cn/loongson/install/vmlinux" target="_blank">http://www.anheng.com.cn/loongson/install/vmlinux</a></font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">(become
root)</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Format
a USB stick with the ext2 file system and copy the vmlinux and .lzma
file(s) over to it, and then safely remove it from the computer.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Insert
the USB stick into the Yeeloong and turn on the Yeeloong. In reply to
prompts do:</font></font></p>
<p style="margin-bottom:0in">“<font face="FreeSans, sans-serif"><font size="3">Press
Tab to recover” -> press Tab</font></font></p>
<p style="margin-bottom:0in">“<font face="FreeSans, sans-serif"><font size="3">Press
U to USB recover” -> press U</font></font></p>
<p style="margin-bottom:0in">“<font face="FreeSans, sans-serif"><font size="3">Press
C to continue” -> press C</font></font></p>
<p style="margin-bottom:0in">“<font face="FreeSans, sans-serif"><font size="3">Press
Y to recover” -> press Y</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">And
then answer the questions you are asked.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">After
the install is done press “Enter”, machine should power off.
After that, power the machine back on.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">After
a short wait you'll be on the LXDE main screen, but most things will
be in Chinese. </font></font>
</p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">To
change to English,</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">a.
Open the LXDE main menu by clicking on the icon on the lower
left-hand side of the screen</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">b.
Select the 4th item from the bottom with the right angle and scissors
icon</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">c.
Select the option second from the top named “LX” with the icon of
a computer monitor next to it.</font></font></p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">A
terminal window should open.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Type
“sudo -i” to become root; now would be a good time to do “passwd”
to change your root password, so you can recover more easily should
anything go wrong. </font></font>
</p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Do
“dpkg-reonfigure locales” and deselect all of the options
starting with “zh_” and choose “Ok”. When prompted to choose
a default locale on the next screen, choose “en_US.UTF-8”.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Now
do “shutdown -r now” - after your system reboots, everything
should be in English.</font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font face="FreeSans, sans-serif"><font size="3">Note
you may need to press Fn-F5 in order to turn on wifi and then wait a
few seconds before wifi / the network-manager tray icon will work."</font></font></p><br>Read more at <a href="https://groups.google.com/d/msg/loongson-dev/sFytbxZ0_jw/kpxVG6873j4J">https://groups.google.com/d/msg/loongson-dev/sFytbxZ0_jw/kpxVG6873j4J</a><br>
<br>[]'s<br>asm<br> <br></div></div>