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

Cato Auestad bleakgadfly at fsfe.org
Tue Aug 31 07:00:48 UTC 2010


Very nice, Liu!

I have often been annoyed by the long loadtime of initrd! I assume the
command below flashes PMON with the patch?

Thanks again!

2010/8/31 liushiwei <liushiwei at gmail.com>:
> 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-project at 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



More information about the debian-yeeloong-project mailing list