Closed matsujirushi closed 2 years ago
I tring to compile yocto source code for reTerminal. I are running this procedure. https://wiki.seeedstudio.com/reTerminal-Yocto/#compile-yocto-source-code
After Step 15
bitbake rpi-test-image
, I got error.ERROR: ParseError at /home/matsujirushi/poky/meta-openembedded/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.2.bb:16: Could not inherit file classes/setuptools3-base.bbclass
How to fix?
Hello, Sorry to see this. And the wiki is too old to use. it's better for you to follow the github action source code here
@matsujirushi I will update with new compilation instructions on the wiki. In the meantime, @bigbearishappy will help us reproduce the issue and find a solution to the problem.
Hi @bigbearishappy , I ran it with reference to the GitHub action source code. The following error has occurred.
matsujirushi@mj-yocto:~/poky/build$ bitbake rpi-test-image
ERROR: ParseError at /home/matsujirushi/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.0.bb:30: Could not inherit file classes/setuptools3-base.bbclass
Command history is:
26 git clone -b master git://git.yoctoproject.org/poky
27 cd poky
28 cp -r meta/recipes-multimedia/gstreamer/ ../
29 git checkout dunfell
30 rm -r meta/recipes-multimedia/gstreamer/
31 cp -r ../gstreamer/ meta/recipes-multimedia/
32 rm -r ../gstreamer/
33 git diff .
34 git clone -b dunfell https://github.com/Seeed-Studio/meta-seeed-reterminal.git
35 cp meta-seeed-reterminal/build-*.sh ./
36 rm -rf meta-seeed-reterminal/
37 chmod +x build-*.sh
38 ./build-reterminal-image.sh
39 cd
40 ls
41 cd poky
42 source oe-init-build-env
43 bitbake rpi-test-image
Do you notice anything?
Hi @bigbearishappy , I ran it with reference to the GitHub action source code. The following error has occurred.
matsujirushi@mj-yocto:~/poky/build$ bitbake rpi-test-image ERROR: ParseError at /home/matsujirushi/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.0.bb:30: Could not inherit file classes/setuptools3-base.bbclass
Command history is:
26 git clone -b master git://git.yoctoproject.org/poky 27 cd poky 28 cp -r meta/recipes-multimedia/gstreamer/ ../ 29 git checkout dunfell 30 rm -r meta/recipes-multimedia/gstreamer/ 31 cp -r ../gstreamer/ meta/recipes-multimedia/ 32 rm -r ../gstreamer/ 33 git diff . 34 git clone -b dunfell https://github.com/Seeed-Studio/meta-seeed-reterminal.git 35 cp meta-seeed-reterminal/build-*.sh ./ 36 rm -rf meta-seeed-reterminal/ 37 chmod +x build-*.sh 38 ./build-reterminal-image.sh 39 cd 40 ls 41 cd poky 42 source oe-init-build-env 43 bitbake rpi-test-image
Do you notice anything?
Hello. Sorry for my late reply. I have just fixed the compile error and the make the firmware work fine. Now, there is no need to change the repo of poky. We need to change the kernel version from 5.4 to 5.10 on branch dunfell of meta-raspberrypi. if you want to get more detail of the change. you can see the following commit on branch dunfell: 5cd6a98f294566393a8460f6fe14f747a9b3f33b 01414c020f2676add7772dec5d5ef7b777899edd
Please let me know if you have any problem.
@matsujirushi Please wait for me. I will update wiki according to the above fix and let you know so that you can follow it.
@matsujirushi
Please refer to the following updated wiki: https://wiki.seeedstudio.com/reTerminal-Yocto
Better to clear browser cache or open in private browsing. Otherwise you might not see the changes.
Hi @lakshanthad , I create an OS image using the wiki page as a reference. But there is two problem.
The display is rotated 90 degrees.
Touch is not responding. Touch several times to stop Qt application.
Do these not occur in your reTerminal?
Hi @lakshanthad , I create an OS image using the wiki page as a reference. But there is two problem.
- The display is rotated 90 degrees.
- Touch is not responding. Touch several times to stop Qt application.
Do these not occur in your reTerminal?
I have just fixed this two problem. you can try to modify the source file of the qt5 demo by referring this commit. Or you can rebuild your yocto firmware with the latest qt demo.
Hi @bigbearishappy , It is working. 😍 Thank you.
I tring to compile yocto source code for reTerminal. I are running this procedure. https://wiki.seeedstudio.com/reTerminal-Yocto/#compile-yocto-source-code
After Step 15
bitbake rpi-test-image
, I got error.How to fix?