On 16-01-15 01:24 PM, Morgan Guillou wrote:
I've been working with hardware sama5d35-xplained.
I used the at91 tutorial to compile and install yocto distribution on
the target, that’s fine.
My next step is to redefine one interface that is custom to my board, I
want to enable the USART2.
I modify the dts file:
“/poky/build-atmel/tmp/work-shared/sama5d3-xplained/kernel-source/arch/arm/boot/dts/at91-sama5d3_xplained.dts”
to add :
usart2: serial@f8020000{
Pinctrl-0 = <&pinctrl_usart2>;
Status = “okay”:
};
Maybe I'm just tired, or maybe this is just hard... but the dtb file is
not updated when I run bitbake.
bitbake won't know that you've updated the source. So you'll
need to force a re-compile of the kernel, and then rebuild
your image.
bitbake -f -c compile <your kernel recipe>
And then you should see things repackaging next time you build
the image.
Bruce
So do I have to manually compile the dts file or is there some way to do
it via "bitbake core-image-minimal" ?
Thanks,
Morgan.
Description : Sans titre
Morgan Guillou
Tel :+33 6 87 59 16 28
Batiment Le Kerguelen
7 rue LT De Vaisseau Bourely
56100 Lorient
--
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto