0

I am trying to shut down the UART when the Raspbian is booting and use its pins as GPIO-s.(Raspbian was installed with NOOBS.) I followed the instructions described here. I downloaded the .cts file at the bottom of the describtion, and removed the UART pins from the configuration, so they will be configured by default as input. (I have Raspberry PI 2 rev v1, so I modified the consistent part of the file.) After that I made the dt-blob.bin file in the boot folder with dtc.

The problem is, that this file will be ignored, there are no changes in the pin configuration at boot time. It is strange, that I don't have to overwrite a file in the boot folder, the dt-blob.bin will newly created. How can I tell the system, that it should use this configuration file?

Milan Tenk
  • 103
  • 1
  • 4

2 Answers2

0

Just use the pre-defined blob by adding the following to /boot/config.txt

dtparam=uart0=off

I do not see any possible gain in writing your own, it will not be executed any earlier.


EDITED TO ADD

This setting seems to have no effect on my B+. I have no idea what it actually does.

joan
  • 71,852
  • 5
  • 76
  • 108
0

You might have the problem where the wrong partition is mounted as /boot:

What do you see when you list the files (e.g. $ ls /boot) ?

Mircea Baja
  • 171
  • 6