Jump to content

[Armbian build PR] - vim1s/vim4 - fix intermittent boot issues when booting from uhs sd card


Recommended Posts

Posted

Description

When booting from UHS-I cards on VIM4 and VIM1S, mine was Samsung EVO Plus card (MB-MC64KA), booting only worked 1 out of 5 reboots. Other times the device either tried booting from EMMC or from SPI flash. The following logs appear when booting doesn't work from sdcard

mmc0 is current device
sd: resp crc error, cmd17, status=0x1ff2400
** Can't read partition table on 0:0 **
sd: resp crc error, cmd17, status=0x1ff2400
** Can't read partition table on 0:0 **
** Invalid partition 1 **

Using git bisect brought me to bfa451f commit and reverting the same solves the issue. Booting now works reliably from SD card every time I restart the same.

Jira reference number AR-2070

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [X] Tested rebooting multiple times when booting from sdcard on VIM4

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines