gnewsense-users
[Top][All Lists]
Advanced

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

[gNewSense-users] Re: gNewSenseToMIPS: PMON2000 version and updates


From: s . boutayeb
Subject: [gNewSense-users] Re: gNewSenseToMIPS: PMON2000 version and updates
Date: Thu, 18 Dec 2008 08:07:20 +0100
User-agent: Internet Messaging Program (IMP) 3.2.8

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/address@hidden/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/address@hidden/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 hda1
  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 <address@hidden>:

> 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/address@hidden/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
>
> address@hidden 写道:
> > 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
> >
> >
> >
> >
> >
> >
> >
>
>




reply via email to

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