mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* barebox on i.MX53 in serial downloader boot mode
@ 2013-11-04 11:56 Wjatscheslaw Stoljarski (Slawa)
  2013-11-04 12:48 ` Eric Bénard
  2013-11-05  7:44 ` Sascha Hauer
  0 siblings, 2 replies; 10+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2013-11-04 11:56 UTC (permalink / raw)
  To: barebox

Hi,

has anyone tried to start barebox on i.MX53 in 11 boot mode (serial 
downloader)? I've tried on Freescale Loco board with pmic da9053, but 
without success. In 00 boot mode (internal boot) works perfectly. U-Boot 
works in both modes. DCD in u-boot and in barebox is the same. Even I 
can turn on LEDs with DCD in 11 boot mode on Loco.

Regards,
Wjatscheslaw Stoljarski

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 11:56 barebox on i.MX53 in serial downloader boot mode Wjatscheslaw Stoljarski (Slawa)
@ 2013-11-04 12:48 ` Eric Bénard
  2013-11-04 15:00   ` Wjatscheslaw Stoljarski (Slawa)
  2013-11-05  7:44 ` Sascha Hauer
  1 sibling, 1 reply; 10+ messages in thread
From: Eric Bénard @ 2013-11-04 12:48 UTC (permalink / raw)
  To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox

Hi,

Le Mon, 04 Nov 2013 12:56:57 +0100,
"Wjatscheslaw Stoljarski (Slawa)"
<wjatscheslaw.stoljarski@kiwigrid.com> a écrit :
> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial 
> downloader)? I've tried on Freescale Loco board with pmic da9053, but 
> without success. In 00 boot mode (internal boot) works perfectly. U-Boot 
> works in both modes. DCD in u-boot and in barebox is the same. Even I 
> can turn on LEDs with DCD in 11 boot mode on Loco.
> 
works fine here, what are you using to download barebox ?

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 12:48 ` Eric Bénard
@ 2013-11-04 15:00   ` Wjatscheslaw Stoljarski (Slawa)
  2013-11-04 15:07     ` Eric Bénard
  0 siblings, 1 reply; 10+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2013-11-04 15:00 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

On 11/04/2013 01:48 PM, Eric Bénard wrote:
> Hi,
>> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
>> downloader)? I've tried on Freescale Loco board with pmic da9053, but
>> without success. In 00 boot mode (internal boot) works perfectly. U-Boot
>> works in both modes. DCD in u-boot and in barebox is the same. Even I
>> can turn on LEDs with DCD in 11 boot mode on Loco.
>>
> works fine here, what are you using to download barebox ?
I'm using imx-usb-loader. But I've tried MfgTool from Freescale too with 
the same result.

Wjatscheslaw

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 15:00   ` Wjatscheslaw Stoljarski (Slawa)
@ 2013-11-04 15:07     ` Eric Bénard
  2013-11-04 16:04       ` Wjatscheslaw Stoljarski (Slawa)
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Bénard @ 2013-11-04 15:07 UTC (permalink / raw)
  To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox

Hi Wjatscheslaw,

Le Mon, 04 Nov 2013 16:00:49 +0100,
"Wjatscheslaw Stoljarski (Slawa)"
<wjatscheslaw.stoljarski@kiwigrid.com> a écrit :

> On 11/04/2013 01:48 PM, Eric Bénard wrote:
> > Hi,
> >> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
> >> downloader)? I've tried on Freescale Loco board with pmic da9053, but
> >> without success. In 00 boot mode (internal boot) works perfectly. U-Boot
> >> works in both modes. DCD in u-boot and in barebox is the same. Even I
> >> can turn on LEDs with DCD in 11 boot mode on Loco.
> >>
> > works fine here, what are you using to download barebox ?
> I'm using imx-usb-loader. But I've tried MfgTool from Freescale too with 
> the same result.
> 
ok sorry it's working here (on a custom board) in 11 boot mode but using
serial port to load it. IIRC USB was only tested in 00 as a fallback
when NAND flash is blank.

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 15:07     ` Eric Bénard
@ 2013-11-04 16:04       ` Wjatscheslaw Stoljarski (Slawa)
  2013-11-04 16:06         ` Eric Bénard
  0 siblings, 1 reply; 10+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2013-11-04 16:04 UTC (permalink / raw)
  To: barebox

On 11/04/2013 04:07 PM, Eric Bénard wrote:
> Hi Wjatscheslaw,
>
> Le Mon, 04 Nov 2013 16:00:49 +0100,
> "Wjatscheslaw Stoljarski (Slawa)"
> <wjatscheslaw.stoljarski@kiwigrid.com> a écrit :
>
>> On 11/04/2013 01:48 PM, Eric Bénard wrote:
>>> Hi,
>>>> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
>>>> downloader)? I've tried on Freescale Loco board with pmic da9053, but
>>>> without success. In 00 boot mode (internal boot) works perfectly. U-Boot
>>>> works in both modes. DCD in u-boot and in barebox is the same. Even I
>>>> can turn on LEDs with DCD in 11 boot mode on Loco.
>>>>
>>> works fine here, what are you using to download barebox ?
>> I'm using imx-usb-loader. But I've tried MfgTool from Freescale too with
>> the same result.
>>
> ok sorry it's working here (on a custom board) in 11 boot mode but using
> serial port to load it. IIRC USB was only tested in 00 as a fallback
> when NAND flash is blank.
>
> Eric
Sorry, I forget to mention that I'm using serial downloader via USB.

Hm... I've just tried to boot u-boot image in 11 mode, and from u-boot 
start barebox. And it's works. Why then can I not boot barebox directly?

Wjatscheslaw

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 16:04       ` Wjatscheslaw Stoljarski (Slawa)
@ 2013-11-04 16:06         ` Eric Bénard
  2013-11-04 16:16           ` Wjatscheslaw Stoljarski (Slawa)
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Bénard @ 2013-11-04 16:06 UTC (permalink / raw)
  To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox

Le Mon, 04 Nov 2013 17:04:46 +0100,
"Wjatscheslaw Stoljarski (Slawa)"
<wjatscheslaw.stoljarski@kiwigrid.com> a écrit :

> On 11/04/2013 04:07 PM, Eric Bénard wrote:
> > Hi Wjatscheslaw,
> >
> > Le Mon, 04 Nov 2013 16:00:49 +0100,
> > "Wjatscheslaw Stoljarski (Slawa)"
> > <wjatscheslaw.stoljarski@kiwigrid.com> a écrit :
> >
> >> On 11/04/2013 01:48 PM, Eric Bénard wrote:
> >>> Hi,
> >>>> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
> >>>> downloader)? I've tried on Freescale Loco board with pmic da9053, but
> >>>> without success. In 00 boot mode (internal boot) works perfectly. U-Boot
> >>>> works in both modes. DCD in u-boot and in barebox is the same. Even I
> >>>> can turn on LEDs with DCD in 11 boot mode on Loco.
> >>>>
> >>> works fine here, what are you using to download barebox ?
> >> I'm using imx-usb-loader. But I've tried MfgTool from Freescale too with
> >> the same result.
> >>
> > ok sorry it's working here (on a custom board) in 11 boot mode but using
> > serial port to load it. IIRC USB was only tested in 00 as a fallback
> > when NAND flash is blank.
> >
> > Eric
> Sorry, I forget to mention that I'm using serial downloader via USB.
> 
> Hm... I've just tried to boot u-boot image in 11 mode, and from u-boot 
> start barebox. And it's works. Why then can I not boot barebox directly?
> 
maybe a clock which is left unitialized (or an IOMUX).

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 16:06         ` Eric Bénard
@ 2013-11-04 16:16           ` Wjatscheslaw Stoljarski (Slawa)
  0 siblings, 0 replies; 10+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2013-11-04 16:16 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

On 11/04/2013 05:06 PM, Eric Bénard wrote:
> Le Mon, 04 Nov 2013 17:04:46 +0100,
> "Wjatscheslaw Stoljarski (Slawa)"
> <wjatscheslaw.stoljarski@kiwigrid.com> a écrit :
>
>> On 11/04/2013 04:07 PM, Eric Bénard wrote:
>>> Hi Wjatscheslaw,
>>>
>>> Le Mon, 04 Nov 2013 16:00:49 +0100,
>>> "Wjatscheslaw Stoljarski (Slawa)"
>>> <wjatscheslaw.stoljarski@kiwigrid.com> a écrit :
>>>
>>>> On 11/04/2013 01:48 PM, Eric Bénard wrote:
>>>>> Hi,
>>>>>> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
>>>>>> downloader)? I've tried on Freescale Loco board with pmic da9053, but
>>>>>> without success. In 00 boot mode (internal boot) works perfectly. U-Boot
>>>>>> works in both modes. DCD in u-boot and in barebox is the same. Even I
>>>>>> can turn on LEDs with DCD in 11 boot mode on Loco.
>>>>>>
>>>>> works fine here, what are you using to download barebox ?
>>>> I'm using imx-usb-loader. But I've tried MfgTool from Freescale too with
>>>> the same result.
>>>>
>>> ok sorry it's working here (on a custom board) in 11 boot mode but using
>>> serial port to load it. IIRC USB was only tested in 00 as a fallback
>>> when NAND flash is blank.
>>>
>>> Eric
>> Sorry, I forget to mention that I'm using serial downloader via USB.
>>
>> Hm... I've just tried to boot u-boot image in 11 mode, and from u-boot
>> start barebox. And it's works. Why then can I not boot barebox directly?
>>
> maybe a clock which is left unitialized (or an IOMUX).
>
> Eric
I've already tried to turn on all clocks

mww 32 0x53FD4068 0xffffffff
mww 32 0x53FD406c 0xffffffff
mww 32 0x53FD4070 0xffffffff
mww 32 0x53FD4074 0xffffffff
mww 32 0x53FD4078 0xffffffff
mww 32 0x53FD407c 0xffffffff
mww 32 0x53FD4080 0xffffffff
mww 32 0x53FD4084 0xffffffff

but without success.

Wjatscheslaw

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-04 11:56 barebox on i.MX53 in serial downloader boot mode Wjatscheslaw Stoljarski (Slawa)
  2013-11-04 12:48 ` Eric Bénard
@ 2013-11-05  7:44 ` Sascha Hauer
  2013-11-05  9:48   ` Wjatscheslaw Stoljarski (Slawa)
  1 sibling, 1 reply; 10+ messages in thread
From: Sascha Hauer @ 2013-11-05  7:44 UTC (permalink / raw)
  To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox

Hi Wjatscheslaw,

On Mon, Nov 04, 2013 at 12:56:57PM +0100, Wjatscheslaw Stoljarski (Slawa) wrote:
> Hi,
> 
> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
> downloader)? I've tried on Freescale Loco board with pmic da9053,
> but without success. In 00 boot mode (internal boot) works
> perfectly. U-Boot works in both modes. DCD in u-boot and in barebox
> is the same. Even I can turn on LEDs with DCD in 11 boot mode on
> Loco.

The imx-usb-loader tool generally works here. I don't have a DA9053
based Loco here. It may be that there is some bug in the code preventing
this board to run.

I just did a quick:

git checkout master
make imx_v7_defconfig
cat images/barebox-freescale-imx53-loco.img > /dev/sde

The resulting SD card works here.

Could you try booting from SD card? Does that work?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-05  7:44 ` Sascha Hauer
@ 2013-11-05  9:48   ` Wjatscheslaw Stoljarski (Slawa)
  2013-11-06 10:01     ` Sascha Hauer
  0 siblings, 1 reply; 10+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2013-11-05  9:48 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi Sascha,

On 11/05/2013 08:44 AM, Sascha Hauer wrote:
> Hi Wjatscheslaw,
>
> On Mon, Nov 04, 2013 at 12:56:57PM +0100, Wjatscheslaw Stoljarski (Slawa) wrote:
>> Hi,
>>
>> has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
>> downloader)? I've tried on Freescale Loco board with pmic da9053,
>> but without success. In 00 boot mode (internal boot) works
>> perfectly. U-Boot works in both modes. DCD in u-boot and in barebox
>> is the same. Even I can turn on LEDs with DCD in 11 boot mode on
>> Loco.
> The imx-usb-loader tool generally works here.
Yes, I can with the imx-usb-loader boot a u-boot image, but not barebox.
> I don't have a DA9053
> based Loco here. It may be that there is some bug in the code preventing
> this board to run.
May be. But I have the exact same result with a custom board that uses 
the MC34709VK PMIC.
> I just did a quick:
>
> git checkout master
> make imx_v7_defconfig
> cat images/barebox-freescale-imx53-loco.img > /dev/sde
>
> The resulting SD card works here.
>
> Could you try booting from SD card? Does that work?
In 00 boot mode it boots fine from SD and from USB. I just checked 
again. I have trouble with the 11 boot mode.

Wjatscheslaw

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: barebox on i.MX53 in serial downloader boot mode
  2013-11-05  9:48   ` Wjatscheslaw Stoljarski (Slawa)
@ 2013-11-06 10:01     ` Sascha Hauer
  0 siblings, 0 replies; 10+ messages in thread
From: Sascha Hauer @ 2013-11-06 10:01 UTC (permalink / raw)
  To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox

On Tue, Nov 05, 2013 at 10:48:01AM +0100, Wjatscheslaw Stoljarski (Slawa) wrote:
> Hi Sascha,
> 
> On 11/05/2013 08:44 AM, Sascha Hauer wrote:
> >Hi Wjatscheslaw,
> >
> >On Mon, Nov 04, 2013 at 12:56:57PM +0100, Wjatscheslaw Stoljarski (Slawa) wrote:
> >>Hi,
> >>
> >>has anyone tried to start barebox on i.MX53 in 11 boot mode (serial
> >>downloader)? I've tried on Freescale Loco board with pmic da9053,
> >>but without success. In 00 boot mode (internal boot) works
> >>perfectly. U-Boot works in both modes. DCD in u-boot and in barebox
> >>is the same. Even I can turn on LEDs with DCD in 11 boot mode on
> >>Loco.
> >The imx-usb-loader tool generally works here.
> Yes, I can with the imx-usb-loader boot a u-boot image, but not barebox.
> >I don't have a DA9053
> >based Loco here. It may be that there is some bug in the code preventing
> >this board to run.
> May be. But I have the exact same result with a custom board that
> uses the MC34709VK PMIC.
> >I just did a quick:
> >
> >git checkout master
> >make imx_v7_defconfig
> >cat images/barebox-freescale-imx53-loco.img > /dev/sde
> >
> >The resulting SD card works here.
> >
> >Could you try booting from SD card? Does that work?
> In 00 boot mode it boots fine from SD and from USB. I just checked
> again. I have trouble with the 11 boot mode.

Hm, sorry, I'm out of ideas. Does the output of imx-usb-loader give a
clue? Are the output messages different between '00' and '11' bootmode?
(try the -v option to imx-usb-loader)

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-11-06 10:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-04 11:56 barebox on i.MX53 in serial downloader boot mode Wjatscheslaw Stoljarski (Slawa)
2013-11-04 12:48 ` Eric Bénard
2013-11-04 15:00   ` Wjatscheslaw Stoljarski (Slawa)
2013-11-04 15:07     ` Eric Bénard
2013-11-04 16:04       ` Wjatscheslaw Stoljarski (Slawa)
2013-11-04 16:06         ` Eric Bénard
2013-11-04 16:16           ` Wjatscheslaw Stoljarski (Slawa)
2013-11-05  7:44 ` Sascha Hauer
2013-11-05  9:48   ` Wjatscheslaw Stoljarski (Slawa)
2013-11-06 10:01     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox