Re: Debian on Jetson TK1
On 2016-07-19 19:22 +0100, Wookey wrote: > On 2016-07-19 11:07 -0700, Martin Michlmayr wrote: > > * Wookey[2016-07-19 18:51]: > > > I tried putting in the new debian u-boot as documented on > > > https://wiki.debian.org/InstallingDebianOn/NVIDIA/Jetson-TK1 > > > > > > sudo ./flash.sh -L ../tmp/usr/lib/u-boot/jetson-tk1/u-boot-dtb-tegra.bin > > > -S 14580MiB jetson-tk1 mmcblk0p1 > > > > > > (i.e to internal flash, not SD card), and all I got was a bricked > > > board that won't boot at all. > > > > > > So that's dull. > > > > Did you use R19.3? Newer versions don't work. > > No. I have R21.4. So the flash script/config file in the newer ones > can't flash a working uboot binary? Seems like it ought to be possible > to make it, (given that it can flash the uboot.bin it comes with) but one > would have to work out exactly what changed. > > Guess I'll try the old one. OK. after some faffage I have determined that you are right, and using the flash.sh script/config in R19.3 does indeed flash the debian uboot binary in a way that boots, unlike the R21.4 script/config. It would be good to get to the bottom of that. > > > But whilst this was fine with debian kernel 4.5, intalling 4.6 made it > > > fail to boot. See > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827557 for details. > > > > This is the http://permalink.gmane.org/gmane.linux.ports.tegra/26941 > > issue I mentioned. I'll respond to the bug soon. > > OK. Confirming that was why I was trying to change my (otherwise working > fine) uboot... And indeed, I have also confirmed that a) the stretch-alpha7 di works nicely, and with the Debian uboot in place the 4.6 kernel boots rather than hangs. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/ signature.asc Description: Digital signature
Re: Debian on Jetson TK1
* Wookey[2016-07-19 18:51]: > Where do people who understand the details of this board hang out? I > tried joining the https://devtalk.nvidia.com/ forums but never got a > confirmation email. I think that's the main forum, yes. For real upstream issues, I would use the linux-tegra mailing list, though. > Is there an IRC channel. cc:ing debian-arm for now. There is #tegra on Freenode. -- Martin Michlmayr http://www.cyrius.com/
Re: Debian on Jetson TK1
On 2016-07-19 11:07 -0700, Martin Michlmayr wrote: > * Wookey[2016-07-19 18:51]: > > I tried putting in the new debian u-boot as documented on > > https://wiki.debian.org/InstallingDebianOn/NVIDIA/Jetson-TK1 > > > > sudo ./flash.sh -L ../tmp/usr/lib/u-boot/jetson-tk1/u-boot-dtb-tegra.bin -S > > 14580MiB jetson-tk1 mmcblk0p1 > > > > (i.e to internal flash, not SD card), and all I got was a bricked > > board that won't boot at all. > > > > So that's dull. > > Did you use R19.3? Newer versions don't work. No. I have R21.4. So the flash script/config file in the newer ones can't flash a working uboot binary? Seems like it ought to be possible to make it, (given that it can flash the uboot.bin it comes with) but one would have to work out exactly what changed. Guess I'll try the old one. > > But whilst this was fine with debian kernel 4.5, intalling 4.6 made it > > fail to boot. See > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827557 for details. > > This is the http://permalink.gmane.org/gmane.linux.ports.tegra/26941 > issue I mentioned. I'll respond to the bug soon. OK. Confirming that was why I was trying to change my (otherwise working fine) uboot... Thanks for the quick response. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/ signature.asc Description: Digital signature
Re: Debian on Jetson TK1
* Wookey[2016-07-19 18:51]: > I tried putting in the new debian u-boot as documented on > https://wiki.debian.org/InstallingDebianOn/NVIDIA/Jetson-TK1 > > sudo ./flash.sh -L ../tmp/usr/lib/u-boot/jetson-tk1/u-boot-dtb-tegra.bin -S > 14580MiB jetson-tk1 mmcblk0p1 > > (i.e to internal flash, not SD card), and all I got was a bricked > board that won't boot at all. > > So that's dull. Did you use R19.3? Newer versions don't work. > But whilst this was fine with debian kernel 4.5, intalling 4.6 made it > fail to boot. See > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827557 for details. This is the http://permalink.gmane.org/gmane.linux.ports.tegra/26941 issue I mentioned. I'll respond to the bug soon. -- Martin Michlmayr http://www.cyrius.com/
Re: Debian on Jetson TK1
On 2016-07-13 16:57 -0700, Martin Michlmayr wrote: > * Wookey[2016-07-13 13:03]: > > > I spoke to NVIDIA and they recommend mainline u-boot, so I removed the > > > NVIDIA u-boot as an option. Since users have to upgrade, I moved the > > > u-boot text back up again. > > > > Do they? I didn't upgrade nmy uboot (which is why I moved it down the > > bottom as it seemed to be optional). Perhaps my board had already got > > a fairly recent uboot. If the point that the Debian uboot will set the > > missing console and ftdfile uboot variables so that things are more > > automatic? But I see those are still in the instructions? > > See http://permalink.gmane.org/gmane.linux.ports.tegra/26941 > > Basically, I got a hang with an old u-boot. I tried putting in the new debian u-boot as documented on https://wiki.debian.org/InstallingDebianOn/NVIDIA/Jetson-TK1 sudo ./flash.sh -L ../tmp/usr/lib/u-boot/jetson-tk1/u-boot-dtb-tegra.bin -S 14580MiB jetson-tk1 mmcblk0p1 (i.e to internal flash, not SD card), and all I got was a bricked board that won't boot at all. So that's dull. Now, lets see if I can get it going again. Ah yes. flashing the bootloader/u-boot.bin file from the Tegra_for_Linux distro gets me a bootloader that does something. sudo ./flash.sh -L bootloader/u-boot.bin jetson-tk1 mmcblk0p1 I can go back and forth: debian u-boot-dtb-tegra.bin produces total darkness. supplied u-boot.bin works. I guess the debian one worked on your board? Where do people who understand the details of this board hang out? I tried joining the https://devtalk.nvidia.com/ forums but never got a confirmation email. Is there an IRC channel. cc:ing debian-arm for now. Background for debian-arm: I installed debian stetch on an Nvidia jetson TK1 (armhf) board with no real difficulties, and updated https://wiki.debian.org/InstallingDebianOn/NVIDIA/Jetson-TK1 (and Martin has updated it more since). But whilst this was fine with debian kernel 4.5, intalling 4.6 made it fail to boot. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827557 for details. Whilst trying to work out exactly why the 4.6 kernels broke I discovered the above issue with the debian uboot-tegra image not working for me (at least as arranged by the flash.sh script). Clues welcome Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/ signature.asc Description: Digital signature