Page 1 of 1

FAIL TO BOOT MY SAMA5D27-SOM1-EK1 BOARD

Posted: Fri May 10, 2019 12:33 pm
by Gaston
Hello,
I have sama5d27-som1-ek1 board and i want to make it boot from SD CARD.
I followed all the steps described on your SAMA5D27 SOM1 Evaluation Kit :
https://www.at91.com/linux4sam/bin/view ... EKMainPage

When i try to make it boot,
I connect the board to PC, I open a serial connection to the board using " sudo minicom -D /dev/ttyACM0 " command line. I click RESET button and this message shows up

Loading Environment from FAT... *** Warning - bad CRC, using default environment

Failed (-5)
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
** Unable to read file at91-sama5d27_som1_ek.dtb **
** Unable to read file zImage **

And it fails to boot. Any solution please ?

Re: FAIL TO BOOT MY SAMA5D27-SOM1-EK1 BOARD

Posted: Sat May 11, 2019 12:12 am
by blue_z
You neglect to mention which SDcard socket you are using to boot from.
That is a detail that has to be configured in the builds of both AT91Bootstrap and U-Boot.

Apparently the default U-Boot environment does not match the boot medium that you are actually using.
Either
(a) rebuild U-Boot with a properly defined CONFIG_ENV_FAT_DEVICE_AND_PART that reflects the intended boot device, or
(b) edit the bootcmd variable in the U-Boot environment.

Regards

Re: FAIL TO BOOT MY SAMA5D27-SOM1-EK1 BOARD

Posted: Sat May 11, 2019 5:07 pm
by Gaston
Thanks for your help, that was useful :D