1. 20 Jul, 2012 1 commit
  2. 15 Jul, 2012 1 commit
    • Ben Avison's avatar
      Added support for writing fake CMOS on Raspberry Pi · 6e62fd1f
      Ben Avison authored
        For the Raspberry Pi, the CMOS RAM is embedded within the ROM image, since
        the default bootloader isn't flexible enough to load it from a separate
        file (and we need to know CMOS contents before modules like SDFS have
        initialised). This functionality is enabled by the build switch StoreInHAL
        passed in via the Makefile. Unrelatedly, removed a double free of the module
        workspace on finalisation.
        Tested on Raspberry Pi.
      Version 0.02. Tagged as 'SDCMOS-0_02'
  3. 07 Jun, 2012 1 commit
    • Ben Avison's avatar
      Initial import of SDCMOS module · b8788829
      Ben Avison authored
        This module intercepts ByteV so every time a CMOS bte is written, it
        saves the CMOS to the file "CMOS" on whichever card was in drive SDFS::0
        when the module initialised (which will normally be the boot card, since
        the module would not normally be reinitialised after ROM initialisation).
        If you don't want to be nagged to change cards every time the CMOS is
        written, you have two options:
        * Delete the CMOS file from your boot SD card, and update your boot
          script so it doesn't try to load it
        * Use *Unplug SDCMOS
        In either case, you will then require an EEPROM carrier board if you want
        your settings to persist across a reset.
        Tested on beagleboard and beagleboard-xM, both with and without a CMOS
        file on the boot card.