Hello there. I have a device on the TTYS0 UART, and it brings up before the jetson, sending some data to Tx1 from the UART port, which u-boot confuses it to be a keyboard input, and it enters to the boot debug mode.
I don’t want this happening, and I tried to modify the u-boot source codes, built it again, and flashed the u-boot.
export DEVDIR=/home/burak/JetPack-L4T-3.3/64_TX1/Linux_for_Tegra export CROSS_COMPILE=/usr/local/gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- export CROSS32CC=/usr/local/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc export KERNEL_MODULES_OUT=$DEVDIR/images/modules export TEGRA_KERNEL_OUT=$DEVDIR/images export ARCH=arm64 cd $DEVDIR/sources/u-boot/ make distclean make p2371-2180_defconfig make sudo cp -f $DEVDIR/sources/u-boot/u-boot* $DEVDIR/bootloader/t210ref/p2371-2180/ cd $DEVDIR/ sudo ./flash.sh -k LNX jetson-tx1 mmcblk0p1
I managed to flash the uboot, and it boots up fine after the flash.
But when I power off/power on, it wont boot, only black screen. (Doesn’t even push debug messages to the serial port)
I switched back the u-boot modifications, but I still can’t boot. It only boots when I flash it. (dtb or uboot…) Now I can’t manage to fix my Tx1, it only works if I flash it, and doesn’t work if I dont.
I help need on three questions;
- How do I compile the u-boot and flash it the correct way?
- How can I close the ttyS0 Uart Debug console? So it won’t enter to the boot debug mode when the device sends data?
- How can I fix now-broken tx1? Getting the original .bin files and flashing again didn’t seem to work.
Here are the results of me trying to flash the u-boot if anyone is interested;