Translated from the publicly available Chinese Manual and added the only extra Gdium specific command.
Pmon Quick User Guide
Should part of this content be in violation of copyright laws, please get in touch with us as soon as possible.
The PMON is an Open Source system element combining both BIOS and boot loader functionalities and used for embedded systems. While more limited than a generic BIOS, it shines compared to most boot loaders. Used as such in Loongson-based machines, a lot of work has been put to improve its functionalities.
Main Pmon characteristics:
- Ext2, fat32 and Ram file system support
- Network access (tftp), disk access and flash access support
- Built-in debugging features
- USB 2.0 Mass Storage support
- MIPS, ARM and PowerPC platform support
- BSD Licensed
In order of importance in day-to-day operations, the commands you will need the most are introduced below. For the full manual please consult the complete manual.
devls
DEVLS: list devices.
devls [-an]
-a show all device types
-n show network devices
Example:
PMON> devls Device name Type usbg0 DISK rtl0 INET
In your Gdium, usbg0 is the GKey and rtl0 the network interface
load
LOAD: loads a file.
load [-options] pathname
-o offset the document is loaded into memory load_address + offset Office.
-f addr file loaded into flash Office address addr.
pathname to load the file path or URL.
h load check other options.
Examples: load at the first hard disk partition (pmon recognize only the first partition) kernel:
load /dev/fs/ext2@wd0/boot/vmlinux # the first partition is the ext2 file system load /dev/fs/ext2@wd0b/boot/vmlinux # load the second partition of the core document, wd0c, wd0d, for the third, four divisions.
Tftp from a remote server to load the kernel: (This feature is repeated compiler easily debug kernel)
load tftp://192.168.10.100/vmlinux # first configured network
Other formats:
load /dev/fs/iso9660@cd0/boot/vmlinux load /dev/fs/ext2@usbg0/boot/vmlinux load /dev/ram@address load /dev/ram@address,size load /dev/ram/logger