Skip to content

ebbr-nxp: base: use https protocol#451

Closed
MrCry0 wants to merge 36 commits intofoundriesio:ebbr-nxpfrom
MrCry0:ebbr-nxp
Closed

ebbr-nxp: base: use https protocol#451
MrCry0 wants to merge 36 commits intofoundriesio:ebbr-nxpfrom
MrCry0:ebbr-nxp

Conversation

@MrCry0
Copy link
Copy Markdown
Contributor

@MrCry0 MrCry0 commented Nov 2, 2021

Tested on Factory:

  • apalis-imx6: OK
  • imx7ulpea-ucom: OK
  • imx8mm-lpddr4-evk-sec: OK
  • imx8mp-lpddr4-evk: OK
  • imx8mq-evk: OK
  • apalis-imx6-mfgtools: OK
  • imx6ullevk-sec-mfgtools: OK
  • imx7ulpea-ucom-mfgtools: OK
  • imx8mm-lpddr4-evk-sec-mfgtools: OK
  • imx8mp-lpddr4-evk-mfgtools: OK
  • mx8mq-evk-mfgtools: OK

Fix building the LmP.

Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.

Signed-off-by: Oleksandr Suvorov [email protected]

ricardosalveti and others added 30 commits October 26, 2021 19:12
Not needed anymore as they were removed in meta-freescale.

Signed-off-by: Ricardo Salveti <[email protected]>
Refresh patches based on the lf-5.10.52-2.1.0 release.

Signed-off-by: Ricardo Salveti <[email protected]>
Update to the NXP BSP lf-5.10.52-2.1.0 release.

Signed-off-by: Ricardo Salveti <[email protected]>
…d_addr

Use the address value directly instead of initrd_addr as that is not
always available based on the BSP revision used from NXP.

Signed-off-by: Ricardo Salveti <[email protected]>
Disable more options that are not required by the base lmp build, which
can be found on the 2021.04-based NXP BSP u-boot tree.

Signed-off-by: Ricardo Salveti <[email protected]>
Disable more options that are not required by the base lmp build, which
can be found on the 2021.04-based NXP BSP u-boot tree.

Signed-off-by: Ricardo Salveti <[email protected]>
Update u-boot-fio 2021.04 tree to track the new branch that includes the
latest NXP BSP changes.

Signed-off-by: Ricardo Salveti <[email protected]>
Add mfgtool u-boot recipe based on u-boot-fio 2021.04.

Default preference to -1 until we are able to update all targets to this
version.

Signed-off-by: Ricardo Salveti <[email protected]>
Latest u-boot-fio/mfgtool is not yet default as we're still working on
getting a functional build across all supported targets, so only prefer
2021.04 on mx8mm-based devices.

Signed-off-by: Ricardo Salveti <[email protected]>
Watchdog was enabled on the normal build only, so make sure to also have
it enabled in mfgtools as a way to make sure the device will reset
itself in case of major issues.

Signed-off-by: Ricardo Salveti <[email protected]>
Add u-boot config fragment required for EBBR support.

Signed-off-by: Ricardo Salveti <[email protected]>
Change signing, kernel, ostree and wic related options for the
EBBR-based imx8mm-lpddr4-evk machine.

Signed-off-by: Ricardo Salveti <[email protected]>
Extend imx8mm-lpddr4-evk-ebbr by adding ebbr to the default
MACHINE_FEATURES list.

Signed-off-by: Ricardo Salveti <[email protected]>
Update fslc-imx kernel to the latest from the lf-5.10.52-2.1.0 release.

Also remove patches that are not required anymore.

Signed-off-by: Ricardo Salveti <[email protected]>
Fix building error [1] by disabling unused CONFIG_DISTRO_DEFAULTS.

[1]
include/config_distro_bootcmd.h:292:2: error: expected ‘}’ before ‘BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB’
  292 |  BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/config_distro_bootcmd.h:292:2: note: in definition of macro ‘BOOTENV_DEV_NAME_USB’
  292 |  BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/configs/imx8mm_evk.h:90:2: note: in expansion of macro ‘BOOTENV_DEV_NAME’
   90 |  func(USB, usb, 0) \
      |  ^~~~
...

Signed-off-by: Oleksandr Suvorov <[email protected]>
Disable more options that are not required by the base lmp build and
which causes the build to fail due some other disabled options (e.g.
USB).

Signed-off-by: Ricardo Salveti <[email protected]>
Not every distro has imx wdog enabled, which causes a reboot during the
install process when booting an ebbr-compatible image, so just disable
it for now.

Signed-off-by: Ricardo Salveti <[email protected]>
Disable more options that are not required by the base lmp build and
which causes the build to fail due some other disabled options (e.g.
USB).

Signed-off-by: Ricardo Salveti <[email protected]>
Disable more options that are not required by the base lmp build, which
can be found on the 2021.04-based NXP BSP u-boot tree.

Signed-off-by: Ricardo Salveti <[email protected]>
…t BSP

* Use fdtfile as fdt_file is not available on the latest BSP.
* Use the address value directly instead of initrd_addr as that is not
always available depending on the BSP release used.

Signed-off-by: Ricardo Salveti <[email protected]>
Add u-boot config fragment required for EBBR support.

Signed-off-by: Ricardo Salveti <[email protected]>
Relevant changes:
- 338719756c0 [FIO fromtree] efi_loader: Fix loaded image alignment
- b5c95009a84 [FIO fromtree] efi_loader: rounding of image size
- 7f408940713 [FIO toup] imx8mq_evk: define default dfu_alt_info for emmc updates
- 7558d3cef07 [FIO fromnxp] LFU-188-1 imx8m: soc: Relocate u-boot to the top DDR in 4GB space
- 8f993e619c2 [FIO fromlist] ARM: imx8m: support env in fat and ext4
- 9157aab76a8 Revert "[FIO internal] imx8mp_evk: disable DM_I2C for SPL"
- f71b2dbf525 [FIO fromnxp] LF-3892-6 imx8mp_evk: update defconfig and code for SR-IR
- eab6ad95c4c [FIO fromnxp] LF-3892-3 imx8mp: disable snvs and sdma
- 42f43234d66 [FIO fromnxp] LF-3892-2 imx8mp_evk: enable usb power by default
- cdd5268d55d [FIO fromnxp] LFU-193-5 DTS: imx8mp: Add the CMA reserved memory
- 8a41e717275 [FIO fromnxp] LFU-193-4 imx8mp_evk: Remove USB2 PWR GPIO control
- 4eda951028c [FIO fromnxp] LFU-193-3 DTS: imx8mp-evk: Sync the USB nodes with kernel
- 7109f255ea6 [FIO fromnxp] LFU-193-2 usb: xhci-imx8m: Update iMX8MP XHCI driver to support new DTS node
- a3e63a7aa97 [FIO fromnxp] LFU-193-1 clk: imx8mp: Update clock tree for USB relevant clocks
- 31236be7ed8 [FIO toimx] imx8mp_evk: don't forcely enable USB
- d8616e573af [FIO toup] ARM: imx8m: support IMX8MP in imx8m_usb_power_domain
- 625e8bd18b7 [FIO internal] imx8m: set the fuses definitions common for all imx8m parts
- d61a5a1823a [FIO internal] imx8mp_evk: use common spl_mmc_get_uboot_raw_sector()
- ff689ca49cd [FIO toup-squash] imx7ulp: remove CONFIG_SYS_MMCSD_FS_BOOT_PARTITION from header
- 4568ef8e4f5 [FIO internal-squash] imx8mm_evk: remove CONFIG_SYS_MMCSD_FS_BOOT_PARTITION from header
- bf6ae48ad55 [FIO internal] imx8mp_evk: runtime detection raw sector offsets
- f2657e8365e [FIO internal] imx8mp_evk: disable use of TCPC for SPL
- c3235605bc4 [FIO internal] imx8mp_evk: disable DM_I2C for SPL
- 39cfe73f9d2 [FIO toup-squash] mx7ulp_com: don't use bd_t typedef
- e51136385a2 [FIO toup-squash] spl: imx: re-add missing imx7ulp boot devices
- 34db8c0029d [FIO toup] imx8mq_evk: define default dfu_alt_info for emmc updates
- 24d6b6948e8 [FIO extras] imx: always define CONFIG_SYS_MMC_ENV_DEV
- aad5e63342a Revert "[FIO toup] imx8mq_evk: set bootm len to 64"
- c5d60505768 [FIO internal] imx8mq_evk: update SPL DM_I2C definition
- 4988c87e540 [FIO fromnxp] LF-4276 arm: dts: imx8mq: add the dwc3 fallback compatible
- cc42b6efbe8 [FIO fromnxp] MLK-25349 imx8mq_evk: Enable PCIE VREG for 3.3v PHY supply
- 02e8b757cf1 [FIO fromnxp] LFU-198 imx8mq_evk: Increase malloc size to 32MB
- 48dd502f7fc [FIO fromnxp] LF-3892-1 imx8mq_evk: support SR-IR
- 276a686bc1f [FIO fromnxp] MA-19176 imx8mm: enlarge early malloc pool size

Signed-off-by: Ricardo Salveti <[email protected]>
Latest u-boot-fio/mfgtool is not yet default as we're still working on
getting a functional build across all supported targets, meanwhile set
it based on the SoC which is now supported.

Signed-off-by: Ricardo Salveti <[email protected]>
Change signing, kernel, ostree and wic related options for the
EBBR-based imx8mq-evk machine.

Signed-off-by: Ricardo Salveti <[email protected]>
Extend imx8mq-evk-ebbr by adding ebbr to the default
MACHINE_FEATURES list.

Signed-off-by: Ricardo Salveti <[email protected]>
cpu-idle can only work when the workaround is also available (but can
still have issues based on the upstream thread discussion), so add a
patch to revert the BSP specific change as a way to make the same dts
compatible across multiple kernel versions.

This allows the same 5.10-based device tree to be used for SystemReady.

Signed-off-by: Ricardo Salveti <[email protected]>
Disable more options that are not required by the base lmp build and
which causes the build to fail due some other disabled options (e.g.
USB).

Signed-off-by: Ricardo Salveti <[email protected]>
Disable more options that are not required by the base lmp build, which
can be found on the 2021.04-based NXP BSP u-boot tree.

Signed-off-by: Ricardo Salveti <[email protected]>
Enable watchdog in the mfgtools build as a way to make sure the device
will reset itself in case of major issues.

Signed-off-by: Ricardo Salveti <[email protected]>
New u-boot (2021.04) uses DM for additional drivers, causing SPL to grow
in size enough to not build. Temporarily disable fit signature on SPL to
allow it to build again, while we work on reducing the size via other
mechanisms.

Signed-off-by: Ricardo Salveti <[email protected]>
…t BSP

* Use fdtfile as fdt_file is not available on the latest BSP.
* Use the address value directly instead of initrd_addr as that is not
always available depending on the BSP release used.

Signed-off-by: Ricardo Salveti <[email protected]>
Latest u-boot-fio/mfgtool is not yet default as we're still working on
getting a functional build across all supported targets, meanwhile set
it based on the SoC which is now supported.

Signed-off-by: Ricardo Salveti <[email protected]>
Add u-boot config fragment required for EBBR support.

Signed-off-by: Ricardo Salveti <[email protected]>
Change signing, kernel, ostree and wic related options for the
EBBR-based imx8mp-evk machine.

Signed-off-by: Ricardo Salveti <[email protected]>
Extend imx8mp-evk-ebbr by adding ebbr to the default
MACHINE_FEATURES list.

Signed-off-by: Ricardo Salveti <[email protected]>
@ricardosalveti
Copy link
Copy Markdown
Member

Great, I had a local similar change for master, but I'm happy to merge yours instead. Can you propose a similar one (and fine to remove temphack) to master? Should be quite similar.

@MrCry0 MrCry0 changed the title [FIO temphack] base: use https protocol ebbr-nxp: base: use https protocol Nov 2, 2021
@ricardosalveti
Copy link
Copy Markdown
Member

ebbr-nxp branch rebased on master, guess we don't need this anymore?

@MrCry0 MrCry0 closed this Nov 2, 2021
@MrCry0
Copy link
Copy Markdown
Contributor Author

MrCry0 commented Nov 2, 2021

ebbr-nxp branch rebased on master, guess we don't need this anymore?

Sure. Closed.

@MrCry0 MrCry0 deleted the ebbr-nxp branch March 3, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants