* kontron_pitx_imx8m does not start @ 2022-07-15 8:33 Heiko Thiery 2022-07-15 9:28 ` Marek Vasut 2022-07-15 11:18 ` Fabio Estevam 0 siblings, 2 replies; 16+ messages in thread From: Heiko Thiery @ 2022-07-15 8:33 UTC (permalink / raw) To: Fabio Estevam, Marek Vasut, u-boot, Peng Fan (OSS), Peng Fan; +Cc: sbabic Hi, I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board does not start anymore. I have enabled the DUBUG_UART and see the following outputs --- 8< --- U-Boot SPL 2022.07-00607-g36b661dc91-dirty (Jul 15 2022 - 09:16:08 +0200) Trying to boot from SD card clk_register: failed to get <NULL> device (parent of ckil) clk_register: failed to get <NULL> device (parent of clock-osc-27m) alloc space exhausted clk_register: CLK: video_pll2_ref_sel driver bind error [-12]! alloc space exhausted clk_register: CLK: arm_pll driver bind error [-12]! imx_clk_pll14xx: failed to register pll arm_pll -12 alloc space exhausted alloc space exhausted : : Error binding driver 'serial_mxc': -12 alloc space exhausted alloc space exhausted alloc space exhausted No serial driver found resetting .. --- 8< --- I have an imx8mq_evk and an imx8mq_phanbell on hand and can't see the behavior there. If I increase the value SYS_MALLOC_F_LEN to 0xc000 the board starts. But as Peng already said in another mail this can't be the solution to the problem. I have looked at the differences between the boards, but can't find a reasonable reason why this happens. Does anyone have any ideas or can give me a hint on what to look for? Thanks, Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 8:33 kontron_pitx_imx8m does not start Heiko Thiery @ 2022-07-15 9:28 ` Marek Vasut 2022-07-15 10:05 ` Heiko Thiery 2022-07-15 11:18 ` Fabio Estevam 1 sibling, 1 reply; 16+ messages in thread From: Marek Vasut @ 2022-07-15 9:28 UTC (permalink / raw) To: Heiko Thiery, Fabio Estevam, u-boot, Peng Fan (OSS), Peng Fan; +Cc: sbabic On 7/15/22 10:33, Heiko Thiery wrote: > Hi, Hi, > I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board > does not start anymore. I have enabled the DUBUG_UART and see the > following outputs Pick [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero MALLOC_F_ADDR And also, increate SPL_MALLOC_F_LEN in board config if that itself does not help. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 9:28 ` Marek Vasut @ 2022-07-15 10:05 ` Heiko Thiery 2022-07-15 10:21 ` Michael Nazzareno Trimarchi 2022-07-15 10:24 ` Marek Vasut 0 siblings, 2 replies; 16+ messages in thread From: Heiko Thiery @ 2022-07-15 10:05 UTC (permalink / raw) To: Marek Vasut; +Cc: Fabio Estevam, u-boot, Peng Fan (OSS), Peng Fan, sbabic Hi Marek Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex@denx.de>: > > On 7/15/22 10:33, Heiko Thiery wrote: > > Hi, > > Hi, > > > I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board > > does not start anymore. I have enabled the DUBUG_UART and see the > > following outputs > > Pick > [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero > MALLOC_F_ADDR this does not solve the issue. > > And also, increate SPL_MALLOC_F_LEN in board config if that itself does > not help. As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board starts. But Peng said that this is not a valid value due to the OCRAM_S is limited to 32k and this is the MALLOC base. On the other hand, why does my board consums that much memory and the others not. I cannot find any difference in these boards that explains this to me. -- Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 10:05 ` Heiko Thiery @ 2022-07-15 10:21 ` Michael Nazzareno Trimarchi 2022-07-15 19:21 ` Heiko Thiery 2022-07-15 10:24 ` Marek Vasut 1 sibling, 1 reply; 16+ messages in thread From: Michael Nazzareno Trimarchi @ 2022-07-15 10:21 UTC (permalink / raw) To: Heiko Thiery Cc: Marek Vasut, Fabio Estevam, u-boot, Peng Fan (OSS), Peng Fan, sbabic Hi Heiko On Fri, Jul 15, 2022 at 12:06 PM Heiko Thiery <heiko.thiery@gmail.com> wrote: > > Hi Marek > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex@denx.de>: > > > > On 7/15/22 10:33, Heiko Thiery wrote: > > > Hi, > > > > Hi, > > > > > I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board > > > does not start anymore. I have enabled the DUBUG_UART and see the > > > following outputs > > > > Pick > > [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero > > MALLOC_F_ADDR > > this does not solve the issue. > > > > And also, increate SPL_MALLOC_F_LEN in board config if that itself does > > not help. > > As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board > starts. But Peng said that this is not a valid value due to the > OCRAM_S is limited to 32k and this is the MALLOC base. > On the other hand, why does my board consums that much memory and the > others not. I cannot find any difference in these boards that explains > this to me. When you try to boot from sdcard your memory should be already in ddr. So the allocation should already be there. Michael > > -- > Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 10:21 ` Michael Nazzareno Trimarchi @ 2022-07-15 19:21 ` Heiko Thiery 2022-07-15 21:26 ` Michael Nazzareno Trimarchi 0 siblings, 1 reply; 16+ messages in thread From: Heiko Thiery @ 2022-07-15 19:21 UTC (permalink / raw) To: Michael Nazzareno Trimarchi Cc: Marek Vasut, Fabio Estevam, u-boot, Peng Fan (OSS), Peng Fan, sbabic Hi Michael, Am Fr., 15. Juli 2022 um 12:21 Uhr schrieb Michael Nazzareno Trimarchi <michael@amarulasolutions.com>: > > Hi Heiko > > On Fri, Jul 15, 2022 at 12:06 PM Heiko Thiery <heiko.thiery@gmail.com> wrote: > > > > Hi Marek > > > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex@denx.de>: > > > > > > On 7/15/22 10:33, Heiko Thiery wrote: > > > > Hi, > > > > > > Hi, > > > > > > > I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board > > > > does not start anymore. I have enabled the DUBUG_UART and see the > > > > following outputs > > > > > > Pick > > > [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero > > > MALLOC_F_ADDR > > > > this does not solve the issue. > > > > > > And also, increate SPL_MALLOC_F_LEN in board config if that itself does > > > not help. > > > > As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board > > starts. But Peng said that this is not a valid value due to the > > OCRAM_S is limited to 32k and this is the MALLOC base. > > On the other hand, why does my board consums that much memory and the > > others not. I cannot find any difference in these boards that explains > > this to me. > > When you try to boot from sdcard your memory should be already in ddr. > So the allocation > should already be there. Maybe I just don't understand it correctly, but isn't it the case that there is also code in the U-boot that uses malloc before the relocation takes place? And doesn't this use the memory that has SYS_MALLOC_F and the size SYS_MALLOC_F_LEN? And the flag DM_FLAG_PRE_RELOC which is used e.g. in clk-imx8mq indicates that this is then in this memory area? > Michael > > > > > -- > > Heiko -- Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 19:21 ` Heiko Thiery @ 2022-07-15 21:26 ` Michael Nazzareno Trimarchi 0 siblings, 0 replies; 16+ messages in thread From: Michael Nazzareno Trimarchi @ 2022-07-15 21:26 UTC (permalink / raw) To: Heiko Thiery Cc: Marek Vasut, Fabio Estevam, U-Boot-Denx, Peng Fan (OSS), Peng Fan, Stefano Babic Hi Il ven 15 lug 2022, 21:21 Heiko Thiery <heiko.thiery@gmail.com> ha scritto: > Hi Michael, > > Am Fr., 15. Juli 2022 um 12:21 Uhr schrieb Michael Nazzareno Trimarchi > <michael@amarulasolutions.com>: > > > > Hi Heiko > > > > On Fri, Jul 15, 2022 at 12:06 PM Heiko Thiery <heiko.thiery@gmail.com> > wrote: > > > > > > Hi Marek > > > > > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex@denx.de > >: > > > > > > > > On 7/15/22 10:33, Heiko Thiery wrote: > > > > > Hi, > > > > > > > > Hi, > > > > > > > > > I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m > board > > > > > does not start anymore. I have enabled the DUBUG_UART and see the > > > > > following outputs > > > > > > > > Pick > > > > [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero > > > > MALLOC_F_ADDR > > > > > > this does not solve the issue. > > > > > > > > And also, increate SPL_MALLOC_F_LEN in board config if that itself > does > > > > not help. > > > > > > As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board > > > starts. But Peng said that this is not a valid value due to the > > > OCRAM_S is limited to 32k and this is the MALLOC base. > > > On the other hand, why does my board consums that much memory and the > > > others not. I cannot find any difference in these boards that explains > > > this to me. > > > > When you try to boot from sdcard your memory should be already in ddr. > > So the allocation > > should already be there. > > Maybe I just don't understand it correctly, but isn't it the case that > there is also code in the U-boot that uses malloc before the > relocation takes place? And doesn't this use the memory that has > SYS_MALLOC_F and the size SYS_MALLOC_F_LEN? > > And the flag DM_FLAG_PRE_RELOC which is used e.g. in clk-imx8mq > indicates that this is then in this memory area? > I see it already seen it the flag after suggestion of fabio. Michael > > > Michael > > > > > > > > -- > > > Heiko > > -- > Heiko > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 10:05 ` Heiko Thiery 2022-07-15 10:21 ` Michael Nazzareno Trimarchi @ 2022-07-15 10:24 ` Marek Vasut 2022-07-15 19:25 ` Heiko Thiery 1 sibling, 1 reply; 16+ messages in thread From: Marek Vasut @ 2022-07-15 10:24 UTC (permalink / raw) To: Heiko Thiery; +Cc: Fabio Estevam, u-boot, Peng Fan (OSS), Peng Fan, sbabic On 7/15/22 12:05, Heiko Thiery wrote: > Hi Marek > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex@denx.de>: >> >> On 7/15/22 10:33, Heiko Thiery wrote: >>> Hi, >> >> Hi, >> >>> I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board >>> does not start anymore. I have enabled the DUBUG_UART and see the >>> following outputs >> >> Pick >> [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero >> MALLOC_F_ADDR > > this does not solve the issue. >> >> And also, increate SPL_MALLOC_F_LEN in board config if that itself does >> not help. > > As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board > starts. But Peng said that this is not a valid value due to the > OCRAM_S is limited to 32k and this is the MALLOC base. > On the other hand, why does my board consums that much memory and the > others not. I cannot find any difference in these boards that explains > this to me. Too many clock CCF nodes which each allocate udevice structure (which ... is sub-optimal) ? Try commenting out some of the clock in drivers/clk/*mx8mm*c using #ifdef CONFIG_SPL_BUILD , does that make a difference ? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 10:24 ` Marek Vasut @ 2022-07-15 19:25 ` Heiko Thiery 0 siblings, 0 replies; 16+ messages in thread From: Heiko Thiery @ 2022-07-15 19:25 UTC (permalink / raw) To: Marek Vasut; +Cc: Fabio Estevam, u-boot, Peng Fan (OSS), Peng Fan, sbabic Hi Marek, Am Fr., 15. Juli 2022 um 12:24 Uhr schrieb Marek Vasut <marex@denx.de>: > > On 7/15/22 12:05, Heiko Thiery wrote: > > Hi Marek > > > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex@denx.de>: > >> > >> On 7/15/22 10:33, Heiko Thiery wrote: > >>> Hi, > >> > >> Hi, > >> > >>> I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board > >>> does not start anymore. I have enabled the DUBUG_UART and see the > >>> following outputs > >> > >> Pick > >> [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero > >> MALLOC_F_ADDR > > > > this does not solve the issue. > >> > >> And also, increate SPL_MALLOC_F_LEN in board config if that itself does > >> not help. > > > > As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board > > starts. But Peng said that this is not a valid value due to the > > OCRAM_S is limited to 32k and this is the MALLOC base. > > On the other hand, why does my board consums that much memory and the > > others not. I cannot find any difference in these boards that explains > > this to me. > > Too many clock CCF nodes which each allocate udevice structure (which > ... is sub-optimal) ? > > Try commenting out some of the clock in drivers/clk/*mx8mm*c using > #ifdef CONFIG_SPL_BUILD , does that make a difference ? I have now commented out all the clocks that i think are not needed. Now my board at least starts again without a reboot. gpu_XXX, vpu_XXX, audio_XXX But what still makes me wonder is the fact that the same driver is used by imx8mq_evk and imx8mq_phanbell and this problem is not seen there. ---- 8< ---- U-Boot SPL 2022.07-00698-g208ed8a54e-dirty (Jul 15 2022 - 21:06:29 +0200) Trying to boot from SD card U-Boot 2022.07-00698-g208ed8a54e-dirty (Jul 15 2022 - 21:06:29 +0200) CPU: Freescale i.MX8MQLite rev2.1 at 1000 MHz Reset cause: POR Model: Kontron pITX-imx8m DRAM: alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted alloc space exhausted 4 GiB clk_register: failed to get <NULL> device (parent of ckil) clk_register: failed to get <NULL> device (parent of clock-osc-27m) clk_register: failed to get <NULL> device (parent of sys1_pll) clk_register: failed to get <NULL> device (parent of sys2_pll) clk_register: failed to get <NULL> device (parent of sys3_pll) Core: 124 devices, 21 uclasses, devicetree: separate MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... OK In: serial@30880000 Out: serial@30880000 Err: serial@30880000 Net: Error: ethernet@30be0000 address not set. Error: ethernet@30be0000 address not set. No ethernet found. Hit any key to stop autoboot: 0 => ---- 8< ---- -- Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 8:33 kontron_pitx_imx8m does not start Heiko Thiery 2022-07-15 9:28 ` Marek Vasut @ 2022-07-15 11:18 ` Fabio Estevam 2022-07-15 11:35 ` Fabio Estevam 2022-07-15 12:00 ` Heiko Thiery 1 sibling, 2 replies; 16+ messages in thread From: Fabio Estevam @ 2022-07-15 11:18 UTC (permalink / raw) To: Heiko Thiery Cc: Marek Vasut, U-Boot-Denx, Peng Fan (OSS), Peng Fan, Stefano Babic [-- Attachment #1: Type: text/plain, Size: 161 bytes --] Hi Heiko, On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: > Error binding driver 'serial_mxc': -12 Does the attached patch help? [-- Attachment #2: 0001-imx8mq-kontron-pitx-imx8m-Pass-u-boot-dm-spl-to-cons.patch --] [-- Type: text/x-patch, Size: 1108 bytes --] From 93d2c1604f644e6362cb5dc4c434d32fcccc3a06 Mon Sep 17 00:00:00 2001 From: Fabio Estevam <festevam@denx.de> Date: Fri, 15 Jul 2022 08:11:03 -0300 Subject: [PATCH] imx8mq-kontron-pitx-imx8m: Pass 'u-boot,dm-spl' to console UART imx8mq-kontron-pitx-imx8m uses CONFIG_DM_SERIAL=y and CONFIG_DM_SERIAL=y, so it needs to pass 'u-boot,dm-spl' property to the uart3 and pinctrl_uart3 nodes so that it can work in SPL. This fixes the boot on this platform. Reported-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Fabio Estevam <festevam@denx.de> --- arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi b/arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi index d361f3f55929..a80760a976ee 100644 --- a/arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi +++ b/arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi @@ -24,4 +24,9 @@ &uart3 { /delete-property/ assigned-clocks; /delete-property/ assigned-clock-parents; + u-boot,dm-spl; +}; + +&pinctrl_uart3 { + u-boot,dm-spl; }; -- 2.25.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 11:18 ` Fabio Estevam @ 2022-07-15 11:35 ` Fabio Estevam 2022-07-15 11:59 ` Heiko Thiery 2022-07-15 12:00 ` Heiko Thiery 1 sibling, 1 reply; 16+ messages in thread From: Fabio Estevam @ 2022-07-15 11:35 UTC (permalink / raw) To: Heiko Thiery Cc: Marek Vasut, U-Boot-Denx, Peng Fan (OSS), Peng Fan, Stefano Babic On Fri, Jul 15, 2022 at 8:18 AM Fabio Estevam <festevam@gmail.com> wrote: > > Hi Heiko, > > On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: > > > Error binding driver 'serial_mxc': -12 > > Does the attached patch help? Also, try increasing CONFIG_SYS_SPL_MALLOC_SIZE. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 11:35 ` Fabio Estevam @ 2022-07-15 11:59 ` Heiko Thiery 0 siblings, 0 replies; 16+ messages in thread From: Heiko Thiery @ 2022-07-15 11:59 UTC (permalink / raw) To: Fabio Estevam Cc: Marek Vasut, U-Boot-Denx, Peng Fan (OSS), Peng Fan, Stefano Babic Am Fr., 15. Juli 2022 um 13:35 Uhr schrieb Fabio Estevam <festevam@gmail.com>: > > On Fri, Jul 15, 2022 at 8:18 AM Fabio Estevam <festevam@gmail.com> wrote: > > > > Hi Heiko, > > > > On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: > > > > > Error binding driver 'serial_mxc': -12 > > > > Does the attached patch help? > > Also, try increasing CONFIG_SYS_SPL_MALLOC_SIZE. Increasing this has no effect. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 11:18 ` Fabio Estevam 2022-07-15 11:35 ` Fabio Estevam @ 2022-07-15 12:00 ` Heiko Thiery 2022-07-16 8:11 ` Peng Fan 1 sibling, 1 reply; 16+ messages in thread From: Heiko Thiery @ 2022-07-15 12:00 UTC (permalink / raw) To: Fabio Estevam Cc: Marek Vasut, U-Boot-Denx, Peng Fan (OSS), Peng Fan, Stefano Babic HI, Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam <festevam@gmail.com>: > > Hi Heiko, > > On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: > > > Error binding driver 'serial_mxc': -12 > > Does the attached patch help? Unfortunately not .. I think the problem is not the SPL. Since the SPL does not use SPL_DM_SERIAL. -- Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-15 12:00 ` Heiko Thiery @ 2022-07-16 8:11 ` Peng Fan 2022-07-16 8:31 ` Heiko Thiery 0 siblings, 1 reply; 16+ messages in thread From: Peng Fan @ 2022-07-16 8:11 UTC (permalink / raw) To: Heiko Thiery, Fabio Estevam Cc: Marek Vasut, U-Boot-Denx, Peng Fan, Stefano Babic On 7/15/2022 8:00 PM, Heiko Thiery wrote: > HI, > > Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam <festevam@gmail.com>: >> >> Hi Heiko, >> >> On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: >> >>> Error binding driver 'serial_mxc': -12 >> >> Does the attached patch help? > > Unfortunately not .. I think the problem is not the SPL. Since the SPL > does not use SPL_DM_SERIAL. You have CLK_IMX8MQ enabled in SPL, it will consume much memory. Regards, Peng. > > -- > Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-16 8:11 ` Peng Fan @ 2022-07-16 8:31 ` Heiko Thiery 2022-07-19 5:17 ` Peng Fan 0 siblings, 1 reply; 16+ messages in thread From: Heiko Thiery @ 2022-07-16 8:31 UTC (permalink / raw) To: Peng Fan; +Cc: Fabio Estevam, Marek Vasut, U-Boot-Denx, Peng Fan, Stefano Babic Hi Peng, Am Sa., 16. Juli 2022 um 10:11 Uhr schrieb Peng Fan <peng.fan@oss.nxp.com>: > > > > On 7/15/2022 8:00 PM, Heiko Thiery wrote: > > HI, > > > > Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam <festevam@gmail.com>: > >> > >> Hi Heiko, > >> > >> On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: > >> > >>> Error binding driver 'serial_mxc': -12 > >> > >> Does the attached patch help? > > > > Unfortunately not .. I think the problem is not the SPL. Since the SPL > > does not use SPL_DM_SERIAL. > > You have CLK_IMX8MQ enabled in SPL, it will consume much > memory. You say CLK_IMX8MQ I have enabled. But I can't see where this should be done. Also, I don't understand what this has to do with the fact that the U-Boot (not SPL) shows the error messages. Is there a connection between SPL and U-Boot here? -- Heiko > > Regards, > Peng. > > > > > -- > > Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-16 8:31 ` Heiko Thiery @ 2022-07-19 5:17 ` Peng Fan 2022-07-19 5:40 ` Heiko Thiery 0 siblings, 1 reply; 16+ messages in thread From: Peng Fan @ 2022-07-19 5:17 UTC (permalink / raw) To: Heiko Thiery Cc: Fabio Estevam, Marek Vasut, U-Boot-Denx, Peng Fan, Stefano Babic On 7/16/2022 4:31 PM, Heiko Thiery wrote: > Hi Peng, > > Am Sa., 16. Juli 2022 um 10:11 Uhr schrieb Peng Fan <peng.fan@oss.nxp.com>: >> >> >> >> On 7/15/2022 8:00 PM, Heiko Thiery wrote: >>> HI, >>> >>> Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam <festevam@gmail.com>: >>>> >>>> Hi Heiko, >>>> >>>> On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: >>>> >>>>> Error binding driver 'serial_mxc': -12 >>>> >>>> Does the attached patch help? >>> >>> Unfortunately not .. I think the problem is not the SPL. Since the SPL >>> does not use SPL_DM_SERIAL. >> >> You have CLK_IMX8MQ enabled in SPL, it will consume much >> memory. > > You say CLK_IMX8MQ I have enabled. But I can't see where this should > be done. Also, I don't understand what this has to do with the fact > that the U-Boot (not SPL) shows the error messages. Is there a > connection between SPL and U-Boot here? In the very first mail, I only see you post out SPL log, not see U-Boot log. Could you please share your full log? Thanks, Peng. > > -- > Heiko >> >> Regards, >> Peng. >> >>> >>> -- >>> Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kontron_pitx_imx8m does not start 2022-07-19 5:17 ` Peng Fan @ 2022-07-19 5:40 ` Heiko Thiery 0 siblings, 0 replies; 16+ messages in thread From: Heiko Thiery @ 2022-07-19 5:40 UTC (permalink / raw) To: Peng Fan; +Cc: Fabio Estevam, Marek Vasut, U-Boot-Denx, Peng Fan, Stefano Babic Hi Peng, Am Di., 19. Juli 2022 um 07:17 Uhr schrieb Peng Fan <peng.fan@oss.nxp.com>: > > > > On 7/16/2022 4:31 PM, Heiko Thiery wrote: > > Hi Peng, > > > > Am Sa., 16. Juli 2022 um 10:11 Uhr schrieb Peng Fan <peng.fan@oss.nxp.com>: > >> > >> > >> > >> On 7/15/2022 8:00 PM, Heiko Thiery wrote: > >>> HI, > >>> > >>> Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam <festevam@gmail.com>: > >>>> > >>>> Hi Heiko, > >>>> > >>>> On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery <heiko.thiery@gmail.com> wrote: > >>>> > >>>>> Error binding driver 'serial_mxc': -12 > >>>> > >>>> Does the attached patch help? > >>> > >>> Unfortunately not .. I think the problem is not the SPL. Since the SPL > >>> does not use SPL_DM_SERIAL. > >> > >> You have CLK_IMX8MQ enabled in SPL, it will consume much > >> memory. > > > > You say CLK_IMX8MQ I have enabled. But I can't see where this should > > be done. Also, I don't understand what this has to do with the fact > > that the U-Boot (not SPL) shows the error messages. Is there a > > connection between SPL and U-Boot here? > > In the very first mail, I only see you post out SPL log, not see > U-Boot log. Could you please share your full log? That was the only output shown on the console after enabling DEBUG_UART. I thought "Trying to boot from SD card" was one of the last issues of the SPL. -- Heiko > Thanks, > Peng. > > > > > -- > > Heiko > >> > >> Regards, > >> Peng. > >> > >>> > >>> -- > >>> Heiko ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2022-07-19 5:40 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-07-15 8:33 kontron_pitx_imx8m does not start Heiko Thiery 2022-07-15 9:28 ` Marek Vasut 2022-07-15 10:05 ` Heiko Thiery 2022-07-15 10:21 ` Michael Nazzareno Trimarchi 2022-07-15 19:21 ` Heiko Thiery 2022-07-15 21:26 ` Michael Nazzareno Trimarchi 2022-07-15 10:24 ` Marek Vasut 2022-07-15 19:25 ` Heiko Thiery 2022-07-15 11:18 ` Fabio Estevam 2022-07-15 11:35 ` Fabio Estevam 2022-07-15 11:59 ` Heiko Thiery 2022-07-15 12:00 ` Heiko Thiery 2022-07-16 8:11 ` Peng Fan 2022-07-16 8:31 ` Heiko Thiery 2022-07-19 5:17 ` Peng Fan 2022-07-19 5:40 ` Heiko Thiery
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).