IMX53 Sabre Tablet boot from SATA

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

IMX53 Sabre Tablet boot from SATA

636 Views
Ravi1z
Contributor I

Hi,

I have a IMX53 Sabre Tablet that boots from MMC and running Linux freescale 2.6.35.3-1129-g691c08a.

 

I am trying to set it up for booting (u-boot) from SATA upon power up. I did the following to copy MBR/u-boot from MMC to SSD and apply the workaround for SATA internal clock issue as described in the Release notes (log below at end of email).

 

I set SW26[4,6] = 1, 1 and all other in SW26 and SW28 to 0. After pluging back the power cable and hiting power/reset button, there is no output on the serial console (Debug Card RS232)

 

The IMX53 part number marked on the IMX53 Sabre Tablet in lab is “PCIMX535DVV1B”

 

Am I missing any configuration/step for setting up the board for SATA boot? Can someone please help me to understand what the problem could be?

 

(I am able to detect SSD in Linux, boot kernel image from SSD and mount root filesystem on SSD partition)

 

Thanks in advance.

 

Regards,

Ravi.

 

---------- LOG from u-boot when boot from MMC --------------------------------------

 

MX53-SMD U-Boot > mmcinfo 0

Card did not respond to voltage select!

MMC card init failed!

MX53-SMD U-Boot > mmcinfo 1

Device: FSL_ESDHC

Manufacturer ID: 45

OEM: 100

Name: SEM08

Tran Speed: 25000000

Rd Block Len: 512

MMC version 4.0

High Capacity: Yes

Capacity: 7944011776

Bus Width: 8-bit

Boot Partition Size:  1024KB

Current Partition for boot: Boot partition 1

 

MX53-SMD U-Boot > sata init

AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode

flags: ncq stag pm led clo only pmp pio slum part SATA Device Info:

S/N: 0211-155849--E174613

Product model number: SanDisk SSD U100 128GB Firmware version: CS.51.00

Capacity: 250069680 sectors

 

MX53-SMD U-Boot > mmc read 1 ${loadaddr} 0 0x200

 

MMC read: dev # 1, block # 0, count 512 partition # 0 ...

512 blocks read: OK

MX53-SMD U-Boot > sata write ${loadaddr} 0x0 0x200

 

SATA write: device 0 block # 0, count 512 ... 512 blocks written: OK

 

MX53-SMD U-Boot > iim blow 4 3 4

Blowing fuse at bank:4 row:3 value:4

fuses at (bank:4, row:3) = 0x4

MX53-SMD U-Boot >

 

---

    Remove power cable

    Set SW26[ 4,6 ]= [1, 1]  All others in SW26,SW28 = 0

     Insert power cable, hit power/reset button, but no console output

---- 

Tags (1)
0 Kudos
1 Reply

417 Views
Ravi1z
Contributor I

Hi,

The contents of MBR in eMMC that is currently the default boot device on IMX53 Sabre tablet are:

 

---------------------------------------------------------------------------------------------

$od -Ax -x mbr_emmc_imx53.bin

000000 0000 0000 0000 0000 0000 0000 0000 0000

*

0001c0 4041 030b ffd0 5000 0000 a000 00df 0300

0001d0 ffd0 0383 ffd0 4000 00e0 b000 0004 0300

0001e0 ffd0 0305 ffd0 f000 00e4 8000 0006 0300

0001f0 ffd0 0383 ffd0 7000 00eb a000 0000 aa55

000200

-----------------------------------------------------------------------------------------

 

The first 446 bytes of code area of MBR in eMMC appears to be zeroed out. But the board is able to boot up from eMMC. How does this work? Does this mean ROM gets only the partition table info from eMMC MBR to determine u-boot location in eMMC?

 

Thanks & Regards,

Ravi.

0 Kudos