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

2013-12-05 Thread Aleš Nesrsta
Hi Javier, I went through this e-mail thread and I noted one possibly interesting thing: You sent debug output file ttyUSB0_new.txt at 27.10.2013. There is one very interesting part: the begin of this file - there are these lines: " Now booting the Boot with GNU GRUB2 Loading file: (wd0,0)/grub.

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

2013-12-05 Thread Aleš Nesrsta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Javier, I went through this e-mail thread and I noted one possibly interesting thing: You sent debug output file ttyUSB0_new.txt at 27.10.2013. There is one very interesting part: the begin of this file - there are these lines: " Now booting the

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

2013-11-17 Thread Javier Vasquez
On 11/17/13, Aleš Nesrsta wrote: > ... > Did you change > something else than misc.c? No, please see attached diff. Thanks, -- Javier. --- orig/grub-core/kern/misc.c 2013-11-09 14:07:56.306069352 -0600 +++ dbg/grub-core/kern/misc.c 2013-11-09 14:17:49.670659588 -0600 @@ -154,7 +154,11 @@

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

2013-11-17 Thread Aleš Nesrsta
Hi, something went wrong with debug. It looks like serial output stopped work... But it worked before, in output you sent 27.10.2013... Did you change something else than misc.c? We need somebody's help - Vladimir? Or somebody else who knows deep details about GRUB debugging via serial line on

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

2013-11-10 Thread Javier Vasquez
On 11/10/13, Javier Vasquez wrote: > On Sun, Nov 3, 2013 at 7:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko >> When you do grub_dprintf change you have to do it like: >> if (!debug) >> #ifdef GRUB_UTIL >> return; >> #else >> debug="all"; >> #endif > > > I'll be sending the grub.cfg from

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

2013-11-10 Thread Javier Vasquez
On Sun, Nov 3, 2013 at 7:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.11.2013 02:10, Javier Vasquez wrote: >> On 11/1/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> On 01.11.2013 22:26, Aleš Nesrsta wrote: Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbin

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

2013-11-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.11.2013 02:10, Javier Vasquez wrote: > On 11/1/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> On 01.11.2013 22:26, Aleš Nesrsta wrote: >>> >>> >>> Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): On 29.10.2013 19:35, Aleš Nesrsta wrote: > Only short note b

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

2013-11-03 Thread Javier Vasquez
On 11/1/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 01.11.2013 22:26, Aleš Nesrsta wrote: >> >> >> Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): >>> On 29.10.2013 19:35, Aleš Nesrsta wrote: Only short note below... Dne 27.10.2013 23:43, Vladimir 'φ

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

2013-11-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 01.11.2013 22:26, Aleš Nesrsta wrote: > > > Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): >> On 29.10.2013 19:35, Aleš Nesrsta wrote: >>> Only short note below... >>> >>> Dne 27.10.2013 23:43, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): On 27.10.2013 21:03, A

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

2013-11-01 Thread Aleš Nesrsta
Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): On 29.10.2013 19:35, Aleš Nesrsta wrote: Only short note below... Dne 27.10.2013 23:43, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): On 27.10.2013 21:03, Aleš Nesrsta wrote: 2. I don't see loading of OHCI module in

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

2013-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.10.2013 19:35, Aleš Nesrsta wrote: > Only short note below... > > Dne 27.10.2013 23:43, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): >> On 27.10.2013 21:03, Aleš Nesrsta wrote: >>> >>> >>> 2. >>> I don't see loading of OHCI module in debug output ! >>> Do you really have this module incl

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

2013-10-29 Thread Aleš Nesrsta
Only short note below... Dne 27.10.2013 23:43, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): On 27.10.2013 21:03, Aleš Nesrsta wrote: 2. I don't see loading of OHCI module in debug output ! Do you really have this module included in your image? I have to second this: OHCI module if loaded

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

2013-10-27 Thread Javier Vasquez
On Sun, Oct 27, 2013 at 4:51 PM, Javier Vasquez wrote: > On Sun, Oct 27, 2013 at 4:43 PM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 27.10.2013 21:03, Aleš Nesrsta wrote: >>> >>> >>> ... >> I have to second this: OHCI module if loaded and there is at least one >> PCI device available it

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

2013-10-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.10.2013 21:03, Aleš Nesrsta wrote: > > > 2. > I don't see loading of OHCI module in debug output ! > Do you really have this module included in your image? I have to second this: OHCI module if loaded and there is at least one PCI device available it will show "pciid = %x" message. Can you

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

2013-10-27 Thread Javier Vasquez
On Sun, Oct 27, 2013 at 4:18 PM, Javier Vasquez wrote: >>> ... >>> sudo grub-install --boot-directory=/boot --target=mipsel-loongson >>> --recheck /dev/sda >>> >> Add --modules="ehci ohci usb_keyboard" >>> >>> ... > > OK, I'll do it, however, please notice that without that, the image is > already

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

2013-10-27 Thread Javier Vasquez
>> ... >> sudo grub-install --boot-directory=/boot --target=mipsel-loongson >> --recheck /dev/sda >> > Add --modules="ehci ohci usb_keyboard" >> >> ... OK, I'll do it, however, please notice that without that, the image is already including ohci, and that my manual attempt also included it, as wel

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

2013-10-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.10.2013 21:19, Javier Vasquez wrote: > On Sun, Oct 27, 2013 at 2:03 PM, Aleš Nesrsta wrote: >> Dne 27.10.2013 19:33, Javier Vasquez napsal(a): >> >>> OK, I'll re-dump removing such call, :-) >> >> Hi Javier, >> >> maybe it is not necessary - at least with your current configuration. >> Why:

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

2013-10-27 Thread Aleš Nesrsta
Dne 27.10.2013 21:19, Javier Vasquez napsal(a): On the other hand, I believe as part of prior experiments I've already tried loading ohci after ehci, and that didn't make any difference... OK, as I wrote, order is not critical. But it looks like your PC never loaded OHCI module at all. Can yo

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

2013-10-27 Thread Javier Vasquez
On Sun, Oct 27, 2013 at 2:03 PM, Aleš Nesrsta wrote: > Dne 27.10.2013 19:33, Javier Vasquez napsal(a): > >> OK, I'll re-dump removing such call, :-) > > Hi Javier, > > maybe it is not necessary - at least with your current configuration. > Why: > > 1. > This: > > "... > bus/usb/ehci.c:1772: detect

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

2013-10-27 Thread Aleš Nesrsta
Dne 27.10.2013 19:33, Javier Vasquez napsal(a): > OK, I'll re-dump removing such call, :-) Hi Javier, maybe it is not necessary - at least with your current configuration. Why: 1. This: "... bus/usb/ehci.c:1772: detect_dev: EHCI STATUS: c004 bus/usb/ehci.c:1774: detect_dev: iobase=0xb4073

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

2013-10-27 Thread Javier Vasquez
> It's because your grub.cfg tells grub to switch to gfxterm. OK, I'll re-dump removing such call, :-) Thanks, -- Javier. ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

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

2013-10-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.10.2013 18:54, Javier Vasquez wrote: > On Tue, Sep 17, 2013 at 2:33 PM, Javier Vasquez > wrote: >> On Tue, Sep 17, 2013 at 1:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >>> On 17.09.2013 19:24, Javier Vasquez wrote: # stty -F /dev/ttyUSB0 9600 -echo # cat /dev/ttyUSB0

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

2013-10-16 Thread Javier Vasquez
On Wed, Oct 16, 2013 at 5:31 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Is any part of this thread still an issue? > I marked it but it seems that there were couple of patches committed > since then and suppsedly it fixes all problems mentioned. I would need to try the latest repo, but ev

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

2013-10-16 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Is any part of this thread still an issue? I marked it but it seems that there were couple of patches committed since then and suppsedly it fixes all problems mentioned. On 16.07.2013 21:25, Aleš Nesrsta wrote: > Hi Vladimir, > > I have some additional information - results of some today's experim

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

2013-09-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead On 18.07.2013 18:10, Aleš Nesrsta wrote: > Hi, > > after some debugging I have found bug(s) in handling of QHs related to > EHCI low speed split interrupt transfers. > > Attached patch seems to solve problem described below (non-working USB > keyboard attached to the same port where was

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

2013-09-17 Thread Gregg Levine
Hello! Your description of the classic Null-Modem device is correct. The baud rate isn't. it is 115200 not the value you used. - Gregg C Levine gregg.drw...@gmail.com "This signature fought the Time Wars, time and again." On Tue, Sep 17, 2013 at 5:10 PM, Aleš Nesrsta wrote: >>> # stty -F /de

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

2013-09-17 Thread Aleš Nesrsta
Hello! Your description of the classic Null-Modem device is correct. The baud rate isn't. it is 115200 not the value you used. Thanks for correction! My finger on the key 2 was too fast :-) As I see, it is really time to go to bed... (at least in our country) BR, Ales - Gregg C Levine gre

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

2013-09-17 Thread Javier Vasquez
On Tue, Sep 17, 2013 at 1:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 17.09.2013 19:24, Javier Vasquez wrote: >> # stty -F /dev/ttyUSB0 9600 -echo >> # cat /dev/ttyUSB0 > ttyUSB0.txt > It's 115200 not 9600 My mistake, the adapter is not a null modem. It'll take me more time then, :-

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

2013-09-17 Thread Aleš Nesrsta
# stty -F /dev/ttyUSB0 9600 -echo # cat /dev/ttyUSB0 > ttyUSB0.txt It was 9600 usually, but probably it should be 112500 now, as Vladimir wrote. If you want, you can ensure some speed on GRUB side by parameter -s ,e.g.: serial -s 112500 serial terminal_output console serial debug=all insmod

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

2013-09-17 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 17.09.2013 19:24, Javier Vasquez wrote: > # stty -F /dev/ttyUSB0 9600 -echo > # cat /dev/ttyUSB0 > ttyUSB0.txt It's 115200 not 9600 signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu

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

2013-09-17 Thread Javier Vasquez
On Tue, Sep 17, 2013 at 11:24 AM, Javier Vasquez wrote: > Finally I got the HW setup, but I'm not capturing anything, :-( > > See, I had to acquire a serial to usb cable adpater, given the laptop > with serial interface no longer works. It's kind of under a short or > something, ever since I trie

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

2013-09-17 Thread Javier Vasquez
Finally I got the HW setup, but I'm not capturing anything, :-( See, I had to acquire a serial to usb cable adpater, given the laptop with serial interface no longer works. It's kind of under a short or something, ever since I tried to hook the serial ports. It just doesn't start anymore... Any

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

2013-07-28 Thread Aleš Nesrsta
... Hmm, I can access one laptop with 9 pins RS-232 port. The mini-pc is a 3 pins serial port. I don't currently have a way to connect them. I'll have to buy a some cable/converter... Cable is shipped with fuloong. It's straight passive cable to RS-232. Thanks for that... I just foun

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

2013-07-28 Thread Aleš Nesrsta
... Hmm, I can access one laptop with 9 pins RS-232 port. The mini-pc is a 3 pins serial port. I don't currently have a way to connect them. I'll have to buy a some cable/converter... Cable is shipped with fuloong. It's straight passive cable to RS-232. Thanks for that... I just found it

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

2013-07-27 Thread Javier Vasquez
> On Fri, Jul 26, 2013 at 11:14 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 26.07.2013 18:59, Javier Vasquez wrote: >> ... >> Hmm, I can access one laptop with 9 pins RS-232 port. The mini-pc is >> a 3 pins serial port. I don't currently have a way to connect them. >> >> I'll have

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

2013-07-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.07.2013 18:59, Javier Vasquez wrote: On Fri, Jul 26, 2013 at 9:30 AM, Aleš Nesrsta wrote: Hi Javier, probably last chance to find the reason of Your GRUB USB keyboard trouble is the debugging. I don't know how much debugging experience do You have, so there is short "manual" what You ne

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

2013-07-26 Thread Javier Vasquez
On Fri, Jul 26, 2013 at 9:30 AM, Aleš Nesrsta wrote: > Hi Javier, > > probably last chance to find the reason of Your GRUB USB keyboard trouble is > the debugging. > > I don't know how much debugging experience do You have, so there is short > "manual" what You need to have/to do: Hmm, I can acce

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

2013-07-26 Thread Aleš Nesrsta
Hi Javier, probably last chance to find the reason of Your GRUB USB keyboard trouble is the debugging. I don't know how much debugging experience do You have, so there is short "manual" what You need to have/to do: 1. You'll need to have some another computer with serial port (or working U

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

2013-07-23 Thread starous
Hi Vladimir, first of all - I hope You will feel better soon. According to EHCI patch: There is real bug in QH handling. My solution is maybe not optimal but it looks to be working and solving the problem. Of course, You can improve it when You'll feel better :-) The main problem was: The origin

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

2013-07-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.07.2013 22:14, star...@volny.cz wrote: Hi, thanks for the test(s). It looks like there are two possible cases: - OHCI driver is not working on fuloong 2f - root hub events handling is still not correct on fuloong 2f I doubt either of those. Everything works fine on my fuloong 2F which is

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

2013-07-22 Thread starous
Hi, thanks for the test(s). It looks like there are two possible cases: - OHCI driver is not working on fuloong 2f - root hub events handling is still not correct on fuloong 2f Fortunately fuloong 2F has more or less classic serial interface so we probably can capture debug output from whole USB

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

2013-07-21 Thread Javier Vasquez
| On 7/21/13, Aleš Nesrsta wrote: | ... | Hm. | Could You make following additional test? | ... | | 4. | Boot the PC. During boot check this: | - If USB disk blinks when ls command is issued (i.e. if USB disk is | accessed by GRUB). No, it doesn't. | - If ls command output contains somewhere at

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

2013-07-21 Thread Aleš Nesrsta
Hm, it's pity. So, there is at least one additional bug somewhere... :-( ... Could You test if Your keyboard will work on fuloong when You use only OHCI module (don't include/load EHCI module in GRUB)? (EHCI module is not needed for USB keyboard in the case when keyboard is connected to root po

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

2013-07-20 Thread Javier Vasquez
On 7/20/13, Aleš Nesrsta wrote: > > Hm, it's pity. So, there is at least one additional bug somewhere... :-( > > ... > Could You test if Your keyboard will work on fuloong when You use only > OHCI module (don't include/load EHCI module in GRUB)? > (EHCI module is not needed for USB keyboard in the

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

2013-07-20 Thread Aleš Nesrsta
... Attached patch seems to solve problem described below (non-working USB keyboard attached to the same port where was USB disk previously). Please try it - maybe it solves also reported keyboard problem on fuloong/loongson. ... I applied the patch, on the version of the repo I had (5071), wit

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

2013-07-18 Thread Javier Vasquez
On 7/18/13, Aleš Nesrsta wrote: > ... > Attached patch seems to solve problem described below (non-working USB > keyboard attached to the same port where was USB disk previously). > > Please try it - maybe it solves also reported keyboard problem on > fuloong/loongson. > ... I applied the patch,

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

2013-07-18 Thread Aleš Nesrsta
Hi, after some debugging I have found bug(s) in handling of QHs related to EHCI low speed split interrupt transfers. Attached patch seems to solve problem described below (non-working USB keyboard attached to the same port where was USB disk previously). Please try it - maybe it solves also

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

2013-07-16 Thread Javier Vasquez
| On Tue, Jul 16, 2013 at 11:53 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: | | | On 16.07.2013 15:50, Javier Vasquez wrote: | | | | ... | | Having: | | | | GRUB_PRELOAD_MODULES="ehci ohci usb_keyboard" | | | | and, combining with preload of usb_keyboard didn't do the magic either... | | Try

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

2013-07-16 Thread Aleš Nesrsta
I forgot one more thing - if You want to try repeat USBMS/USB keyboard problem described below, You need to access the connected USB disk (e.g. by "ls" command) before removing it. Hi Vladimir, I have some additional information - results of some today's experiments. The main important thing

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

2013-07-16 Thread Aleš Nesrsta
Hi Vladimir, I have some additional information - results of some today's experiments. The main important thing related to USB keyboard: USB keyboard doesn't work if it is connected as first device to the same non-root hub port, where was connected USBMS device previously! If the keyboard is di

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

2013-07-16 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 16.07.2013 15:50, Javier Vasquez wrote: On 7/16/13, Javier Vasquez wrote: On 7/15/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: And using the grub.elf provided by grub-install, that didn't change a thing, :-) I still can't use the usb keyboard, :-( You need to preload ehci and ohci.

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

2013-07-16 Thread Javier Vasquez
On 7/16/13, Javier Vasquez wrote: > On 7/15/13, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >>> And using the grub.elf provided by grub-install, that didn't change a >>> thing, :-) I still can't use the usb keyboard, :-( >>> >> You need to preload ehci and ohci. > > Now I have this: > > GRUB_

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

2013-07-16 Thread Javier Vasquez
On 7/15/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> And using the grub.elf provided by grub-install, that didn't change a >> thing, :-) I still can't use the usb keyboard, :-( >> > You need to preload ehci and ohci. Now I have this: GRUB_PRELOAD_MODULES="ehci ohci" which generates in t

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

2013-07-15 Thread Aleš Nesrsta
I fixed the usb keyboard bug on fuloong. Looks like some "antivirus" software blocked my message with GRUB binary. Also thers is grub.elf (from 2.00~rc1) in downloads section. Hi Vladimir, I made some tests with the last changes of USB and there are results: 1. Some of my USBMS devices have pro

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

2013-07-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.07.2013 05:19, Javier Vasquez wrote: On 7/14/13, Javier Vasquez wrote: ... Does this mean that if do the following: bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub ... By using trunk, and instaling grub from there, and generating the menu wihtout and/or with: GRUB_PRELOAD_M

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

2013-07-14 Thread Javier Vasquez
On 7/14/13, Javier Vasquez wrote: > ... > > Does this mean that if do the following: > > bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub > > ... By using trunk, and instaling grub from there, and generating the menu wihtout and/or with: GRUB_PRELOAD_MODULES="part_gpt part_msdos usb usb_

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

2013-07-14 Thread Javier Vasquez
On 7/13/13, Aleš Nesrsta wrote: >> You have to use nativedisk command which reloads disk drivers all at >> once as BIOS disk services are disables when *hci or pata is loaded. > > Thanks, it works - it looks like I missed some important change in GRUB... > > BR, > Ales Does this mean that if do t

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

2013-07-13 Thread Aleš Nesrsta
You have to use nativedisk command which reloads disk drivers all at once as BIOS disk services are disables when *hci or pata is loaded. Thanks, it works - it looks like I missed some important change in GRUB... BR, Ales ___ Grub-devel mailing list

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

2013-07-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.07.2013 20:10, Aleš Nesrsta wrote: Hi Vladimir, thanks for the info. I wanted to try some experiments with this new version, but, unfortunately, something is probably bad in trunk - there is no accessible any disk device after "insmod " ("ls" does not list any device, only empty line).

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

2013-07-13 Thread Aleš Nesrsta
Hi Vladimir, thanks for the info. I wanted to try some experiments with this new version, but, unfortunately, something is probably bad in trunk - there is no accessible any disk device after "insmod " ("ls" does not list any device, only empty line). can be (maybe) anything, I tried ehci,

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

2013-07-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12.07.2013 18:25, Aleš Nesrsta wrote: Hi Vladimir, - what was the reason of the OHCI problem on Loongson? (I don't see any details of solution below nor the patch... ?) It was bad handling of root ports. My standard system has only EHCI+RMH so root port isn't accessible and is never hotplug

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

2013-07-12 Thread Lennart Sorensen
On Fri, Jul 12, 2013 at 06:25:58PM +0200, Aleš Nesrsta wrote: > Hi Vladimir, > > - what was the reason of the OHCI problem on Loongson? > (I don't see any details of solution below nor the patch... ?) I thought a lot of those systems use the AMD CS5536 south bridge, which should be perfectly norm

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

2013-07-12 Thread Aleš Nesrsta
Hi Vladimir, - what was the reason of the OHCI problem on Loongson? (I don't see any details of solution below nor the patch... ?) BR, Ales Dne 12.7.2013 16:02, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): I fixed the usb keyboard bug on fuloong. Looks like some "antivirus" software blocke

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

2013-07-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
I fixed the usb keyboard bug on fuloong. Looks like some "antivirus" software blocked my message with GRUB binary. Also thers is grub.elf (from 2.00~rc1) in downloads section. On 03.11.2012 22:34, Javier Vasquez wrote: On Tue, Oct 30, 2012 at 2:14 PM, Aleš Nesrsta mailto:star...@volny.cz>> wrot

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

2012-11-04 Thread Javier Vasquez
On Sun, Nov 4, 2012 at 3:51 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.11.2012 18:31, Javier Vasquez wrote: > ... > > When time permits (most likely next Sunday) I'll make for you an image > that I've tested on my fuloong to see if it makes any difference. > > -- > Regards > Vladimir

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

2012-11-04 Thread Javier Vasquez
On Sun, Nov 4, 2012 at 3:05 PM, Aleš Nesrsta wrote: > > OK, OHCI is present as companion controller, i.e. directly connected USB > keyboard should work. > > As You wrote, USB probably does not work at all - it seems like OHCI > driver is not loaded by GRUB. > > There should be some "insmod ohci" c

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

2012-11-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.11.2012 18:31, Javier Vasquez wrote: > On Sat, Nov 3, 2012 at 3:34 PM, Javier Vasquez > wrote: > > On Tue, Oct 30, 2012 at 2:14 PM, Aleš Nesrsta > wrote: > > Javier Vasquez píše v Po 29. 10. 2012 v 17:03 -0600: >

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

2012-11-04 Thread Aleš Nesrsta
Javier Vasquez wrote: > Are somewhere available more detailed information > about Your loongson-2f > Mini-PC HW? > > I'm attaching more information about the mini-pc... OK, OHCI is present as companion controller, i.e. directly conn

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

2012-11-04 Thread Javier Vasquez
On Sat, Nov 3, 2012 at 3:34 PM, Javier Vasquez wrote: > On Tue, Oct 30, 2012 at 2:14 PM, Aleš Nesrsta wrote: > >> Javier Vasquez píše v Po 29. 10. 2012 v 17:03 -0600: >> > > According to USB keyboard: Maybe it sounds funny, but try this, >> please: >> > > Unplug and plug again keyboard when GRUB

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

2012-11-03 Thread Javier Vasquez
On Tue, Oct 30, 2012 at 2:14 PM, Aleš Nesrsta wrote: > Javier Vasquez píše v Po 29. 10. 2012 v 17:03 -0600: > > > According to USB keyboard: Maybe it sounds funny, but try this, please: > > > Unplug and plug again keyboard when GRUB is loaded. > > > Does it help? > > > > > > BR > > > Ales > > > >

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

2012-10-30 Thread Aleš Nesrsta
Javier Vasquez píše v Po 29. 10. 2012 v 17:03 -0600: > > According to USB keyboard: Maybe it sounds funny, but try this, please: > > Unplug and plug again keyboard when GRUB is loaded. > > Does it help? > > > > BR > > Ales > > > Thanks, I tried, and it didn't work, :-( > > BTW, forgot to menion

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

2012-10-29 Thread Javier Vasquez
On Mon, Oct 29, 2012 at 3:47 PM, Aleš Nesrsta wrote: > Javier Vasquez wrote: >> On Sun, Oct 28, 2012 at 11:19 AM, Vladimir 'φ-coder/phcoder' >> Serbinenko wrote: >> > >> >> ... >> > >> > Is there a hub or is keyboard connected directly? >> > >> > -- >> > Regards >> > Vladimir 'φ-coder/phcoder' Se

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

2012-10-29 Thread Aleš Nesrsta
Javier Vasquez wrote: > On Sun, Oct 28, 2012 at 11:19 AM, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > > > >> ... > > > > Is there a hub or is keyboard connected directly? > > > > -- > > Regards > > Vladimir 'φ-coder/phcoder' Serbinenko > > > The keyboard is connected directly... > Accordin

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

2012-10-28 Thread Javier Vasquez
On Sun, Oct 28, 2012 at 11:19 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> ... > > Is there a hub or is keyboard connected directly? > > -- > Regards > Vladimir 'φ-coder/phcoder' Serbinenko The keyboard is connected directly... -- Javier. _

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

2012-10-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
> 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... Is there a hub or is keyboard connected directly? -- Regards Vladimir 'φ-coder/phcoder' Serbinenko signature.asc D

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

2012-10-28 Thread Javier Vasquez
On Sun, Oct 28, 2012 at 10:31 AM, Javier Vasquez 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 g

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

2012-10-28 Thread Javier Vasquez
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 --