pmon: wget ftp://ftp.loongnix.org/embed/ls3a/toolchain/gcc-4.4-gnu.tar.gz -O -|tar -C / -zxf - cd tools/pmoncfg make pmoncfg export PATH=$PATH:$(pwd) cd - cd zloader.ls2k if which makedepend;then make cfg all tgt=rom CROSS_COMPILE=/opt/gcc-4.4-gnu/bin/mipsel-linux- else make cfg all tgt=rom CROSS_COMPILE=/opt/gcc-4.4-gnu/bin/mipsel-linux- MKDEP=: fi uboot: wget http://ftp.loongnix.org/embed/ls1b/toolchain/gcc-4.3-ls232-softfloat.tar.gz -O - |tar -C / -zxf - ./mymake distclean ./mymake ls2k kernel: wget ftp://ftp.loongnix.org/embed/ls3a/toolchain/gcc-4.9.3-64-gnu.tar.gz -O -|tar -C / -zxf - export PATH=/opt/gcc-4.9.3-64-gnu/bin:$PATH export MAKEFLAGS='CC=mips64el-linux-gcc\ -march=loongson3a' cd linux-3.10 cp ls2k.config .config || cp arch/mips/configs/loongson2k1000_defconfig .config make ARCH=mips CROSS_COMPILE=mips64el-linux- vmlinux os: mtd_erase /dev/mtd0r devcp /dev/fs/fat@usb0/rootfs.yaffs2 /dev/mtd0y test: cd root can: ./cantest.sh gmac0 gmac1 bridge: ./gmac.sh pcie igb bridge: ./ls2k-igb.sh mem: stressapptest -M 256 -s 99999 & stressapptest -M 256 -s 99999 & stressapptest -M 256 -s 99999 & stressapptest -M 256 -s 99999 & stream: stream unixbench: cd /root/unixbench: ./Run sound: play 1.wav rec 2.wav