Skip to content

images built from qs93 (i.MX93) defconfigs not working on target #14

@LeSpocky

Description

@LeSpocky

Got a QS93-5210-Evalkit and tried to build this U-Boot tree with proper cross-toolchain only, without a BSP. The images produced do not work on the target board. Details below.

Steps to reproduce:

  1. clone this repo
  2. prepare: PATH="/path/to/toolchain:${PATH}" CROSS_COMPILE=aarch64-v8a-linux-gnu- BL31=/path/to/imx93-bl31.bin BINMAN_INDIRS=/path/to/firmware/ddr/synopsys make O=/path/to/build/u-boot/karo qs93-5210_defconfig
  3. build: PATH="/path/to/toolchain:${PATH}" CROSS_COMPILE=aarch64-v8a-linux-gnu- BL31=/path/to/imx93-bl31.bin BINMAN_INDIRS=/path/to/firmware/ddr/synopsys make O=/path/to/build/u-boot/karo
  4. change jumper to USB boot mode
  5. go to build dir: cd /path/to/build/u-boot/karo
  6. use uuu to transfer and start: /path/to/uuu flash.bin
  7. some output on serial console, but does not boot into U-Boot shell

Guesswork: Building https://github.com/karo-electronics/karo-nxp-bsp from scratch, finding the file flash.bin in some U-Boot build folder and using that with uuu actually works. So something in that Yocto BSP is different. Looks like Yocto clones this repo and with changeset karo-electronics/meta-karo-nxp@0dcfb6e overwrites at least the file arch/arm/dts/imx93-karo-u-boot.dtsi … and probably more.

Just porting over those changes leads to a failing build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions