This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: eMMC boot issue

Part Number: AM3352


Tool/software: Linux

Hi All,

we made a customized board with AM3352 processor, 1GB DDR3 and 8GB eMMC flash. we made u-boot.bin , MLO, zImage , beaglebone-black.dts and Filesystem. we can able to boot successfully boot this setup through SD Card. we have made partitions in eMMC flash as on SD card. we copied the MLO and u-boot.img in one partition as on SD Card and we can able to boot through eMMC Flash. But when we try to boot Linux  through eMMC the bellow issue we are facing :

U-Boot SPL 2017.11-rc3-00022-g43ede0b-dirty (Nov 07 2017 - 13:14:21)

Trying to boot from MMC2
*** Warning - bad CRC, using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2017.01-00319-geae4602-dirty (Feb 06 2018 - 14:18:47 +0530)

CPU : AM3352
NIOT - IMSS
DRAM: 1 GiB
WARNING: Caches not enabled
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment

In: serial@44e09000
Out: serial@44e09000
Err: serial@44e09000
<ethaddr> not set. Validating first E-fuse MAC
Net: Enabling MII Mode ....Done.
i = 5
Detected PHY ID = 0x221450
Phy ID = 0x221450
cpsw connected to Generic PHY
cpsw
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
## Error: "bootcmd_nand0" not defined
starting USB...
USB0: Port not available.
*** mii_reg = 0x7808
mac_control = 0x8021
link up on port 0, speed 100, full duplex
MAC Control = 0x8021
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13

we are suspecting it can be due to boot args ? Can any one provide any ideas to resolve this issue ? As it is an urgent one .

Thanks in Advance.

Regards,

Avinash N

  • Hello Avinash,

    It is due to used defconfig file. You need to disable the CONFIG_DM_MMC in your am335x_evm_config file or change the line UBOOT_MACHINE=am335x_evm_config to UBOOT_MACHINE=am335x_boneblack_config in <Processor SDK>/Rules.make file before issuing make u-boot command from the top Processor SDK directory.

    Best regards,
    Kemal