This is a collection of miscellaneous information about Lemote and the Yeeloong. For information about gNewSense for Yeeloong, refer to GNewSenseToMIPS. For information about gNewSense for the "3A laptop", refer to GNewSenseToMIPS-3A.

Contents

  1. Short description
  2. Detailed description
  3. Roadmap
  4. Subgoals
    1. Overview
    2. Project ORCHID
    3. Other projects
      1. Avaneya has a MIPS port planned, using the Loongson as a test bed via gNewSense.
      2. gNewSense / MIPS almost complete
  5. Background
    1. Call for volunteers:
    2. Press review:
    3. Mailing list threads
  6. The hardware
    1. The CPU
    2. The boot firmware
    3. Manufacturer: Lemote Technology (China)
  7. The models
    1. The Yeeloong netbook
      1. Features
      2. User manual
      3. Photos/reviews
      4. Availability & commercialization
      5. Lemote Yeeloong specifications
        1. System logs (Yeeloong 8.9)
        2. sources.list
        3. PMON 2000 version
    2. The Fuloong mini
      1. Features
      2. Photos
      3. Availability & commercialization
      4. Lemote Fuloong specifications
        1. cat /proc/cpuinfo
        2. dmesg
        3. lspci
        4. sources.list
        5. xorg.conf
        6. PMON 2000 version
  8. Devices and drivers
    1. Wifi (RTL8187B)
    2. CPU
    3. xserver-xorg-video-siliconmotion
    4. Webcam
    5. Battery monitoring
  9. Boot firmware: PMON2000
    1. The pmon bios
    2. The original pmon2000 boot firmware
    3. PMON2000 Documentation
    4. Boot parameter
    5. Examples of a "boot.cfg" file
    6. PMON's graphical interface
      1. Main Menu
      2. Boot Menu
      3. Network Menu
      4. Advanced Menu
      5. Exit Menu
    7. Updating of the PMON configuration
  10. Boot firmware: GRUB2
  11. Distributions available & planned
    1. Overview of the distributions
    2. Distributions on the Yeeloong netbook
      1. Debian (medan) for Lemote Yeeloong 8089A
      2. OS_1.1.1
      3. Debian
      4. Debian-en
      5. OpenRays
      6. Gentoo?
      7. gNewSense (work in Progress)
    3. Distributions on the Fuloong mini
  12. Download links
  13. Emulation
    1. The gxemul emulator from Lemote
      1. Changes in the release 0.4.3 (according to Liangjin Peng)
      2. Hardware changes introduced by the loongson2f CPU (according to Liangjin Peng)
    2. Download
    3. The original gxemul emulator
  14. Remote access to development hosts
  15. Preliminary work
    1. Creation of a recovery system for the Fuloong mini
      1. Reboot from a rescue kernel
    2. Creation of a recovery system for the Yeeloong laptop
      1. Reboot from a rescue kernel
      2. Reinstall the whole system
    3. Creation of a multiboot system for the Fuloong mini
    4. Creation of a multiboot system for the Yeeloong laptop
    5. Creation of a netboot system for the Fuloong mini
      1. References
    6. Creation of a netboot system for the Yeeloong laptop
      1. Debian system
      2. gNewSense mips-l from an usb key
      3. gNewSense mips-l from a tftp server
    7. Upgrade of the PMON boot firmware
      1. Images
      2. References
  16. Documentation
  17. Links
  18. Discussions
  19. Resources/infrastructure exchange
    1. Possible ressources needed
      1. Development
      2. Testing
      3. Documentation
    2. Resources offered by participant
  20. Participants
  21. Contact
  22. Communication channels

Short description

The project will realize the intention of The Free Software Foundation to port the gNewSense distribution on the Yeeloong laptop (http://www.lemote.com/english/yeeloong.html) manufactured by Lemote Tech (http://www.lemote.com/).

Projects/gns-mipsel-gnome.png

Detailed description

Roadmap

Work in progress

Subgoals

Overview

Project ORCHID

gNewSense Orchid: a possible approach to a mipsel gNewSense port Project Orchid

Other projects

Avaneya has a MIPS port planned, using the Loongson as a test bed via gNewSense.

gNewSense / MIPS almost complete

See: http://lists.gnu.org/archive/html/gnewsense-dev/2009-02/msg00058.html

Testers wanted!

Background

Call for volunteers:

Press review:

Mailing list threads

The hardware

The hardware has a free "bios" (the pmon2000 booloader), and should have a free OS (gNewSense). Its powered by a Godson cpu.

The CPU

The CPU is a 64-bit MIPS processor licensed by the Institute of Computing Technology (ICT), part of the Chinese Academy of Science and manufactured by STMicroelectronics.

References:

The boot firmware

The boot firmware is a free "bios" (the pmon2000 booloader), developed by Opsycon AB (Sweden) and modified by Lemote Tech (China).

References:

Manufacturer: Lemote Technology (China)

The models

The Yeeloong netbook

Features

User manual

Photos/reviews

Availability & commercialization

Lemote Yeeloong specifications

Model

8101B

8089B

8089A

Processor

Loongson 2F,800-900MHz

Chipset

Northbridge:integrated in CPU Southbridge:AMD CS5536

Graphics

SMI712

Memory

DDRII 1G

Hard Drive

SATA 160G

SATA 160G

SSD 8G

Screen size

10.1"

8.9"

Resolution

1024×600

Camera

300K pixel

300K pixel

Input Device

Keyboard, touchpad

Network

Rtl8139,10/100Mbps+Rtl8187B(wifi)

Operation System

Redflag Linux/Debian

USB ports

3×USB2.0

3×USB2.0

2×USB2.0

Audio/Video

Speaker,Microphone,VGA

Card Reader

SD/MMC/MS 3 in 1

Battery

3-Cell

Dimension

L *H * T = 255*188*250(mm)

Weight

1.1Kg

System logs (Yeeloong 8.9)

* Xorg.0.log * cc * cmdline * cpufreq-info * cpuinfo * dmesg * environment-variables * glxinfo * lscpu * lsmod * lspci * lsusb * meminfo * modules * mounts * scaling_available_frequencies * sensors * uname * upower * version * xorg.conf

sources.list

# deb http://dev.lemote.com/debian-loongson/ loongson main contrib
# deb http://dev.lemote.com/debian/ testing main contrib
deb http://www.lemote.com/debian-testing/ testing main contrib
# deb-src http://www.lemote.com/debian-testing/ testing main contrib
# deb http://www.lemote.com/debian-testing/ testing main

PMON 2000 version

PMON2000 2.1 (Bonito) #28: Sun Nov 16 10:25:28 CST 2008

PMON> set

novga = 1
karg = "console=tty root=/dev/hda1"
al = /dev/fs/ext2@wd0/boot/vmlinux
ethaddr = ff:ff:ff:ff:ff:ff
memsize = 256
highmemsize = 768
cpuclock = 797000000
busclock = 66000000
systype = Bonito
brkcmd = "l -r @cpc 1"
datasize = -b   [-b -h -w -d]
dlecho = off    [off on lfeed]
dlproto = none  [none XonXoff EtxAck]
bootp = no      [no sec pri save]
hostport = tty0
inalpha = hex   [hex symbol]
inbase = 16     [auto 8 10 16]
moresz = 10
prompt = "PMON> "
regstyle = sw [hw sw]
regsize = 32    [32 64]
rptcmd = trace  [off on trace]
trabort = ^K
ulcr = cr       [cr lf crlf]
uleof = %
showsym = yes   [no yes]
fpfmt = both    [both double single none]
fpdis = yes     [no yes]
Version = LM8089-1.3.3
BuildTime = Nov 16 2008 10:25:27

The Fuloong mini

Features

Photos

Availability & commercialization

Lemote Fuloong specifications

Fuloong Mini-PC

Model

FL6004

FL6014

FL6005

FL6015

Processor

Loongson 2F,900MHz,integrated DDR Memory Controller

Chipset

Northbridge:integrated in CPU Southbridge:AMD CS5536

Graphics

XGI V2 , 32MB Video memory

Memory

DDR II 512MB (Support up to 1G)

Hard Drive

SATA 160G

SSD 8G

SATA 160G

SSD8G

Audio

AC'97 , Realtek ALC 655

Network

Realtek RTL 8110SC 1000Mbps

Operation System

Redflag Linux/Debian

Operating Systems

Xinhua,Rays 2.0 or Debian GNU/Linux

Interface type

4*USB2.0

Interface type

VGA,DVI,S-Video

VGA

Interface type

IR interface

/

Dimension

L*H*T = 181*145*37(mm)

Weight

0.78KG

cat /proc/cpuinfo

system type             : lemote-fulong
processor               : 0
cpu model               : ICT Loongson-2 V0.3  FPU V0.1
BogoMIPS                : 532.48
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

dmesg

See here...

lspci

00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:08.0 VGA compatible controller: Silicon Integrated Systems [SiS] 315PRO PCI/AGP VGA Display Adapter
00:0e.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA (rev 03)
00:0e.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE (rev 01)
00:0e.3 Multimedia audio controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio (rev 01)
00:0e.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC (rev 02)
00:0e.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC (rev 02)
00:0e.6 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] UDC (rev 02)
00:0e.7 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] UOC (rev 02)

sources.list

deb http://www.anheng.com.cn/debian lenny main contrib
deb-src http://www.anheng.com.cn/debian lenny main contrib
deb http://www.anheng.com.cn/debian-security lenny/updates main contrib
deb-src http://www.anheng.com.cn/debian-security lenny/updates main contrib

xorg.conf

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Option          "UseFBDev"              "true"
        Option "EnableSiSCtrl" "yes"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
EndSection

PMON 2000 version

PMON2000 2.1 (Bonito) #7:2008................17:31:33 CST"

PMON> set

novga = 1
karg = "console=tty root=/dev/hda1"
al = /dev/fs/ext2@wd0/boot/vmlinux
ethaddr = ff:ff:ff:ff:ff:ff
memsize = 256
highmemsize = 256
cpuclock = 800020000
busclock = 66000000
systype = Bonito
brkcmd = "l -r @cpc 1"
datasize = -b   [-b -h -w -d]
dlecho = off    [off on lfeed]
dlproto = none  [none XonXoff EtxAck]
bootp = no      [no sec pri save]
hostport = tty0
inalpha = hex   [hex symbol]
inbase = 16     [auto 8 10 16]
moresz = 10
prompt = "PMON> "
regstyle = sw [hw sw]
regsize = 32    [32 64]
rptcmd = trace  [off on trace]
trabort = ^K
ulcr = cr       [cr lf crlf]
uleof = %
showsym = yes   [no yes]
fpfmt = both    [both double single none]
fpdis = yes     [no yes]
Version = 1.2.125

Devices and drivers

Wifi (RTL8187B)

The RTL8187(B) is included in linux-libre 2.6.32.9 lemote kernel by default.

Alternatively, download the RTL8187B driver from http://dev.lemote.com/drupal/node/53

Execute:

tar xjpf rtl8187B_linux_26.1051.0116.2009_driver.tar.bz2 -C /lib/modules/2.6.27.1/kernel/drivers/net/wireless

CPU

Loongson 2F: High performance 64-bit superscalar MIPS® microprocessor

xserver-xorg-video-siliconmotion

This driver makes the Lemote Yeeloong fail sometimes at starting the X server. The solution is to remove this package, and then restart the computer.

Webcam

Output of dmesg after switching on the webcam with the Fn + Esc key (Camera on/off):

usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (064e:a114)
input: USB 2.0 Camera as /class/input/input3
usb 1-1: New USB device found, idVendor=064e, idProduct=a114
usb 1-1: New USB strings: Mfr=2, Product=1, SerialNumber=3
usb 1-1: Product: USB 2.0 Camera
usb 1-1: Manufacturer: SuYin

1/ Gnewsense:

- webcam recognized

- module uvcvideo loaded

- camera working with:

/usr/sbin/mplayer tv:// -tv driver=v4l2:width=320:height=200

- camera not working with:

/usr/sbin/mplayer tv:// -tv driver=v4l2:width=320:height=200 -vo xv

- camera not working with:

gst-launch-0.10 v4l2src ! autovideosink

- camera not working with:

luvcview

- camera not working with:

cheese

2/ Debian from http://bjlx.org.cn/loongson/loongson2_debian5_20090315.tar.bz2

- webcam recognized

- module uvcvideo loaded

- camera working with:

/usr/sbin/mplayer tv:// -tv driver=v4l2:width=320:height=200 -vo xv

- camera not working with:

luvcview

- camera not working with:

cheese

3/ Debian from the netboot install (see: http://dev.lemote.com/drupal/node/65 ):

- webcam recognized

- module uvcvideo loaded

- camera working with:

/usr/sbin/mplayer tv:// -tv driver=v4l2:width=320:height=200

- camera working with:

gst-launch-0.10 v4l2src ! autovideosink

- camera not working with:

luvcview

- camera not working with:

cheese

Battery monitoring

For linux-libre kernel, version 2.6.33.2 (earlier?) or later, battery status is given by the following command in terminal:

 cat /sys/class/power_supply/yeeloong-bat/status

For earlier versions, you would have to write (root user?):

 cat /proc/atm

Battery module: ec_batd

Source of the ec_* modules available from: http://www.gentoo-cn.org/~zhangle/ec_module.tar.gz

1/ Gnewsense:

Not working

2/ Debian from http://bjlx.org.cn/loongson/loongson2_debian5_20090315.tar.bz2

Output from dmesg

APM of battery on KB3310B Embedded Controler init.
battery vendor (SANYO), cells count(3), with designed capacity(2250),designed voltage(10800), full charged capacity(2250)

The capacity of the battery (as indicated by the battstat-applet-2 in Gnome), is 1h30.

3/ Debian from the netboot install (see: http://dev.lemote.com/drupal/node/65 ):

Not working

Boot firmware: PMON2000

The pmon bios

The original pmon2000 boot firmware

PMON2000 Documentation

Boot parameter

Loading of the boot menu from config file:

PMON> path bl -d ide (wd0,0)/boot.cfg

Examples of a "boot.cfg" file

default 1
timeout 3
showmenu 1
title Debian GNU/Linux at hda1  (loongson)
        kernel (wd0,0)/boot/vmlinux-yeeloong
        args console=tty root=/dev/hda1 no_auto_cmd resume=/dev/hda3
        #initrd (wd0,6)/boot/initrd.img-yeeloong

title gNewSense mips-l - hda3 (medan libre)
        kernel (wd0,2)/boot/vmlinux-2.6.27.1-libre-medan
        args console=tty root=/dev/hda3

title gNewSense mips-l - hda3 (medan)
        kernel (wd0,2)/boot/vmlinux-2.6.27.1-medan
        args console=tty root=/dev/hda3

title Debian mips - hda4
        kernel (wd0,0)/boot/vmlinux
        args console=tty root=/dev/hda4 no_auto_cmd

title usb - rescue
        kernel (usb0,0)/boot/rescue
        args root=/dev/sda1 console=tty no_auto_cmd rootdelay=7
        #initrd (usb0,0)/boot/initrd.img

title usb - reinstall - gnewsense mips-l
        kernel (usb0,0)/netboot/gns/vmlinux
        initrd (usb0,0)/netboot/gns/initrd.gz
        args console=tty no_auto_cmd

title usb - reinstall - debian/lemote
        kernel (usb0,0)/netboot/lemote/yl/vmlinux
        initrd (usb0,0)/netboot/lemote/yl/initrd_yl_netboot.gz
        args console=tty no_auto_cmd

PMON's graphical interface

The PMON boot firmware has a graphical interface with 5 menus.

In order to open it, press the B key

text describing image

Boot Menu

text describing image

Network Menu

text describing image

Advanced Menu

text describing image

Exit Menu

text describing image

Updating of the PMON configuration

On the Fuloong mini, the /usr/sbin/update-pmon script may be used to update the /boot/boot.cfg file.

On the Fuloong mini, the /usr/sbin/update-pmon script may be used to update the /boot/boot.cfg file.

To this end, execute /usr/sbin/update-pmon and adapt the modified /boot/boot.cfg if necessary, especially if you are using a multiboot configuration. Copy it eventually to the root boot.cfg file as set by the PMON boot firmware (see Boot parameter).

So, in this experiment, the active distribution is located on the /dev/hda2 partition. The update-pmon script updates the local /boot/boot.cfg file located on the /dev/hda2 partition. However, the PMON2000 boot firmware is set to use the /boot.cfg file on the /dev/hda1 partition. In order to make the modifications of the boot.cfg file effective, you should copy it to the /dev/hda1 partition, after updating it according to the other distributions eventually installed on the other partitions.

Boot firmware: GRUB2

GRUB2 can also be used as boot firmware. It's only been tested for the Fuloong so far. Revision 3395 is known to work. A pre-built image of this version is available for download (md5sum = 3dbcd69c9ea09013a200db0bf1b9ab4d).

Distributions available & planned

Overview of the distributions

Distribution name

Source

Installation method

Localization

Kernel + Devices

Upgradeability

Target

gNewSense mipsel-l

Projects/GNewSenseToMIPS

usb/tftp + netboot install

Intl

good

Yeeloong/not Fuloong

Openrays

http://openrays.org

extracting of archive

ZH

?

Fuloong/Yeeloong

Debian Loongson - Gnome (ZH)

http://bjlx.org.cn/loongson/loongson2_debian5_20090315.tar.bz2

extracting of archive

ZH

?

Fuloong/Yeeloong + script fix.sh

Debian Netboot install

http://dev.lemote.com/drupal/node/58

Debian Installer using the netboot install

Intl

?

Fuloong/Yeeloong

Loonux

http://www.lemote.com/upfiles/8089_OS_v1.1.1/

initial + extracting of archive

ZH

broken after upgrade

Yeeloong

Debian Loongson KDE (en)

http://www.lemote.com/upfiles/OS/Debian-en/debian-en.tar.gz

extracting of archive

EN

good

Fuloong?/Yeeloong

Medan

D-- http://medan.cinnamonpirate.com/

usb + extracting of archive

EN

?

initially for Yeeloong 8089A + running on Yeeloong 8089B

pdaXrom-NG

http://www.pdaxrom.org/index.php/Lemote_YeeLoong_8089_Notebook

usb + HDD

EN

?

Yeeloong

Distributions on the Yeeloong netbook

Debian (medan) for Lemote Yeeloong 8089A

BEST CHOICE: Debian mips customized by D-- torrent (wifi, power management, works by default, optimized for speed and space)

Disc image of Debian (medan) for Lemote Yeeloong 8089A. Tester feedback for the 8089B model appreciated.

OS_1.1.1

Lemote Yeeloong chinese default os

Debian

Debian mipsel customized for the Yeeloong. All you need to do is to unpack this into your Yeeloong hard disk

Debian-en

Debian mipsel customized for the Yeeloong, with KDE + English localization

OpenRays

A Debian based chinese distribution developed and marketed by Sun Wah Linux Limited.

Gentoo?

gNewSense (work in Progress)

Distributions on the Fuloong mini

Download links

Emulation

The gxemul emulator from Lemote

The release 0.4.3 has been improved by Lemote (Liangjin Peng, penglj at lemote.com) and reflects the state of the loongson2e CPU. The newer loongson2f CPU has introduced newer hardware and the gxemul code remains to be adapted according to this new hardware.

Changes in the release 0.4.3 (according to Liangjin Peng)

  1. MIPS:loongson2e CPU support added, which is as same as mips10K or other 64bit MIPS CPU.

  2. Bonito2E north bridge support added, which is optimized by ICT.
  3. 16KB page size support added for MIPS platform, which only supports 4KB before, but still a little bugs in it due to the unflexible architecture of the gxemul.
  4. This platform has been ported mainly according to the web page of the gxemul, few documents made for it.
  5. Working on the rtl8139 network adapter. This is a work in progress,

and it is still not usable today.

Hardware changes introduced by the loongson2f CPU (according to Liangjin Peng)

  1. With the loongson2f CPU, the north bridge has been integrated, causing a little software modification.
  2. The south bridge is changing to AMD CS5536, which is more complex to configure, so it will cause a lot of work load to port to gxemul.
  3. The video chipsets also differ to mini Fuloong2e, which are smi712 for yeeloong and sis315e for mini Fuloong2f.
  4. Mini Fuloong2f has another network adapter rtl8180 inside which also will be a big problem to be resolved.

Download

The original gxemul emulator

Remote access to development hosts

Lemote has setup a compile farm of four Lemote mini-PC (fuloong mini).

Ask the login parameter in order to access to this hardware remotely (via ssh).

For the moment, send your ssh public key to sysadmin@gnu.org - preferably in a GnuPG signed email. If you are rearing to go or the request seems to be taking too long, feel free to ping djbclark in #gnewsense (freenode IRC).

To access the main machine, do: ssh -A <user>@dev.lemote.com -p 2200

After login, you can connect to build[2-4] to use other machines, if you have requested and been given access to them.

We should probably modify builder to use ccontrol / distcc to make easy use of the multiple machines.

There is a mailing list for everyone who has accounts: loongson-buildfarm@nongnu.org .

Preliminary work

You may use 2 systems: the build system and the target system (either the Fuloong mini or the Yeeloong laptop)

Creation of a recovery system for the Fuloong mini

Reboot from a rescue kernel

Download http://dev.lemote.com/files/resource/download/rescue/rescue-fl

Load it via usb:

load /dev/fs/ext2@usb0/boot/rescue-fl
g console=tty root=/dev/sda1 rootdelay=8

You have now a working rescue system with Busybox!

Welcome To Debian Linux Based On Longmeng Computer

Please press Enter to activate this console.

BusyBox v1.1.3 (2008.08.13:-05:07+0000) Built-in shell (ash)

Then you can have a shell in ramdisk to do things.

Creation of a recovery system for the Yeeloong laptop

Reboot from a rescue kernel

Download http://dev.lemote.com/files/resource/download/rescue/rescue-yl

Load it via usb:

load /dev/fs/ext2@usb0/boot/rescue-yl
g console=tty root=/dev/sda1 rootdelay=8

You have now a working rescue system with Busybox!

Welcome To Debian Linux Based On Longmeng Computer

Please press Enter to activate this console.

BusyBox v1.1.3 (2008.08.13:-05:07+0000) Built-in shell (ash)

Then you can have a shell in ramdisk to do things.

Reinstall the whole system

To reinstall the whole machine, just put the whole V1.1.x directory (http://www.lemote.com/upfiles/8089_OS_v1.1.1/ ) into a usb stick or disk (first ext2/3 partition, root directory), then use the 'recover' function of the pmon(press tab key during boot up).

1) I downloaded the new version of the os that samy talked about in the mailing list.

2) Formatted an usb key ext2 and put it all inside.

3) Inserted the usb key BEFORE switching on your Lemote Yeeloong.

4) At the pmon boot I pressed del.

At PMON> prompt I wrote:

boot /dev/fs/ext2@usb0/vmlinux

and again a second time:

boot /dev/fs/ext2@usb0/vmlinux

5) The lemote will display a chinese writing and below it, "System is recovering and Please wait for several minutes", then it will reboot.

6) When it rebooted, the kernel didn't load (maybe this was a particular issue related to my situation) so I set again the pmon variable called "al" (autoload):

set al /dev/fs/ext2@wd0/boot/vmlinux

7) The Lemote Yeeloong will then boot automatically into the new updated os.

Creation of a multiboot system for the Fuloong mini

work in progress

Creation of a multiboot system for the Yeeloong laptop

work in progress

Creation of a netboot system for the Fuloong mini

http://dev.lemote.com/drupal/node/58

References

Creation of a netboot system for the Yeeloong laptop

Debian system

http://dev.lemote.com/drupal/node/58

gNewSense mips-l from an usb key

http://lists.gnu.org/archive/html/gnewsense-dev/2009-02/msg00026.html

http://lists.gnu.org/archive/html/gnewsense-dev/2009-03/msg00024.html

A netboot image can be obtained from:

http://archive.gnewsense.org/gnewsense-mipsel-l/netboot/

     load /dev/fs/ext2@usb0/vmlinux
      initrd /dev/fs/ext2@usb0/initrd.gz
      g console=tty no_auto_cmd

  - Follow installation process in D-I.

- Once finished, your system can be boot with:

      load /dev/fs/ext2@wd0c/boot/vmlinux-2.6.27.1-libre-medan
      g console=tty no_auto_cmd root=/dev/hda3

    (assuming you installed to third partition of the internal
    disk, otherwise you'll have to change wd0c and hda3)

    And you can make this the default by setting "al" and "karg"
    variables.

Post-installation step:

apt-get install gnewsense-pkgsel-desktop

If you got an Xserver error, then modify the /etc/X11/xorg.conf configuration adding:

 Section "Device"
        Identifier      "Configured Video Device"
        Driver          "fbdev"
        Option          "UseFBDev"              "true"
 EndSection

Alternatively, install the xserver-xorg-video-siliconmotion_2.2.8-lemote.r03_mipsel.deb (see http://dev.lemote.com/drupal/node/49) and copy a xorg.conf from another working yeeloong installation.

deb http://archive.gnewsense.org/gnewsense-mipsel-l/pruned-upstream mipsel-l main
deb http://archive.gnewsense.org/gnewsense-mipsel-l/pruned-upstream-security mipsel-l main
deb http://archive.gnewsense.org/gnewsense-mipsel-l/overlay mipsel-l main
deb http://archive.gnewsense.org/gnewsense-mipsel-l/pruned-upstream-security mipsel-l main
deb http://dev.lemote.com/debian-loongson loongson main

gNewSense mips-l from a tftp server

- install and setup a tftp server (for example atftpd)

- copy the files initrd.gz and vmlinux from http://archive.gnewsense.org/gnewsense-mipsel-l/netboot/ onto /var/lib/tftpboot

- boot the Yeeloong

- press DEL

- At the PMON> prompt type

ifaddr rtl0 <addr.of.your.laptop>
   # to set the ip address of your Yeeloong, e.g. 192.168.1.31
load tftp://<addr.of.your.tftp-server>/vmlinux
   # to load the kernel image on your tftp server, e.g. 192.168.1.30
initrd tftp://<addr.of.your.tftp-server>/initrd.gz
   # to load the initial ram disk image
g console=tty no_auto_cmd
   # to set the console

Follow the installation procedure in D-I

Upgrade of the PMON boot firmware

work in progress

CAUTION: if carried out incorrectly, the upgrade of the PMON2000 firmware can brick your unit and require a reprogramming of the memory! Be careful!

The upgrade procedure of the PMON2000 boot firmware through software control path:

1. When the yeeloong or fuloong machine power on, press DEL to enter the PMON console.

2. Type the following command to upgrade the firmware

load -r -f bfc00000 method_to_load_pmon_binary_image

When this command is completed, a successful message will output to the display.

CAUTION: This command will damage all the data in the firmware, if wrong data has been writen into it, the machine will do never run up unless taking the firmware off the motherboard and writing correct data into it through the programmer.

Choose a method to load pmon binary image: either using the ftp network protocol or using a local or removable storage unit:

a. Using the tftp network propocol.

Example:

load -r -f bfc00000 tftp://host_ip/pmon-new-image.bin

Prerequisite: the machine must be assigned a static IP

To this end, enter the pmon console, and type the command:

ifaddr rtl0 ip_address

b. Using a local or removable storage.

Example: if the pmon image is located on the first partition of the local hard disk (wd0):

load -r -f bfc00000 /dev/fs/ext2@wd0/pmon-new-image.bin

or, if the pmon image is located on an usb stick (usb0):

load -r -f bfc00000 /dev/fs/ext2@usb0/pmon-new-image.bin

3. Reboot your machine. Your machine will boot from the new firmware.

Note that if you have problems booting from wd0 after you do the upgrade, you should try booting from usb using a rescue linux, and do from it:

fsck.ext3 -fy /dev/hda1

Where /dev/hda1 is the ext3 partition that your vmlinux is on (alhough you might as well just do this for each of your ext3 filesystem partitions). Either many people interrupt the boot process in the wrong place, thus causing some filesystem corruption, around the time they do PMON upgrades, or newer PMON versions are more sensitive to filesystem corruption than older versions.

Images

References

Documentation

Official documentation by Lemote Tech:

Links

Discussions

Resources/infrastructure exchange

Possible ressources needed

Development

Testing

Documentation

Resources offered by participant

Participants

Please complete/correct

Contact

Samy Boutayeb s.boutayeb at free.fr

Communication channels

Projects/Lemote (last edited 2013-09-05 15:02:04 by samgee2)