All of lore.kernel.org
 help / color / mirror / Atom feed
* [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.
@ 2012-10-28 16:31 Javier Vasquez
  2012-10-28 16:36 ` Javier Vasquez
  2012-10-28 17:19 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 79+ messages in thread
From: Javier Vasquez @ 2012-10-28 16:31 UTC (permalink / raw)
  To: grub-devel

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.


^ permalink raw reply	[flat|nested] 79+ messages in thread

end of thread, other threads:[~2013-12-05 21:54 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-28 16:31 [grub-devel] loongson-2f mini-pc (fuloong) elf image generation Javier Vasquez
2012-10-28 16:36 ` Javier Vasquez
2012-10-28 17:19 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-10-28 23:19   ` Javier Vasquez
2012-10-29 21:47     ` Aleš Nesrsta
2012-10-29 23:03       ` Javier Vasquez
2012-10-30 20:14         ` Aleš Nesrsta
2012-11-03 21:34           ` Javier Vasquez
2012-11-04 17:31             ` Javier Vasquez
2012-11-04 21:05               ` Aleš Nesrsta
2012-11-05  0:11                 ` Javier Vasquez
2012-11-04 21:51               ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-11-05  0:14                 ` Javier Vasquez
2013-07-12 14:02             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-12 16:25               ` Aleš Nesrsta
2013-07-12 18:05                 ` Lennart Sorensen
2013-07-13  8:13                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-13 18:10                   ` Aleš Nesrsta
2013-07-13 19:54                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-13 21:22                       ` Aleš Nesrsta
2013-07-15  0:18                         ` Javier Vasquez
2013-07-15  3:19                           ` Javier Vasquez
2013-07-15 10:26                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-16 13:40                               ` Javier Vasquez
2013-07-16 13:50                                 ` Javier Vasquez
2013-07-16 17:53                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-16 21:17                                     ` Javier Vasquez
2013-07-15 20:39               ` Aleš Nesrsta
2013-07-16 19:25                 ` Aleš Nesrsta
2013-07-16 19:29                   ` Aleš Nesrsta
2013-07-18 16:10                     ` [PATCH] " Aleš Nesrsta
2013-07-19  5:00                       ` Javier Vasquez
2013-07-20 21:56                         ` Aleš Nesrsta
2013-07-20 22:43                           ` Javier Vasquez
2013-07-21 15:29                             ` Aleš Nesrsta
2013-07-21 20:11                               ` Javier Vasquez
2013-07-22 20:14                                 ` starous
2013-07-22 21:00                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-23 21:05                                     ` starous
2013-07-26 15:30                                   ` Aleš Nesrsta
2013-07-26 16:59                                     ` Javier Vasquez
2013-07-26 17:14                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-27 22:40                                         ` Javier Vasquez
2013-07-28 13:56                                           ` Aleš Nesrsta
2013-07-28 14:04                                             ` Aleš Nesrsta
2013-09-17 17:24                                               ` Javier Vasquez
2013-09-17 17:34                                                 ` Javier Vasquez
2013-09-17 21:10                                                   ` Aleš Nesrsta
2013-09-17 21:35                                                     ` Gregg Levine
2013-09-17 22:17                                                       ` Aleš Nesrsta
2013-09-17 19:27                                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-09-17 20:33                                                   ` Javier Vasquez
2013-10-27 17:54                                                     ` Javier Vasquez
2013-10-27 18:02                                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 18:33                                                         ` Javier Vasquez
2013-10-27 20:03                                                           ` Aleš Nesrsta
2013-10-27 20:19                                                             ` Javier Vasquez
2013-10-27 21:20                                                               ` Aleš Nesrsta
2013-10-27 22:04                                                               ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 22:18                                                                 ` Javier Vasquez
2013-10-27 22:26                                                                   ` Javier Vasquez
2013-10-27 22:43                                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 22:51                                                               ` Javier Vasquez
2013-10-27 23:47                                                                 ` Javier Vasquez
2013-10-29 18:35                                                               ` Aleš Nesrsta
2013-10-29 18:46                                                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-01 21:26                                                                   ` Aleš Nesrsta
2013-11-01 21:59                                                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-04  1:10                                                                       ` Javier Vasquez
2013-11-04  1:16                                                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-10 19:03                                                                           ` Javier Vasquez
2013-11-10 19:10                                                                             ` Javier Vasquez
2013-11-17 12:04                                                                               ` Aleš Nesrsta
2013-11-17 18:31                                                                                 ` Javier Vasquez
2013-12-05 21:18                                                                                   ` Aleš Nesrsta
2013-12-05 21:34                                                                                   ` Aleš Nesrsta
2013-09-19  8:13                       ` [PATCH] " Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-16 23:31                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-16 23:39                     ` Javier Vasquez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.