Kernel reads Ethernet MAC address from NVRAM (and nowhere else) if
Paul Skirrow authored
  MACFROMNVRAM is set. This is set in HdrSrc for Customer F machines.

Detail:
  If MACFROMNVRAM is TRUE then OS_ReadSysInfo 4 will read the Ethernet MAC
  Address from bytes 0-13 of the NVRAM area, instead of trying to read it
  from anywhere else. (14 bytes are ysed to store 2 copies and 2
  checksums).

  This is intended for use with a 24LC128 device (which has no OTP area
  and no clock).

  Note that these are physical addresses within the device. Logical
  addresses &F0-&FF map to physical addresses &00-&0F.

  A SetMac utility is provided in Customer F 5 !Boot.Utils to enable the MAC
  address to be programmed for prototypes and development machines.

  Since it is dangerous to rely on the NVRAM to hold our MAC address when
  it is not protected in any way, we store two copies of it, each with
  their own checksum. At present only the first copy is used, but the
  plan is to check both copies and both checksums.

Admin:
  This version of the Kernel needs Programmer/HdrSrc v0.68 or later.

  If MACFROMNVRAM is enabled, ensure that the MACADDRESS tag in the
  NVRAM file is set to point at &F0 and that MACADDRESSCHECKSUM
  is set to point at &F6. Both should have options L and P to ensure
  they are protected from NVRAM resets and other writes.

Version 5.09. Tagged as 'Kernel-5_09'
6760ce30
Name Last commit Last update
Dev/IICTest Spinner branch merged.
Doc Kernel merged
Docs RISC OS 3.71 kernel changes merged.
NewModes Import from cleaned 360 CD
Resources/UK Following changes folded in from the start of the Ursula branch:
TestSrc * Meaning of FEIOSpeedHalf was accidentally inverted.
hdr Added new offset field to module header for flags
o Clean reimport of hdr.RISCOS (real commit date 2008-03-28 by bavison), without any of the 3rd party allocations.
rm Clean reimport of hdr.RISCOS (real commit date 2008-03-28 by bavison), without any of the 3rd party allocations.
s Kernel reads Ethernet MAC address from NVRAM (and nowhere else) if
.gitattributes Import from cleaned 360 CD
BlackLog Initial revision
Changes Import from cleaned 360 CD
HelpStrs Removed generated file s.TMOSHelp - modified Makefile to clean it correctly.
LICENSE Clean reimport of hdr.RISCOS (real commit date 2008-03-28 by bavison), without any of the 3rd party allocations.
Makefile Exports a C version of Hdr:RISCOS
MkClean,fd7 Import from cleaned 360 CD
MkExport,fd7 Import from cleaned 360 CD
MkRom,fd7 Kernel merged
MkRomInst,fd7 Blank file fixed
Version Spinner branch merged.
VersionASM Kernel reads Ethernet MAC address from NVRAM (and nowhere else) if
VersionNum Kernel reads Ethernet MAC address from NVRAM (and nowhere else) if