Freeplay CM4
#19
tldr; I am getting an image now but the journey has just begun (not getting audio out of it Smile )

Thank you so much, Flavor! So many options to test Big Grin

The first one about using https://github.com/TheFlav/rpi-fbcp and waveshare32b-fp.dtbo is the one that was set up by default when I ran the Full_install.sh script. Unfortunately that just shows a white screen both when executed by the service or manually in the terminal.

I don't have the hdmi plugged in anymore, I only connect it when I need to share a picture here. It is just a random 5 inch raspberry pi monitor I have. From what I can see in its EDID, it does support 1024x768 and it registers as landscape.

Tested forcing the resolution to 320x240 from the config file as suggested, with the dtoverlay for waveshare commented out to test the custom binary but the same weird lines are shown on the display. Then tried uncommenting the waveshare dtoverlay and keep forcing the 320x240 resolution to test that with the default TheFlav/rpi-fbcp binary. Rebooted but still nothing shows up on the screen. 

Haven't gone through the entire bcmstat script but it seems like the CM4 is not supported, and I'm not sure if I'm reading this right but it seems to say the core (or one of them at least) is running at 267MHz or 300Mhz. That doesn't sound right does it?

Code:
pi@retropie:~ $ ./bcmstat.sh
  Config: v0.5.5, args "", priority lowest (+19)
   Board: 4 x ARMv7 cores available, ondemand governor (Pi1 Unknown rev 1.0, BCM2838 SoC with 1GB RAM by Sony UK)
  Memory: 1024MB (split 948MB ARM, 76MB GPU) plus 100MB Swap
HW Block: |   ARM   |  Core  |  H264  |    SDRAM    |
Min Freq: |  600MHz | 250MHz |   0MHz |   3180MHz   |
Max Freq: | 1500MHz | 500MHz | 500MHz |   3180MHz   |
Voltages: |         0, 0.8500V        |  0, 1.2000V |
   Other: temp_limit=85
Firmware: Dec 1 2021 15:01:54, version 71bd3109023a0c8575585ba87cbb374d2eeb038f (clean) (release) (start)
  Codecs: H264 MJPG PCM
  Booted: Fri Jul 15 23:21:51 2022

Time        ARM    Core    H264 Core Temp (Max)  IRQ/s      RX B/s      TX B/s
======== ======= ======= ======= =============== ====== =========== ===========
23:26:44 1500Mhz  500Mhz    0Mhz 66.22C (67.68C) 18,962          0          0
23:26:46  800Mhz  267Mhz    0Mhz 64.76C (67.68C) 15,649          0          0
23:26:48  800Mhz  267Mhz    0Mhz 66.22C (67.68C) 15,414          0          0
23:26:50  800Mhz  267Mhz    0Mhz 65.73C (67.68C) 15,428          0          0
23:26:52  900Mhz  300Mhz    0Mhz 64.76C (67.68C) 15,220          0          0
23:26:54  900Mhz  300Mhz    0Mhz 67.19C (67.68C) 15,305          0          0
23:26:56  900Mhz  300Mhz    0Mhz 66.22C (67.68C) 15,454          0          0
23:26:58  800Mhz  267Mhz    0Mhz 66.22C (67.68C) 15,376          0          0
23:27:00  900Mhz  300Mhz    0Mhz 66.70C (67.68C) 15,513          0          0
23:27:02  800Mhz  267Mhz    0Mhz 65.24C (67.68C) 15,346          0          0
23:27:05  800Mhz  267Mhz    0Mhz 66.70C (67.68C) 15,439          0          0


Changing the `core_freq=400` did not change anything when testing with the default TheFlav/rpi-fbcp binary and the waveshare dtoverlay enabled. But it did work when disabling the overlay and using my custom binary (or any of the ones in FreeplayILI9341). They now shows the following 2 lines:

Code:
bcm_host_get_peripheral_address: 0xfe000000, bcm_host_get_peripheral_size: 25165824, bcm_host_get_sdram_address: 0xc0000000
BCM core speed: current: 250000000hz, max turbo: 400000000hz. SPI CDIV: 6, SPI max frequency: 66666667hz

And bcmstat now shows a ~consistent 244MHz core speed:

Code:
pi@retropie:~ $ ./bcmstat.sh
  Config: v0.5.5, args "", priority lowest (+19)
  Board: 4 x ARMv7 cores available, ondemand governor (Pi1 Unknown rev 1.0, BCM2838 SoC with 1GB RAM by Sony UK)
  Memory: 1024MB (split 948MB ARM, 76MB GPU) plus 100MB Swap
HW Block: |  ARM  |  Core  |  H264  |    SDRAM    |
Min Freq: |  600MHz | 250MHz |  0MHz |  3180MHz  |
Max Freq: | 1500MHz | 400MHz | 500MHz |  3180MHz  |
Voltages: |        0, 0.8500V        |  0, 1.2000V |
  Other: temp_limit=85
Firmware: Dec 1 2021 15:01:54, version 71bd3109023a0c8575585ba87cbb374d2eeb038f (clean) (release) (start)
  Codecs: H264 MJPG PCM
  Booted: Fri Jul 15 23:41:07 2022

Time        ARM    Core    H264 Core Temp (Max)  IRQ/s      RX B/s      TX B/s
======== ======= ======= ======= =============== ====== =========== ===========
23:46:21 1500Mhz  250Mhz    0Mhz 70.60C (70.60C) 17,549          0          0
23:46:24  800Mhz  244Mhz    0Mhz 70.60C (70.60C) 14,876          0          0
23:46:26  800Mhz  244Mhz    0Mhz 70.11C (70.60C) 14,622          0          0
23:46:28  800Mhz  244Mhz    0Mhz 70.11C (70.60C) 14,935          0          0
23:46:30  800Mhz  244Mhz    0Mhz 70.11C (70.60C) 14,647          0          0
23:46:32  800Mhz  244Mhz    0Mhz 69.63C (70.60C) 15,018          0          0


Still reading through juj's repo but are there any consequences on using core_freq=400 vs compiling binaries set to a particular speed?

Also, I am not getting any audio out of either the speaker nor the headphone jack and dmesg shows `bcm2835_audio bcm2835_audio: card created with 4 channels`, is it time for me to start throwing things into the config.txt that were removed?


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Freeplay CM4 - by smoscar01 - 07-12-2022, 02:38 PM
RE: Freeplay CM4 - by Flavor - 07-13-2022, 12:42 AM
RE: Freeplay CM4 - by smoscar01 - 07-13-2022, 11:46 PM
RE: Freeplay CM4 - by Flavor - 07-14-2022, 12:50 AM
RE: Freeplay CM4 - by smoscar01 - 07-14-2022, 04:35 PM
RE: Freeplay CM4 - by Flavor - 07-14-2022, 11:47 PM
RE: Freeplay CM4 - by smoscar01 - 07-15-2022, 12:39 AM
RE: Freeplay CM4 - by Flavor - 07-15-2022, 01:16 AM
RE: Freeplay CM4 - by smoscar01 - 07-15-2022, 11:33 AM
RE: Freeplay CM4 - by smoscar01 - 07-15-2022, 02:02 PM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 12:31 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 12:37 AM
RE: Freeplay CM4 - by smoscar01 - 07-16-2022, 01:53 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 02:00 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 02:03 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 02:11 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 02:24 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 02:26 AM
RE: Freeplay CM4 - by smoscar01 - 07-16-2022, 09:06 AM
RE: Freeplay CM4 - by Flavor - 07-16-2022, 09:18 AM
RE: Freeplay CM4 - by smoscar01 - 07-16-2022, 10:24 AM
RE: Freeplay CM4 - by smoscar01 - 07-16-2022, 11:14 AM
RE: Freeplay CM4 - by smoscar01 - 07-17-2022, 06:38 AM
RE: Freeplay CM4 - by Flavor - 07-17-2022, 06:42 AM
RE: Freeplay CM4 - by smoscar01 - 07-17-2022, 09:23 AM
RE: Freeplay CM4 - by Flavor - 07-17-2022, 09:41 AM
RE: Freeplay CM4 - by smoscar01 - 07-17-2022, 10:50 AM
RE: Freeplay CM4 - by smoscar01 - 07-17-2022, 12:34 PM
RE: Freeplay CM4 - by Flavor - 07-17-2022, 12:37 PM
RE: Freeplay CM4 - by Flavor - 07-17-2022, 12:38 PM
RE: Freeplay CM4 - by Flavor - 07-17-2022, 12:45 PM
RE: Freeplay CM4 - by smoscar01 - 07-17-2022, 01:01 PM
RE: Freeplay CM4 - by Flavor - 07-17-2022, 01:30 PM
RE: Freeplay CM4 - by smoscar01 - 07-17-2022, 02:40 PM
RE: Freeplay CM4 - by smoscar01 - 07-18-2022, 06:24 AM
RE: Freeplay CM4 - by Flavor - 07-19-2022, 04:45 AM
RE: Freeplay CM4 - by smoscar01 - 07-19-2022, 06:07 AM
RE: Freeplay CM4 - by Flavor - 07-19-2022, 07:02 AM
RE: Freeplay CM4 - by Flavor - 07-19-2022, 07:10 AM
RE: Freeplay CM4 - by Flavor - 07-19-2022, 07:13 AM
RE: Freeplay CM4 - by smoscar01 - 07-19-2022, 01:10 PM
RE: Freeplay CM4 - by Flavor - 07-19-2022, 01:38 PM
RE: Freeplay CM4 - by smoscar01 - 07-19-2022, 02:26 PM
RE: Freeplay CM4 - by smoscar01 - 07-21-2022, 01:39 PM
RE: Freeplay CM4 - by Flavor - 07-21-2022, 01:48 PM
RE: Freeplay CM4 - by Flavor - 07-21-2022, 01:57 PM
RE: Freeplay CM4 - by smoscar01 - 07-21-2022, 03:44 PM
RE: Freeplay CM4 - by Flavor - 07-22-2022, 03:55 AM
RE: Freeplay CM4 - by smoscar01 - 07-22-2022, 12:55 PM
RE: Freeplay CM4 - by Flavor - 07-22-2022, 02:25 PM
RE: Freeplay CM4 - by smoscar01 - 07-22-2022, 03:05 PM
RE: Freeplay CM4 - by Flavor - 07-23-2022, 12:45 AM
RE: Freeplay CM4 - by smoscar01 - 07-24-2022, 08:52 AM
RE: Freeplay CM4 - by Flavor - 07-24-2022, 09:09 AM
RE: Freeplay CM4 - by smoscar01 - 07-24-2022, 10:53 AM
RE: Freeplay CM4 - by smoscar01 - 07-27-2022, 01:41 AM
RE: Freeplay CM4 - by Flavor - 07-27-2022, 02:14 AM
RE: Freeplay CM4 - by smoscar01 - 07-27-2022, 03:16 PM
RE: Freeplay CM4 - by Flavor - 07-28-2022, 02:13 AM
RE: Freeplay CM4 - by smoscar01 - 07-29-2022, 10:16 PM
RE: Freeplay CM4 - by smoscar01 - 08-01-2022, 06:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)