On Tue, May 16, 2017 at 7:36 PM, Greg Ercolano <[email protected]> wrote:
> On 05/16/17 17:17, Greg Ercolano wrote:
>> On 05/16/17 16:56, [email protected] wrote:
>>> I did notice a few error messages using the OP's disk image + script..
>>> [..]
>>> Unpacking linux-image-4.4.27-ti-r62 (1jessie) ...
>>> Setting up linux-image-4.4.27-ti-r62 (1jessie) ...
>>> Error! Error! Your kernel headers for kernel 4.4.27-ti-r62 cannot be found. 
>>>             <--
>>> Please install the linux-headers-4.4.27-ti-r62 package,                     
>>>             <--
>>> or use the --kernelsourcedir option to tell DKMS where it's located         
>>>             <--
>>> Your kernel headers for kernel 4.4.27-ti-r62 cannot be found.               
>>>             <--
>>> Please install the linux-headers-4.4.27-ti-r62 package,                     
>>>             <--
>>> or use the --kernelsourcedir option to tell DKMS where it's located         
>>>             <--
>>
>> [..]
>>      In my case, after the reboot, I noticed the active kernel was the new 
>> one
>>      the prep script downloaded (4.4.27), as reported by 'uname -r'..
>>      so this seemed to be the appropriate command to install those headers:
>>
>>       apt-get install linux-headers-`uname -r`
>> [..]
>>      Will try to follow up with what I find..
>
>     Hmm, so after the new kernel headers were installed, I verified
>     there's now a 'build' link in the modules directory for that kernel 
> version
>     that wasn't there before:
>
> # ls -la /lib/modules/4.4.*/build
> lrwxrwxrwx 1 root root 36 Oct 26  2016 /lib/modules/4.4.27-ti-r62/build -> 
> /usr/src/linux-headers-4.4.27-ti-r62   <--
> lrwxrwxrwx 1 root root 35 May  5  2016 /lib/modules/4.4.9-ti-r25/build -> 
> /usr/src/linux-headers-4.4.9-ti-r25
>
>     ..which is good, because I know building device drivers need that link
>     to exist.
>
>     So I then retried making the project the prep_pru.sh command failed to 
> build,
>     but still getting these weird errors:
>
> root@beaglebone:~# export DTB=~/dtb-rebuilder/src/arm
> root@beaglebone:~# cd /root/dtb-rebuilder/
> root@beaglebone:~/dtb-rebuilder# make clean
>   CLEAN   src/arm
> root@beaglebone:~/dtb-rebuilder# make
>   DTC     src/arm/am437x-gp-evm.dtb
> FATAL ERROR: Unrecognized check name "unit_address_vs_reg"                 <--
> Makefile:136: recipe for target 'src/arm/am437x-gp-evm.dtb' failed         <--
> make[1]: *** [src/arm/am437x-gp-evm.dtb] Error 1
> Makefile:84: recipe for target 'all_arm' failed
> make: *** [all_arm] Error 2
>
>     Does anyone know the solution for that?

sudo apt update
sudo apt install device-tree-compiler --reinstall

Which will install "mainline" dtc 1.4.4, no more of our dtc 1.4.1 +
patches.. It's all mainline dtc now!! ;)

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYihhjvu5TTwpuCQDMt_ULt11EWNfjyVts1UHsffCuMr5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to