imx: imx8mm: imx8mm-kontron-n801x-s: does not start work

Adam Ford aford173 at gmail.com
Tue Jan 11 20:33:12 CET 2022


On Tue, Jan 11, 2022 at 1:18 AM Heiko Thiery <heiko.thiery at gmail.com> wrote:
>
> Hi all,
>
> I wanted to test the newly introduced kontron-sl-mx8mm_defconfig but
> it does not work.
>
> I already found two converted config options that are missing in that defconfig:
>
> +CONFIG_SPL_MMC=y
> +CONFIG_SPL_SERIAL=y
>
> With that the output appears but the u-boot hangs when trying to find
> the binman node in the dtb.
>
> --- >8 ----
> U-Boot SPL 2022.01-00323-g56915a34d1 (Jan 11 2022 - 08:11:03 +0100)
> Kontron SL i.MX8MM (N801X) module, 1 GB RAM detected
> Touch controller detected, assuming LVDS panel...
> Normal Boot
> WDT:   Not starting watchdog at 30280000
> Trying to boot from MMC2
> NOTICE:  BL31: v2.4(release):v2.4
> NOTICE:  BL31: Built : 09:46:16, Jan 10 2022
>
>
> U-Boot 2022.01-00323-g56915a34d1 (Jan 11 2022 - 08:11:03 +0100)
>
> CPU:   Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
> CPU:   Industrial temperature grade (-40C to 105C) at 47C
> Reset cause: POR
> Model: Kontron i.MX8MM N801X S LVDS
> DRAM:  1 GiB
> binman_init failed:-2
> initcall sequence 000000007ffcef80 failed at call 000000004021f200 (err=-2)
> ### ERROR ### Please RESET the board ###
> --- >8 ----
>
> Does anyone have an idea what goes wrong?

I did a diff on your defconfig and compared it to the imx8mm_beacon
board, and there are few items that are different, but nothing
obvious.  I confirmed the Beacon board does boot.  You might want to
compare your defconfig files with other boards to see if you see
something.

One main difference is that I have only one DTB file integrated into
the FIT file, but you have several.  I wonder if that is causing
issues.

adam
>
> I already disabled BINMAN_FDT an the u-boot start but when printing
> the fdt node I do not see the binman node:
>
> ---- >8 ----
>
> => fdt addr $fdtcontroladdr
> => fdt list
> / {
> interrupt-parent = <0x00000001>;
> #address-cells = <0x00000002>;
> #size-cells = <0x00000002>;
> model = "Kontron i.MX8MM N801X S LVDS";
> compatible = "kontron,imx8mm-n801x-s-lvds", "fsl,imx8mm";
> fit-images {
> };
> aliases {
> };
> cpus {
> };
> opp-table {
> };
> clock-osc-32k {
> };
> clock-osc-24m {
> };
> clock-ext1 {
> };
> clock-ext2 {
> };
> clock-ext3 {
> };
> clock-ext4 {
> };
> psci {
> };
> pmu {
> };
> timer {
> };
> thermal-zones {
> };
> usbphynop1 {
> };
> usbphynop2 {
> };
> soc at 0 {
> };
> memory at 40000000 {
> };
> chosen {
> };
> clock-osc-can {
> };
> leds {
> };
> pwm-beeper {
> };
> regulator-rst-eth2 {
> };
> regulator-5v {
> };
> backlight {
> };
> regpanel-pwr {
> };
> regpanel-rst {
> };
> regpanel-stby {
> };
> regpanel-hinv {
> };
> regpanel-vinv {
> };
> regulator-24v {
> };
> };
> =>
>
> ---- >8 ----
>
> Thanks
> --
> Heiko


More information about the U-Boot mailing list