On Tuesday, May 16, 2017 at 7:11:33 PM UTC-7, RobertCNelson wrote:
>
> On Tue, May 16, 2017 at 7:36 PM, Greg Ercolano <[email protected]
> <javascript:>> wrote:
> > 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!! ;)
>
>
Thanks Robert, so I take it you might be saying that this command:
apt install device-tree-compiler --reinstall
..could maybe replace all the following code in the OP's "prep_pru.sh"
script:
______________________________________________________________________________
#as per rnelson rebuild the dtbs with pru support as out ofthe box it is
now longer supported,
# the user needs to choose either uio_pruss or remote proc to enable
otherwise it is not enabled. Strange that no pru support is enabled by
default.
#Essentially you need to edit one of the dts for the base dtb. Hear we
edit the basic default dtb.
cd ~/ && git clone https://github.com/RobertCNelson/dtb-rebuilder
export DTB=~/dtb-rebuilder/src/arm
sed -i -e 's/\/\* #include \"am33xx-pruss-uio.dtsi\" \*\//#include
\"am33xx-pruss-uio.dtsi\"/' $DTB/am335x-boneblack.dts
#sed -i -e 's/#dtb=/dtb=am335x-boneblack-emmc-overlay.dtb/' /boot/uEnv.txt
cd /root/dtb-rebuilder/ && make
cd /root/dtb-rebuilder/ && make KERNEL_VERSION=4.4.27-ti-r62 install
______________________________________________________________________________
His script already runs apt update right at the top, and it is assumed to
already be run as root, so the sudo shouldn't be needed)
I've been a C and assembly programmer since the 80's, but all of this with
dtc is still pure greek to me.
I'm assuming the original intent was to install the latest git version of
the dtc compiler, though I'm not sure what implications the sed command
has, so I'd defer to you or the OP's opinions.
Arguably, the best thing would be to offer up a disk image instead of an
image with patches applied from live repos.
I'm actually hoping to create such an image once I confirm a blinking light
on the board.
--
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/6fc5e0c5-a9fd-464e-bae8-89811fd48225%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.