Coder Social home page Coder Social logo

Comments (12)

hecko avatar hecko commented on September 22, 2024

I have backported two drivers to work with rpi kernel 5.10 (from meta-raspberrypi kirkstone) and in combination with yocto dunfell this compiles okay - here is the patch: https://github.com/hecko/seeed-linux-dtoverlays/tree/dunfell

I recommend to create a new branch in this repository called "dunfell" that will apply this patch so it can be used for Yocto compilation for Dunfell. Subsequently branch for seeed-linux-dtoverlays in the https://github.com/Seeed-Studio/meta-seeed-cm4/tree/dunfell repo (dunfell branch) needs to be changes from current "master" to "dunfell". All will compile correctly afterwards as per https://wiki.seeedstudio.com/reTerminal-Yocto/#compile-with-the-default-configuration-for-reterminal

I can help with this if needed.

I can also confirm that booting this image on reTerminal works with Qt5 demo starting.

from seeed-linux-dtoverlays.

swrpug avatar swrpug commented on September 22, 2024

Confirmed success building image (Ubuntu 23.04)

Minor Typo: "For step 9 use branch kirkstone ..." should be "step 5"

However, after flashing the image, the DM screen shows nothing.
I attempted flashing a standard raspbian image and while I can ssh into the box, after installing the screen overlay, the screen does not turn on.

I would be nice to be able to reference an older image; however, the artifacts for the last successful run have expired and there are no new artifacts because the build is broken. So, I have a $400 brick

from seeed-linux-dtoverlays.

hecko avatar hecko commented on September 22, 2024

Try to install Ubuntu Server 22.04 LTS as found in RPI Imager, SSH into system and then install drivers as per https://wiki.seeedstudio.com/reTerminal/#install-reterminal-drivers-after-flashing-new-raspberry-pi-os-ubuntu-os-or-other-os

I did try this exact procedure yesterday and I can confirm that the display works after drivers installation as per the wiki page.

In terms of Yocto - the display works for me, but not every time when I reboot. I need to power cycle reTerminal few times to boot the system correctly and also UART console does not work for me in Yocto, but works in Ubuntu.

from seeed-linux-dtoverlays.

swrpug avatar swrpug commented on September 22, 2024

Tried multiple times using 22.04 as per the wiki. After flashing, unable to see reTerminal DM on the network via raspberrypi.local, so can't ssh to install display drivers. Will need to take up with Seeed Studios, product is not living up to the hype. Just to be clear, I'm working with an reTerminal DM. The content of the page appears to be the same though.

from seeed-linux-dtoverlays.

hecko avatar hecko commented on September 22, 2024

Have you checked dhcp server whether ip has been assigned to the reTermina after boot? Have you tried accesing console using uart on the 40pin header?

from seeed-linux-dtoverlays.

bigbearishappy avatar bigbearishappy commented on September 22, 2024

Sorry to hear your probelm.We will try our best to fix these problem.
Let me summarize the problem list:
reTerminal:
1 display driver broken with dunfell and kernel 5.10
2 display not work fine everytime booted
3 UART not working
reTerminal DM:
1 display driver broken(even with raspbian OS)

If there are any omissions. Please add them.

For reTerminal, we will make the display driver to work with kernel 6.1.x and let you here after we finished it.
For reTerminal DM, we will do the work same as reTermianl. And the problem of display with raspbian OS. Have you checked this issue(#75)? Maybe it can help you.

from seeed-linux-dtoverlays.

hecko avatar hecko commented on September 22, 2024

Sorry to hear your probelm.We will try our best to fix these problem. Let me summarize the problem list: reTerminal: 1 display driver broken with dunfell and kernel 5.10 2 display not work fine everytime booted 3 UART

For reTerminal, we will make the display driver to work with kernel 6.1.x and let you here after we finished it. For reTerminal DM, we will do the work same as reTermianl. And the problem of display with raspbian OS. Have you checked this issue(#75)? Maybe it can help you.

For Yocto on reTerminal:

  • Display works with some minor patches to drivers - I dont think this this needs much work (as previously mentioned in this thread it just create a new branch here called "dunfell" and I can push you the changes required to build driver on Yocto Dunfell. No need to port drivers to 6.1.x at this stage.
  • reTerminal does not always boot with Yocto - the problem is, that since UART also does not work for me this is difficult to debug - What I recommend is to primarily - firstly - enable UART on reTerminal for Yocto Dunfell and afterwards we can start debugging other parts of the Yocto build, but without UART there is not much feedback I can give for Yocto if the system does not boot. It boots sometimes, but not every time.

This is the build I use now:
https://pastebin.com/ErygjT1H

from seeed-linux-dtoverlays.

swrpug avatar swrpug commented on September 22, 2024

I'll summarize the issues I found with the reTerminal DM:

  • Yocto build fails as per #76, but can be fixed with source patch (although I have not successfully flash the image to the device)
  • Following the wiki for flashing Ubuntu 20.04 leaves the device invisible on the network making the step to compile the screen overlay impossible
  • My attempts to flash the Yocto image appear to be my own lack of knowledge wrt to wic images. I'm still trying to figure that out.

I was able to flash Sensecraft-edge-OS-V0.3.10 and restore the device, so despite my previous assertions, I no longer have a brick :-)

from seeed-linux-dtoverlays.

hecko avatar hecko commented on September 22, 2024

I'll summarize the issues I found with the reTerminal DM:

  • Yocto build fails as per #76, but can be fixed with source patch (although I have not successfully flash the image to the device)
  • Following the wiki for flashing Ubuntu 20.04 leaves the device invisible on the network making the step to compile the screen overlay impossible
  • My attempts to flash the Yocto image appear to be my own lack of knowledge wrt to wic images. I'm still trying to figure that out.

I was able to flash Sensecraft-edge-OS-V0.3.10 and restore the device, so despite my previous assertions, I no longer have a brick :-)

Regarding flashing the Yocto image to reTerminal - I had the same problem that RPI Imager was telling me that the image is not the correct format - something regarding unable to extract using bz2 - so I just extracted the wic image from the bz2 package and flashed that to reTerminal - which worked. Does this sound similar to your issue @swrpug ?

from seeed-linux-dtoverlays.

swrpug avatar swrpug commented on September 22, 2024

@hecko thank you for the suggestion to unzip, that helped get me further. I'm working out my learning on an SD card. The issue I see is that rpi-imager's (v1.8.1) file filter only shows files with .img extension. If I create a link, link.img, that points to the .wic file, rpi-imager happily flashes an SD card. At this point, I have successfully built, flashed and brought up a minimal pi image using yocto. Next, I'll try same with the reterminal yocto image. Thanks again for your help.

from seeed-linux-dtoverlays.

bigbearishappy avatar bigbearishappy commented on September 22, 2024

We recommand you to use the balenaEtcher as the flash tool for yocto image.

from seeed-linux-dtoverlays.

bigbearishappy avatar bigbearishappy commented on September 22, 2024

For the futhur discussion of this problem. Please look into here

from seeed-linux-dtoverlays.

Related Issues (20)

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.