[U-Boot] [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board

Oliver Graute oliver.graute at kococonnector.com
Fri Aug 30 07:56:28 UTC 2019


On 30/08/19, Peng Fan wrote:
> > Subject: [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board
> > 
> > Add i.MX8QM ROM 7720a1 board support
> > 
> > Boot log as below:
> > U-Boot 2019.07-00001-g6c912ea4d4 (Aug 28 2019 - 13:01:45 +0200)
> > 
> > CPU:   NXP i.MX8QM RevB A53 at 1200 MHz
> > 
> > Model: Advantech iMX8QM Qseven series
> > Board: ROM-7720-A1 4GB
> > Build: SCFW 65afe5f6
> > Boot:  SD2
> > DRAM:  3.9 GiB
> > MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
> > Loading Environment from MMC... OK
> > In:    serial at 5a060000
> > Out:   serial at 5a060000
> > Err:   serial at 5a060000
> > Net:   eth0: ethernet at 5b040000Could not get PHY for FEC1: addr 1
> > , eth-1: ethernet at 5b050000
> > Hit any key to stop autoboot:  0
> > 
> > Signed-off-by: Oliver Graute <oliver.graute at kococonnector.com>
> > Cc: Stefano Babic <sbabic at denx.de>
> > Cc: Fabio Estevam <festevam at gmail.com>
> > Cc: Peng Fan <peng.fan at nxp.com>
> > Cc: Simon Glass <sjg at chromium.org>
> > Cc: Ye Li <ye.li at nxp.com>
> > Cc: uboot-imx <uboot-imx at nxp.com>
> > ---
> > 
> > These changes are based on this vendor tree:
> 
> Please use imx/master or upstream master branch for your development.

ok I can apply the Patch on imx custodian tree. But I run into some
wired linking errors. For the first there exist already a patch from
Igor which is not applied in tree yet.
 
 https://lists.denx.de/pipermail/u-boot/2019-August/380468.html

The next errors are multiple defintions of some functions:

drivers/mmc/fsl_esdhc_imx.o: In function `fdt_fixup_esdhc':
/home/graute/test/u-boot-imx/drivers/mmc/fsl_esdhc_imx.c:1382: multiple definition of `fdt_fixup_esdhc'
drivers/mmc/fsl_esdhc.o:/home/graute/test/u-boot-imx/drivers/mmc/fsl_esdhc.c:932: first defined here
drivers/mmc/fsl_esdhc_imx.o:/home/graute/test/u-boot-imx/drivers/mmc/fsl_esdhc_imx.c:1661: multiple definition of `_u_boot_list_2_driver_2_fsl_esdhc'
drivers/mmc/fsl_esdhc.o:/home/graute/test/u-boot-imx/drivers/mmc/fsl_esdhc.c:1101: first defined here
scripts/Makefile.build:355: recipe for target 'drivers/mmc/built-in.o' failed
make[2]: *** [drivers/mmc/built-in.o] Error 1
scripts/Makefile.build:432: recipe for target 'drivers/mmc' failed
make[1]: *** [drivers/mmc] Error 2
Makefile:1588: recipe for target 'drivers' failed
make: *** [drivers] Error 2

Someone a clue howto fix these errors?

Best Regards,

Oliver


More information about the U-Boot mailing list