Message ID | 20200616142724.11559-1-oliver.graute@kococonnector.com |
---|---|
Headers | show |
Series | imx: support for conga-QMX8 board | expand |
On 16/06/20, Oliver Graute wrote: > Second patch is still needed for booting. Tipps to get rid of that patch would > be helpfull. > > Between u-boot-imx-20200511 and u-boot-imx-20200609 something more is broken, > I run into this issue: > > U-Boot 2020.07-rc3-00002-gbf3f929aa6 (Jun 16 2020 - 14:36:58 +0200) > > CPU: NXP i.MX8QM RevB A53 at 1200 MHz > > Model: Congatec QMX8 Qseven series > Board: conga-QMX8 > Build: SCFW 494c97f3, SECO-FW d7523fe8, ATF 09c5cc9 > Boot: SD2 > DRAM: 6 GiB > Device 'gpio@5d090000': seq 0 is in use by 'gpio@5d080000' > Device 'gpio@5d0a0000': seq 1 is in use by 'gpio@5d090000' > MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 > Loading Environment from MMC... OK > In: serial@5a060000 > Out: serial@5a060000 > Err: serial@5a060000 > "Synchronous Abort" handler, esr 0x96000004 > elr: 000000008005cf48 lr : 0000000080022f94 (reloc) > elr: 00000000fff22f48 lr : 00000000ffee8f94 > x0 : fffffffffdaf3540 x1 : 00000000fff2d8a0 > x2 : 0000000000000000 x3 : 0000000000000000 > x4 : 0000000000000000 x5 : fffffffffdaf3540 > x6 : 00000000fff068a8 x7 : 00000000fff3bca0 > x8 : 00000000fdaf3ac0 x9 : 0000000000000008 > x10: 00000000fdaecb30 x11: 00000000fdaefdd0 > x12: 0000000000000000 x13: 0000000000000200 > x14: 00000000fdadebf8 x15: 00000000ffffffff > x16: 0000000000001080 x17: 0000000000000000 > x18: 00000000fdae4da0 x19: 0000000000000002 > x20: 00000000fff3b000 x21: 000000007fec6000 > x22: 0000000000000000 x23: 0000000000000000 > x24: 0000000000000000 x25: 0000000000000000 > x26: 0000000000000000 x27: 0000000000000000 > x28: 0000000000000000 x29: 00000000fdadfd90 > > Code: aa0503e4 17fffff2 aa0003e5 d2800003 (386368a4) > Resetting CPU ... > > resetting ... Currently I try to rebase this patch to v2020.10. But still run into crashes. After some fun with bisect I could blame this commit: commit 09140113108541b95d340f3c7b6ee597d31ccc73 Author: Simon Glass <sjg@chromium.org> Date: Sun May 10 11:40:03 2020 -0600 command: Remove the cmd_tbl_t typedef 09140113108541b95d340f3c7b6ee597d31ccc73 BAD 691d719db7183dfb1d1360efed4c5e9f6899095f GOOD But I assume that I need to fix something on my patch. Perhaps someone could comment and help me on this. Best regards, Oliver U-Boot 2020.07-rc2-00147-g17a341f285 (Nov 04 2020 - 16:13:36 +0100) sc_pm_get_clock_rate: resource:507 clk:2: res:3 Could not read CPU frequency: -22 CPU: NXP i.MX8QM RevB A35 at 0 MHz Model: Congatec QMX8 Qseven series Board: conga-QMX8 Build: SCFW 494c97f3, SECO-FW d7523fe8, ATF 09c5cc9 Boot: SD2 DRAM: 6 GiB Device 'gpio@5d090000': seq 0 is in use by 'gpio@5d080000' Device 'gpio@5d0a0000': seq 1 is in use by 'gpio@5d090000' MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 "Synchronous Abort" handler, esr 0x96000004 elr: 000000008005cf54 lr : 0000000080022f94 (reloc) elr: 00000000fff22f54 lr : 00000000ffee8f94 x0 : fffffffffdaf0e40 x1 : 00000000fff2d89f x2 : 0000000000000000 x3 : 0000000000000000 x4 : 0000000000000000 x5 : fffffffffdaf0e40 x6 : 00000000fff068f4 x7 : 00000000fff3bca0 x8 : 00000000fdaf1390 x9 : 0000000000000008 x10: 00000000fdaec9a0 x11: 00000000fdaee528 x12: 0000000000000000 x13: 0000000000000200 x14: 00000000fdadebf8 x15: 00000000ffffffff x16: 0000000000001080 x17: 0000000000000000 x18: 00000000fdae4da0 x19: 0000000000000002 x20: 00000000fff3b000 x21: 000000007fec6000 x22: 0000000000000000 x23: 0000000000000000 x24: 0000000000000000 x25: 0000000000000000 x26: 0000000000000000 x27: 0000000000000000 x28: 0000000000000000 x29: 00000000fdadfd90 Code: aa0503e4 17fffff2 aa0003e5 d2800003 (386368a4) Resetting CPU ... resetting ...