buddiesvova.blogg.se

Adding i2c u boot commands
Adding i2c u boot commands








adding i2c u boot commands
  1. #ADDING I2C U BOOT COMMANDS SERIAL NUMBER#
  2. #ADDING I2C U BOOT COMMANDS UPDATE#
  3. #ADDING I2C U BOOT COMMANDS FULL#

U32 SerialNumber /** serial number assigned to part */Ĭhar ModelNumber /** board model number, human readable text, NULL terminated */īelow is a breakdown of the v1.2 second MAC generic block I2C EEPROM (FT24C16A - 16Kbit) memory usage: ¶ U32 ConfigVersion /** CONFIG_I2C_VERSION */ U32 ConfigMagicWord /** CONFIG_I2C_MAGIC_WORD */ U-boot-socfpga.git/board/cl/mityarm-5csx/config_block.h

adding i2c u boot commands

  • Type the command reset and press enter to reboot the unit with the new factory config.īelow is a breakdown of the v1.2 I2C EEPROM (FT24C16A - 16Kbit) memory usage: ¶.
  • This is what actually writes the new config to the EEPROM.
  • At the prompt, type the command factoryconfig save and press enter.
  • #ADDING I2C U BOOT COMMANDS UPDATE#

    Update each field as necessary, pressing enter to move to the next field.At the prompt, type the command factoryconfig set and press enter.In U-Boot, when you see "Hit any key to stop autoboot:" and a countdown, type a key to break into U-Boot.In most cases it is not recommended to change any information in the EEPROM but for certain causes such as filling in the 2nd MAC address the following steps can be used to do so. Generic blocks are stored in the factory config EEPROM as well, immediately following the base factory config. The device MAC address and serial number are also stored in the factory config EEPROM. Under the new mitysom-5csx branch, the u-Boot MLO (preloader) will read the CL model number from the I2C factory configuration I2C EEPROM at start up. You can inspect and modify (though you should not need to do this) the factory configuration data using the u-Boot "factoryconfig" command provided with CL ported u-Boot code.

    adding i2c u boot commands

    At this time generic blocks for a second MAC address and an RTC calibration value are supported. Additional configuration is stored in generic blocks that include the data type and size, the data itself, and a checksum. The factory configuration data include the serial number, model number, a version number, and a checksum. The MLO is dependent on a proper load of factory configuration data on the on-board I2C EEPROM. Importance of Factory Configuration EEPROM ¶

  • Added I2C support (to support factoryconfig).
  • Added support for the CL factoryconfig command.
  • The following general extensions have been added to the basic u-Boot image from Rocketboards: Mmcboot=setenv bootargs console=ttyS0,57600 root=$ Initphy=gpio clear 28 gpio set 28 sleep 1īootcmd=run initqspi run initphy run mmcload run mmcboot Note For the Dev Boards with part numbers 80-000578RC-1 or -2 initphy should be set to "gpio set 48 gpio clear 48 sleep 1" You'll need to add additional options to the bootargs to specify you're boot media.

    #ADDING I2C U BOOT COMMANDS FULL#

    The following u-Boot minimal environment settings / commands are necessary to utilize the full features of the DevKit Linux port. Typical Environment Settings for DevKit ¶ mityarm-5csx ( deprecated): Extensions to the Rocketboards socfpga_v2012.10 branch (Altera ESDK 13.0sp1).socfpga_v2013.01.01 : Extensions to the rocketboards socfpga_v2013.01.01 branch (Altera ESDK 13.1).Please familiarize yourself with the Altera/Rocketboards port of u-boot described hereĪs the Critical Link MitySOM-5CSX port is based on the Rocketboards port, and many of the SocFPGA processor specifics are detailed on the Rocketboards wiki. Second (CS1) Bootable NOR Flash Memory Map.First (CS0) Bootable NOR Flash Memory Map.Latest U-Boot Git SHAs for each factoryconfig version.Deprecated - Below is a breakdown of the v1.3 I2C EEPROM (FT24C16A - 16Kbit) memory usage:.Below is a breakdown of the v1.2 RTC calibration value generic block I2C EEPROM (FT24C16A - 16Kbit) memory usage:.Below is a breakdown of the v1.2 second MAC generic block I2C EEPROM (FT24C16A - 16Kbit) memory usage:.Below is a breakdown of the v1.2 I2C EEPROM (FT24C16A - 16Kbit) memory usage:.Importance of Factory Configuration EEPROM.Typical Environment Settings for DevKit.










    Adding i2c u boot commands