Phishfry ok, thanks
aragats thanks for the explanation. I had seen those overlays in a previous post by Phishfry but I couldn't find how to make them work.
After quite some fight, it seems I've successfully compiled "BB-UART4-00A0.dtbo".
If it can help someone, I cloned the bb.org-overlays repo with:
Then I tried to compile directly with dtc but I got a "syntax error", then I found here: https://github.com/beagleboard/bb.org-overlays/issues/28 I needed to use "make" (well, gmake on FreeBSD).
Then with
I tried to compile 1.4.4 but got an error, so went with 1.4.3.
Here are all the commands used:
and you'll get "src/arm/BB-UART4-00A0.dtbo" :-D
Now, I don't know where I should move this dtbo file, in "/boot/dtb/"? And the "cape_universal=" line should go in "/boot/msdos/bb-uenv.txt"?
aragats thanks for the explanation. I had seen those overlays in a previous post by Phishfry but I couldn't find how to make them work.
After quite some fight, it seems I've successfully compiled "BB-UART4-00A0.dtbo".
If it can help someone, I cloned the bb.org-overlays repo with:
git clone https://github.com/beagleboard/bb.org-overlays
Then I tried to compile directly with dtc but I got a "syntax error", then I found here: https://github.com/beagleboard/bb.org-overlays/issues/28 I needed to use "make" (well, gmake on FreeBSD).
Then with
gmake src/arm/BB-UART4-00A0.dtbo
I had an error about "-@" not being known by dtc: "dtc: invalid option -- @", of course the versions in base (1.4.0) and ports (1.4.2) were too old. This "-@" option appeared in 1.4.3 and the current version is 1.4.4.I tried to compile 1.4.4 but got an error, so went with 1.4.3.
Here are all the commands used:
cd /tmp
pkg install git-lite gmake bison
git clone https://git.kernel.org/pub/scm/utils/dtc/dtc.git
cd /tmp/dtc
git checkout tags/v1.4.3
gmake
cd /tmp/bb.org-overlays
gmake src/arm/BB-UART4-00A0.dtbo DTC=/tmp/dtc/dtc
and you'll get "src/arm/BB-UART4-00A0.dtbo" :-D
Now, I don't know where I should move this dtbo file, in "/boot/dtb/"? And the "cape_universal=" line should go in "/boot/msdos/bb-uenv.txt"?