Jump to content

Armbian dtc compiler on self build kernel


hei-pa

Recommended Posts

Hi,

 

I need to compile armbian to set some kernel modules.

Now the compiled kernel is installed and armbian is up.

 

For some reason using armbin-add-overlay results in 

Missing dtc compiler in kernel headers directory. Please reinstall the kernel headers package

I have installed the all packages I have build.

 

.
├── linux-dtb-next-sunxi_5.53_armhf.deb
├── linux-headers-next-sunxi_5.53_armhf.deb
├── linux-image-next-sunxi_5.53_armhf.deb
└── linux-u-boot-next-nanopineo_5.53_armhf.deb

So the matching kernel headers should be installed.

Link to comment
Share on other sites

I found the root cause ... bison and flex were missing ...

 

The kernel header package has a postinst command running make inside the new installed tree.

make -s scripts >/dev/null 2>&1
exit 0

But this does not report anything by design and exits with success. So there was no resulting dtc binary inside

/lib/modules/$(uname -r)/build/scripts/dtc/

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines