Skip to content

Integrate u-boot-seco-imx/add_eeprom_manager_d18

GitBot requested to merge u-boot-seco-imx/add_eeprom_manager_d18 into kirkstone

Commit: clea-os/bsp/nxp/u-boot-seco-imx@cccea4dc

[ENV][D18] Configure env boot commands to use the eeprom based seco_device_config

This commit enables the functionality from the last commits for the D18. This is done by changing the MACRO for the fdt_overlay_load2ram command to a new implementation. As it also takes into account the settings from seco_config and needs settings in the devicetree to use the eeprom settings, it will change the uboot messages also for other D18 platforms but not change the boot behavior.

[ENV][SECO] Adapt env cmd

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@3052c80e

[ENV][SECO] Add functions for seco_device_storage to default ENV

As these are not called without other changes, this commit should not change any boot behavior.

The commits adds a new command fdt_overlay_apply_all: The iterates about different 'functions' currently panel and touch, and tries to load the configuration from different sources: seco_config: u-boot environment seco_device_config: eeprom or other persitent storage default: hardcoded image default

If one config is found it applies the mapped devicetree overlay to the loaded base devicetree and stops further processing for this function. That means if seco_config is set for the panel, the eeprom setting is ignored, if seco_config is not set, the setting from the eeprom is taken.

For the seco_device_config the mapping from 'panel-id-1' or 'touch-id-1' is read from the already loaded devicetree.

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@23e4896c

[CONFIG][D18] Enable EEPROM manager commands

MODV-78

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@6ad3a34e

[CMD][EEPROM] Add env function that sets UIDs in U-Boot ENV

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@02eb74cb

[CMD][EEPROM] Move I2C setup and init to main function

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@63a1ffc7

[CMD][EEPROM] Enable set, dump and format functions only in debug mode

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@6338389b

[CMD][EEPROM] Move environment var names to defines

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@83476374

[CMD][EEPROM] Write panel_id and touch_id to ENV

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@38640b7c

[LIB][EEPROM] Fix CRC calculation in format function

The CRC is little endian and needs to be reversed after the calculation.

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@e69db6ef

[LIB][EEPROM] Add touch id to EEPROM manager

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@85458c02

[CMD][EEPROM] Add format and dump functions to EEPROM manager

MODV-78

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@6b8adb75

[LIB][EEPROM] Add public function to format/init the EEPROM structure

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@8cab7095

[LIB][EEPROM] Add public function to dump the EEPROM structure

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@f7f12dc4

[CMD][EEPROM] Add print function and clean-up get function

MODV-78

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@7b9446a1

[CMD][EEPROM] Add first draft of EEPROM Manager commands

--

Commit: clea-os/bsp/nxp/u-boot-seco-imx@1518a752

[DTS][D18] Add I2C_5 and remove flexcan

Merge request reports

Loading