[debian-yeeloong-project] fix Loading initrd speed, yeeloong pmon update, Unofficial.

liushiwei liushiwei at gmail.com
Tue Aug 31 05:12:36 UTC 2010


Unofficial,  http://www.bjlx.org.cn/loongson/pmon/pmon-LM8089-1.4.9a.bin
   for yeeloong    md5:f3dabc910ca84afb0eaa9f1f76a074d2

load initrd.img ,  2M byte,  Less than 5 seconds.




patch:

   --- pmon_yeeloong.orig/pmon//loaders/exec_bin.c 2010-05-18
10:45:31.000000000 +0800
   +++ pmon_yeeloong/pmon/loaders/exec_bin.c       2010-08-30
22:35:19.094909405 +0800
   @@ -50,7 +50,7 @@
       load_bin (int fd, char *buf, int *n, int flags)
   {
           void *addr = (void *)dl_offset;
   -       int size = 512;
   +       int size = 4096*16;
           int n2;
           int count = 0;



update:
mount /dev/hda1 /mnt
cd /mnt
wget http://www.bjlx.org.cn/loongson/pmon/pmon-LM8089-1.4.9a.bin
reboot, ・[del]  into PMON command console.
PMON>load -r -f bfc00000 (wd0,0)/pmon-LM8089-1.4.9a.bin



More information about the debian-yeeloong-project mailing list