Skip to content

Integrate uboot-imx-kuk/uboot_mx8m_reduce_ramsettings_memusage

Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@f3a4048e

uboot mx8 gen_lpddr4_timings: add second host tool and documentation

This patch adds a second host-tool gen_lpddr4_timing_verify, which uses the auto-generated files intended for U-Boot SPL to create a complete RAM-settings file for each "base"+"patch" combination, so it is possible to verify the complete auto-generation and patch process on the host already for all supported RAM-settings.

Common code for both host tools has been moved to a separate file used by both tools.

All code has been commented and a README.md is added, which contains documentation on usage of the tools and how to integrate new RAM-settings.

Both host-tools together have also been used to verify all included RAM-settings against the auto-generated and patched ones and no functional differences have been found, i.e. actually integrating the code into U-Boot SPL should therefore result in identical RAM-settings being used compared to integrating the originial, complete sets.

This patch removes auto-generation of SoC-specific ddr.h file due to too many issues with dependencies in the build system. Instead a new hard-coded SoC-specific header file is used, which only contains the required data structures.

--

Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@9bb4b1da

uboot mx8: add tool to compress ram settings

This patch adds a host tool, which can take sets of (slightly modified) i.MX8M Plus RAM settings generated with NXP's tools, split these into one "base" set, which will can be included completely into U-Boot and a set of patch-functions, which generate the other settings by applying one patch-function to the "base" set.

(The tool can also create a complete set of settings given "base" settings and patch function. This functionality will be split off into a separate tool later on.)

Compilation of this tool has already been integrated into the i.MX8M Plus build-process (and the tool can be called manually to generate the output files. Usage of the tool and its output files still has to be integrated into the U-Boot SPL build process.

BCS US: 746-001343

Merge request reports

Loading