SAMA5D2 RomBOOT

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello!

 

I'm having trouble booting the SAMA5D2 Xplained Ultra board after I have flashed the eMMC with at91bootstrap version 3.8.5.

 

I flashed the eMMC by running sam-ba version 3.1.1 with the example script "emmc-bootpart-usb.qml".

Un altered except for uncommenting the port and baud rate.

 

The only thing that appears over UART on the debug header (J1) is "RomBOOT".

 

By typing "V#" I can read that the version is "v1.0 Feb 24 2015 20:07:39".

 

I think that the Boot Configuration Word is wrong, what should it be if I want to boot from eMMC?

 

Best Regards

/ Rasmus

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You need to make sure you flashed a valid firmware. See Page 74, 12.4.3 Valid Code Detection. If you wrote 0 to the BSC_CR both eMMCs should be checked. The BSC_CR is only nonvolatile if battery is in place.

 

Can you tell me the address of the BSC_CR register, please? I'm not able to find it in the datasheet.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello noppel!

 

I don't really know the exact address of the BSC_CR register, but with the help of sam-ba 3.1.1 and a qml-file I can set the value of it.

 

I removed the validation and now it boots :-)

 

I don't know if I should care about validating or not, but so far I don't do it.

 

Best Regards

/ Rasmus

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Rasmus,

I am also facing the same issue i.e, I have flashed the eMMC with at91bootstrap by running sam-ba version 3.1.3 with the example script "emmc-bootpart-usb.qml".

 

Only "RomBOOT" is appearing on the serial console. (V# is not working for me)

 

I have modified the "emmc-bootpart-usb.qml" for providing the bus width and the voltage(It gave error without this input)

 

It will be of great help if you share which part of validation you have removed.

 

Thanks,

Pavithra

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The RomBOOT version is "v1.0 Feb 24 2015 20:07:39" for the SAMA5D2 Board

 

But still I am not able to proceed to boot the board from eMMC.

 

Any help in this regard?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Rasmus,

I am also facing the same issue i.e, I have flashed the eMMC with at91bootstrap by running sam-ba version 3.1.3 with the example script "emmc-bootpart-usb.qml".

 

Only "RomBOOT" is appearing on the serial console. (V# is not working for me)

 

as per your comment 

           I removed the validation and now it boots :-)

           what validation you had removed and what are the changes required.please let me know

 

It will be of great help if you share which part of validation you have removed.

 

Thanks,

sukesh