Booting from SD-Card with P1010RDB-PB with SDK 1.6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Booting from SD-Card with P1010RDB-PB with SDK 1.6

1,226 Views
jasonstanislaws
Contributor I

Hi all, I'm trying to get our P1010RDB-PB (700-27904 Rev A) to boot off of an SD card and having no luck.  I've followed the directions listed in this app-note: System Boot from SD/MMC Card with SDK 1.6 images

I'm using the QorIQ SDK 1.6 VM from Freescale.

Commands run:

$ cd ~/SDK/QorIQ-SDK-V1.6-20140619-yocto/build_p1010rdb_release

$ source SOURCE_THIS

$ bitbake -c cleansstate u-boot

$ bitbake u-boot

$ sudo tmp/sysroots/i686-linux/usr/bin/boot_format tmp/sysroots/i686-linux/usr/share/boot_format \

/config_ddr3_1gb_p1010rdb_800M.dat \

tmp/deploy/images/p1010rdb/u-boot-sd-P1010RDB-PB_SDCARD-2014.01+fslgit-r0.bin \

-sd /dev/sdb

SD Card information

8-GB SDHC

Disk /dev/sdb: 7969 MB, 7969177600 bytes

246 heads, 62 sectors/track, 1020 cylinders, total 15564800 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1   *        2048      526335      262144    b  W95 FAT32

/dev/sdb2          526336    15564799     7519232   83  Linux

/dev/sdb1 is formatted FAT32.

/dev/sdb2 is formatted ext2.

P1010RDB-PB Switch Settings (where 1 is on)

SW1[1:8] 10101010

SW2[1:8] 11011000

SW3[1:8] 10110000    (SDHC is selected on BUS_SEL)

SW4[1:4] 0111            

SW5[1:8] 1111010

I attached the meta-fsl-ppc/conf/machine/p1010rdb.conf and the logged output of boot-format.

Original Attachment has been moved to: boot-format.log.zip

Original Attachment has been moved to: p1010rdb.conf.zip

Labels (1)
0 Kudos
4 Replies

632 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Stanislawski,

Please use config_sram_p1010rdb.dat as the data file rather than config_ddr3_1gb_p1010rdb_800M.dat.

Thanks,

Yiping

0 Kudos

632 Views
jasonstanislaws
Contributor I

I tried using config_sram_p1010rdb.dat, and still no luck.  The boot-format log is attached.

While doing some searching, I came across this document, "Migrating from PowerQUICC II Pro to QorIQ's P1010" which on page 20 states "Revision 1.0 of the P1010 has an errata that prevents boot from SD. Although a work around exists there are no plans to revise the device and fix the errata" and on page 37 "eSDHC interface (errata on P1010 prevents boot on SD)".

0 Kudos

632 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Jason,

Please check the switch setting for P1010RDB-PB SD boot

SW4[1:4]= 0111 and SW3[3:4]= 10

Due to a defect, P1010 rev1 doesn't support booting form SD, it has been fixed in Rev 2.0.

Thanks,

Yiping

0 Kudos

632 Views
jasonstanislaws
Contributor I

I verified that the switch settings were in the positions you mentioned, and tried both the SRAM and DDR configurations, neither work.

Current switch positions:

SW1[1:8] 10101010

SW2[1:8] 11011000

SW3[1:8] 10100000

SW4[1:4] 0111

SW5[1:8] 11111010

According to the BOM that came with the P1010RDB-PB, it should be a Rev 2.0 part, but without lifting the heatsink I can't verify that it is the actual part placed.

0 Kudos