I have recently acquired a Lemote Yeeloong 8101 laptop. I have created this page as a way of documenting my exploration with this machine, mainly for my own use, but hopefully it is helpful to others as well.
PMON is the BIOS software in Lemote machines and I am really starting to like it a lot as I learn more about it.
I am not using GRUB to boot my OS because the PMON bootloader seems to work fine. It seems the PMON boot loader looks in /boot directory of the first partition on the hard drive for a boot.cfg file, which is similar to GRUB's menu.list file, and uses this file to give you a boot menu. Here is my boot.cfg file:
timeout 10
default 0
showmenu 1
title gNewSense metad
kernel (wd0,0)/boot/vmlinux-2.6.32.3-libre-lemote
initrd (wd0,0)/boot/initrd.img-2.6.32.3-libre-lemote
args console=tty no_auto_cmd root=/dev/hda1 rootdelay=8
To load a boot.cfg file (from a different partition) from PMON prompt do this:
bl -d ide (wd0,0)/boot.cfg
Modifying the device (wd0,0) and path (/boot.cfg) to suit. Notice that PMON refers to devices in a similar way to GRUB, starting from zero. i.e. the first partition on the first hard drive (/dev/hda1) is wd0,0 and the fourth partition (/dev/hda4) is wd0,3
To list files in a dir from PMON prompt do this:
dir (wd0,0)/path
Again modifying device and path to suit.
To get a device listing at the PMON prompt do this:
devls
To get help on PMON commands from the PMON prompt do this:
h
There is a PMON user manual in English here: http://olph.gdium.com/wiki/doku.php/manual:pmon_full
I am using gNewSense as my OS on this machine and it certainly feels good to finally have a machine with 100% free (as in freedom) software. This has been something I have wanted for a long time.
I basically followed the install instructions at http://wiki.gnewsense.org/Projects/gNewSenseToMips however here is a run down of the install process for gNewSense metad on the laptop.
load (usb0,0)/vmlinux-2.3.31.6-libre1 initrd (usb0,0)/initrd.gz g console=tty no_auto_cmd
sudo su - passwd
/etc/apt/sources.list contains the following:
deb http://archive.gnewsense.org/gnewsense-metad/gnewsense metad main deb-src http://archive.gnewsense.org/gnewsense-metad/gnewsense metad main ## gnewsense security deb http://archive.gnewsense.org/gnewsense-metad/gnewsense-security metad main deb-src http://archive.gnewsense.org/gnewsense-metad/gnewsense-security metad main
set moresz 20 (was 10) set ShowBootMenu no (was yes) set al /dev/fs/ext2@wd0/boot/boot (was /dev/fs/ext2@wd0/boot/vmlinux) set bsd /bsd (was )
I found out how to get the battery status from the terminal (at least with the kernel I am using (2.6.32.3). Just do:
cat /proc/apm
Setting up wireless on the Yeeloong with GNewSense
ln -s /etc/init.d/yeeloong-base /etc/rcS.d/S38yeeloong-base
chmod 0600 /etc/network/interfaces
/etc/network/interfaces
# wifi iface wlan0 inet dhcp wpa-ssid YOUR NETWORK ESSID wpa-psk YOUR NETWORK PASS KEY
sudo ifup wlan0 to bring it up
