I need to modify the device tree for the VF61 to add an additional chip select to the SPI interface. First I need to obtain the device tree files and device tree compiler. I believe that to do this I need to clone the Linux Kernel code from branch toradex_vf_4.4 of git://git.toradex/com/linux-toradex.git. Is this correct?
Since my development Ubuntu Linux system is running under VM Virtualbox on my Windows 10 computer, I thought it would be best to simply install Git for Windows and clone the Linux source code onto my Windows 10 machine. I could the transfer the files I needed to the virtual Linux machine. This did not do well. Git reported the following problems when I attempted to clone the Linux Kernel to my Windows 10 machine:
git clone -b toradex_vf_4.4 git://git.toradex.com/linux-toradex.git
Cloning into ‘linux-toradex’…
remote: Counting objects: 7569386, done.
remote: Compressing objects: 100% (1121755/1121755), done.
remote: Total 7569386 (delta 6402404), reused 7562323 (delta 6395548)
Receiving objects: 100% (7569386/7569386), 1.54 GiB | 180.00 KiB/s, done.
Resolving deltas: 100% (6402404/6402404), done.
error: unable to create file drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c: No such file or directory
error: unable to create file drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h: No such file or directory
Checking out files: 100% (52298/52298), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with ‘git status’
and retry the checkout with ‘git checkout -f HEAD’
I don’t understand why I got these errors. Does the Git repository actually have files with names duplicated in upper and lower case? Also, why couldn’t the aux.c and aux.h files be created?
This download took all night to do on my very slow internet connection. Do I have to attempt it again directly on my virtual Linux machine?
One more question. Assuming I can modify the device tree and compile it to a dtb file, I am unclear as to how I get the dtb file onto my VF61 module, or where I am supposed to put it. Perhaps you could point me in the right direction here.