Hello,
I’m trying to output full-RGB trough the HDMI (which is only support limited RGB).
Therefore, I need to change the default_limited_cmu lut for TEGRA_DC_OUT_HDMI. This code is located in /kernel/drivers/video/tegra/dc/dc.c
I’m trying to compile the kernel sources, flowing the guide: http://developer.ridgerun.com/wiki/index.php?title=Compiling_Tegra_X1_source_code
I executed all the commands step by step, and before “make tegra21_defconfig” I edited the file dc.c which I mentioned above.
Before applybinaries (step 14), I copied the image and zImage into the rootfs/boot directory:
sudo cp $DEVDIR/images/zImage $DEVDIR/images/Image $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1/rootfs/boot/
and then:
cd $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1/
sudo ./apply_binaries.sh
sudo ./flash.sh jetson-tx1 mmcblk0p1
After the flash was “successfully” finished, the target was boot into login screen.
Then I was stuck in a login-loop.
I turned into console-terminal by pressing Ctrl+Alt+F2 for checking .Xauthority mode:
Ubuntu@tegra-ubuntu:~$ ls –la
-rw------- 1 root root 57 Mar 19 13:19 .Xauthority
Then tried to:
Ubuntu@tegra-ubuntu:~$ sudo chown ubuntu:ubuntu .Xauthority
And I got the error:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
And I get it for every “sudo” command !!!
I tried to:
Ubuntu@tegra-ubuntu:~$ pkexec chown ubuntu:ubuntu .Xauthority
And I got the error:
pkexec must be setuid root
I also tried to flash with the Jetpack and got the same problem…
Any suggestions?
I probably missed something but I tried to repeat these steps for many times without any success.