pmon (BIOS of Loongson)
contact project's owner by qianyl@lemote.com
If you have any issues, login and create a newticket
Source
Access git repository:
- git://dev.lemote.com/pmon.git (git protocal, anonymous)
- http://dev.lemote.com/http_git/pmon.git (http protocal, if the git protocal is blocked by firewall)
- git@dev.lemote.com:pmon.git (ssh protocal, if you are this project's owner)
- Browser source code
Resources
- cross complie environment (tar.gz, build host: x86)
- PMON结构.ppt (Slide, Chinese)
- PMON开发.ppt (Slide, Chinese)
- PMON的pci设备初始化.doc (Chinese)
- PMON用户和开发者手册 (Chinese)
Compile Guide
- Download cross complie environment: mips-elf.tar.gz
- Extra mips-elf.tar.gz to /usr/local/comp/
tar xpf mips-elf.tar.gz -C /
- Get PMON's source code
git clone git://dev.lemote.com/pmon.git
- Checkout an appropriate tag
- Set Path. e.g.
export PATH=/usr/local/comp/mips-elf/gcc-2.95.3/bin/:$PATH
- Build pmoncfg tool
cd /path/to/pmon_dir cd tools/pmoncfg make cp pmoncfg /usr/bin
- Run pmoncfg, configure Bonito (pmoncfg will generate some helper files, in the directory: /path/to/pmon_dir/Targets/dir_corresponding_to_your_target_hardware/complie)
cd /path/to/pmon_dir cd Targets/dir_corresponding_to_your_target_hardware/conf pmoncfg Bonito
Notes: Bonito2F7inch is also used by 8.9inch notebook - Complie PMON
cd /path/to/pmon_dir cd zloader.dir_corresponding_to_your_target_hardware make tgt=rom
Notes:- Still, zloader.2f7inch is also used by 8.9inch notebook
- The make tgt=? has three options:
- rom: yield a gzrom.bin, then burn it to the materbord's rom (this can be done in the old pmon's console)
- ram: yield a gzram, then load it & boot in the old pmon's console. In this way, you can test your complied pmon.
- sim: we haven't used this.
