View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005158 | UBoot | U-Boot | public | 2022-01-25 11:20 | 2022-01-28 13:39 |
Reporter | mueller | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | fsimx8mm-Y2021.04 | ||||
Target Version | fsimx6ul-B2022.04 | Fixed in Version | fsimx6ul-B2022.04 | ||
Summary | 0005158: Update process overwrites UBoot in eMMC when USB read fails | ||||
Description | This is a follow up bug for issue number 0005142. If the load command fails, the update process still continues and potentially overwrites the UBoot area in eMMC. | ||||
Forum Link | |||||
|
Fixed in install.txt, so there is a commit in Buildroot as well as in Yocto. Buildroot Git-ID: aaef04fed2896c5d76b08ca69b408d1cc086274d Yocto Git-ID: 1745e581562c451f935f8c5c5a87440c5cdaec7e Add error handling for the install script with eMMC Currently the UBoot update process does not react to errors in UBoot commands issued in the install and update scripts. So whenever the load command fails, the RAM area will get written to the destination as it is. For boards with a NAND flash this is not as problematic, because the UBoot will not be affected by the update. For eMMC however the UBoot is included in the sysimg file. An error in the load command results in a corrupt UBoot and the board will not be bootable without external flashing software. The updated install script checks for errors that might occur in the load command and aborts the update process before actually writing the corrupt data. Also the chunksize for the eMMC update process is reduced to support more USB sticks. |