gnewsense-dev
[Top][All Lists]
Advanced

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

Re: [Gnewsense-dev] using boot.cfg on fuloong mini box 2e


From: s . boutayeb
Subject: Re: [Gnewsense-dev] using boot.cfg on fuloong mini box 2e
Date: Thu, 05 Feb 2009 08:38:44 +0100
User-agent: Internet Messaging Program (IMP) 3.2.8

Hi Giuseppe,

First, what hardware variant do you use? If you use a Fuloong mini 2E, please be
aware that the wiki page refers to newer hardware (fuloong mini 2F and yeeloong
laptop 8089). The kernel should match your hardware.

FYI, find below an excerpt of a boot.cfg file.

This boot.cfg file should be located in the partition as set by the pmon
parameter, e.g. /dev/hda1, (see documentation on the wiki, especially
http://wiki.gnewsense.org/Projects/GNewSenseToMIPS#toc134 )

HTH

regards

Samy

///////////////////////////////////////////////////////
default 0
timeout 3
showmenu 1
title debian for loongson at hda2
        kernel (wd0,1)/boot/vmlinux
        args root=/dev/hda2 console=tty ide_core.ignore_cable=0
uca=0x50000000,0x1000000 splash quiet

title rescue
        kernel /dev/fs/address@hidden/boot/rescue
        args console=tty ide_core.ignore_cable=0
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the RAYS update-pmon script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda2 ide_core.ignore_cable=0 ro uca=0x50000000,0x1000000 splash
quiet

## ## End Default Options ##

title           RAYS for loongson (loongson2f)
 kernel         (wd0,0)/boot/vmlinux-loongson2f
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

title           RAYS for loongson (loongson2e)
 kernel         (wd0,0)/boot/vmlinux-loongson2e
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

title           RAYS for loongson (fulong2f)
 kernel         (wd0,0)/boot/vmlinux-fulong2f
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

title           RAYS for loongson (notebook)
 kernel         (wd0,0)/boot/vmlinux-notebook
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

title           RAYS for loongson (2.6.27.7-fulong2f)
 kernel         (wd0,0)/boot/vmlinux-2.6.27.7-fulong2f
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

title           RAYS for loongson (2.6.27.7-yeeloong)
 kernel         (wd0,0)/boot/vmlinux-2.6.27.7-yeeloong
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

title           RAYS for loongson (2.6.25.9-loongson2e)
 kernel         (wd0,0)/boot/vmlinux-2.6.25.9-loongson2e
 args           console=tty root=/dev/hda2 ide_core.ignore_cable=0 ro
uca=0x50000000,0x1000000 splash quiet

### END RAYS AUTOMAGIC KERNELS LIST
title usb
        kernel (usb0,0)/boot/vmlinux
        args root=/dev/sda1 console=tty ide_core.ignore_cable=0 rootdelay=7
uca=0x50000000,0x1000000


///////////////////////////////////////////////////////


Selon Giuseppe Sacco <address@hidden>:

> Hi all,
> actually I am using kernel 2.6.23-1-loongson2e-64 with initrd. My
> problem is that every time I boot the machine, I have to type long
> commands "initrd ..." the "load ...." then "g ...".
>
> I would like to make it automatically. I browsed the web looking for
> information and I found that pmon may use a boot.cfg file, so I
> installed the pmon-tools package and let update-pmon create
> my /boot/boot.cfg and create a link from /boot.cfg to this file.
>
> The boot.cfg seems correct, but I *never* found complete documentation
> about this file format. All examples I found never show the initrd
> parameter. This is my file (without comments):
>
> ========= start /boot/boot.cfg =======================================
> default 0
> showmenu 1
> timeout 10
>
> title           RAYS for loongson (2.6.28-fulong2e)
>  kernel         /dev/fs/address@hidden/boot/vmlinux-2.6.28-fulong2e
>  args           console=tty root=/dev/hda1 ro video=radeonfb:1024x768 vga=791
> idebus=66 ide0=ata66 ide_core.ignore_cable=0 splash quiet
> title          RAYS for loongson (2.6.23-1-loongson2e-64)
>  kernel                
> /dev/fs/address@hidden/boot/vmlinux-2.6.23-1-loongson2e-64
>  args          console=tty root=/dev/hda1 ro video=radeonfb:1024x768 vga=791
> idebus=66 ide0=ata66 ide_core.ignore_cable=0 splash quiet initrd
>   /dev/fs/address@hidden/boot/initrd.img-2.6.23-1-loongson2e-64
> ========= end /boot/boot.cfg =======================================
>
> now, when I boot the machine, I see no "ShowBootMenu" variable, so the
> boot.cfg should be used, but it's not: when I power on the machine, then
> pmon tries to load the kernel specified in the variable "al" and the
> kernel crashes since no initrd image has been loaded.
>
> According to what is available at
> http://wiki.gnewsense.org/Projects/gNewSenseToMIPS, I think I have the
> wrong pmon2000, since I am missing two commands: "path" and "dir". I am
> not really sure about this, since both commands are used in examples
> related to 8089 hardware.
>
> When I issue the command "vers" at the "PMON>" prompt, I get
> PMON2000 2.1 bonito #405.
>
> Anyone may help?
>
> Thanks,
> Giuseppe
>
>
>
> _______________________________________________
> gNewSense-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnewsense-dev
>






reply via email to

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