Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug
OK. I thought NVRAM was referring to CMOS in coreboot. You learn me a new thing again. Thank you very much Rudolf. Regards. Message du 08/02/10 à 18h02 De : Rudolf Marek r.ma...@assembler.cz A : conged...@voila.fr Copie à : Joseph Smith j...@settoplinux.org, coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug hi This NVRAM is for suspend/resume. So it is only powered if 5VSB is there. So it is not a real battery backup device. The platform has 256 bytes of classic NVRAM (CMOS). I think you can use ioports 74/75. to get access to whole 256Bytes. (check if PCI 11.0 4e bit 3 is 1) I think it should be. Rudolf conged...@voila.fr wrote: I use those methods in Seabios. And as soon as I unplug the power supply, load_state_from_nvram doesn't return the value saved. Is something wrong with my methods ? #define K8T890_NVRAM_IO_BASE0xf00 int save_state_to_nvram(u32 dword) { int nvram_pos=64; dprintf(1,Writing %x of size 4 to nvram pos: %d\n, dword, nvram_pos); //size=4 outl(dword, K8T890_NVRAM_IO_BASE+nvram_pos); nvram_pos +=4; return nvram_pos; } int load_state_from_nvram( u32 *old_dword) { int nvram_pos=64; //size=4 *old_dword = inl(K8T890_NVRAM_IO_BASE+nvram_pos); nvram_pos +=4; dprintf(1,Loading %x of size 4 from nvram pos:%d\n, * old_dword, nvram_pos-4); return nvram_pos; } Message du 05/02/10 à 20h38 De : Joseph Smith j...@settoplinux.org A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug On 02/05/2010 02:35 PM, conged...@voila.fr wrote: Message du 05/02/10 à 19h52 De : Joseph Smithj...@settoplinux.org A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug On 02/05/2010 01:22 PM, conged...@voila.fr wrote: Hello, When I shutdown my computer, my nvram datas are kept alive. But if I unplug/plug the power supply, nvram is reset. The clock is OK, so it is not a battery problem. How can I keep datas in nvram when I unplug the power supply ? Either your CMOS battery is dead or you have RTC issue. But the clock is OK, so I don't think my CMOS battery is dead. Could you tell me more about the RTC issue ? Is this with coreboot? -- Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Faites le plein d’amour, de cadeaux coquins et de poèmes romantiques avec Voila sur http://evenementiel.voila.fr/SaintValentin2010/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot A défaut d’un cadeau, envoyez un petit mot ! Retrouvez nos cartes de saint Valentin sur http://carte-de-voeux.voila.fr/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug
I use those methods in Seabios. And as soon as I unplug the power supply, load_state_from_nvram doesn't return the value saved. Is something wrong with my methods ? #define K8T890_NVRAM_IO_BASE0xf00 int save_state_to_nvram(u32 dword) { int nvram_pos=64; dprintf(1,Writing %x of size 4 to nvram pos: %d\n, dword, nvram_pos); //size=4 outl(dword, K8T890_NVRAM_IO_BASE+nvram_pos); nvram_pos +=4; return nvram_pos; } int load_state_from_nvram( u32 *old_dword) { int nvram_pos=64; //size=4 *old_dword = inl(K8T890_NVRAM_IO_BASE+nvram_pos); nvram_pos +=4; dprintf(1,Loading %x of size 4 from nvram pos:%d\n, * old_dword, nvram_pos-4); return nvram_pos; } Message du 05/02/10 à 20h38 De : Joseph Smith j...@settoplinux.org A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug On 02/05/2010 02:35 PM, conged...@voila.fr wrote: Message du 05/02/10 à 19h52 De : Joseph Smithj...@settoplinux.org A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug On 02/05/2010 01:22 PM, conged...@voila.fr wrote: Hello, When I shutdown my computer, my nvram datas are kept alive. But if I unplug/plug the power supply, nvram is reset. The clock is OK, so it is not a battery problem. How can I keep datas in nvram when I unplug the power supply ? Either your CMOS battery is dead or you have RTC issue. But the clock is OK, so I don't think my CMOS battery is dead. Could you tell me more about the RTC issue ? Is this with coreboot? -- Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Faites le plein d’amour, de cadeaux coquins et de poèmes romantiques avec Voila sur http://evenementiel.voila.fr/SaintValentin2010/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] M2v-mx_se asus : nvram reset on power unplug
Hello, When I shutdown my computer, my nvram datas are kept alive. But if I unplug/plug the power supply, nvram is reset. The clock is OK, so it is not a battery problem. How can I keep datas in nvram when I unplug the power supply ? Thanks in advance for your help. Faites le plein d’amour, de cadeaux coquins et de poèmes romantiques avec Voila sur http://evenementiel.voila.fr/SaintValentin2010/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug
Message du 05/02/10 à 19h52 De : Joseph Smith j...@settoplinux.org A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug On 02/05/2010 01:22 PM, conged...@voila.fr wrote: Hello, When I shutdown my computer, my nvram datas are kept alive. But if I unplug/plug the power supply, nvram is reset. The clock is OK, so it is not a battery problem. How can I keep datas in nvram when I unplug the power supply ? Either your CMOS battery is dead or you have RTC issue. But the clock is OK, so I don't think my CMOS battery is dead. Could you tell me more about the RTC issue ? -- Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Faites le plein d’amour, de cadeaux coquins et de poèmes romantiques avec Voila sur http://evenementiel.voila.fr/SaintValentin2010/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Seabios problems
patching file src/biosvar.h Hunk #1 FAILED at 97. patch: malformed patch at line 45: // Accessor functions Could you send me your patch file please ? Mine is definitely out. Message du 21/01/10 à 00h58 De : Kevin O'Connor ke...@koconnor.net A : conged...@voila.fr Copie à : seab...@seabios.org, coreboot coreboot@coreboot.org Objet : Re: [coreboot] Seabios problems On Wed, Jan 20, 2010 at 05:46:25PM +0100, conged...@voila.fr wrote: Hello, I can't apply the diff to the biosvar.h, so I do it by hand. All other diffs applied correctly. I've confirmed that the patch I sent applies cleanly: git clone git://git.linuxtogo.org/home/kevin/seabios.git cd seabios patch -p1 /path/to/ps2.patch make Please retry. Thanks, -Kevin -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Je m’évite la cohue dans les magasins et je profite des petits prix sur http://shopping.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Seabios problems
Hello, I can't apply the diff to the biosvar.h, so I do it by hand. All other diffs applied correctly. The compiler throws errors: Compiling whole program out/ccode.16.s src/mouse.c: In function ‘disable_mouse’: src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: warning: type defaults to ‘int’ in declaration of ‘__val’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: warning: type defaults to ‘int’ in declaration of ‘__sfv_val’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: warning: type defaults to ‘int’ in declaration of ‘__value_tmp’ src/mouse.c:34: error: memory input 1 is not directly addressable src/mouse.c:34: error: memory input 1 is not directly addressable src/mouse.c:34: error: memory input 1 is not directly addressable src/mouse.c: In function ‘mouse_15c20001’: src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: warning: type defaults to ‘int’ in declaration of ‘__val’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: warning: type defaults to ‘int’ in declaration of ‘__sfv_val’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: warning: type defaults to ‘int’ in declaration of ‘__value_tmp’ src/mouse.c:65: error: memory input 1 is not directly addressable src/mouse.c:65: error: memory input 1 is not directly addressable src/mouse.c:65: error: memory input 1 is not directly addressable src/kbd.c: In function ‘set_leds’: src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: warning: type defaults to ‘int’ in declaration of ‘__val’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: warning: type defaults to ‘int’ in declaration of ‘__sfv_val’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct
Re: [coreboot] Seabios problems
I installed Windows7 on a sata hdd and the last seabios git boots, so vista on sata hdd will using dma config. The ata_try_dma seems to loop indefinitely. Is it normal ? Maybe it slows my pata hdd during boot. I will try your patch tomorrow. I'll be back soon. Message du 18/01/10 à 22h24 De : Kevin O'Connor ke...@koconnor.net A : conged...@voila.fr Copie à : seab...@seabios.org, coreboot coreboot@coreboot.org Objet : Re: [coreboot] Seabios problems On Mon, Jan 18, 2010 at 07:07:55PM +0100, conged...@voila.fr wrote: The report tells the keyboard is initialized, but I wasn't able to use my keyboard. The ps2 timeout seems to be the problem no? The earlier patch was just a test. Can you remove the old patches and try again with the patch below applied to the latest SeaBIOS git? -Kevin diff --git a/src/biosvar.h b/src/biosvar.h index b6e061b..2e43f8b 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -97,7 +97,7 @@ struct bios_data_area_s { u8 floppy_media_state[4]; u8 floppy_track[2]; u8 kbd_flag2; -u8 kbd_led; +u8 kbd_flag3; struct segoff_s user_wait_complete_flag; u32 user_wait_timeout; // 40:A0 @@ -123,6 +123,33 @@ struct bios_data_area_s { #define FMS_DOUBLE_STEPPING (15) #define FMS_DATA_RATE_MASK (0xc0) +// Bit definitions for kbd_flag[0123] +#define KF0_RSHIFT (10) +#define KF0_LSHIFT (11) +#define KF0_CTRLACTIVE (12) +#define KF0_ALTACTIVE(13) +#define KF0_SCROLLACTIVE (14) +#define KF0_NUMACTIVE(15) +#define KF0_CAPSACTIVE (16) + +#define KF1_LCTRL(10) +#define KF1_LALT (11) +#define KF1_PAUSEACTIVE (13) +#define KF1_SCROLL (14) +#define KF1_NUM (15) +#define KF1_CAPS (16) + +#define KF2_LAST_E1(10) +#define KF2_LAST_E0(11) +#define KF2_RCTRL (12) +#define KF2_RALT (13) +#define KF2_101KBD (14) + +#define KF3_SCROLL_LED (10) +#define KF3_NUM_LED (11) +#define KF3_CAPS_LED(12) +#define KF3_CMD_PENDING (16) + // Accessor functions #define GET_BDA(var) \ GET_FARVAR(SEG_BDA, ((struct bios_data_area_s *)0)-var) @@ -205,7 +232,6 @@ struct extended_bios_data_area_s { u8 other2[0xC4]; // 0x121 - Begin custom storage. -u8 ps2ctr; int RTCusers; // El Torito Emulation data diff --git a/src/kbd.c b/src/kbd.c index 6f3ae15..44dce57 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -11,28 +11,6 @@ #include bregs.h // struct bregs #include ps2port.h // kbd_command -// Bit definitions for BDA kbd_flag[012] -#define KF0_RSHIFT (10) -#define KF0_LSHIFT (11) -#define KF0_CTRLACTIVE (12) -#define KF0_ALTACTIVE(13) -#define KF0_SCROLLACTIVE (14) -#define KF0_NUMACTIVE(15) -#define KF0_CAPSACTIVE (16) - -#define KF1_LCTRL(10) -#define KF1_LALT (11) -#define KF1_PAUSEACTIVE (13) -#define KF1_SCROLL (14) -#define KF1_NUM (15) -#define KF1_CAPS (16) - -#define KF2_LAST_E1(10) -#define KF2_LAST_E0(11) -#define KF2_RCTRL (12) -#define KF2_RALT (13) -#define KF2_101KBD (14) - void kbd_setup(void) { @@ -223,7 +201,7 @@ static void set_leds(void) { u8 shift_flags = (GET_BDA(kbd_flag0) 4) 0x07; -u8 kbd_led = GET_BDA(kbd_led); +u8 kbd_led = GET_BDA(kbd_flag3); u8 led_flags = kbd_led 0x07; if (shift_flags == led_flags) return; @@ -233,7 +211,7 @@ set_leds(void) // Error return; kbd_led = (kbd_led ~0x07) | shift_flags; -SET_BDA(kbd_led, kbd_led); +SET_BDA(kbd_flag3, kbd_led); } // INT 16h Keyboard Service Entry Point diff --git a/src/mouse.c b/src/mouse.c index 52e225c..888d32d 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -29,13 +29,8 @@ mouse_setup(void) #define RET_ENOHANDLER 0x05 static int -disable_mouse(u16 ebda_seg) +disable_mouse(void) { -u8 ps2ctr = GET_EBDA2(ebda_seg, ps2ctr); -ps2ctr |= I8042_CTR_AUXDIS; -ps2ctr = ~I8042_CTR_AUXINT; -SET_EBDA2(ebda_seg, ps2ctr, ps2ctr); - return aux_command(PSMOUSE_CMD_DISABLE, NULL); } @@ -43,8 +38,7 @@ disable_mouse(u16 ebda_seg) static void mouse_15c2(struct bregs *regs) { -u16 ebda_seg = get_ebda_seg(); -int ret = disable_mouse(ebda_seg); +int ret = disable_mouse(); if (ret) set_code_invalid(regs, RET_ENEEDRESEND); else @@ -55,18 +49,12 @@ mouse_15c2(struct bregs *regs) static void mouse_15c20001(struct bregs *regs) { -u16 ebda_seg = get_ebda_seg(); -u8 mouse_flags_2 = GET_EBDA2(ebda_seg, mouse_flag2); +u8 mouse_flags_2 = GET_EBDA(mouse_flag2); if ((mouse_flags_2 0x80) == 0) { set_code_invalid(regs, RET_ENOHANDLER); return; } -u8 ps2ctr = GET_EBDA2(ebda_seg, ps2ctr); -ps2ctr = ~I8042_CTR_AUXDIS; -ps2ctr |= I8042_CTR_AUXINT; -
Re: [coreboot] Seabios problems
Do you have an idea to bypass the dma problem you tell me ? Message du 17/01/10 à 18h43 De : Kevin O'Connor ke...@koconnor.net A : conged...@voila.fr Copie à : seab...@seabios.org, coreboot coreboot@coreboot.org Objet : Re: [coreboot] Seabios problems On Sun, Jan 17, 2010 at 09:29:08AM +0100, conged...@voila.fr wrote: I am back. I give you those logs: - I still have keyboard troubles in debuglevel=4 - Vista doesn't boot with your patch. Thanks for your help. Thanks. Can you try the following for the keyboard problem? --- a/src/ps2port.c +++ b/src/ps2port.c @@ -306,6 +306,7 @@ aux_command(int command, u8 *param) static void process_ps2irq(void) { +return; u8 status = inb(PORT_PS2_STATUS); if (!(status I8042_STR_OBF)) { dprintf(1, ps2 irq but no data.\n); Your keyboard definitely wont work after this, but I'd like to see if the init succeeds with it. (I think there may be a case where interrupts are messing with the initialization.) -Kevin -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Je m’évite la cohue dans les magasins et je profite des petits prix sur http://shopping.voila.fr 0.5.1keyb Description: Binary data -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Seabios problems
The report tells the keyboard is initialized, but I wasn't able to use my keyboard. The ps2 timeout seems to be the problem no? Message du 18/01/10 à 18h37 De : Kevin O'Connor ke...@koconnor.net A : conged...@voila.fr Copie à : seab...@seabios.org, coreboot coreboot@coreboot.org Objet : Re: [coreboot] Seabios problems On Mon, Jan 18, 2010 at 06:14:51PM +0100, conged...@voila.fr wrote: Message du 17/01/10 à 18h43 De : Kevin O'Connor ke...@koconnor.net --- a/src/ps2port.c +++ b/src/ps2port.c @@ -306,6 +306,7 @@ aux_command(int command, u8 *param) static void process_ps2irq(void) { +return; u8 status = inb(PORT_PS2_STATUS); if (!(status I8042_STR_OBF)) { dprintf(1, ps2 irq but no data.\n); Your keyboard definitely wont work after this, but I'd like to see if the init succeeds with it. (I think there may be a case where interrupts are messing with the initialization.) init ps2port /37fce000\ Start thread |37fce000| i8042 flushed aa (status=11) |37fce000| i8042 flushed 7e (status=11) |37fce000| i8042 flushed f0 (status=11) |37fce000| i8042 flushed 7e (status=11) |37fce000| i8042 flushed 7e (status=11) |37fce000| i8042 flushed f0 (status=11) |37fce000| i8042 flushed 7e (status=11) |37fce000| ps2_recvbyte timeout |37fce000| keyboard initialized \37fce000/ End thread So, it successfully initialized the keyboard this time. Can you confirm that it reliably reports keyboard initialized now instead of keyboard self test failed? I'll put together a patch to make sure interrupts don't mess with the init process. Thanks, -Kevin Je m’évite la cohue dans les magasins et je profite des petits prix sur http://shopping.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Seabios problems
I will try to install vista or windows7 on a sata drive to test your new dma implementation. Message du 18/01/10 à 18h29 De : Kevin O'Connor ke...@koconnor.net A : conged...@voila.fr Copie à : seab...@seabios.org, coreboot coreboot@coreboot.org Objet : Re: [coreboot] Seabios problems On Mon, Jan 18, 2010 at 06:14:51PM +0100, conged...@voila.fr wrote: Do you have an idea to bypass the dma problem you tell me ? The latest SeaBIOS git has ATA DMA disabled by default now. -Kevin Je m’évite la cohue dans les magasins et je profite des petits prix sur http://shopping.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Seabios problems
I tried with only my Vista HDD and seabios doesn't want to boot Windows boot manager. For info, my linux-grub2 is on a sata hdd, but Vista isn't. It is a pata hdd on an udma100. Message du 16/01/10 à 18h06 De : Kevin O'Connor ke...@koconnor.net A : conged...@voila.fr Copie à : seab...@seabios.org, coreboot coreboot@coreboot.org Objet : Re: [coreboot] Seabios problems On Sat, Jan 16, 2010 at 12:23:09AM -0500, Kevin O'Connor wrote: On Fri, Jan 15, 2010 at 02:27:39PM +0100, conged...@voila.fr wrote: 0.5.1 : same problem as 0.5.0 and Vista don't want to boot I don't have any problems with my previous version pre-0.4.3. I run coreboot rev5007 on my asus m2v-mx_se. Your machine seems to have two hard drives. Is only one hard drive showing the boot issue, or are both drives not booting? -Kevin -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Vous n’avez pas encore adressé vos voeux ? Retrouvez nos cartes sur http://carte-de-voeux.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] Seabios problems
Hello, I wanted to upgrade my seabios version, but some troubles arrived. 0.5.0 : keyboard timeout problem (I think) error: ps2_recvbyte timeout keyboard self test failed (got e0 not 0xaa) 0.5.1 : same problem as 0.5.0 and Vista don't want to boot I don't have any problems with my previous version pre-0.4.3. I run coreboot rev5007 on my asus m2v-mx_se. Does anyone report those troubles before ? Thanks in advance for your help. Vous n’avez pas encore adressé vos voeux ? Retrouvez nos cartes sur http://carte-de-voeux.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] Test : printing current time in serial debug
Hello, I want to display the current date and time inside functions like add_mainboard_resources, suspend_resume or to find the elapsed time between the end of coreboot and the end of the payload for example. I search how to get the current time from protected mode in coreboot. Since there is no library, I think the only way is to call real mode int 1ah from protected mode, but I can't find any example. Is it the only way ? If someone can help me or gives me the source to implement this feature. Thanks in advance for your help. Bonne année ! Adressez gratuitement vos voeux avec Voila.fr sur http://carte-de-voeux.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] M2v-mx_se asus : s3 sleeping broken since rev4625 ruik
Hello Rudolf, You are right. It works with your patch using buildtarget instead of kconfig. But now, I'm back to the first problem I found: when using kconfig, S3 resume doesn't work and when using buildtarget, I can't boot opensuse because I get the error: initrd is too big. You don't seem to have such a problem, do you ? I really appreciate your help and you (and coreboot team) are a god for me at this time because I come from high level language ie csharp and it's difficult to switch to low level language,asm or linux but I try. Regards. Message du 28/12/09 à 10h44 De : Rudolf Marek r.ma...@assembler.cz A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : s3 sleeping broken since rev4625 ruik Hi, I can confirm the patch works fine. The board reserves the memory on 31MB as hole. So, the saving stuff can be left unimplemented for now. [0.00] BIOS-e820: - 0009f000 (usable) [0.00] BIOS-e820: 0009f000 - 000a (reserved) [0.00] BIOS-e820: 000f - 0010 (reserved) [0.00] BIOS-e820: 0010 - 01f0 (usable) [0.00] BIOS-e820: 01f0 - 0200 (reserved) [0.00] BIOS-e820: 0200 - 17fe7000 (usable) [0.00] BIOS-e820: 17fe7000 - 1800 (reserved) [0.00] BIOS-e820: e000 - f000 (reserved) High Tables Base is 17ff, but that little missing stuff 17fe7000 - 17ff is from SeaBIOS I think. I used classic buildtarget/abuild method beccause I think Kconfig has bit different configuration. I'm glad that you have chosen this board! It was a lot of work to get it running ;) Thanks, Rudolf -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Adressez gratuitement vos cartes de voeux virtuelles avec Voila.fr sur http://carte-de-voeux.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] M2v-mx_se asus : s3 sleeping broken since rev4625 ruik
Hello, I did some testing on my Asus M2v-mx_se and I discover that s3 sleeping state in broken since revision 4625 from Rudolf Marek for the motherboard. It enters in s3 sleeping state, the LED is blinking, but during the wakeup it simply reboots instead of jumping to the boot segment. Does anyone encounter the same problem ? I don't know if it's an ACPI problem or the coreboot v3 features added that causes the trouble. Hope someone could help or upgrade coreboot for M2v-mx_se. Thanks in advance. Tables en fête, recettes parfaites, sorties en goguette tout est sur http://evenementiel.voila.fr/Noel -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] Tr: Re: M2v-mx_se asus : s3 sleeping broken since rev4625 ruik
Message du 27/12/09 à 23h18 De : conged...@voila.fr A : Rudolf Marek r.ma...@assembler.cz Copie à : Objet : Re: [coreboot] M2v-mx_se asus : s3 sleeping broken since rev4625 ruik Sorry Rudolf, rev 4625 is working, but as you tell it is broken after Stephan made changes. It's to be up to date with those changes. Thank you to give your precious time. Regards. Message du 27/12/09 à 23h10 De : Rudolf Marek r.ma...@assembler.cz A : conged...@voila.fr Copie à : coreboot@coreboot.org Objet : Re: [coreboot] M2v-mx_se asus : s3 sleeping broken since rev4625 ruik Hi, Yeah I know. I think it is broken since Stephan changes to wakeup core and the memory manager for the blocks stuff. There is one patch for consolidating the integrated UMA stuff - this patch needs to be adjusted plus there must be some patches for the zero copy logic. I had no time for this. I can try to fix it tomorrow if I find some semi finished patch. But mine time is limited so it is difficult. You mentioned the patch 4625 broke it. Can you try 4624 and/or 4627? I suspect this change is unrelated. Rudolf conged...@voila.fr napsal(a): Hello, I did some testing on my Asus M2v-mx_se and I discover that s3 sleeping state in broken since revision 4625 from Rudolf Marek for the motherboard. It enters in s3 sleeping state, the LED is blinking, but during the wakeup it simply reboots instead of jumping to the boot segment. Does anyone encounter the same problem ? I don't know if it's an ACPI problem or the coreboot v3 features added that causes the trouble. Hope someone could help or upgrade coreboot for M2v-mx_se. Thanks in advance. Tables en fête, recettes parfaites, sorties en goguette tout est sur http://evenementiel.voila.fr/Noel -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Tables en fête, recettes parfaites, sorties en goguette tout est sur http://evenementiel.voila.fr/Noel Tables en fête, recettes parfaites, sorties en goguette tout est sur http://evenementiel.voila.fr/Noel -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Development IDE
Thanks for your help. I will study Kscope because I didn't know this tool. Regards. Message du 25/08/09 à 10h32 De : mans...@iwavesystems.com A : coreboot@coreboot.org Copie à : Harald Gutmann harald.gutm...@gmx.net Objet : Re: [coreboot] Development IDE I use Kscope for both kernel development and coreboot http://kscope.sourceforge.net/ On 24.08.2009 22:45, Harald Gutmann wrote: On Monday 24 August 2009 22:36:35 Carl-Daniel Hailfinger wrote: On 24.08.2009 19:02, conged...@voila.fr wrote: I wanted to know which development IDE do you use to develop coreboot: Eclipse, Netbeans ... I can't find anything, any project under Eclipse or any other IDE. I use vim and grep. There is no IDE for coreboot development. Interesting, but do you use any extensions for vim? I really love vim, and use it for all kinds of text modification. :) Some time ago I came across this article: http://www.swaroopch.com/notes/Vim_en:Programmers_Editor and some things in there are really useful to use vim as IDE. IMHO a few bits of advice on that page encourage writing mediocre code (like focusing on typing speed instead of thinking), but making up for it with sheer size. Then again, this is probably a cultural thing. The only special vim features I use are syntax highlighting (always) and bracket bouncing (rarely). Autoindent is off. Each helper tool is run in a separate window, usually even on a different virtual desktop. I usually use 3-4 virtual desktops for development, each with another window open at the same time. Ctrl-Alt-Arrow for moving between virtual desktops in a 4x2 grid. Top row of desktops is for development, bottom row is for communication (web, mail, IRC). The exact window layout differs depending on the task (code/datasheet cross-checking, writing new generic code, writing new chip-specific code, or changing the architecture of some code). Window manager is fvwm2. ctags/cscope are nice, but I hardly ever need them outside orientation phases (and during orientation phases I usually read _all_ related code to avoid using ctags/cscope later). While using ctags/cscope can be a great timesaver, it is often even faster if you don't need them at all. Regards, Carl-Daniel -- http://www.hailfinger.org/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot --- DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. -- --- DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. -- -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Envie de partager vos photos de vacances ? Voila vous offre 1 Go d’espace de stockage sur http://macle.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] Development IDE
Hello corebooters, I wanted to know which development IDE do you use to develop coreboot: Eclipse, Netbeans ... I can't find anything, any project under Eclipse or any other IDE. Thanks in advance for your answer. Envie de partager vos photos de vacances ? Voila vous offre 1 Go d’espace de stockage sur http://macle.voila.fr -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot