Part Number: AM3352
Hello,
i am using a Custom Board with the Sitara AM3352 and a connected eMMC Memory from Micron.
Booting without the alternative Boot Method works fine (data is stored in /dev/mmcblk0).
The eMMC is equipped with two boot partitions and my goal is to boot from one of these partitions.
So I want to boot my MLO, and later u-boot image, from emmc boot partiton /dev/mmcblk0boot0.
According to MMC ver. 4.3 I have to set some fields in EXT_CSD register for emmc.
This fields I set for the /dev/mmcblk0boot0 device.
PARTITION_CONFIG [179] = 0x48 (BOOT_ACK=0x1, BOOT_PARTITION_ENABLE=0x1)
-->Boot Partition 1 enabled, No access to boot partition and enable booting partition boot0.
BOOT_BUS_CONDITIONS [177] = 0x12 or 0x16
--> ddr mode
RST_N_FUNCTION [162] = 0x01 or 0x0
--> with/without reset function
Then, I copied my MLO with the dd command to /dev/mmcblk0boot0.
I also tried creating a partition on the device and copied the files into the partition.
Nothing from the above versions could get me the MLO booting.
Do I need to set something in the SD_CON Register?
(BOOT_ACK, BOOT_CF0, ...)
What am I missing?
Anything else I need to set or do?
Thx for the help!
Greetings
Christoph