AnsweredAssumed Answered

Cannot able to boot from sd card in P1020 rdb

Question asked by Sourabh Das on Jul 7, 2015
Latest reply on Jul 8, 2015 by Yiping Wang

Hi, I am using P1020 rdb for my project. I want to boot my RAM based u-boot image from sd card.

 

 

I have followed this freescale guide to prepare my sdcard :

Getting Started Guide for P1020/P1011

 

As per as the guide, the sd card preparation for the RAM-based u-boot is to be done in the board itself. So, I first load the kernel image from NOR. Then I copied the boot_format, config_file and u-boot image to any directory in board.

 

I run this command : boot_format config_file u-boot.bin -sd /dev/mmcblk0

After which, I got the following :

 

It is a big endian machine.

Read MBR from SDCard:

 

0x0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x0190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x01a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x01b0: 00 00 00 00 00 00 00 00 0f ca 58 3a 00 00 00 21

0x01c0: 03 00 0b 01 c2 f0 00 08 00 00 00 18 3b 00 00 00

0x01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa

 

 

================== MBR ==================

boot_ind                = 0x0

start_head      = 0x21

start_cylesec   = 0x3

part_type       = 0xb

end_head                = 0x1

end_cylsec      = 0xf0c2

rel_sectors     = 0x800

total_sectors   = 0x3b1800

=========================================

It is not a valid MBR.

Segmentation fault

 

To boot my u-boot from sd card, i change the boot config switches to 001001, and then power ON the board. I am not able to load my u-boot image.

Outcomes