Quantcast
Channel: Emlid Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 12794

Building a custom kernel and navio-rgb-overlay.dtb for Navio

$
0
0

@penguini wrote:

Greetings!

I own one of the original Navio boards and have been working on building a Gentoo-based system with a custom kernel based on EMLID rpi-4.4.y source as the emlid-raspbian-20160408 image doesn't really meet all my requirements.

From the '/boot/config.txt' in emlid-raspbian-20160408 image, I noticed the navio-rgb device tree overlay is enabled but I've not been able to successfully build it either by using $(KERNEL_SOURCE)/scripts/dtc/dtc (or any other version of dtc). I had no trouble building the kernel or the rcio modules including the associated rcio-overlay.dtb ...it's just building the navio-rgb-overlay.dtb that I've not been able to get past.

When I run the following command from root of (e.g. /usr/src/linux):

/usr/src/linux/scripts/dtc/dtc -@ -I dts -O dtb arch/arm/boot/dts/overlays/navio-rgb-overlay.dts -o arch/arm/boot/dts/overlays/navio-rgb-overlay.dtb

...I get the following output:

ERROR (phandle_references): Reference to non-existent node or label "leds"
ERROR (phandle_references): Reference to non-existent node or label "gpio"
ERROR (phandle_references): Reference to non-existent node or label "leds"
ERROR (phandle_references): Reference to non-existent node or label "gpio"
ERROR (phandle_references): Reference to non-existent node or label "leds"
ERROR (phandle_references): Reference to non-existent node or label "gpio"
ERROR: Input tree has errors, aborting (use -f to force output)

Now, I can use the '-f' option but the resultant navio-rgb-overlay.dtb file is different to the one in the emlid-raspbian-20160408 image. In contrast, my compiled version of rcio-overlay.dtb, it's the same as the one in the emlid-raspbian-20160408 image ...and so, I suspect my version of navio-rgb-overlay.dtb (that I'm force-compiling) may not be valid.

Is anyone at EMLID able to shed some light on how to successfully build the navio-rgb-overlay.dtb please?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12794

Latest Images

Trending Articles



Latest Images