Tiny Core Base > piCore Final Releases

piCore 14.0 (32 and 64 bit) release

<< < (17/17)

Paul_123:
A pi3 is armv7.
Pi4 in 32bit uses armv7l

I’ll have to take a look at logic around the Mirror setting.

polikuo:
Hi
Here's the difference between the two

--- Code: ------ tc-functions-13
+++ /etc/init.d/tc-functions
@@ -273,18 +273,23 @@
 } ' "$1"
 }
 
+getFullVer() {
+verid=$(grep '^VERSION_ID=' /etc/os-release)
+echo ${verid#*=}
+}
+
 getMajorVer() {
-awk '{printf "%d", $1}' /usr/share/doc/tc/release.txt
+fullver=$(getFullVer)
+echo ${fullver%.*}
 }
 
-
 getBuild() {
-BUILD=`getrpicpu`
+BUILD=`uname -m`
 case ${BUILD} in
- BCM2835) echo "armv6" ;;
- BCM2836) echo "armv7" ;;
- BCM2837) echo "armv7" ;;
- BCM2711) echo "armv7l" ;;
+ armv6l) echo "armv6" ;;
+ armv7)  echo "armv7" ;;
+ armv7l) echo "armv7l" ;;
+ aarch64) echo "aarch64" ;;
  *)      echo "armv6" ;;
 esac
 }

--- End code ---

Paul_123:
Yes, I already fixed it locally.  That’s what happens when git doesn’t get updated.  I found lots of cases where Core scripts on piCore did not match,  I just missed that one.

I’ll push up a dot release image soon.

Paul_123:
New 32bit image uploaded.  http://www.tinycorelinux.net/14.x/armv7/releases/RPi/piCore-14.0.1.zip
  -fixes Pi2/3 using wrong repo.

No other changes.

Navigation

[0] Message Index

[*] Previous page

Go to full version