[U-Boot] i.MX6QP sd boot issue

Jagan Teki jagan at openedev.com
Wed Mar 1 15:26:21 UTC 2017


Hi Fabio,

On Wed, Mar 1, 2017 at 7:46 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Jagan,
>
> On Wed, Mar 1, 2017 at 9:55 AM, Jagan Teki <jagan at openedev.com> wrote:
>> + ML
>>
>> On Wed, Mar 1, 2017 at 6:23 PM, Jagan Teki <jagan at 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.


More information about the U-Boot mailing list