-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pi: add skip-init flag to disable-bt overlay #3731
Conversation
If this flag is not set, u-boot will fail while trying to (re)init the uart devices when the disable-bt overlay is used. Signed-off-by: Florian Wickert <[email protected]>
I'm not against this PR in principle, but it needs more explanation of how U-boot fails and why this is the right solution. In particular, I have a few questions:
|
The
|
Is there any situation where you would want U-boot to initialise either of the UARTs? If not, it would be cleaner to patch the Pi 4 dtb. |
For the older RPIs a similar fix was applied to the u-boot internal device-tree: https://lists.denx.de/pipermail/u-boot/2017-April/285606.html |
Good question, I cannot think of any reason. |
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: raspberrypi#3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
See #3733 - it would be great if you could test it to confirm it has the desired effect. |
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
#3733 is now merged. |
…mat_mod_supported See: raspberrypi/linux#3665 kernel: ARM: dts: Add UART skip-init properties for U-boot See: raspberrypi/linux#3731 See: https://lists.denx.de/pipermail/u-boot/2017-April/285606.html
…mat_mod_supported See: raspberrypi/linux#3665 kernel: ARM: dts: Add UART skip-init properties for U-boot See: raspberrypi/linux#3731 See: https://lists.denx.de/pipermail/u-boot/2017-April/285606.html
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: raspberrypi#3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: #3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <[email protected]>
If this flag is not set, u-boot will fail while trying to (re)init the
uart devices when the disable-bt overlay is used.
Signed-off-by: Florian Wickert [email protected]