Hi yanhua, Thanks to your useful explanations, I have succeeded to boot on a fuloong mini box from an usb stick!
For the record, I will describe the procedure on our gNewSenseToMIPS page: http://wiki.gnewsense.org/Projects/GNewSenseToMIPS thank you again for your help! Best regards, Samy Selon yanhua <[email protected]>: > If you want to boot from usb, because the usb probing is somehow slow, > you need to wait for the root device getting prepared. > try the following command > g console=tty root=/dev/sda1 rootdelay=8 > Besides, if you want to boot from usb disk, you must have usb modules > built in kernel. > > > > [email protected] åé: > > Thank you very much for your detailed answer. > > > > I have a fuloong mini box with "PMON 2.1 (Bonito) #7". Le command "set" at > the > > "PMON>" prompt says 'Version = 1.2.125". > > I have downloaded the file > > ftp://debian.bjlx.org.cn/loongson2f/usb_loongson2f_v4.tar.bz2 and copied > thee > > fils to an USB disk, according to the README file. > > So, at the "PMON>" prompt, I type "load > > /dev/fs/e...@usb0/boot/vmlinux" with the USB key inserted. I dont have > found any > > file named "vmlinux-installer. > > The line > > "Entry address is 80205fb0" displays and the "PMON>" prompt show again. > > Then, after the command "g console=tty" , the system loads from the default > > /dev/hda1 partition. Then I have the gdm display manager, but the usb > keyboard > > doesnt respond. > > Anyway, what I try to to is to launch the install process from the usb key, > as > > described in the README file from usb_loongson2f_v4.tar.bz. > > Consequently, I type: > > > > PMON> load /dev/fs/e...@usb0/boot/vmlinux > > PMON> g console=tty root=/dev/sda1 delay=7 > > > > Then, the system loads... and ends up in a kernel panic. > > > > The error messages are: > > VFS: Cannot open root device "sda1" or unknown-block (0,0) > > Please append a correct "root=" boot option; here are the available > partitions: > > 0300 117220824 hda driver: ide-disk > > 0301 30724312 hda1I > > 0302 30724312 hda2 > > 0303 1020127 hda3 > > 0304 54749520 hda4 > > Kernel panic - not syncind: VFS: Unable to mount root fs on > unknown-block(0,0) > > > > BTW, the procedure consisting to untar the file > > ftp://bjlx.org.cn/loongson/loongson2_debian5_20081216.tar.bz2 on the > /dev/hdaN > > partition, following the instructions in the README file from > > usb_loongson2f_v4.tar.bz are correct. Consequently, I have a working system > > then. But I tried to make the process more easiest for the members of our > > GNewSenseToMips project. > > > > Thank you again for your help > > > > Best regards > > > > Samy > > > > > > Quoting yanhua <[email protected]>: > > > > > >> Hi*> >> The PMON is just a bootloader, you can load any kernel images through > >> it, a kernel with ramdisk(installer in it) can be loaded as normal > >> kernel, then a install > >> process start. > >> The pmon you currently use may differ from Fuloongn mini. Fuloong mini > >> have used a pmon supporting boot.cfg which likes grub, but yeeloong uses > >> only environment setting to load kernel. Later we will update the pmon > >> and make it support boot.cfg. > >> If you want to install a new system, you can load the kernel by hand. > >> Here are some commands available in pmon. > >> 1. To load a kernel in usb disk > >> load /dev/fs/e...@usb0/boot/vmlinux-installer > >> 2. using the kernel to boot and install(From now on, the install process > >> is like in fuloong mini) > >> g console=tty > >> > >> BTW, to come to pmon prompt, you press DEL key when booting > >> > >> below are some useful commands in pmon > >> h ## list all commands > >> h <cmd> ## give out <cmd> usage > >> > >> [email protected] Ã¥â â¢Ã©Ââ: > >> > >>> Hi, > >>> > >>> For our porting project of the gNewSense distribution on the Yeelong > >>> > >> laptop, we > >> > >>> try to figure out some details about the pmon2000 boot firmware. > >>> > >>> First of all, we want to be sure that we can restore and reinstall the > >>> > >> system > >> > >>> from an external media (such as an usb key or an external disk) before we > >>> > >> make > >> > >>> the yeelong unusable because of our experiments. > >>> > >>> We have experimented initially the procedure on a Fuloong mini, and > >>> > >> instaled on > >> > >>> it the latest loongson2 release > >>> (http://bjlx.org.cn/loongson/loongson2_debian5_20081216.tar.bz2). We want > >>> > >> to > >> > >>> adapt later the procedure on the Yeelong if possible (we have no access > to > >>> > >> this > >> > >>> hardware yet, but we want to prepare the future work already). > >>> > >>> The /boot/boot.cfg file has a section "title usb" with which we should > boot > >>> > >> from > >> > >>> an usb media. We installed on an usb key the file > >>> http://bjlx.org.cn/loongson2f/usb_loongson2f_v4.tar.bz2. Unfortunately, > the > >>> systems hangs with a kernel panic, after selecting the "usb" option from > >>> > >> the > >> > >>> boot.cfg file. The pmon2000 version is 2.1 (Bonito). > >>> > >>> So, my question: could we boot from an usb device with PMON2000 > >>> Bonito 2.1. My guess is that there is a bug in that version and my hope > is > >>> > >> that > >> > >>> it has been possibly fixed in a newer PM2000 version. > >>> > >>> Thank you for your help > >>> > >>> Best regards > >>> > >>> Samy > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > > > > > > > -- > æå > > çµè¯: 0512-52308672 > > æ±èä¸ç§é¾æ¢¦ç§ææéå ¬å¸ > > æ±èç常çå¸è山鿢¦å °å·¥ä¸å > > > _______________________________________________ gNewSense-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-users
