>>>>> "Vladimir" == Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> 
>>>>> writes:

>> I also ran 'grub-install' once, which put a full set of grub modules
>> to /boot/grub.  However, it failed to generate a grub image and
>> complained:
>> 
>> $ sudo /usr/local/sbin/grub-install /usr/local/bin/grub-mkimage:
>> error: cannot stat /usr/local/lib/grub/mipsel-loongson/uhci.mod.
>> 
> Fix attached

Ok, with your latest uhci.diff, I can now just run 'grub-install' which
leaves a (somewhat) working grub.elf in /boot.  Feels like we're getting
closer.

This shows the same behaviour like the grub-diy.elf that I generated via
grub-mkimage:

  - keyoard still not working.  Tried plugging in after grub startup,
  but doesn't help (for grub-diy.elf i had to shortly plug in the
  keyboard to select it in pmon, so mayb that doesn't count).  Also
  mouse was disconnected.

  - menu looks a little grabled (lots of '@' instead of border), but
  won't complain about that

Grub is already better working than Pmon.  Pmon refuses to load some of
my kernels without any indication why (seems to have problems depending
on image size, sometimes only vmlinux works, vmlinuz doesn't, kernels
compiled with -O2 don't work at all, need -Os etc.).

As far as I could test (without keyboard), grub now loads 3
kernels+initrd images that pmon would not load.

cheers,

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

Attachment: pgpSHb8apMxFz.pgp
Description: PGP signature

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to