View previous topic :: View next topic |
Author |
Message |
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9787 Location: almost Mile High in the USA
|
Posted: Wed Oct 09, 2024 6:50 am Post subject: late to party... armv6 for Raspberry Pi 2 share with 0W? |
|
|
I recently got a used Rpi2 and had a Rpi0W running Raspbian and never changed the OS. I stuck the 0W's raspbian µSD card into the 2 for testing, and it booted just fine. (Anyone had a Pi 2 fail due to SOC failure not due to twiddling with the GPIOs?)
Well, I figure I should be running Gentoo on these like all my other machines, as it seems like Raspbian is starting to break for old 32-bit units like the ones I have with repositories changing from old to oldold to wtfism. Figure that if x86 still works in Gentoo with amd64 becoming mainstream, arm should work after aarch64...
So the first quandary is using an armv6 stage 3... after playing with raspbian these Pis are slow (single core, my Atom N270 is faster than the Pi2 and my Celeron 500 beats the Pi0W) and I don't think I want to be building often so ideally I have one image that would work on either. So v6 stage3 should work on both the Pi2 and the 0w? If so, what would I be missing out not running the v7 stage3 on the Pi2?
Also was it a mistake to get the Pi2? Wasn't way too expensive, was a bit cheaper than what I paid for the 0W new, but with the 4/5's out that can do aarch64 I don't know. Alas I figure I won't be targeting the gpu much unless I get a display for either of them... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54558 Location: 56N 3W
|
Posted: Wed Oct 09, 2024 12:44 pm Post subject: |
|
|
Later Pi2s are actually slow Pi3s without the wifi.
Thats 4 core aarch64. Did you get lucky?
dmesg or /[poc/cpuinfo will tell.
THe boot time automatics will choose the right kernel unless the best kernel is missing from /boot or a kernel is forced in /boot/config.txt
ll the pis will run armv6 code. I have a feeling that the original kernel.img was not SMP enabled, so you ouly get one core.
uname -a
will be interesting too _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9787 Location: almost Mile High in the USA
|
Posted: Wed Oct 09, 2024 2:17 pm Post subject: |
|
|
I highly doubt I'd be lucky, then again knowing that 1GiB and amd64 isn't pretty, 1GiB aarch64 won't be pretty either.
From the raspbian image I got thee things in /proc/cpuinfo,
Code: | model name : ARMv7 Processor rev 5 (v7l)
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
Hardware : BCM2835
Model : Raspberry Pi 2 Model B Rev 1.1
|
Code: | Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux |
Oh well? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1161 Location: Richmond Hill, Canada
|
Posted: Wed Oct 09, 2024 2:24 pm Post subject: |
|
|
So you have a V7 kernel running V6 code. I think you will miss out some floating point hardware usage. (not that kernel using floating point, just application not able)
I am not 100% sure but I think V6 code does not support neon extension, so also missing SIMD too. |
|
Back to top |
|
|
|