grub-devel
[Top][All Lists]
Advanced

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

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.


From: Javier Vasquez
Subject: Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.
Date: Sun, 28 Oct 2012 10:36:47 -0600

On Sun, Oct 28, 2012 at 10:31 AM, Javier Vasquez
<address@hidden> wrote:
> As it was announced on 2.0 release, I attempted to compile/install
> vanilla grub on a mini-pc, with 4.7 gcc...
>
> I just used:
>
> ./configure --prefix=/usr --sysconfdir=/etc
> make
> sudo make install
>
> After installing I removed old grub generated stuff, and ran:
>
> sudo grub-install --boot-directory=/boot --target=mipsel-loongson
> --recheck /dev/sda
>
> That automatically generate a /boot/grub.elf image.  Then after
> editing /etc/default/grub I ran:
>
> sudo grub-mkconfig -o /boot/grub/grub.cfg
>
> So far so good...  I already have as a /boot/boot.cfg menu entry, one
> dedicated to use the grub elf image:
>
> title   Boot with GNU GRUB2
>         kernel  (wd0,0)/grub.elf
>         args    console=tty no_auto_cmd
>
> When rebooting, and selecting to use the grub.elf image, I get the
> grub menu, and apparently it works, cause after the timeout expires it
> selects the first grub menu entry, and everything works.  However a
> bad thing is that the usb keyboard does not work on the grub menu.
>
> I then tried to manually generate a grub.elf image by running:
>
> sudo grub-mkimage -O mipsel-fuloong-elf -o /boot/grub.elf linux ata
> usb_keyboard ohci part_msdos ext2 xfs part_gpt ls halt reboot usbms
> usb gzio search lspci help ahci blocklist date elf pata configfile
> echo
>
> And the grub.elf generated got worse, cause not only I still didn't
> get the usb keyboard to work, but the menu was not loaded, the only
> thing available was the grub prompt, which is useless without
> keyboard, :-)
>
> I also tried:
>
> sudo grub-mkimage -O mipsel-fuloong-elf -o /boot/grub.elf linux ata
> usb_keyboard ohci part_msdos ext2 xfs part_gpt ls halt reboot usbms
> gzio search lspci help ahci blocklist date elf pata configfile echo
>
> But that didn't make any difference.
>
> Then I said, well perhaps the latest bzr revision has some fix in it.
> And I went through the slower procees of "./autogen.sh" prior to the
> same configure, and make steps...
>
> That didn't help either.  Teh automatically generated elf image works
> but without usb keyboard support, and the manually generated one
> doesn't work either as 2.0 didn't...
>
> Any hints?
>
> Thanks,
>
> --
> Javier.

Forgot to mention that also tried on 2.0 to configure with
"--target=mipsel --with-platform=loongson" prior to the make steps,
and that didn't help.  I went back to the "guesses" by configure,
cause the alternative besides not helping further was generating
unusual (at least to me) /etc/grub.d files, :-).  The point is that it
didn't work either...

-- 
Javier.



reply via email to

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