Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: aus9 on August 23, 2020, 10:28:58 AM
-
Firstly I have a RPI 4 but chose to download the image for arm6. Now looking at Apps for the alleged dep list I see something weird
tc@rpi:~$ uname -r
4.19.81-piCore-v7l
tc@rpi:/mnt/mmcblk0p2/tce/optional$ cat wifi.tcz.dep
wireless_tools.tcz
wpa_supplicant.tcz
tc@rpi:/mnt/mmcblk0p2/tce/optional$ cat wpa_supplicant.tcz.dep
libnl.tcz
openssl.tcz
readline.tcz
tc@rpi:/mnt/mmcblk0p2/tce/optional$ cat wireless_tools.tcz.dep
wireless-KERNEL.tcz
That looks good in the terminal but here is my Apps size TAB info
ca-certificates.tcz 2162688, 2.06 MB
libnl.tcz 368640, 0.35 MB
openssl.tcz 1519616, 1.45 MB
readline.tcz 135168, 0.13 MB
wifi.tcz 8192, 0.01 MB
wireless-4.9.22-piCore-v7.tcz Error, not found
wireless_tools.tcz 57344, 0.05 MB
wpa_supplicant.tcz 483328, 0.46 MB
Total size (bytes) 4734976, 4.52 MB
+ Indicates need to download 0, 0.00 MB
I can only assume, if I had downloaded the 7l image.....Apps would think I am on 7l and display the correct wl TCE?
but arm6 does not have a 4.9.22 so now really confused.
-
Dep files always contain a -KERNEL reference, so those are fine. When tree files are built, the kernel names get inserted by the site.....sometimes they don’t get updated when copied from older repos.
-
There is no image specifically for armv6 - the 32-bit image is common to RPi0 -> RPi4.
If you have an RPi4, it will download *piCore-v7l* kernel module extensions, If you have an RPi3, it will download *piCore-v7* kernel module extensions, both from the armv7 repo.
The server script cannot cope with two different sets of kernel module extensions in one repo, hence the error.
I presume the same problem exists in the x86 repo, but as hardly anybody uses Core64, the issue hasn't arisen.
-
@Paul_123
please mark as solved. It was my failure to understand the multi-flexibility of the RPi images that lead me to think I needed to download the arm6 to build for arm6.
cheers
-
Hi aus9
Done.
-
thanks Rich
the 32-bit image is common to RPi0 -> RPi4
I had failed to research this aspect. I can now see the sizes are the same. Anyhow I have manually adjusted my dep file based on kernel
uname -r
4.19.81-piCore-v7l
cat wireless_tools.tcz.dep
wireless-4.19.81-piCore-v7l.tcz
I have confirmed by web browser something Juanito had said earlier....but it does not hurt to check....
Apps is showing me the TCE list for arm7 and not arm7l because at the top of
http://tinycorelinux.net/11.x/armv7/tcz/
I can see 2 alsa module TCEs.....the same hits for Apps
my brain....a kingdom for a brain (giggles)
-
Somewhat confusingly the RPi4 uses the armv7 repo, but piCore-v7l kernel modules - you'll see that the armv7l repo has been dropped for piCore-12.x
You don't need to adjust any dep files, -KERNEL will work.