All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] i.MX6QP sd boot issue
       [not found] <CAD6G_RQ1zb0FqhQW67D_nydmfg+VQ=uLs1QLdyEKb7sRMprsfw@mail.gmail.com>
@ 2017-03-01 12:55 ` Jagan Teki
  2017-03-01 12:58   ` Peng Fan
  2017-03-01 14:16   ` Fabio Estevam
  0 siblings, 2 replies; 9+ messages in thread
From: Jagan Teki @ 2017-03-01 12:55 UTC (permalink / raw)
  To: u-boot

+ ML

On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan@openedev.com> wrote:
> Hi Peng and All,
>
> I'm trying to boot from SD, on imx6qplus sabre board.
>
> - SW6: D1-D8 => 0100 0010
> - SD card on SD3
> - D12 with USB-to-Serial 115200 8N1
> - Power supply Output 5V
>
> Build:
> $  make mx6qpsabreauto_defconfig; make
> $ dd if=u-boot.imx of=/dev/sda bs=512 seek=2
>
> When I plug-in power, power supply slot D1, D2 are green and D3 glow
> red not able to get the log on uart.
>
> Any help?

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-01 12:55 ` [U-Boot] i.MX6QP sd boot issue Jagan Teki
@ 2017-03-01 12:58   ` Peng Fan
  2017-03-01 14:11     ` Jagan Teki
  2017-03-01 14:16   ` Fabio Estevam
  1 sibling, 1 reply; 9+ messages in thread
From: Peng Fan @ 2017-03-01 12:58 UTC (permalink / raw)
  To: u-boot

Hi Jagan,

Did you put J3 to connect 1-2?

Jumper Boot Selection
1 - 2 Do not boot from SPI NOR (default)
2 - 3 Boot from SPI NOR


> -----Original Message-----
> From: Jagan Teki [mailto:jagan at openedev.com]
> Sent: Wednesday, March 01, 2017 8:56 PM
> To: u-boot at lists.denx.de
> Cc: Peng Fan <peng.fan@nxp.com>; Stefano Babic <sbabic@denx.de>
> Subject: Re: [U-Boot] i.MX6QP sd boot issue
> 
> + ML
> 
> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan@openedev.com> wrote:
> > Hi Peng and All,
> >
> > I'm trying to boot from SD, on imx6qplus sabre board.
> >
> > - SW6: D1-D8 => 0100 0010
> > - SD card on SD3
> > - D12 with USB-to-Serial 115200 8N1
> > - Power supply Output 5V
> >
> > Build:
> > $  make mx6qpsabreauto_defconfig; make $ dd if=u-boot.imx of=/dev/sda
> > bs=512 seek=2
> >
> > When I plug-in power, power supply slot D1, D2 are green and D3 glow
> > red not able to get the log on uart.
> >
> > Any help?
> 
> thanks!
> --
> Jagan Teki
> Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream
> Maintainer Hyderabad, India.

Regards,
Peng.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-01 12:58   ` Peng Fan
@ 2017-03-01 14:11     ` Jagan Teki
  2017-03-02  0:51       ` Peng Fan
  0 siblings, 1 reply; 9+ messages in thread
From: Jagan Teki @ 2017-03-01 14:11 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 1, 2017 at 6:28 PM, Peng Fan <peng.fan@nxp.com> wrote:
> Hi Jagan,
>
> Did you put J3 to connect 1-2?

What is J3, I couldn't find it. I saw J1 PCIe connector and J2
Headphone Jack. Can you point me J3.

>
> Jumper Boot Selection
> 1 - 2 Do not boot from SPI NOR (default)
> 2 - 3 Boot from SPI NOR
>
>
>> -----Original Message-----
>> From: Jagan Teki [mailto:jagan at openedev.com]
>> Sent: Wednesday, March 01, 2017 8:56 PM
>> To: u-boot at lists.denx.de
>> Cc: Peng Fan <peng.fan@nxp.com>; Stefano Babic <sbabic@denx.de>
>> Subject: Re: [U-Boot] i.MX6QP sd boot issue
>>
>> + ML
>>
>> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan@openedev.com> wrote:
>> > Hi Peng and All,
>> >
>> > I'm trying to boot from SD, on imx6qplus sabre board.
>> >
>> > - SW6: D1-D8 => 0100 0010
>> > - SD card on SD3
>> > - D12 with USB-to-Serial 115200 8N1
>> > - Power supply Output 5V
>> >
>> > Build:
>> > $  make mx6qpsabreauto_defconfig; make $ dd if=u-boot.imx of=/dev/sda
>> > bs=512 seek=2
>> >
>> > When I plug-in power, power supply slot D1, D2 are green and D3 glow
>> > red not able to get the log on uart.
>> >
>> > Any help?
>>
>> thanks!
>> --
>> Jagan Teki
>> Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream
>> Maintainer Hyderabad, India.
>
> Regards,
> Peng.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/listinfo/u-boot



-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-01 12:55 ` [U-Boot] i.MX6QP sd boot issue Jagan Teki
  2017-03-01 12:58   ` Peng Fan
@ 2017-03-01 14:16   ` Fabio Estevam
  2017-03-01 15:26     ` Jagan Teki
  1 sibling, 1 reply; 9+ messages in thread
From: Fabio Estevam @ 2017-03-01 14:16 UTC (permalink / raw)
  To: u-boot

Hi Jagan,

On Wed, Mar 1, 2017 at 9:55 AM, Jagan Teki <jagan@openedev.com> wrote:
> + ML
>
> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan@openedev.com> wrote:
>> Hi Peng and All,
>>
>> I'm trying to boot from SD, on imx6qplus sabre board.
>>
>> - SW6: D1-D8 => 0100 0010
>> - SD card on SD3
>> - D12 with USB-to-Serial 115200 8N1
>> - Power supply Output 5V
>>
>> Build:
>> $  make mx6qpsabreauto_defconfig; make
>> $ dd if=u-boot.imx of=/dev/sda bs=512 seek=2

I don't have a imx6qp sabresd board handy, but can you try the SPL
config instead?

make mx6sabresd_spl_defconfig
dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync

It worked for me the last time I tried it with mainline U-Boot.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-01 14:16   ` Fabio Estevam
@ 2017-03-01 15:26     ` Jagan Teki
  0 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2017-03-01 15:26 UTC (permalink / raw)
  To: u-boot

Hi Fabio,

On Wed, Mar 1, 2017 at 7:46 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Jagan,
>
> On Wed, Mar 1, 2017 at 9:55 AM, Jagan Teki <jagan@openedev.com> wrote:
>> + ML
>>
>> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan@openedev.com> wrote:
>>> Hi Peng and All,
>>>
>>> I'm trying to boot from SD, on imx6qplus sabre board.
>>>
>>> - SW6: D1-D8 => 0100 0010
>>> - SD card on SD3
>>> - D12 with USB-to-Serial 115200 8N1
>>> - Power supply Output 5V
>>>
>>> Build:
>>> $  make mx6qpsabreauto_defconfig; make
>>> $ dd if=u-boot.imx of=/dev/sda bs=512 seek=2
>
> I don't have a imx6qp sabresd board handy, but can you try the SPL
> config instead?
>
> make mx6sabresd_spl_defconfig
> dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
> dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
>
> It worked for me the last time I tried it with mainline U-Boot.

Yes, able to boot with SPL config.

U-Boot SPL 2017.03-rc3 (Mar 01 2017 - 20:46:00)
Trying to boot from MMC1


U-Boot 2017.03-rc3 (Mar 01 2017 - 20:46:00 +0530)

CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
CPU:   Automotive temperature grade (-40C to 125C) at 35C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment

PCI:   pcie phy link never came up
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=>

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-01 14:11     ` Jagan Teki
@ 2017-03-02  0:51       ` Peng Fan
  2017-03-28 16:02         ` Jagan Teki
  0 siblings, 1 reply; 9+ messages in thread
From: Peng Fan @ 2017-03-02  0:51 UTC (permalink / raw)
  To: u-boot



> -----Original Message-----
> From: Jagan Teki [mailto:jagan at openedev.com]
> Sent: Wednesday, March 01, 2017 10:12 PM
> To: Peng Fan <peng.fan@nxp.com>
> Cc: Jagan Teki <jagan@openedev.com>; u-boot at lists.denx.de
> Subject: Re: [U-Boot] i.MX6QP sd boot issue
> 
> On Wed, Mar 1, 2017 at 6:28 PM, Peng Fan <peng.fan@nxp.com> wrote:
> > Hi Jagan,
> >
> > Did you put J3 to connect 1-2?
> 
> What is J3, I couldn't find it. I saw J1 PCIe connector and J2 Headphone Jack.
> Can you point me J3.

There is J2 and J3 beside the boot mode switch s2.
I only have a base board. So J2 needs to be 1-2 connected. J3 1-2 connected to not boot from SPI.

You could have a try.
If your board runs into serial download mode, then J3 maybe wrong connection. If your board does not run into serial download mode, J2 maybe wrong connection.

Regards,
Peng.
> 
> >
> > Jumper Boot Selection
> > 1 - 2 Do not boot from SPI NOR (default)
> > 2 - 3 Boot from SPI NOR
> >
> >
> >> -----Original Message-----
> >> From: Jagan Teki [mailto:jagan at openedev.com]
> >> Sent: Wednesday, March 01, 2017 8:56 PM
> >> To: u-boot at lists.denx.de
> >> Cc: Peng Fan <peng.fan@nxp.com>; Stefano Babic <sbabic@denx.de>
> >> Subject: Re: [U-Boot] i.MX6QP sd boot issue
> >>
> >> + ML
> >>
> >> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan@openedev.com> wrote:
> >> > Hi Peng and All,
> >> >
> >> > I'm trying to boot from SD, on imx6qplus sabre board.
> >> >
> >> > - SW6: D1-D8 => 0100 0010
> >> > - SD card on SD3
> >> > - D12 with USB-to-Serial 115200 8N1
> >> > - Power supply Output 5V
> >> >
> >> > Build:
> >> > $  make mx6qpsabreauto_defconfig; make $ dd if=u-boot.imx
> >> > of=/dev/sda
> >> > bs=512 seek=2
> >> >
> >> > When I plug-in power, power supply slot D1, D2 are green and D3
> >> > glow red not able to get the log on uart.
> >> >
> >> > Any help?
> >>
> >> thanks!
> >> --
> >> Jagan Teki
> >> Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream
> >> Maintainer Hyderabad, India.
> >
> > Regards,
> > Peng.
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > http://lists.denx.de/listinfo/u-boot
> 
> 
> 
> --
> Jagan Teki
> Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream
> Maintainer Hyderabad, India.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-02  0:51       ` Peng Fan
@ 2017-03-28 16:02         ` Jagan Teki
  2017-03-28 16:04           ` Fabio Estevam
  0 siblings, 1 reply; 9+ messages in thread
From: Jagan Teki @ 2017-03-28 16:02 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Thu, Mar 2, 2017 at 6:21 AM, Peng Fan <peng.fan@nxp.com> wrote:
>
>
>> -----Original Message-----
>> From: Jagan Teki [mailto:jagan at openedev.com]
>> Sent: Wednesday, March 01, 2017 10:12 PM
>> To: Peng Fan <peng.fan@nxp.com>
>> Cc: Jagan Teki <jagan@openedev.com>; u-boot at lists.denx.de
>> Subject: Re: [U-Boot] i.MX6QP sd boot issue
>>
>> On Wed, Mar 1, 2017 at 6:28 PM, Peng Fan <peng.fan@nxp.com> wrote:
>> > Hi Jagan,
>> >
>> > Did you put J3 to connect 1-2?
>>
>> What is J3, I couldn't find it. I saw J1 PCIe connector and J2 Headphone Jack.
>> Can you point me J3.
>
> There is J2 and J3 beside the boot mode switch s2.
> I only have a base board. So J2 needs to be 1-2 connected. J3 1-2 connected to not boot from SPI.
>
> You could have a try.
> If your board runs into serial download mode, then J3 maybe wrong connection. If your board does not run into serial download mode, J2 maybe wrong connection.

I still not able to boot from SD with mx6qpsabreauto_defconfig, did
you able to boot from SD?

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-28 16:02         ` Jagan Teki
@ 2017-03-28 16:04           ` Fabio Estevam
  2017-03-28 16:32             ` Jagan Teki
  0 siblings, 1 reply; 9+ messages in thread
From: Fabio Estevam @ 2017-03-28 16:04 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:

> I still not able to boot from SD with mx6qpsabreauto_defconfig, did
> you able to boot from SD?

Could you try bisect it?

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

* [U-Boot] i.MX6QP sd boot issue
  2017-03-28 16:04           ` Fabio Estevam
@ 2017-03-28 16:32             ` Jagan Teki
  0 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2017-03-28 16:32 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 28, 2017 at 9:34 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
>
>> I still not able to boot from SD with mx6qpsabreauto_defconfig, did
>> you able to boot from SD?
>
> Could you try bisect it?

Started with v2015.10-rc1 which is added this config, but not able to boot.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

end of thread, other threads:[~2017-03-28 16:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAD6G_RQ1zb0FqhQW67D_nydmfg+VQ=uLs1QLdyEKb7sRMprsfw@mail.gmail.com>
2017-03-01 12:55 ` [U-Boot] i.MX6QP sd boot issue Jagan Teki
2017-03-01 12:58   ` Peng Fan
2017-03-01 14:11     ` Jagan Teki
2017-03-02  0:51       ` Peng Fan
2017-03-28 16:02         ` Jagan Teki
2017-03-28 16:04           ` Fabio Estevam
2017-03-28 16:32             ` Jagan Teki
2017-03-01 14:16   ` Fabio Estevam
2017-03-01 15:26     ` Jagan Teki

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.