gnewsense-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnewsense-dev] Fwd: [debian-yeeloong-project] fix Loading initrd speed,


From: Cato Auestad
Subject: [Gnewsense-dev] Fwd: [debian-yeeloong-project] fix Loading initrd speed, yeeloong pmon update, Unofficial.
Date: Tue, 31 Aug 2010 08:59:25 +0200

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 <address@hidden>
Date: 2010/8/31
Subject: [debian-yeeloong-project] fix Loading initrd speed, yeeloong
pmon update, Unofficial.
To: address@hidden


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
address@hidden
http://lists.alioth.debian.org/mailman/listinfo/debian-yeeloong-project



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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]