Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 07:20
    mpous commented #2450
  • 06:25
    jakogut review_requested #2888
  • 06:25
    jakogut synchronize #2888
  • 03:36
    RoderickQiu commented #3790
  • 03:31
    RoderickQiu synchronize #3790
  • 02:36
    RoderickQiu synchronize #3790
  • Dec 05 23:06
    floion commented #2905
  • Dec 05 22:35
    ab77 synchronize #3780
  • Dec 05 22:27
    ab77 synchronize #3896
  • Dec 05 22:27
    ab77 closed #3853
  • Dec 05 22:27
    ab77 commented #3853
  • Dec 05 22:18
    ab77 commented #3790
  • Dec 05 21:54
    floion auto_merge_enabled #2905
  • Dec 05 21:54
    floion review_requested #2905
  • Dec 05 21:54
    floion review_requested #2905
  • Dec 05 21:54
    floion review_requested #2905
  • Dec 05 21:52
    floion opened #2905
  • Dec 05 21:41
    cywang117 synchronize #2048
  • Dec 05 21:37
    ab77 closed #3864
  • Dec 05 21:37
    ab77 review_requested #3864
Gutemberg Ribeiro
@galvesribeiro
and please let me know once it become available on the main channels so everyone here can use it
thanks! have a good weekend! :)
Gergely Imreh
@imrehg
Sure, will do. In general, you can check this page (not really official, but possibly useful project) for the versions released https://balena-io-playground.github.io/balenaosversions/
In case it comes handy.
Gutemberg Ribeiro
@galvesribeiro
great! thanks!
ttyol
Gergely Imreh
@imrehg
Cheers! :city_sunset:
Gutemberg Ribeiro
@galvesribeiro
:smiley:
Balena team
@balenaio
[Alexandros Marinos (alexandrosm)] @galvesribeiro we're working hard on EP, due to lead times for components unfortunately it's looking like real production will come out in august...
Gutemberg Ribeiro
@galvesribeiro
@alexandrosm yeah, I can imagine… But if you have that preview devices, let me know :D
Gutemberg Ribeiro
@galvesribeiro
man… I’m loving it much every step I go further in the docs :D
btw, @imrehg / @shaunmulligan can we contribute base images to the repo? I’m seeing a PR for .Net Core images but it is almost an year stalled there...
Balena team
@balenaio
[Gergely Imreh (imrehg)] Sure thing! A lot has changed in a year, though, I think it was maybe @richbayliss who was doing .Net? (Sorry if my memory's wrong) The current balenalib base images (and our setup that propagates changes across architectures) is likely a bunch better state to build upon. Cc @nghiant2710 , our base images guru.
Gutemberg Ribeiro
@galvesribeiro
ahh cool! I’ll build it first locally and make sure everything works, then I’ll fork and push a PR later on for review
we’re heavly based on .Net Core here… and one of the reasons in favor of balena is the fact that we can keep using it for our local-microservices. The UI is built on top of Google Flutter and since it is a per-device port of the engine, maybe it will requires more magic to make it generic so others can re-use it so will do the .Net Core and later think more on how it could work for flutter
Balena team
@balenaio
[Rich Bayliss (richbayliss)] I did start to look at it @imrehg but then MS made their own docker images for ARM. If we have some interest in this then maybe we should see about making some official balenalib based ones
Gutemberg Ribeiro
@galvesribeiro
@richbayliss yes, they recently (.net core 2.x+) released their own images
what I’ll do, is to look what they do on their dockerfiles and instead of use their OSes base image, use balena ones
Balena team
@balenaio
[Rich Bayliss (richbayliss)] Nice. I was a Dotnet guy before joining balena, and was really impressed with the Dotnet Core frameworks.
Gutemberg Ribeiro
@galvesribeiro
then it would be something like: balenaOS -> .Net Core ${targetOs}
where targetOS can be alpine, Ubuntu, fedore, etc… Anything that is both supported by MSFT and also on baselib
yeah, .Net rulz :P
Gutemberg Ribeiro
@galvesribeiro
funny
it looks like alpine images only exist for specific frameworks
no OS-only image exist :/
nvm
found the error
Gutemberg Ribeiro
@galvesribeiro
image.png
Hello .Net Core from a container in Balena :)
Gutemberg Ribeiro
@galvesribeiro
@imrehg for whatever reason the image you sent me yesterday looks like isn’t allowing hardware access
I’ve add privileged: true to the service and it isn’t able to open the framebuffer
Balena team
@balenaio
[Gergely Imreh (imrehg)] @galvesribiero that doesn't depend on the image, all happens in the application level. Do you have e.g. a simple application code that we can try out as well? (So we can work on the same level of understanding) What does it mean not allowed to open that fb? And when connected to the host OS do you see that framebuffer device listed? Cc @pcgeek86
Gutemberg Ribeiro
@galvesribeiro
@imrehg I made one progress yesterday before sleep
the problem is that for whatever reason, ioctl calls are failing
which I use to figureout some of the display capabilities
so I’ve hardcoded the /dev/fb0
and it don’t crash anymore. Hoever, it doesn’t draw anything to the screen
I’m checking on that now
Gutemberg Ribeiro
@galvesribeiro

ok, now changing the compose file to include:

     devices:
      - "/dev/fb0:/dev/fb0"
    cap_add: 
      - SYS_RAWIO

And on the Dockerfile:

ENV UDEV=1
it works
but for whatever reason the app screen is showing that tons of messages :/
Gutemberg Ribeiro
@galvesribeiro
okey
I was able to build the kernel module for my touch display and load it
[Logs]    [4/7/2019, 9:06:06 AM] [main] OS Version is 2.31.5+rev1
[Logs]    [4/7/2019, 9:06:06 AM] [main] Loading Elo Touch Kernel Module: elo_mt_input_mod_2.31.5+rev1.ko
[Logs]    [4/7/2019, 9:06:09 AM] [main] elo_mt_input_mod       16384  0
@imrehg however, I had to hack the build scripts from the sample u gave me… it isn’t able to find the kernel module headers for that 2.31.5+rev1 yet so I’ve change it to get the 2.26.0+rev1 ones and then renamed the module to use the .31 one and it loaded… I guess it is because the version you gave me isn’t pushed to production yet so we don’t have the headers
now need to figure out how to get files from the build container in balena :)
Balena team
@balenaio
[Gergely Imreh (imrehg)] @galvesribiero yeah, those files are uploaded when the version is released, which hasn't happened yet. Should have been clearer.
Not sure what you mean by getting the Iles from the build container in balena. Are those the kernel modules? If so it is just a modprobe inside the container, isn't it?
We'll be able to help more during the week though, when the release is done and the team is around.
What hardware you use for your screen? What driver is needed? The touch support? If so, where is the source you use for that module?
Gutemberg Ribeiro
@galvesribeiro

Not sure what you mean by getting the Iles from the build container in balena.

I meant files :) Already got it thanks to transfer.sh :P

Are those the kernel modules? If so it is just a modprobe inside the container, isn't it?

The touch display has its own kernel module and a daemon that is started. Without that running, the kernel report wrong events to evdev