tegra-devfreq hangs TK1 with R21.4 u-boot
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when CONFIG_ARM_TEGRA_DEVFREQ=y is set and when u-boot from R21.4 is used (2014.10-rc2).
The hang does not occur when I disable tegra-devfreq or when I use tegra-devfreq in combination with u-boot 2016.03 (from DENX upstream, built by Debian).
Steps to reproduce:
ARCH=arm make multi_v7_defconfig
Set CONFIG_ARM_TEGRA_DEVFREQ=y
Boot from an external SD card and it will hang when/before mounting the SD card.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 4 lines · Martin Michlmayr
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when
CONFIG_ARM_TEGRA_DEVFREQ=yis set and when u-boot from R21.4 is used (2014.10-rc2).
I cannot find CONFIG_ARM_TEGRA_DEVFREQ in r21.4 codeline. With default "tegra12_defconfig", CONFIG_PM_DEVFREQ is getting enabled.
Can you please share some more details about CONFIG_ARM_TEGRA_DEVFREQ, which file it complies and if it is really present in code or pulled from other git.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Shreshtha
Quoted 3 lines
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when
CONFIG_ARM_TEGRA_DEVFREQ=yis set and when u-boot from R21.4 is used (2014.10-rc2).I cannot find
CONFIG_ARM_TEGRA_DEVFREQin r21.4 codeline. With default "tegra12_defconfig",CONFIG_PM_DEVFREQis getting enabled.Can you please share some more details about
CONFIG_ARM_TEGRA_DEVFREQ, which file it complies and if it is really present in code or pulled from other git.
Sorry for not being clear. I'm talking about the mainline kernel from kernel.org:
drivers/devfreq/Makefile:obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra-devfreq.o
Booting a mainline kernel with tegra-devfreq enabled will hang my machine during bootup when I use the u-boot from R21.4 (which I believe is the latest provided by NVIDIA).
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
A message that is not in the archive (sent off-list or not yet received): 20160612173106.GA31522-IRMp5PtgtdoigzW5ZibpNwC/[email protected]
Quoted 11 lines · Martin Michlmayr
Quoted 9 lines · Shreshtha
Quoted 3 lines
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when
CONFIG_ARM_TEGRA_DEVFREQ=yis set and when u-boot from R21.4 is used (2014.10-rc2).I cannot find
CONFIG_ARM_TEGRA_DEVFREQin r21.4 codeline. With default "tegra12_defconfig",CONFIG_PM_DEVFREQis getting enabled.Can you please share some more details about
CONFIG_ARM_TEGRA_DEVFREQ, which file it complies and if it is really present in code or pulled from other git.
Quoted 7 lines
Sorry for not being clear. I'm talking about the mainline kernel from kernel.org:
drivers/devfreq/Makefile:obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra-devfreq.oBooting a mainline kernel with tegra-devfreq enabled will hang my machine during bootup when I use the u-boot from R21.4 (which I believe is the latest provided by NVIDIA).
Note that if you're booting a mainline kernel, there's no need to use the L4T U-Boot release; a mainline U-Boot release should work just fine. Or put another way, the "latest provided by NVIDIA" is actually mainline U-Boot, unless you need to boot a downstream L4T kernel which has some downstream-specific requirements.
A message that is not in the archive (sent off-list or not yet received): 20160612034541.GA31426-IRMp5PtgtdoigzW5ZibpNwC/[email protected]
Quoted 7 lines · Martin Michlmayr
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when
CONFIG_ARM_TEGRA_DEVFREQ=yis set and when u-boot from R21.4 is used (2014.10-rc2).The hang does not occur when I disable tegra-devfreq or when I use tegra-devfreq in combination with u-boot 2016.03 (from DENX upstream, built by Debian).
Works as well with 2015.01, which is closer to the one in R21.4.
https://lava.collabora.co.uk/scheduler/job/238991/log_file#L_3_5
Regards,
Tomeu
Quoted 14 lines
Steps to reproduce:
ARCH=arm make
multi_v7_defconfig
SetCONFIG_ARM_TEGRA_DEVFREQ=y
Boot from an external SD card and it will hang when/before mounting the SD card.--
Martin Michlmayr
http://www.cyrius.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Martin Michlmayr
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when
CONFIG_ARM_TEGRA_DEVFREQ=yis set and when u-boot from R21.4 is used (2014.10-rc2).The hang does not occur when I disable tegra-devfreq or when I use tegra-devfreq in combination with u-boot 2016.03 (from DENX upstream, built by Debian).
Quoted 6 lines
Steps to reproduce:
ARCH=arm make
multi_v7_defconfig
SetCONFIG_ARM_TEGRA_DEVFREQ=y
Boot from an external SD card and it will hang when/before mounting the SD card.
Stephen, any ideas what might be going on here?
Thierry
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Thierry Reding
Quoted 8 lines · Martin Michlmayr
I noticed that the Jetson TK1 hangs during boot (when/before mounting the SD disk) when
CONFIG_ARM_TEGRA_DEVFREQ=yis set and when u-boot from R21.4 is used (2014.10-rc2).The hang does not occur when I disable tegra-devfreq or when I use tegra-devfreq in combination with u-boot 2016.03 (from DENX upstream, built by Debian).
Quoted 8 lines
Quoted 6 lines
Steps to reproduce:
ARCH=arm make
multi_v7_defconfig
SetCONFIG_ARM_TEGRA_DEVFREQ=y
Boot from an external SD card and it will hang when/before mounting the SD card.Stephen, any ideas what might be going on here?
I can't think of anything obvious, and the commit history of the L4T U-Boot is constructed in such a way that's it's essentially impossible to follow, so I can't easily tell what changes exist in the L4T U-Boot release that weren't upstream or vice-versa. If simply using mainline U-Boot works and is an option for you, I'd suggest that.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Stephen Warren
If simply using mainline U-Boot works and is an option for you, I'd suggest that.
Sure, that works for me.
Some background: I'm currently in the process of documenting how to run Debian on the TK1. I wanted to give users a choice to stay with the u-boot from R21.4 or to upgrade to a newer mainline u-boot. And then I ran into the problems with the R21.4 u-boot I described.
I'm perfectly fine with telling users they have to upgrade to mainline u-boot. We provide precompiled u-boot binaries for TK1 in Debian anyway.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/