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

Peng Fan peng.fan at nxp.com
Fri Aug 30 07:59:04 UTC 2019


> Subject: Re: [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board
> 
> 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.d
> enx.de%2Fpipermail%2Fu-boot%2F2019-August%2F380468.html&data=
> 02%7C01%7Cpeng.fan%40nxp.com%7Cdb77a2fa070947d5750f08d72d1f91c8
> %7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637027485924189
> 364&sdata=5C0gakvz584z8HUpPfp1NZ4YhW9etYixErARrEQwr8s%3D&a
> mp;reserved=0
> 
> 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'

Please not enable FSL_ESDHC and FSL_ESDHC_IMX both. Only FSL_ESDHC_IMX is
ok.

Regards,
Peng.

> drivers/mmc/fsl_esdhc.o:/home/graute/test/u-boot-imx/drivers/mmc/fsl_es
> dhc.c:932: first defined here
> drivers/mmc/fsl_esdhc_imx.o:/home/graute/test/u-boot-imx/drivers/mmc/f
> sl_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_es
> dhc.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