fdu / STM32F746G-disco_Buildroot

28 stars 29 forks source link

Error in RootFS CPIO creation step #9

Open MohammedBasilAB opened 1 year ago

MohammedBasilAB commented 1 year ago

Hi,

I've been a few days tryng to get this project bult to run on my f746 board, but found a lot of patch needs (i don't know if i made a mistake with any package installation or something to need that much patches, if anyone thinks so, please feel free to guide me, thanks). The thing is that after all the patches, the build reaches the rootfs.cpio file generation, where I get the following error:

`>>> Generating root filesystem image rootfs.cpio ...

chmod a+x /home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/build/_fakeroot.fs PATH="/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/host/bin:/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/host/sbin:/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/host/usr/bin:/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" /home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/host/usr/bin/fakeroot -- /home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/build/_fakeroot.fs rootdir=/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/target table='/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/build/_device_table.txt'

makedevs: line 23: can't create node /home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/target/dev/console: Operation not permitted make[2]: [fs/cpio/cpio.mk:58: /home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot/output/images/rootfs.cpio] Error 1 make[1]: [Makefile:79: _all] Error 2 make[1]: Leaving directory '/home/test/Documents/F746_Linux/STM32F746G-disco_Buildroot-master/buildroot' make: *** [Makefile:21: build] Error 2 `

I've tried some patches I found, like https://git.buildroot.org/buildroot/commit/?id=c85cd189dc1ded92b78c5968860ff447ec9815ad which looks to be oriented to the error I'm having, but without success solving the problem. Any help will be appreciated.