[coreboot] M2v-mx_se asus : nvram reset on power unplug

congedete at voila.fr congedete at voila.fr
Tue Feb 9 17:46:46 CET 2010


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.marek at assembler.cz>
> A : congedete at voila.fr
> Copie à : "Joseph Smith" <joe at settoplinux.org>, coreboot at 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
> 
> 
> 
> 
> 
> 
> 
> 
> congedete at 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_BASE	0xf00
> > 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" <joe at settoplinux.org>
> >> A : congedete at voila.fr
> >> Copie à : coreboot at coreboot.org
> >> Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug
> >>
> >> On 02/05/2010 02:35 PM, congedete at voila.fr wrote:
> >>     
> >>>
> >>>       
> >>>> Message du 05/02/10 à 19h52
> >>>> De : "Joseph Smith"<joe at settoplinux.org>
> >>>> A : congedete at voila.fr
> >>>> Copie à : coreboot at coreboot.org
> >>>> Objet : Re: [coreboot] M2v-mx_se asus : nvram reset on power unplug
> >>>>
> >>>>
> >>>> On 02/05/2010 01:22 PM, congedete at 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 at 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 at 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/








More information about the coreboot mailing list