public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx53loco: Call PMIC related functions from board_late_init()
Date: Thu, 27 Dec 2012 17:27:05 +0100	[thread overview]
Message-ID: <20121227172705.5e534755@lilith> (raw)
In-Reply-To: <50DC21CF.70409@denx.de>

Hi Stefano,

On Thu, 27 Dec 2012 11:24:15 +0100, Stefano Babic <sbabic@denx.de>
wrote:
> On 27/12/2012 11:14, Fabio Estevam wrote:
> > Hi Stefano,
> > 
> > On Thu, Dec 27, 2012 at 8:09 AM, Stefano Babic <sbabic@denx.de> wrote:
> > 
> >> Hi Fabio, hi Robert,
> >>
> >> the new pmic framework calls malloc(), that the reason. It is then safe
> >> to call the init from board_late_init().
> >>
> >> Tested-by: Stefano Babic <sbabic@denx.de>
> >>
> >> Applied to u-boot-imx, thanks.
> >>
> >> gcc 4.6.4, it boots always here.
> > 
> > Ok, great.
> > 
> > When you enter commands in the U-boot prompt, does it work fine?
> 
> Yes, it is.
> 
> > With
> > the toolchains that myself and Robert used we are seeing resets.
> > 
> > I would like to try the same gcc 4.6.4 toolchain you are using. Where
> > do you get it from?
> 
> It comes from ELDK-5.2.1
> 
> > 
> 
> I am playing a bit, I do not see your problem. I admit I have no idea
> which dialog version is on my board.
> 
> The only issue I can see is with MMC - I see with "fatls" any entry twice:
> 
> MX53LOCO U-Boot > fatls mmc 0:2
>         1   cmdline
>         1   cmdline
>    283472   u-boot.bin
>    283472   u-boot.bin
>    284496   u-boot.imx
>    284496   u-boot.imx
>   4093544   uimage
>   4093544   uimage
>    160291   uinitrd
>    160291   uinitrd
>       349   boot.txt
>       349   boot.txt
>       421   boot.scr
>       421   boot.scr
> 
> But this is surely another issue....

Re the double entries, did you check if these could be short / DOS (8.3)
names vs long names? IIRC, for compatibility, in a (V)FAT directory any
entry with a name longer than 8.3 has a matching short entry; maybe on
the device you're ls'ing, *any* entry has a short version?
 
> Best regards,
> Stefano Babic

Amicalement,
-- 
Albert.

  reply	other threads:[~2012-12-27 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26 15:50 [U-Boot] [PATCH] mx53loco: Call PMIC related functions from board_late_init() Fabio Estevam
2012-12-27 10:09 ` Stefano Babic
2012-12-27 10:14   ` Fabio Estevam
2012-12-27 10:24     ` Stefano Babic
2012-12-27 16:27       ` Albert ARIBAUD [this message]
2012-12-28  8:38         ` Stefano Babic
2012-12-28 10:34           ` Albert ARIBAUD
2012-12-28 12:15             ` Stefano Babic

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=20121227172705.5e534755@lilith \
    --to=albert.u.boot@aribaud.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox