So this should be : meta-atmel/recipes-bsp I'll try ________________________________________ De : Bruce Ashfield [[email protected]] Envoyé : lundi 18 janvier 2016 20:41 À : Morgan Guillou Cc : [email protected] Objet : Re: [linux-yocto] Modify the device trees for sama5d35-xplained
On 16-01-18 12:03 PM, Morgan Guillou wrote: > Thanks Bruce, > It was not exactly what I ran, I ran that: > $ bitbake core-image-minimal -c compile -f > This should rebuild only the kernel as I read in that doc: > https://www.yoctoproject.org/sites/default/files/kernel-lab-1.6.pdf > > Sorry, I'm not used with linux, I'm right or not ? You need to force the compile of the kernel package, not the image type. So whatever recipe is providing your kernel, that is the name you should be using. Bruce > > Morgan > > -----Message d'origine----- > De : Bruce Ashfield [mailto:[email protected]] > Envoyé : vendredi 15 janvier 2016 20:09 > À : Morgan Guillou > Cc : [email protected] > Objet : Re: [linux-yocto] Modify the device trees for sama5d35-xplained > > On 16-01-15 02:00 PM, Morgan Guillou wrote: >> Thanks Bruce for the answer, >> So I did: >> #bitbake -f -c compile core-image-minimal > > This should have been your kernel recipe, not the image. Did you typo that ? > Or is that what you really ran ? > > Bruce > >> #bitbake core-image-minimal >> It repackaging rootfs.ubi and ubi files, but no dtb files ! >> What's wrong ? >> >> -----Message d'origine----- >> De : Bruce Ashfield [mailto:[email protected]] >> Envoyé : vendredi 15 janvier 2016 19:43 À : Morgan Guillou; >> [email protected] Objet : Re: [linux-yocto] Modify the >> device trees for sama5d35-xplained >> >> 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. > -- _______________________________________________ linux-yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/linux-yocto
