>>>>> "Andreas" == Andreas Barth <a...@not.so.argh.org> writes:

> * David Kuehling (dvdkh...@gmx.de) [111029 11:37]:
>> according to my /proc/cmdline grub passes
>> machtype=lemote-fuloong-2f-unknown as first argument to the linux
>> kernel.

> Did you see any issues because of that in Linux? Fallback within linux
> is MACH_LEMOTE_FL2F which is the one used with the argument
> "lemote-fuloong-2f-box" (not saying this bug shouldn't be fixed, but
> ...). Also I think grub should just forward the parameters added by
> pmon, but not adding them itself (except for the parameters via the
> grub configuration, e.g. root=...).

BTW it looks like it is impossible to override machtype= parameter from
the kernel command line configured in boot/grub/grub.cfg, since linux
code in loongson/common/machtype.c uses the first occurence of
"machtype=" in arcs_cmdline[]. Is this behaviour by design or by
accident?  Is this linux' fault or grub's fault?  One could change grub
to append machtype= rather than prepend it to the command line...

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpvn1sHKSVzF.pgp
Description: PGP signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to