Am 26.01.2011 08:54, schrieb Joseph Kellermann:
Hi,
how can I enable the cmos recovery feature and where I have to put the cmos.default file ?

In my local version I have added
##########################################################################
    if [ -f $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.default ]; \
    then \
        $(CBFSTOOL) $@.tmp add $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.default "cmos.default" cmos-default; \
    fi
##########################################################################
in the src/arch/i386/Makefile.inc
The only thing I have to do is to put the cmos.default file in the mainboard dir.
Instead of this, you can add to your mainboard's Makefile.inc:
cbfs-files-y += cmos.default
cmos.default-name = cmos.default
cmos.default-type = "cmos default"

(not sure about the quotes in the last line)

This also picks up a file called "cmos.default" in your mainboard dir.


Regards,
Patrick