All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joris Offouga <offougajoris@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM
Date: Wed, 23 Jan 2019 22:01:05 +0100	[thread overview]
Message-ID: <9980fc32-0e2b-db5e-72d8-8dcfadc7b767@gmail.com> (raw)
In-Reply-To: <20190122104701.74934f97@jawa>


Le 22/01/2019 à 10:47, Lukasz Majewski a écrit :
> On Sun, 20 Jan 2019 23:38:32 +0100
> Joris Offouga <offougajoris@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!=>

Hi Lukasz,

> Please check if malloc pool size (in Kconfig) is large enough to handle
> DFU requests.
The dfu request is smaller than the size of malloc pool size
>
> Otherwise, please #define DEBUG in ./drivers/dfu.c and dfu_mmc.c and
> share output.

This is a log when dfu failed :

blk_find_device: if_type=6, devnum=0: usdhc at 30b40000.blk, 6, 2
blk_find_device: if_type=6, devnum=0: usdhc at 30b50000.blk, 6, 1
blk_find_device: if_type=6, devnum=0: usdhc at 30b60000.blk, 6, 0
Request would exceed designated area!
dfu_write_buffer_drain: Write error!
#Deferred dfu_flush() failed!reset_config:
unbind function 'dfu'/9ef6e678
g_dnl_unbind: calling usb_gadget_disconnect for controller 'ci_udc'

Best Regards,

Joris Offouga

>
>> 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

  reply	other threads:[~2019-01-23 21:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-20 22:38 [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM Joris Offouga
2019-01-22  9:47 ` Lukasz Majewski
2019-01-23 21:01   ` Joris Offouga [this message]
2019-02-15 11:22     ` Fabio Estevam
2019-02-15 11:50       ` Lukasz Majewski
2019-02-16 11:06         ` Offouga Joris
2019-02-16 12:17           ` Fabio Estevam
2019-02-16 12:33             ` Fabio Estevam
2019-02-16 12:33             ` Joris Offouga
2019-02-16 12:46               ` Fabio Estevam
2019-02-16 13:02                 ` Joris Offouga
2019-02-16 13:58                   ` Fabio Estevam
2019-02-16 14:38                     ` Joris Offouga
2019-02-16 14:42                       ` Fabio Estevam
2019-02-16 14:52                         ` Joris Offouga
2019-02-16 14:54                           ` Fabio Estevam
2019-02-16 15:14                             ` Joris Offouga
2019-02-16 15:25                               ` Fabio Estevam
2019-02-16 15:41                                 ` Joris Offouga
2019-02-16 15:43                                   ` Fabio Estevam
2019-02-19 19:24                                     ` Offouga Joris
2019-02-19 20:22                                       ` Fabio Estevam
2019-02-28 20:38                                 ` Fabio Estevam
2019-02-28 22:06                                   ` Offouga Joris
2019-03-09 22:21                                     ` Offouga Joris
2019-03-10 14:24                                       ` Fabio Estevam
2019-03-10 18:35                                         ` Joris Offouga
     [not found] <1548019059-10918-1-git-send-email-offougajoris@gmail.com>
2019-02-14 12:27 ` Fabio Estevam
  -- strict thread matches above, loose matches on Subject: below --
2019-01-20 21:18 Joris Offouga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9980fc32-0e2b-db5e-72d8-8dcfadc7b767@gmail.com \
    --to=offougajoris@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.