Closed hecko closed 10 months ago
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.
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
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.
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.
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?
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(https://github.com/Seeed-Studio/seeed-linux-dtoverlays/issues/75)? Maybe it can help you.
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:
This is the build I use now: https://pastebin.com/ErygjT1H
I'll summarize the issues I found with the reTerminal DM:
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 :-)
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 ?
@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.
We recommand you to use the balenaEtcher as the flash tool for yocto image.
For the futhur discussion of this problem. Please look into here
Describe the bug Driver seeed-linux-dtoverlays/1.0-r0/git/modules/ili9881d/ili9881d.c will not compile for Yocto dunfell.
Also discussed here https://github.com/Seeed-Studio/meta-seeed-cm4/issues/12
To Reproduce
Expected behavior Compilation done for Yocto image
Desktop (please complete the following information):