[U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

Lukasz Majewski lukma at denx.de
Tue Jan 22 09:47:01 UTC 2019


On Sun, 20 Jan 2019 23:38:32 +0100
Joris Offouga <offougajoris at gmail.com> wrote:

> Hi all, 
> 
> Pinctrl, GPIO, I2C, MMC, ETH are converted.
> 
> Convert PMIC is the same of warp7 but i have a some erros, si this
> log : U-Boot SPL 2019.01-00197-ga524e5d-dirty (Jan 20 2019 - 21:09:49
> +0100) Trying to boot from USB SDP
> SDP: initialize...
> SDP: handle requests...
> Downloading file of size 556397 to 0x877fffc0... done
> Jumping to header at 0x877fffc0
> Header Tag is not an IMX image
> 
> U-Boot 2019.01-00197-ga524e5d-dirty (Jan 20 2019 - 21:09:49 +0100)
> 
> CPU:   Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
> CPU:   Commercial temperature grade (0C to 95C) at 43C
> Reset cause: POR
> Model: TechNexion PICO-IMX7D Board and PI baseboard
> Board: i.MX7D PICOSOM
> DRAM:  512 MiB
> read error from device: 9df65458 register: 0x3!
> PMIC:  PFUZE3000 DEV_ID=0x0 REV_ID=0xfffffffb
> read error from device: 9df65458 register: 0x69!
> write error to device: 9df65458 register: 0x23!
> write error to device: 9df65458 register: 0x31!
> write error to device: 9df65458 register: 0x21!
> write error to device: 9df65458 register: 0x2f!
> read error from device: 9df65458 register: 0x2e!
> write error to device: 9df65458 register: 0x2e!
> MMC:   FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
> Loading Environment from MMC... OK
> In:    serial at 30a70000
> Out:   serial at 30a70000
> Err:   serial at 30a70000
> Net:   
> Warning: ethernet at 30be0000 using MAC address from ROM
> eth0: ethernet at 30be0000
> Hit any key to stop autoboot:  0
> 
> USB is convert but update u-boot with dfu log a error :
> 
> => dfu 0 mmc 0  
> Request would exceed designated area!
> #Deferred dfu_flush() failed!=>

Please check if malloc pool size (in Kconfig) is large enough to handle
DFU requests.

Otherwise, please #define DEBUG in ./drivers/dfu.c and dfu_mmc.c and
share output.

> 
> Thanks a advance for your help.
> 
> Best Regards, 
> 
> Joris Offouga
> 
> Joris Offouga (9):
>   Arm: dts: imx7d-pico: Import Linux pico-pi dts
>   Arm: imx7d-pico: Add DT file hooks
>   pico-pi-imx7d: defconfig Enable DM gpio pinctrl and pinctrl_imx7
>   arm: imx7d-pico-pi: Convert to DM MMC initialization
>   pico-pi-imx7d: defconfig: Switch to DM for I2C
>   pico-imx7d-pico: defconfig: Switch to DM for UART
>   pico-imx7d: Convert to DM PMIC
>   arm: pico-pi-imx7d: Convert to DM USB
>   pico-imx7d: Convert to DM Ethernet
> 
>  arch/arm/dts/Makefile                    |   3 +-
>  arch/arm/dts/imx7d-pico-pi.dts           | 102 ++++++
>  arch/arm/dts/imx7d-pico.dtsi             | 588
> +++++++++++++++++++++++++++++++
> board/technexion/pico-imx7d/pico-imx7d.c | 105 +-----
> configs/pico-pi-imx7d_defconfig          |  17 +-
> include/configs/pico-imx7d.h             |  11 - 6 files changed, 726
> insertions(+), 100 deletions(-) create mode 100644
> arch/arm/dts/imx7d-pico-pi.dts create mode 100644
> arch/arm/dts/imx7d-pico.dtsi
> 




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190122/e890ca77/attachment.sig>


More information about the U-Boot mailing list