Article ID: 000099185 Content Type: Error Messages Last Reviewed: 07/03/2024

Why do I see the "Invalid slot number" error after entering slot related RSU U-Boot commands when number of slots is higher or equal than 10 in branches prior socfpga_v2024.04?

Environment

u-boot-socfpga

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem in U-Boot branches previous v2024.04, the "Invalid slot number" message may be seen when the number of slots defined in the QSPI flash device is larger or equal to 10.

 

This problem is that the affected functions processes the slot number input parameter as a hexadecimal value instead of a decimal value and in case the input slot number is higher or equal to 10, this results in a value that is higher than the real number of slots defined.

 

This problem affects all the devices that support RSU. The commands affected are:

  • slot_get_info
  • slot_size
  • slot_priority
  • slot_erase
  • slot_program_buf
  • slot_program_factory_update_buf
  • slot_program_buf_raw
  • slot_verify_buf
  • slot_verify_buf_raw
  • slot_enable
  • slot_disable
  • slot_load
  • slot_rename
  • slot_delete 
Resolution

This problem is scheduled to be fix in a future release.