Page 1 of 1

SAMA5D2 Xplained emmc warm reboot

Posted: Wed Mar 27, 2019 4:52 am
by sanduo
Hi all,

If I compile and put all images on SD card (using default config), system boots up no problem,
If I compile and put all images on EMMC, system will stuck when warm reboot, but cold reboot no problem.
The only changes it the configuration for at91bootstraps and uboot.

Buildroot: 2018.02
Board: SAMA5D2 Xplained
Uboot: linux4sam_6.0
Linux: linux4sam_6.0
At91bootstrap: 3.8.11

SD card:
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=sama5d2_xplainedsd_uboot
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc"

EMMC :
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedemmc_uboot"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_emmc"

It stuck here:
The system is going down NOW!
Sent SIGTERM to all processes
Requesting system rebootesses
├╝RomBOOTRestarting system
After it stuck, I can start using sam-ba to program it without short JP9.
How to solve this stuck?

Every hint is very appreciated :) .

Re: SAMA5D2 Xplained emmc warm reboot

Posted: Fri Mar 29, 2019 12:14 am
by blue_z
What silicon revision of the SAMA5D27 is installed on your board?
Have you reviewed the errata document for the SoC? The ROM code and/or SDMMC issues may be relevant.
There's also application note AN2791 which describes boot errata for each SAMA5D2 silicon revision.

Regards