[Buildroot] buildroot 2019.11.1 rpi-0-w error

Laurentiu-Cristian Duca laurentiu.duca at gmail.com
Fri Feb 28 13:51:44 UTC 2020


Hi,

On 2/28/20, Peter Seiderer <ps.report at gmx.net> wrote:
> Hello Laurentiu-Cristian,
>
> On Fri, 28 Feb 2020 14:03:45 +0200, Laurentiu-Cristian Duca
> <laurentiu.duca at gmail.com> wrote:
>
>> Hi,
>>
>>   I am facing the following error in buildroot 2019.11.1
>> when configuring buildroot for rpi-0-w
>> with this settings:
>>
>> make menuconfig
>> Kernel
>>     Defconfig name (bcm2835)
>>     In-tree Device Tree Source file names (bcm2835-rpi-zero-w)
>>
>> make
>> >>>   Executing post-image script board/raspberrypi0w/post-image.sh
>> INFO: cmd: "mkdir -p
>> "/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/build/genimage.tmp""
>> (stderr):
>> INFO: cmd: "rm -rf
>> "/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/build/genimage.tmp"/*"
>> (stderr):
>> INFO: cmd: "mkdir -p
>> "/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/build/genimage.tmp""
>> (stderr):
>> INFO: cmd: "cp -a "/tmp/tmp.iaBv2bX7fQ"
>> "/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/build/genimage.tmp/root""
>> (stderr):
>> INFO: cmd: "find
>> '/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/build/genimage.tmp/root'
>> -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r
>> '/tmp/tmp.iaBv2bX7fQ/{}'
>> '/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/build/genimage.tmp/root/{}'"
>> (stderr):
>> ERROR: file(bcm2708-rpi-zero-w.dtb):
>> stat(/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.11.rpi/output/images/bcm2708-rpi-zero-w.dtb)
>> failed: No such file or directory
>> ERROR: vfat(boot.vfat): could not setup bcm2708-rpi-zero-w.dtb
>>
>>   If I rename bcm2835-rpi-zero-w.dtb to bcm2708-rpi-zero-w.dtb in
>> output/images,
>> the build succeeds but linux does not boot.
>>
>
> According to configs/raspberrypi0w_defconfig the DTS name should
> be 'bcm2708-rpi-zero-w' (or 'bcm2708-rpi-0-w' prior to [1], [2])
> and the defconfig name should be 'bcmrpi'?
>
> Does the plain raspberrypi0w_defconfig work for you?
  Yes, it works. But only works with rpi linux.
I wanted to use linux mainline kernel compiled separately
and that is why I tried to use
bcm2835-rpi-zero-w.dts because mainline kernel does not have bcm2708...dts

Thanks

>
> Which linux kernel do you use (in doubt send your .config or defconfig
> file)?
>
> Regards,
> Peter
>
> [1]
> https://git.buildroot.net/buildroot/commit/?id=42d22f3bdba41da8e6b6ace2c78af2b3e34d7491
> [2]
> https://git.buildroot.net/buildroot/commit/?id=fcecfb66d1fb749426306dbea50fdeb37d4706d8
>
>>   Any ideas?
>>
>> Thanks
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>



More information about the buildroot mailing list