Hi Alex,
Thank you for reporting this issue. You are trying it with the
official Raspberry Pi 7" touch screen display, right?
For previous releases of AGL variable VC4DTBO had to be set to
vc4-fkms-v3d to support Wayland, Weston and
the apps on both HDMI and the official Raspberry Pi 7" touch
screen display. Details are available in JIRA SPEC-2465. I guess
something might has changes when porting to newer Yocto/OE
release. I haven't tested any AGL jellyfish releases yet.
https://jira.automotivelinux.org/browse/SPEC-2465
Best regards,
Leon
I am unable to boot the jellyfish release of Automotive Grade Linux on the Raspberry Pi 4B (4GB) when connected to the standard touchscreen and I'm not sure why.
After the screen flashes colors, the red light on the pi stays solid and the os does not boot.
It does boot when connected to an HDMI monitor.
But the screen is sideways, so that's not very helpful.
I can change the orientation of the screen on the HDMI monitor in /etc/xdg/weston/weston.ini,
however, it chops off the bottom of the screen when I do so.
There's no ability to scroll, so the apps are unusable like this.
So, I'm kind of stuck with no display device.
Note: Both the HDMI monitor and the touchscreen worked without error in the icefish release.
Having either work would be fine.
Alternatively, perhaps I need a special display device?
I'm certain the problem is not with the touch screen because Raspbian OS boots okay.
To debug, I connected a USB TTY cable to the pi.
With the default cmdline.txt and config.txt, I see this:
2020.1 (un 9 2020-:40 +0000)
RAM: 3.7 Gi
RPI 4 dl0xc011 00: mmc2e34
Lom FAT...
t: erial
Err: serial
Net Net Initializtionipped
it an key to stop autoboot: 2
switch totits #0, OK
mm i curredvice
Scannc 0:1..
Foot sriptb262 bys r in 9 ms (28.3iB/s)
##Execuinript at 0000
libfdt fdt_check_hder(_ERR_BADMAGIC
RO Dtfind a cmdlneteiee
rernel ..
This /boot/cmdline.txt looked odd, so I changed it like so:
dwc_otg.lpm_enable=0 console=115200;ttyS0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait usbhid.mousepoll=0
=>
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait video=DSI-1:800x480@60,rotate=0 usbhid.mousepoll=0
console was set this way in the icefish release and in raspbian OS.
I also experimented with adding some options to config.txt to persuade it to use the touchscreen
#Added
hdmi_ignore_hotplug=1
display_default_lcd=1
ignore_lcd=0
disable_touchscreen=0
I see this result:
U-Boot 2020.01 (Jun 29 2020 - 03:06:40 +0000)
DRAM: 3.7 GiB
RPI 4 Model B (0xc03111)
MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... OK
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
262 bytes read in 8 ms (31.3 KiB/s)
## Executing script at 02400000
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
15432192 bytes read in 993 ms (14.8 MiB/s)
ERROR: Did not find a cmdline Flattened Device Tree
Starting kernel ...
I'm not sure what a "cmdline Flattened Device Tree" or why this error seems to prevent booting when using the touch screen but not the monitor.
--
Alex Ryan
-- Leon Anavi Software Engineer konsulko.com
Links:
You receive all messages sent to this group.
View/Reply Online (#8715) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]