WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore15.0 Beta  (Read 11010 times)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 708
Re: piCore15.0 Beta
« Reply #15 on: May 20, 2024, 05:29:17 AM »
You can change the device tree parameters in config.txt

Code: [Select]
sudo mount /mnt/mmcblk0p1
sudo nano /mnt/mmcblk0p1/config.txt

dtparam=act_led_trigger=heartbeat
« Last Edit: May 20, 2024, 05:33:46 AM by patrikg »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #16 on: June 10, 2024, 06:34:14 AM »
Finally got round to updating to piCore64-15.x beta.

Ref: http://forum.tinycorelinux.net/index.php/topic,26511.msg170886.html#msg170886

I don't see the kernel config, did we enable automatic bigger console fonts - without anything in cmdline.txt I still get 3840x2160?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1239
Re: piCore15.0 Beta
« Reply #17 on: June 10, 2024, 06:46:24 AM »
It’s enabled, but not sure how the kernel picks the font.  You can load the configs kernel module to see the config. 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #18 on: June 10, 2024, 07:51:49 AM »
All I see for fonts is this:
Code: [Select]
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

..wouldn't we need CONFIG_FONT_TER16x32=y?
« Last Edit: June 10, 2024, 07:53:47 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #19 on: June 10, 2024, 08:14:51 AM »
Booting with fbcon=font:TER16x32 gets me 3840x2160 and a minuscule font.

Booting with video=HDMI-A-1:1920x1080M@60 gets me 1920x1080 and a readable font.

..so I'd say TER16x32 is not available to the kernel.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1239
Re: piCore15.0 Beta
« Reply #20 on: June 10, 2024, 10:11:46 AM »
Which device/kernel are you using.  With Raspi, configs are all managed with defconfigs.  Perhaps I forgot to cherry pick a commit from 6.1.y to 6.6.y

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #21 on: June 10, 2024, 10:38:06 AM »
RPi4 6.6.28-piCore-v8

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1239
Re: piCore15.0 Beta
« Reply #22 on: June 10, 2024, 08:06:41 PM »
Patch was applied, a dependency is missing for extra fonts.   I'll have to rebuild kernels.   Some pretty significant pi5 changes anyway.

Offline geev03

  • Newbie
  • *
  • Posts: 31
Re: piCore15.0 Beta
« Reply #23 on: June 12, 2024, 06:25:22 AM »
Still trying to get sound via HDMI  :(
 
Code: [Select]

tc@box:~/neofetch$ ./neofetch --off
tc@box
------
OS: TinyCoreLinux 15.0 aarch64
Host: Raspberry Pi 400 Rev 1.0
Kernel: 6.6.28-piCore-v8
Uptime: 5 mins
Packages: 461 (tce-status)
Shell: sh
Terminal: /dev/pts/0
CPU: (4) @ 1.800GHz
Memory: 350MiB / 3790MiB
Audacity fails to start
Code: [Select]
audacity: error while loading shared libraries: libportaudio.so.19.8: cannot open shared object file: No such file or directory
tc@box:~$


tce-load -wi  vlc crashes the system !! 

[tc@box:~$ df -h /dev/sda1
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           3.4G   65M  3.3G   2% /
tc@box:~$ df -h /dev/sda2
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        28G  864M   27G   4% /mnt/sda2
tc@box:~$]
 


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #24 on: June 12, 2024, 06:51:27 AM »
Are you using alsa or pulseaudio?

What steps are you taking to get HDMI sound working?

Offline geev03

  • Newbie
  • *
  • Posts: 31
Re: piCore15.0 Beta
« Reply #25 on: June 12, 2024, 10:54:58 AM »
Alsa

Read the Forum  and tried
"
tc@box:~$ speaker-test -Ddefault:1 -c2 -t wav -l1

speaker-test 1.2.9

Playback device is default:1
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib conf.c:5671:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default:1
Playback open error: -22,Invalid argument
tc@box:~$

Tried  to edit

# default
pcm.!default {
   type plug
   slave.pcm "hw:0,0"
}

etc.
USB Sound card is in use now ( as temporary solution ).



Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1239
Re: piCore15.0 Beta
« Reply #26 on: June 12, 2024, 11:25:30 AM »
"Read the forum" doesn't tell us anything.

A pi400 has several different audio configurations, it all depends on what you put in your config.txt file.   We also need to know what extensions you have loaded.   Also check dmesg to see if there are any audio related errors.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #27 on: June 13, 2024, 03:38:56 AM »
I just tried with Xorg-3d:
Code: [Select]
speaker-test -D sysdefault:CARD=vc4hdmi0 -c2 -t wav -l1

aplay -D sysdefault:CARD=vc4hdmi0 /usr/local/share/sounds/alsa/Front_Center.wav

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
..works fine.

Following the above, running pavucontrol, which starts the dbus daemon and pulseaudio, xmms-pulse played music to the hdmi output without problems.
« Last Edit: June 13, 2024, 03:47:15 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: piCore15.0 Beta
« Reply #28 on: June 13, 2024, 03:46:09 AM »
Audacity fails to start
That is correct - I'll take a look.

Quote
tce-load -wi  vlc crashes the system !! 
vlc works without problems for me.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 708
Re: piCore15.0 Beta
« Reply #29 on: June 13, 2024, 04:21:23 AM »
I have to remind to check the config.txt file to modify the device tree:

https://www.raspberrypi.com/documentation/computers/config_txt.html#hdmi-audio
« Last Edit: June 13, 2024, 04:27:35 AM by patrikg »