Part Number: AM5706
Tool/software: Linux
Hello,
I have prepared a MLO and u-boot.img and loaded them to eMMC.
eMMC was configured by the next way -
=> mmc part
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000300 0x000010ff "bootloader"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: d117f98e-6f2c-d04b-a5b2-331a19f91cb2
2 0x00001500 0x00e87fde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 25718777-d0ad-7443-9e60-02cb591c9737
MLO was loaded to 0x100 and 0x200 addresses. u-boot.img was loaded to 0x300 address.
After resetting I get the next errors -
U-Boot SPL 2018.01-g313dcd69c2 (Jul 24 2019 - 12:23:13)
DRA722-GP ES2.1
Trying to boot from MMC2_2
no pinctrl state for default mode
i2c_write: error waiting for addr ACK (status=0x116)
tps65903x: could not set LDO1 voltage.
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
My eMMC is physically linked to mmc2. But I am don't know why spl is trying to load image from MMC2_2 and how to change it.
That is the part of dts related to mmc -
&mmc2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins_default>;
bus-width = <8>;
ti,non-removable;
cap-mmc-dual-data-rate;
};
Thanks