WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
TCB Q&A Forum / Re: Build scripts repository
« Last post by linic on July 15, 2025, 05:28:00 PM »
I doubt the process is manual but I can't find the build scripts.
Maybe amazingly so, the process is manual. At least, that's what I understood from my research. I list some relevant forum posts here https://github.com/linic/tcc?tab=readme-ov-file#this-is-not-building-or-compiling-from-scratch
I did make some scripts of my own in that github repo so I could rebuild parts of core.gz (got x86 only) without manually typing the commands. Those scripts were built using the "compile" files such as the one you mentioned I believe this one http://repo.tinycorelinux.net/15.x/x86_64/release/src/busybox/compile_busybox. Those "compile" files are actually notes from the person who did the compilation manually. Feel free to correct me everyone.
42
Corepure64 / speaker-test 20kHz sine wave No Go
« Last post by gharig on July 15, 2025, 12:40:47 PM »
Hello Everyone,

My problem today is that speaker-test does not produce a 20kHz sine wave on Tinycore 16.0 to the line out.  speaker-test does produce something just not a 20kHz sine wave.
Code: [Select]
speaker-test -t sine -f 20000 -X -l 0
However using the exact same hardware running Ubuntu 20.24 or 22.04 the following code works and a 20kHz sine wave is produced.
The difference being that the alsa versions are different between the 3 Operating Systems.
  • Tinycore 16.0 Alsa version is 1.2.13
  • Ubuntu 20.04 Alsa version is 1.2.2
  • Ubuntu 22.04 Alsa version is 1.2.6


Through my testing, starting at 8000 Hz, and incrementing by 1000 Hz, speaker-test does produce a sine wave, until I went over 15000 Hz then no more sine wave.  :)
 :)
Code: [Select]
speaker-test -t sine -f 8000 -X -l 0
speaker-test -t sine -f 15000 -X -l 0

 :(
Code: [Select]
speaker-test -t sine -f 16000 -X -l 0


The work around for the time being is to configure speaker-test  to play a 20kHz wav file,  this dose work and produces a beautiful sine wav :)
Code: [Select]
speaker-test -t wav -f /opt/20kHz.wav -l 0

Now for the people who will say why on earth do you want to produce a sound that no one can hear, and my reply is "Exactly".
I send the 20kHz sine wav across the audio line as a way to supervise that the audio line is fully functioning. The second the 20kHz tone stops we are notified and send someone out to fix the problem, whether it be hardware or someone accidentality cuts the wire, we want to know.  Basically the 20 kHz sine wave does not interferer with paging in the system.

My first thoughts on why the 20 kHz sine is not produced, is because of missing driver.  But I made sure that every sound driver that was loaded on Ubuntu was loaded on Tinycore.

Code: [Select]
sudo modprobe snd_seq_midi snd_seq_midi_event snd_intel_dspcfg

I also loaded AlsaPlugins.tcz just incase, but that did not make a difference. 
Code: [Select]
tceload -i alsa-plugins.tcz

The last thing I tried after was to set the format sample -F parameter to 96000
Code: [Select]
speaker-test -t sine -f 20000 -X -l 0 -F 96000At first when I did this I thought I was so smart.  A sine wave appeared, however I did not have a speaker hooked up, but when the speaker got plugged in I heard a high pitched noise. So the parameter affected the output but not the desired output that  I need.


Another thought that pass through my mind is could this be a configuration setting during the build of alsa that need to be turned on.
After all 15000 Hz does work. 




This is slightly related to a previous post linked below.
https://forum.tinycorelinux.net/index.php/topic,27673.0.html


Thank you
Any help is greatly appreciated
gharig
43
Raspberry Pi / Re: Pi Zero 2W WiFi with piCore 32-bit
« Last post by Paul_123 on July 15, 2025, 12:00:52 PM »
the 32 bit image is 32 bit user space.  With both 32bit and 64 bit kernels.  A kernel running in 64bit mode can execute 32bit user code just fine.

So when you download the 32bit image, it defaults to using the 32bit kernel for the PiZero2, but you can change it to the 64bit kernel if you want.  (Just be aware the 64bit kernel has a larger memory foot print, so on a memory limited device like the piZero2, the 32bit kernel is recommended.

The 64bit image only includes 64bit kernels.  The 16kpage size kernel is only for the pi5.

44
Raspberry Pi / Re: Pi Zero 2W WiFi with piCore 32-bit
« Last post by oso2k on July 15, 2025, 09:48:25 AM »
So I'm confused.  The Pi Zero 2W is a ARM v8 chip, just like the 3B.

However, the wifi drivers for it are packaged in wireless-6.12.25-piCore-v7.

Futhermore, piCore 32-bit says the CPU is being recognized as a v7l.

Quote
tc@box:~$ cat /proc/cpuinfo |head -n9
processor   : 0
model name   : ARMv7 Processor rev 4 (v7l)
BogoMIPS   : 38.40
Features   : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xd03
CPU revision   : 4
Am I misunderstanding something? Is there a map somewhere of which RPis map to which wifi drivers? 

In 64-bit it's clearer.  There's only v8 drivers and v8-16k which I assume is 16k mem pages.  I also assume that support would only be for 3B & Pi Zero 2W and newer machines.
45
TCB Q&A Forum / Re: Build scripts repository
« Last post by formaggio on July 15, 2025, 07:14:09 AM »
@patrikg

Thank you for your reply. I'm well aware of remastering but I would like to know the official build flags so that I can produce executables that are as if prepared and distributed by the maintainers. I found https://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions to be quite useful. For sudo, I could find the configure flags of sudo by running "sudo sudo -V". For busybox, I found the script at http://repo.tinycorelinux.net/15.x/x86_64/release/src/busybox/. These should answer my questions.

Anyway, it'd be nice if the scripts for producing ISO images are shared.

Thank you.
46
TCB Q&A Forum / Re: Build scripts repository
« Last post by patrikg on July 15, 2025, 06:44:12 AM »
47
TCB Q&A Forum / Build scripts repository
« Last post by formaggio on July 15, 2025, 05:44:40 AM »
I'm curious: is there a repository of scripts for producing a working ISO image from scratch? How does it work when you (the administrators/maintainers) prepare an ISO for a new release? I doubt the process is manual but I can't find the build scripts.

I would like to be able to build an ISO image myself and tweak the files in core.gz, specifically my goal is to update busybox and sudo to the latest versions using the official build flags.

If there isn't a repository, that's fine, but it would be great if you can point me to the place where I can find the build flags.
49
Extension requests / Re: rust-i586.tcz
« Last post by Juanito on July 14, 2025, 02:02:56 PM »
There are rust extensions in the piCore repos?
50
Extension requests / Re: rust-i586.tcz
« Last post by tinyjig on July 14, 2025, 01:41:39 PM »
Any chance that you have a version for ARM (e.g. raspberry pi)?
Pages: 1 ... 3 4 [5] 6 7 ... 10