Re: [U-Boot] i.MX6QP sd boot issue
On Tue, Mar 28, 2017 at 9:34 PM, Fabio Estevamwrote: > On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki 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. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
On Tue, Mar 28, 2017 at 1:02 PM, Jagan Tekiwrote: > I still not able to boot from SD with mx6qpsabreauto_defconfig, did > you able to boot from SD? Could you try bisect it? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
Hi Peng, On Thu, Mar 2, 2017 at 6:21 AM, Peng Fan <peng@nxp.com> wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:ja...@openedev.com] >> Sent: Wednesday, March 01, 2017 10:12 PM >> To: Peng Fan <peng@nxp.com> >> Cc: Jagan Teki <ja...@openedev.com>; u-boot@lists.denx.de >> Subject: Re: [U-Boot] i.MX6QP sd boot issue >> >> On Wed, Mar 1, 2017 at 6:28 PM, Peng Fan <peng@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. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
> -Original Message- > From: Jagan Teki [mailto:ja...@openedev.com] > Sent: Wednesday, March 01, 2017 10:12 PM > To: Peng Fan <peng@nxp.com> > Cc: Jagan Teki <ja...@openedev.com>; u-boot@lists.denx.de > Subject: Re: [U-Boot] i.MX6QP sd boot issue > > On Wed, Mar 1, 2017 at 6:28 PM, Peng Fan <peng@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:ja...@openedev.com] > >> Sent: Wednesday, March 01, 2017 8:56 PM > >> To: u-boot@lists.denx.de > >> Cc: Peng Fan <peng@nxp.com>; Stefano Babic <sba...@denx.de> > >> Subject: Re: [U-Boot] i.MX6QP sd boot issue > >> > >> + ML > >> > >> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <ja...@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@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. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
Hi Fabio, On Wed, Mar 1, 2017 at 7:46 PM, Fabio Estevamwrote: > Hi Jagan, > > On Wed, Mar 1, 2017 at 9:55 AM, Jagan Teki wrote: >> + ML >> >> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki 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. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
Hi Jagan, On Wed, Mar 1, 2017 at 9:55 AM, Jagan Tekiwrote: > + ML > > On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki 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. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
On Wed, Mar 1, 2017 at 6:28 PM, Peng Fan <peng@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:ja...@openedev.com] >> Sent: Wednesday, March 01, 2017 8:56 PM >> To: u-boot@lists.denx.de >> Cc: Peng Fan <peng....@nxp.com>; Stefano Babic <sba...@denx.de> >> Subject: Re: [U-Boot] i.MX6QP sd boot issue >> >> + ML >> >> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <ja...@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@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. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
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:ja...@openedev.com] > Sent: Wednesday, March 01, 2017 8:56 PM > To: u-boot@lists.denx.de > Cc: Peng Fan <peng@nxp.com>; Stefano Babic <sba...@denx.de> > Subject: Re: [U-Boot] i.MX6QP sd boot issue > > + ML > > On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <ja...@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@lists.denx.de http://lists.denx.de/listinfo/u-boot
Re: [U-Boot] i.MX6QP sd boot issue
+ ML On Wed, Mar 1, 2017 at 6:23 PM, Jagan Tekiwrote: > 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. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/listinfo/u-boot