Skip to content

Update imx6ullevk support#201

Closed
mike-scott wants to merge 8 commits intofoundriesio:masterfrom
mike-scott:fio-master
Closed

Update imx6ullevk support#201
mike-scott wants to merge 8 commits intofoundriesio:masterfrom
mike-scott:fio-master

Conversation

@mike-scott
Copy link
Copy Markdown
Contributor

@mike-scott mike-scott commented Aug 1, 2020

  • u-boot config fragments
  • fitimage for boot script and kernel
  • support optee
  • add mfgtool recipes / configs

Relevant changes:
- 954fb028 [FIO extras] board: imx6ullevk: for OP-TEE lower ram_size by CONFIG_OPTEE_TZDRAM_SIZE
- 04132267 [FIO extras] imx: mx6ullevk: set SPL_LOAD_FIT_ADDRESS
- 9dfae8df [FIO extras] imx: mx6ullevk: add mfgtools args and bootcmd
- df27a2ec [FIO extras] imx: mx6ullevk: allow setting CONFIG_BOOTCOMMAND in defconfig
- 9003fcb8 [FIO extras] imx: mx6ullevk: add USB configs
- 69c70a4b [FIO extras] imx: support SPL build for TARGET_MX6ULL_14X14_EVK
- 8cf4ceec [FIO internal] fastboot: establish BOOTLOADER2 raw partition for fastboot
- 59a6e254 [FIO toup] imx: syscounter: allow timer_init for SPL build
- c4a25ead [FIO internal] mach-imx: spl: allow RAM load instead of USB
- ac6326b7 [FIO toup] drivers: MXC_OCOTP: split SPL config out
- ef82b5a3 [FIO internal] common: FIOVB: split SPL config out
- 25c9c6ef [FIO fromtree] gpio: 74X164: split SPL config out
- 0d1e41a9 [FIO extras] arm: mx6: implement get_boot_device function
- 9558b3f3 [FIO extras] arm: mx6: add disconnect_from_pc() definition

Signed-off-by: Michael Scott <[email protected]>
These fragment changes support:
- split SPL / u-boot style build
- fitimage support
- OP-TEE support
- EMMC RPMB support (once devices are closed)
- FIOVB (once devices are closed)
- bootcommand which loads boot script fitimage
- env is moved to /boot partition for use with libubootenv tools

Signed-off-by: Michael Scott <[email protected]>
These fragment changes support:
- split SPL / u-boot build
- SPL jumps to RAM where u-boot.itb is already loaded
  (no USB in SPL to due space limitations)
- fitimage support
- OP-TEE support
- EMMC RPMB support (once devices are closed)
- FIOVB support (once devices are closed)
- NXP fastboot support in u-boot

Signed-off-by: Michael Scott <[email protected]>
This defconfig supports the NXP fastboot tools build for use within
the Linux kernel.  To be used with mfgtools only.

Signed-off-by: Michael Scott <[email protected]>
Changes support:
- use github.com/Freescale/linux-fslc:5.4-1.0.0-imx for kernel sources
- u-boot-ostree-scr-fit support (u-boot.itb)
- kernel fit image support
- optee support
- mfgtools support

Signed-off-by: Michael Scott <[email protected]>
Add required depends and custom uuu files for imx6ullevk.

Signed-off-by: Michael Scott <[email protected]>
@mike-scott mike-scott self-assigned this Aug 1, 2020
@mike-scott
Copy link
Copy Markdown
Contributor Author

Testing this locally DNM

@mike-scott
Copy link
Copy Markdown
Contributor Author

mike-scott commented Aug 1, 2020

Currently this PR hits the following bug when testing mfgtool:

| WARNING: /out/tmpdir/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-dev-mfgtool/5.4.41+gitAUTOINC+29cfcafce8-r0/temp/run.do_kernel_configme.1594291:1 exit 1 from 'configs="$(scc --configs -o ${meta_dir})"'
| ERROR: Execution of '/out/tmpdir/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-dev-mfgtool/5.4.41+gitAUTOINC+29cfcafce8-r0/temp/run.do_kernel_configme.1594291' failed with exit code 1:
| WARNING: /out/tmpdir/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-dev-mfgtool/5.4.41+gitAUTOINC+29cfcafce8-r0/temp/run.do_kernel_configme.1594291:1 exit 1 from 'configs="$(scc --configs -o ${meta_dir})"'

This seems to indicate that kernel meta data is still being used or looked for in some way

@ricardosalveti
Copy link
Copy Markdown
Member

Closing as I'm merging these changes by hand after a few minor modifications, thanks!

quaresmajose pushed a commit that referenced this pull request Nov 9, 2022
Relevant changes:
- d323df3 Merge pull request #208 from Freescale/backport-207-to-honister
- 32aff9b linux-boundary: bump revision to bb58f0ee
- b123854 Merge pull request #204 from boundarydevices/honister
- 9e698af u-boot-boundary: fix fw_env.config management
- b4df0cf Merge pull request #201 from chrisdimich/honister
- 2ebd2e0 nitrogen8mp: Define nxp as default BSP
- 657e750 Merge pull request #200 from chrisdimich/honister
- 8f6984a u-boot-boundary: bump revision to 3d5e7f60
- b30688b linux-boundary: bump revision to 04f4286f

Signed-off-by: Ricardo Salveti <[email protected]>
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