Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeus branch doesn't boot on eMMC #44

Open
arunlee77 opened this issue Mar 15, 2021 · 2 comments
Open

zeus branch doesn't boot on eMMC #44

arunlee77 opened this issue Mar 15, 2021 · 2 comments

Comments

@arunlee77
Copy link

It looks like the zeus branch is broken w.r.t eMMC boot support.

Steps:

  1. Follow the Quick start guide and setup the sources and build area
  2. make the following modifications to the conf/local.conf file
    UBOOT_CONFIG = "emmc"
    UBOOT_CONFIG[emmc] = "mx8mq_phanbell_defconfig,sdcard"

The build is success.

Flashing:

  1. Interrupt u-boot (boot from sd-card) and enter ums 0 mmc 0
  2. dd the .wic.gz image to the enumerated disk
  3. Ctrl+C at uboot prompt and enter fastboot 0
  4. fastboot flash bootloader0 imx-boot
  5. change the dip switches to boot from MMC

Additional Info:
The above procedure works well for warrior branch.

@alphaanyms05
Copy link

Hi @arunlee77, have you solved the issue?
Because I am facing the same issue.

I am flashing coral board using the SD card flashing method. I am getting following errors:

Console Logs:
U-Boot SPL 2017.03.4-release-day+g8523a101cd (May 12 2021 - 13:22:06)
power_bd71837_init
pmic debug: name=BD71837
Board id: 0
start to config phy: p0=3200mts, p1=667mts with 1D2D training
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
config to do 3200 1d training.
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
config to do 3200 2d training.
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
pstate=1: set dfi clk done done
Training PASS
Load 201711 PIE
Normal Boot
Trying to boot from MMC2
hdr read sector 300, count=1

U-Boot 2017.03.4-release-day+g8523a101cd (May 12 2021 - 13:22:06 +0000)

CPU: Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU: Commercial temperature grade (0C to 95C) at 40C
Reset cause: POR
Model: Freescale i.MX8MQ Phanbell
DRAM: 3 GiB
Board id: 0
Baseboard id: 1
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

BuildInfo:

  • ATF 1cb68fa
  • U-Boot 2017.03.4-release-day+g8523a101cd

flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000

Has anyone faced the same problem? Help me

@arunlee77
Copy link
Author

Never faced any issue with SD card image. My issues was with eMMC image. We decided to drop coral from our HW list due to issues with SW support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants