View Issue Details

IDProjectCategoryView StatusLast Update
0004955UBootU-Bootpublic2021-10-28 13:31
Reportergerbach Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionfsimx8mn-Y2021.09 
Target Versionfsimx6-B2021.10Fixed in Versionfsimx6-B2021.10 
Summary0004955: [fsimx8mx]U-boot corruption when fixed-phy is used
DescriptionWhen fixed-link phy is used subnode offset is used as phy address. This
number is bigger then space allocated for bus structure (allocated via
mdio_alloc).
bus->phymap[] array has PHY_MAX_ADDR size (32).
That's why writing bus->phymap[addr] where addr is < 0 or > PHY_MAX_ADDR
is causing write to memory which can caused full U-Boot crash.

We learnd about this, because a customer had a pixel error in the Uboot framebuffer.

There is a fix in a later Uboot Version we need to backport
Forum Link

Activities

gerbach

2021-10-14 14:35

developer   ~0003618

Git commit: a29542ff456fde34590e476b40412a765fb63e33

We backported "phy: Fix u-boot coruption when fixed-phy is used" from the mailine Uboot to fix this issue.