I think this might be of interest to this mailing list as I often have
annoyed myself with
the long loadtime for initrd in PMON.


---------- Forwarded message ----------
From: liushiwei <liushi...@gmail.com>
Date: 2010/8/31
Subject: [debian-yeeloong-project] fix Loading initrd speed, yeeloong
pmon update, Unofficial.
To: debian-yeeloong-proj...@lists.alioth.debian.org


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

_______________________________________________
debian-yeeloong-project mailing list
debian-yeeloong-proj...@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-yeeloong-project



-- 
Cato Auestad
bleakgadfly
www.fsf.org / www.fsfe.org / www.gnu.org

_______________________________________________
gNewSense-dev mailing list
gNewSense-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/gnewsense-dev

Reply via email to