Giter Site home page Giter Site logo

Build Fail about yocto-tinkerboard HOT 10 CLOSED

spedagadi avatar spedagadi commented on July 22, 2024
Build Fail

from yocto-tinkerboard.

Comments (10)

spedagadi avatar spedagadi commented on July 22, 2024 1

@redknight1056 Can you try my new repo for QT @ https://github.com/sat8/tinkerboard-yocto-qt5-eglfs
Note that this is a console based image and when the board is connected to local network, you should be able to access it via SSH.

PS: For some reason, Rockchip team are not adding wifi fix to the mainline kernel. This repo uses the mainline kernel so it is most likely wifi will not work.

from yocto-tinkerboard.

redknight1056 avatar redknight1056 commented on July 22, 2024 1

@SAT8 super :P Thank you for your work and effort. I'm sure you have people certainly a lot of people help with your addition to the community.

While I'll be trying your build shortly I'll set this 'Issue' as solved.

Thank you once again.

from yocto-tinkerboard.

spedagadi avatar spedagadi commented on July 22, 2024

@redknight1056
I am trying a fresh build now. Not sure if anything has changed in rockchip repos.
Regarding QT5, I shall spend some time this weekend. Hang on for an update..

from yocto-tinkerboard.

redknight1056 avatar redknight1056 commented on July 22, 2024

Wow, that's certainly a fast response! I'm certainly very grateful for you to spend some of your weekend trying this.

Thank you.

from yocto-tinkerboard.

spedagadi avatar spedagadi commented on July 22, 2024

@redknight1056 Here is an update:

The sources in this repo doesnot work anymore. there are a bunch of failed to fetch errors as rockchip repos references are not available anymore(rockchip team does this sometimes :) ) . To do this properly, I need to do a bit more work and reference the rockchip repos directly than to have separate copy that may not exist sometime in future.

These were fixed locally on my build pc and I checked that the image builds for core-image-sato. My changes to this repo are still to be merged (TODO). The second and perhaps the item of your interest is the QT5 build. There were two issues -

  • The amount of working RAM to build the image was small than what's expected. I did not have any swap space dedicated on my ubuntu pc (4GB physical RAM) and the build process halted on several occassions. This has been fixed now.
  • I think the build process is pulling in QT5 examples/similar and somehow a compilation error occurs with 'main()' not defined etc., I need to investigate this further and fix this. (TODO)

FYI the link [here]http://rockchip.wikidot.com/yocto-user-guide-qt indicates rockchip's build process for QT.

from yocto-tinkerboard.

redknight1056 avatar redknight1056 commented on July 22, 2024

@SAT8 Thank you for doing some trials. It's abit of a pain that the rockchip team changed the file's.

Ya I have built the qt5-image but I have noticed they have done one update recently which when built gives you an unusable desktop with only 5 opinion's (settings,music, video and camera) with no method of accessing the terminal and no SSH. Pretty pointless.

This is why, currently your build is the best choice, especially if you get Qt to working. I would like to bet that your updated image would be received well by the community.

Once again thank you for your time.

from yocto-tinkerboard.

spedagadi avatar spedagadi commented on July 22, 2024

@redknight1056 np. I think I got lucky after few iterations. Initially, there were issues with swap space, then package group and then my ubuntu PC automatically restarting due to the number of parallel make & bitbake threads being too high (these were ok for normal yocto build). I do have an image built but now I am trying once more to make sure the process is error free. Stay tuned ( I will perhaps create a new repo just so that this repo is not polluted..)

from yocto-tinkerboard.

redknight1056 avatar redknight1056 commented on July 22, 2024

@SAT8 ya my ubuntu machine restarted several things normally around the #2000 process of the build. Interesting discovery this issue is not seen on Debian 9 but is certainly there on Ubuntu 16.04.

from yocto-tinkerboard.

redknight1056 avatar redknight1056 commented on July 22, 2024

Ah amazing work @SAT8. I'll try the build today. There are no issues from me with the lack of wireless :P

Just to ask the silly question but I take it I'll be using the rockchip repo for building the cross-compiler using bitbake meta-toolchain-qt5 for 'rk-none'

from yocto-tinkerboard.

spedagadi avatar spedagadi commented on July 22, 2024

@redknight1056 I have now updated the README.md in the repo with instructions on building the toolchain and configuring QTCreator. In Tinkerboard board forum post, I have provided a download link for pre-built image.

from yocto-tinkerboard.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.