All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mehmet Ali İPİN" <mehmet.ipin@pavotek.com.tr>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot 2018 SPI SPL
Date: Tue, 8 May 2018 07:13:29 +0000	[thread overview]
Message-ID: <39d84166b4ed4de484dc2926d31e9588@pavotek.com.tr> (raw)
In-Reply-To: <CAOMZO5Do71ZEtL9LCHx=bQznWrAF58aASWRv4m4nvMJkUG92Mg@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="euc-tw", Size: 1329 bytes --]

Dear Fabio,
Hello,

ROM code starts execution of the SPL code in SPI flash; 

I traced and see that It jumped to MMC drivers/mmc.c file,  as default DM_MMC  is not defined, then SPL is calling empty weak "board_mmc_init and cpu_mmc_init" functions. 

I also defined DM_MMC in defconfig file, but got "undefined reference compiling errors for USB etc.

Should I call u-boot MMC init functions within these functions?
Or should I define DM_MMC in config file and try to solve compile errors?

Best regards.

-----Original Message-----
From: Fabio Estevam [mailto:festevam at gmail.com] 
Sent: Wednesday, May 2, 2018 8:27 PM
To: Mehmet Ali İPİN <mehmet.ipin@pavotek.com.tr>
Cc: u-boot at lists.denx.de; Kutsal ANIL <kutsal.anil@pavotek.com.tr>
Subject: Re: [U-Boot] u-boot 2018 SPI SPL

Hi Mehmet,

On Mon, Apr 30, 2018 at 3:24 AM, Mehmet Ali İPİN <mehmet.ipin@pavotek.com.tr> wrote:
> Dear Fabio,
>
> Windows 10 tried but could not load the device driver of our eMMC 
> (micron tech MTFC4GLDDQ). Then
>
> I programmed SPL and u-boot.img into eMMC with u-boot commands; even SPI flash based SPL see the MMC1(eMMC), u-boot did not run correctly.

I am a bit confused of what you are trying to achieve.

Is your end goal to be able to boot from SPI NOR using SPL on a mx6?

Are you able to boot from SPL from the eMMC or SD card?

      parent reply	other threads:[~2018-05-08  7:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12 13:17 [U-Boot] u-boot 2018 SPI SPL Mehmet Ali İPİN
2018-04-12 13:27 ` Fabio Estevam
2018-04-12 13:35   ` Mehmet Ali İPİN
2018-04-13 13:13     ` Mehmet Ali İPİN
2018-04-13 13:44       ` Fabio Estevam
2018-04-16 11:36         ` Mehmet Ali İPİN
2018-04-16 11:49           ` Fabio Estevam
2018-04-18  6:56             ` Mehmet Ali İPİN
2018-04-18 13:25               ` Fabio Estevam
2018-04-20  6:43                 ` Mehmet Ali İPİN
2018-04-20 23:40                   ` Fabio Estevam
2018-04-30  6:24                     ` Mehmet Ali İPİN
2018-05-02 17:27                       ` Fabio Estevam
2018-05-03  5:52                         ` Mehmet Ali İPİN
2018-05-08  7:13                         ` Mehmet Ali İPİN [this message]

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=39d84166b4ed4de484dc2926d31e9588@pavotek.com.tr \
    --to=mehmet.ipin@pavotek.com.tr \
    --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.