Error while installing NVidia provided L4T rootfs

Hello;

As I commented in an older post I am trying to install something different to Agstrom Distribution in my T20 because I have a software incompatibility. I am trying this tutorial for the developer site:http://developer.toradex.com/knowledge-base/using-the-nvidia-provided-l4t-rootfs

First of all as the second and the third wget links are not working I searched by my own founding this: Linux For Tegra R16 | NVIDIA Developer

I downloaded ventana, ventana codecs and sample filesystem. I unpacked them without problems and I followed the tutorial instructions. I run sudo ./apply_binaries.sh command successfully. When I get to the last step I write this command:

sudo ./update.sh -r 256 -v V1_2 -o /media/ander/319D-AD26

But I get this response:

Colibri T20 rootfs detected

./update.sh: 1: ./update.sh: tegra-uboot-flasher/cbootimage: not found

Program cbootimage not available. 32bit compatibility libs? Aborting.

I tried twice with the same result. Any idea about what is wrong? Thanks in advance.



***************************** Update 28 of July*************************

I am updating my question because my explanation may not be good, because I am a beginner. For anyy question ask please.

So I can write the image okey to sd card. Then I run the commands to install it on the Colibri T20. The process seems to not go okey, and when reboots I get this response in my rs233 console.

init : Failed to create pty - disabling logging for job

init : Failed to create pty - disabling logging for job

init : Failed to create pty - disabling logging for job

Ubuntu 12.04 lts tegra-ubuntu ttys0

colibri_t20

tegra-ubuntu login:

Then the screen gets black and I can not write anything in my serial console application on directly in the colibri with a keyboard.
Finally I managed to catch my error that I think causes to break the installation process. This is the error:

157704192 bytes written to volume rootfs

22 bytes written to volume dtb

reading colibri_t20/tegra20-colibri-eval-v3.dtb

Unable to read file colibri_t20/tegra20-colibri-eval-v3.dtb

size > volume size! Aborting!

resetting…

I do not know if I am correct or not. If anyone can help me I would be very grateful, because I have a great urgency with this project. Thanks a lot

Please install the pre-requisites as explained here.

oh! Thank you and sorry for that stupid mistake…

So I write okey to sd card. Then I run the commands to install it on the Colibri T20. Seems to go okey, but when reboots I get this response in my rs233 console.

init : Failed to create pty - disabling logging for job

init : Failed to create pty - disabling logging for job

init : Failed to create pty - disabling logging for job

Ubuntu 12.04 lts tegra-ubuntu ttys0

colibri_t20

tegra-ubuntu login:

But i can not write anything. Thanks

Sorry for updating again my problem. Finally I managed to catch my error that causes to break the installation process. This is the error:

157704192 bytes written to volume rootfs

22 bytes written to volume dtb

reading colibri_t20/tegra20-colibri-eval-v3.dtb

** Unable to read file colibri_t20/tegra20-colibri-eval-v3.dtb

size > volume size! Aborting!

resetting…

No, the device tree is optional and not required to run L4T on T20/T30.

Then something else must be wrong as none of our downstream T20/T30 BSPs ever used any device tree really. Could you please try again and post the full log output of what exactly you are doing?

Hello Marcel:

Thanks a lot for answering. I do not undertsand what you are saying, because my knowledge is very poor. My problem is that the installation process goes wrong and then the colibri login dissappears and the screen stays in black fully . I updated my question because of the confusions may I have created. Thanks again.

I believe the installation actually went well as you do get a booting system up to the Ubuntu prompt. What we now have to find out is what exactly you expect now and what it is that you did try and may not have worked. In general you should be able to log in via serial console using username/password of ubuntu/ubuntu. Alternatively connecting a USB keyboard and VGA screen may also work.

Hello Marcel;

Thanks for answering again. I tried both log in via serial console and with a keyboard and screen, but there is not way. In the VGA screen the loggin screen dissapears as soon as it loads. And using the console no way also.

On the other hand what about breakimg the flashing process with this error:

Unable to read file colibri_t20/tegra20-colibri-eval-v3.dtb

The loggin may be disabled due to this error that I think is caused because of a bad flashing process. This may be why loggin is disabled:

12.483init : Failed to create pty - disabling logging for job

13.182init : Failed to create pty - disabling logging for job

13.122init : Failed to create pty - disabling logging for job

I explained this with more details in my updated question. Thanks again!!

On the other hand what about breakimg the flashing process with this error:

Unable to read file colibri_t20/tegra20-colibri-eval-v3.dtb

The loggin may be disabled due to this error that I think is caused because of a bad flashing process. This may be why loggin is disabled:

No, as mentioned before this has definitely nothing to do with it.

Okey. Having this in mind what can cause to dissapear the loggin screen in less than a second??

Then the screen connected to VGA gets fully black.

I have something else to comment. I do not know if it is relevant but when I gets this messages:

13.243 Failed to create pty disabling loggin for job

There about 50 messages like that and some them say that some files are missed.

Thanks.

It’s actually more like 60 seconds and probably caused by some sort of cpufreq/DVFS misconfiguration within NVIDIA’s proprietary stuff. Try disabling /etc/init/nv.conf as suggested for T30 as well.

Okey Marcel thanks. So you are suggesting it to edit nv. Conf file in order to solve my problem. If I am correct it would be something like that:

edit etc/init/nv.conf and comment the following line (e.g. sudo vi etc/init/nv.conf, /echo[Enter], i#, [Esc], :wq[Enter])

echo 1 > /sys/module/cpu_tegra3/parameters/auto_hotplug

Instead of tegra3 do I have to write tegra2 or something different? Thanks.

No, the issue seems really to be LP2 idle somehow freezing in that configuration. Just comment that one out or replace the Y with a N and you should be fine.

Thanks a lot Marcel!!!

Finally the problem was solved by editing the /etc/init/nv.conf file and commenting this line:

echo 1 > /sys/module/cpu_tegra3/parameters/auto_hotplug

Then I flashed again the Colibri T20.

Thanks again.