mox-support: boot.scr: fix new kernel stall when on old U-Boot
The old U-Boot (the stock one) contains old version of ARM Trusted Firmware (ATF), which has wrong initialization of USB3 PHY. This was not problem for old kernel which did not use ATF's code for phy initialization, but became a problem for new kernel.
Check whether we run with stock U-Boot, and if yes, remove USB3 PHY properties from the device tree. The old U-Boot initializes USB3 PHY on it's own.
Merge request reports
Activity
changed milestone to %Turris OS 6.0
added Bug label
@kkoci shouldn't review it @prohar ? I just met that issue while using HBD for Turris MOX and if the HBD build does not work, it is not a good, because you can not recover from stalled router.
This was discussed with @mbehun and I agree on this solution. I just have to get to review this script. I already kind of did that but I am waiting for %Turris OS 5.1 going out as this affects minor versions of Turris OS. I am ok with including it to %"Turris OS 5.2" but I don't want to include non-necessary changes specially in boot process.
- Edited by Karel Koci
added 9 commits
-
337b2f01...e1a03e31 - 8 commits from branch
develop
- ec495a15 - mox-support: boot.scr: fix new kernel stall when on old U-Boot
-
337b2f01...e1a03e31 - 8 commits from branch
@jschlehofer please review bump. Bumping
PKG_VERSION
makes no sense as it is not used but I renamed it toPKG_RELEASE
that is.I am merging this. @jschlehofer if you want to refactor these packages somehow then feel free to do so. I am not against refactor in anyway but make sure that they work as expected afterwards of course as these are essential packages for router functionality.
added 1 commit
- f87e54f0 - omnia-support: change PKG_VERSION to PKG_RELEASE
assigned to @jschlehofer and unassigned @kkoci
added 12 commits
-
f87e54f0...78a11e07 - 9 commits from branch
develop
- 15991b72 - mox-support: boot.scr: fix new kernel stall when on old U-Boot
- 3598fb9b - mox-support: bump package release number
- cf0b94b5 - omnia-support: change PKG_VERSION to PKG_RELEASE
Toggle commit list-
f87e54f0...78a11e07 - 9 commits from branch
added 8 commits
-
cf0b94b5...e692bcba - 5 commits from branch
develop
- 577689e5 - mox-support: boot.scr: fix new kernel stall when on old U-Boot
- c00eb622 - mox-support: bump package release number
- d747f8de - omnia-support: change PKG_VERSION to PKG_RELEASE
Toggle commit list-
cf0b94b5...e692bcba - 5 commits from branch