All of lore.kernel.org
 help / color / mirror / Atom feed
* Sabrelite Boot
@ 2013-06-14 11:52 "Jörg Boge"
  2013-06-14 22:43 ` Eric Nelson
  0 siblings, 1 reply; 12+ messages in thread
From: "Jörg Boge" @ 2013-06-14 11:52 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/html, Size: 1214 bytes --]

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

* Re: Sabrelite Boot
  2013-06-14 11:52 Sabrelite Boot "Jörg Boge"
@ 2013-06-14 22:43 ` Eric Nelson
  2013-06-17 19:52   ` Otavio Salvador
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Nelson @ 2013-06-14 22:43 UTC (permalink / raw)
  To: Jörg Boge, meta-freescale; +Cc: Otavio Salvador

Hi Jörg,

On 06/14/2013 04:52 AM, "Jörg Boge" wrote:
> Hello,
> I have Build for my new SabreLite Board a with
> /build$ bitbake fsl-image-gui /
> /and write to Sd with /
> /build$ sudo dd if=tmp/deploy/images/fsl-image-gui-imx6qsabresd.sdcard
> of=/dev/sdX bs=4M/
> without problem.

That part should have worked for you, though it will only have
support for the 10.1" Freescale display.

> Than I tried to rewrite the UBoot in Nand with the wiki of linaro  (
> https://wiki.linaro.org/Boards/MX6QSabreLite )
 >

Why did you do this part? Was it because of this bit in the U-Boot
README?

Otavio, does the "mx6qsabrelite" configuration place U-Boot in
unformatted space?

I'm not seeing that a boot script is created in the machine layer:
	https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/imx6qsabrelite.conf

> Thats works to, but the Board will not boot from Micro SD or SD Slot.
 >

If the image does what I think it does, and has unformatted
space before the first formatted partition, you may be able
to do this by hand like so:

	sudo dd if=u-boot.imx of=/dev/mysdcard bs=512 seek=2

> With no SD Card in a Slot the Boards work as the BootSwitch is set to
> USB Boot.

If that's the case, you can use the imx_usb tool described here
to at least load U-Boot over the USB link
	http://boundarydevices.com/unbricking

> There is nothing comming out of the Seriell Debug Port.
 >
> I also tried to rewrite Nand wit MFGTool with the same result.

There's no NAND on the board. Only SPI-NOR.

Sorry for the confusion here. It seems that some piece of
documentation went missing.

In general, we're recommending the use of the nitrogen6x
machine, even for SABRE Lite as discussed in a separate
thread yesterday.
	https://lists.yoctoproject.org/pipermail/meta-freescale/2013-June/003112.html

Regards,


Eric


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

* Re: Sabrelite Boot
  2013-06-14 22:43 ` Eric Nelson
@ 2013-06-17 19:52   ` Otavio Salvador
  2013-06-17 20:25     ` Eric Nelson
  0 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2013-06-17 19:52 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale@yoctoproject.org, Jörg Boge

On Fri, Jun 14, 2013 at 7:43 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
>> Than I tried to rewrite the UBoot in Nand with the wiki of linaro  (
>> https://wiki.linaro.org/Boards/MX6QSabreLite )
>
> Why did you do this part? Was it because of this bit in the U-Boot
> README?
>
> Otavio, does the "mx6qsabrelite" configuration place U-Boot in
> unformatted space?
>
> I'm not seeing that a boot script is created in the machine layer:
>
> https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/imx6qsabrelite.conf

It does; I am thinking in make it (imx6qsabrelite) an alias to
nitrogen board. This way people don't get confused about  missing
machine but it works as expected.

Do you have a blog post or something explaining how to put the u-boot
in the NOR?

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Sabrelite Boot
  2013-06-17 19:52   ` Otavio Salvador
@ 2013-06-17 20:25     ` Eric Nelson
  2013-06-18 16:55       ` Eric Nelson
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Nelson @ 2013-06-17 20:25 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Jörg Boge

Thanks Otavio,

On 06/17/2013 12:52 PM, Otavio Salvador wrote:
> On Fri, Jun 14, 2013 at 7:43 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>>> Than I tried to rewrite the UBoot in Nand with the wiki of linaro  (
>>> https://wiki.linaro.org/Boards/MX6QSabreLite )
>>
>> Why did you do this part? Was it because of this bit in the U-Boot
>> README?
>>
>> Otavio, does the "mx6qsabrelite" configuration place U-Boot in
>> unformatted space?
>>
>> I'm not seeing that a boot script is created in the machine layer:
>>
>> https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/imx6qsabrelite.conf
>
> It does; I am thinking in make it (imx6qsabrelite) an alias to
> nitrogen board. This way people don't get confused about  missing
> machine but it works as expected.
>
> Do you have a blog post or something explaining how to put the u-boot
> in the NOR?
>

We have lots of those, and that may be a part of the problem,
since we transitioned from the U-Boot 2009.08 to Main-line a
while back.

I'll put together another one that's a bit more definitive since
things are now pretty stable.

Regards,


Eric


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

* Re: Sabrelite Boot
  2013-06-17 20:25     ` Eric Nelson
@ 2013-06-18 16:55       ` Eric Nelson
  2013-06-18 17:05         ` Fabio Estevam
  2013-06-18 17:24         ` Otavio Salvador
  0 siblings, 2 replies; 12+ messages in thread
From: Eric Nelson @ 2013-06-18 16:55 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Jörg Boge

On 06/17/2013 01:25 PM, Eric Nelson wrote:
> Thanks Otavio,
>
> On 06/17/2013 12:52 PM, Otavio Salvador wrote:
>> On Fri, Jun 14, 2013 at 7:43 PM, Eric Nelson
>> <eric.nelson@boundarydevices.com> wrote:
>>>> Than I tried to rewrite the UBoot in Nand with the wiki of linaro  (
>>>> https://wiki.linaro.org/Boards/MX6QSabreLite )
>>>
>>> Why did you do this part? Was it because of this bit in the U-Boot
>>> README?
>>>
>>> Otavio, does the "mx6qsabrelite" configuration place U-Boot in
>>> unformatted space?
>>>
>>> I'm not seeing that a boot script is created in the machine layer:
>>>
>>> https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/imx6qsabrelite.conf
>>>
>>
>> It does; I am thinking in make it (imx6qsabrelite) an alias to
>> nitrogen board. This way people don't get confused about  missing
>> machine but it works as expected.
>>
>> Do you have a blog post or something explaining how to put the u-boot
>> in the NOR?
>>
>
> We have lots of those, and that may be a part of the problem,
> since we transitioned from the U-Boot 2009.08 to Main-line a
> while back.
>
> I'll put together another one that's a bit more definitive since
> things are now pretty stable.
>

Silly me.

I thought this would only take a few minutes, but I did put
together a U-Boot "Getting started" guide:
	http://boundarydevices.com/u-boot-on-i-mx6/

Upgrading U-Boot is normally just a matter of placing the version
of U-Boot (file name u-boot.imx) and the script 6x_upgrade
on an SD card and running the "upgradeu" command as shown here:

	http://boundarydevices.com/u-boot-on-i-mx6/#upgradeu

Regards,


Eric


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

* Re: Sabrelite Boot
  2013-06-18 16:55       ` Eric Nelson
@ 2013-06-18 17:05         ` Fabio Estevam
  2013-06-18 17:38           ` Eric Nelson
  2013-06-18 17:24         ` Otavio Salvador
  1 sibling, 1 reply; 12+ messages in thread
From: Fabio Estevam @ 2013-06-18 17:05 UTC (permalink / raw)
  To: Eric Nelson
  Cc: meta-freescale@yoctoproject.org, Jörg Boge, Otavio Salvador

Hi Eric,

On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:

> I thought this would only take a few minutes, but I did put
> together a U-Boot "Getting started" guide:
>         http://boundarydevices.com/u-boot-on-i-mx6/
>

Excellent document! Very good work, Eric.

Regards,

Fabio Estevam


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

* Re: Sabrelite Boot
  2013-06-18 16:55       ` Eric Nelson
  2013-06-18 17:05         ` Fabio Estevam
@ 2013-06-18 17:24         ` Otavio Salvador
  2013-06-18 17:54           ` Eric Nelson
  1 sibling, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2013-06-18 17:24 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale@yoctoproject.org, Jörg Boge

On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
...
>> I'll put together another one that's a bit more definitive since
>> things are now pretty stable.
>>
>
> Silly me.
>
> I thought this would only take a few minutes, but I did put
> together a U-Boot "Getting started" guide:
>         http://boundarydevices.com/u-boot-on-i-mx6/
>
> Upgrading U-Boot is normally just a matter of placing the version
> of U-Boot (file name u-boot.imx) and the script 6x_upgrade
> on an SD card and running the "upgradeu" command as shown here:
>
>         http://boundarydevices.com/u-boot-on-i-mx6/#upgradeu

The blog post is awesome; it just lacks one important information: how
to program Boundary's U-Boot in case the user has did the Linaro's NOR
overwirte? This would allow us to use:

--- imx6qsabrelite.conf
#@TYPE: Machine
#@NAME: Boundary Devices i.MX6Q SABRE Lite
#@SOC: i.MX6Q
#@DESCRIPTION: Machine configuration for Boundary Devices i.MX6Q SABRE
Lite

# WARNING: This board now use the *same* code as Nitrogen6X and it
#          boots from internal SPI NOR memory. If you did change it to
boot
#          from the MMC (SD3 or SD4) please check the Boundary's blog
post
#          at: http://boundarydevices.com/u-boot-on-i-mx6/

include conf/machine/nitrogen6x.conf
---

Do you agree?

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Sabrelite Boot
  2013-06-18 17:05         ` Fabio Estevam
@ 2013-06-18 17:38           ` Eric Nelson
  2013-06-18 17:50             ` Daiane Angolini
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Nelson @ 2013-06-18 17:38 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: meta-freescale@yoctoproject.org, Troy, Jörg Boge,
	Otavio Salvador

On 06/18/2013 10:05 AM, Fabio Estevam wrote:
> Hi Eric,
>
> On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>
>> I thought this would only take a few minutes, but I did put
>> together a U-Boot "Getting started" guide:
>>          http://boundarydevices.com/u-boot-on-i-mx6/
>>
>
> Excellent document! Very good work, Eric.
>

Thanks Fabio,

BTW, there's a thread on i.MX Community that I think
is misleading:
	https://community.freescale.com/docs/DOC-93844

Daiane, you indicate that the manufacturing tool works
for SABRE Lite, but there's currently no support for
the USB OTG port in main-line U-Boot.

Troy's been trying to get time to remedy this, but
hasn't yet done so.

Does someone know something that I'm missing?

Is anybody else working on this?

This is also the gating item for Android Fastboot
support, and the biggest omission in main-line.

We have a feature matrix available here:
	http://boundarydevices.com/main-line-u-boot-for-i-mx6-sabre-lite-and-nitrogen6x/

Please advise,


Eric


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

* Re: Sabrelite Boot
  2013-06-18 17:38           ` Eric Nelson
@ 2013-06-18 17:50             ` Daiane Angolini
  2013-06-18 18:01               ` Eric Nelson
  0 siblings, 1 reply; 12+ messages in thread
From: Daiane Angolini @ 2013-06-18 17:50 UTC (permalink / raw)
  To: Eric Nelson
  Cc: meta-freescale@yoctoproject.org, Jörg Boge, Otavio Salvador,
	Troy

On 06/18/2013 02:38 PM, Eric Nelson wrote:
> On 06/18/2013 10:05 AM, Fabio Estevam wrote:
>> Hi Eric,
>>
>> On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
>> <eric.nelson@boundarydevices.com> wrote:
>>
>>> I thought this would only take a few minutes, but I did put
>>> together a U-Boot "Getting started" guide:
>>>          http://boundarydevices.com/u-boot-on-i-mx6/
>>>
>>
>> Excellent document! Very good work, Eric.
>>
>
> Thanks Fabio,
>
> BTW, there's a thread on i.MX Community that I think
> is misleading:
>      https://community.freescale.com/docs/DOC-93844
>
> Daiane, you indicate that the manufacturing tool works
> for SABRE Lite, but there's currently no support for
> the USB OTG port in main-line U-Boot.

Well, I can only say for myself. And I'm always scared when my board 
does not seems to be alive.

In the past, when I was still working with sabrelite. I used mfgtools to 
copy *any* uboot to nor and then make anything needed afterwards.

The only think I'm sure. We (meta-fsl-arm) have a problem. Sabrelite 
does not work out of box. It must be fixed someway.

I hope we can find a way that keeps imx6sabrelite.conf file. Because 
several people are working this sabrelite.


---
Daiane



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

* Re: Sabrelite Boot
  2013-06-18 17:24         ` Otavio Salvador
@ 2013-06-18 17:54           ` Eric Nelson
  0 siblings, 0 replies; 12+ messages in thread
From: Eric Nelson @ 2013-06-18 17:54 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Jörg Boge

Thanks for the review Otavio.

On 06/18/2013 10:24 AM, Otavio Salvador wrote:
> On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
> ...
>>> I'll put together another one that's a bit more definitive since
>>> things are now pretty stable.
>>>
>>
>> Silly me.
>>
>> I thought this would only take a few minutes, but I did put
>> together a U-Boot "Getting started" guide:
>>          http://boundarydevices.com/u-boot-on-i-mx6/
>>
>> Upgrading U-Boot is normally just a matter of placing the version
>> of U-Boot (file name u-boot.imx) and the script 6x_upgrade
>> on an SD card and running the "upgradeu" command as shown here:
>>
>>          http://boundarydevices.com/u-boot-on-i-mx6/#upgradeu
>
> The blog post is awesome; it just lacks one important information: how
> to program Boundary's U-Boot in case the user has did the Linaro's NOR
> overwirte? This would allow us to use:
>
I added a section on "unbricking":

	http://boundarydevices.com/u-boot-on-i-mx6/#unbricking

> --- imx6qsabrelite.conf
> #@TYPE: Machine
> #@NAME: Boundary Devices i.MX6Q SABRE Lite
> #@SOC: i.MX6Q
> #@DESCRIPTION: Machine configuration for Boundary Devices i.MX6Q SABRE
> Lite
>
> # WARNING: This board now use the *same* code as Nitrogen6X and it
> #          boots from internal SPI NOR memory. If you did change it to
> boot
> #          from the MMC (SD3 or SD4) please check the Boundary's blog
> post
> #          at: http://boundarydevices.com/u-boot-on-i-mx6/
>
> include conf/machine/nitrogen6x.conf
> ---
>
> Do you agree?
>

Yep. I agree.



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

* Re: Sabrelite Boot
  2013-06-18 17:50             ` Daiane Angolini
@ 2013-06-18 18:01               ` Eric Nelson
  2013-06-18 18:10                 ` Daiane Angolini
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Nelson @ 2013-06-18 18:01 UTC (permalink / raw)
  To: Daiane Angolini
  Cc: meta-freescale@yoctoproject.org, Jörg Boge, Otavio Salvador,
	Troy

Thanks Daiane,

On 06/18/2013 10:50 AM, Daiane Angolini wrote:
> On 06/18/2013 02:38 PM, Eric Nelson wrote:
>> On 06/18/2013 10:05 AM, Fabio Estevam wrote:
>>> Hi Eric,
>>>
>>> On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
>>> <eric.nelson@boundarydevices.com> wrote:
>>>
>>>> I thought this would only take a few minutes, but I did put
>>>> together a U-Boot "Getting started" guide:
>>>>          http://boundarydevices.com/u-boot-on-i-mx6/
>>>>
>>>
>>> Excellent document! Very good work, Eric.
>>>
>>
>> Thanks Fabio,
>>
>> BTW, there's a thread on i.MX Community that I think
>> is misleading:
>>      https://community.freescale.com/docs/DOC-93844
>>
>> Daiane, you indicate that the manufacturing tool works
>> for SABRE Lite, but there's currently no support for
>> the USB OTG port in main-line U-Boot.
>
> Well, I can only say for myself. And I'm always scared when my board
> does not seems to be alive.
>
> In the past, when I was still working with sabrelite. I used mfgtools to
> copy *any* uboot to nor and then make anything needed afterwards.
>

Because the mfgtools uses the serial download protocol, it's likely
that the first stage will work (the piece that downloads U-Boot
into RAM), but the next stage (programming SPI NOR) can only
occur if the U-Boot version supports USB OTG, and main-line
doesn't yet.

Unfortunately, I don't have ready access to a Windows
machine, and it's a pain to test...

> The only think I'm sure. We (meta-fsl-arm) have a problem. Sabrelite
> does not work out of box. It must be fixed someway.
>

I think Otavio's answer is easiest.

> I hope we can find a way that keeps imx6sabrelite.conf file. Because
> several people are working this sabrelite.
>
More than several, I'm sure.

Cheers,


Eric


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

* Re: Sabrelite Boot
  2013-06-18 18:01               ` Eric Nelson
@ 2013-06-18 18:10                 ` Daiane Angolini
  0 siblings, 0 replies; 12+ messages in thread
From: Daiane Angolini @ 2013-06-18 18:10 UTC (permalink / raw)
  To: Eric Nelson
  Cc: meta-freescale@yoctoproject.org, Jörg Boge, Otavio Salvador,
	Troy

On 06/18/2013 03:01 PM, Eric Nelson wrote:
> Thanks Daiane,
>
> On 06/18/2013 10:50 AM, Daiane Angolini wrote:
>> On 06/18/2013 02:38 PM, Eric Nelson wrote:
>>> On 06/18/2013 10:05 AM, Fabio Estevam wrote:
>>>> Hi Eric,
>>>>
>>>> On Tue, Jun 18, 2013 at 1:55 PM, Eric Nelson
>>>> <eric.nelson@boundarydevices.com> wrote:
>>>>
>>>>> I thought this would only take a few minutes, but I did put
>>>>> together a U-Boot "Getting started" guide:
>>>>>          http://boundarydevices.com/u-boot-on-i-mx6/
>>>>>
>>>>
>>>> Excellent document! Very good work, Eric.
>>>>
>>>
>>> Thanks Fabio,
>>>
>>> BTW, there's a thread on i.MX Community that I think
>>> is misleading:
>>>      https://community.freescale.com/docs/DOC-93844
>>>
>>> Daiane, you indicate that the manufacturing tool works
>>> for SABRE Lite, but there's currently no support for
>>> the USB OTG port in main-line U-Boot.
>>
>> Well, I can only say for myself. And I'm always scared when my board
>> does not seems to be alive.
>>
>> In the past, when I was still working with sabrelite. I used mfgtools to
>> copy *any* uboot to nor and then make anything needed afterwards.
>>
>
> Because the mfgtools uses the serial download protocol, it's likely
> that the first stage will work (the piece that downloads U-Boot
> into RAM), but the next stage (programming SPI NOR) can only
> occur if the U-Boot version supports USB OTG, and main-line
> doesn't yet.
>
> Unfortunately, I don't have ready access to a Windows
> machine, and it's a pain to test...
>
>> The only think I'm sure. We (meta-fsl-arm) have a problem. Sabrelite
>> does not work out of box. It must be fixed someway.
>>
>
> I think Otavio's answer is easiest.
>
>> I hope we can find a way that keeps imx6sabrelite.conf file. Because
>> several people are working this sabrelite.
>>
> More than several, I'm sure.

I mean, several people have being reporting errors when using 
meta-fsl-arm with sabrelite. I don't have numbers =P


Could you, please, share in imx-community, your doc? ^.^

>
> Cheers,
>
>
> Eric
>


-- 
Daiane



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

end of thread, other threads:[~2013-06-18 18:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 11:52 Sabrelite Boot "Jörg Boge"
2013-06-14 22:43 ` Eric Nelson
2013-06-17 19:52   ` Otavio Salvador
2013-06-17 20:25     ` Eric Nelson
2013-06-18 16:55       ` Eric Nelson
2013-06-18 17:05         ` Fabio Estevam
2013-06-18 17:38           ` Eric Nelson
2013-06-18 17:50             ` Daiane Angolini
2013-06-18 18:01               ` Eric Nelson
2013-06-18 18:10                 ` Daiane Angolini
2013-06-18 17:24         ` Otavio Salvador
2013-06-18 17:54           ` Eric Nelson

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.