Originally posted by s_j_newbury
View Post
Announcement
Collapse
No announcement yet.
AVR32 Architecture Called For Removal From Mainline Linux Kernel
Collapse
X
-
Well if it was another microcontroller architecture I'd definitely be raising an eyebrow, but seeing how we're talking about AVR32 I'm not exactly going to throw my hands up and protest.
When the first AVR32-based chips launched they did so into a market that had already been cornered by companies with way more money for development and marketing not to mention being more established. Their 8 bit ATMega chips did and still do have a nice niche, but you're just going to go up against ARM in the 32 bit microcontroller market and come out of it as a winner unless you have absolutely enormous amounts of money to burn.
- Likes 1
Comment
-
Originally posted by M@GOid View Post
Not so fast. A lot of embedded devices are 32bit only and the Linux kernel is king on this environment.Last edited by Azrael5; 01 May 2017, 12:14 PM.
Comment
-
Originally posted by Azrael5 View PostHow to know if an embedded device supports only 32bit?
Also looking at RAM size is a general rule of thumb to assume what hardware has no 64 bit support or is running in 32bit mode. Most embedded devices don't have anywhere near 512MiB. For a router even 128MiB is a lot.
Mobile segment is another matter, and quite frankly would do fine with 32 bit too, but having octa-cores, 6 GiB of RAM and 4k screens seems to be crucial for some models.
However if the main board manufacture states that its main board is 64bit compliant I assume its devices support both 32 and 64bit. Normally drivers are available for both the platforms.
32bit is usually chosen even when 64bit is available because it is faster for the intended tasks and uses less resources, which is preferred for embedded devices.Last edited by starshipeleven; 01 May 2017, 12:25 PM.
- Likes 1
Comment
-
Originally posted by brent View PostSeems reasonable to remove AVR32. This was Atmel's try to make a 32-bit architecture for microcontrollers and it failed pretty miserably in the market. It never took off and quickly was displaced by ARM's Cortex-M line of cores.
Microchip still offers it after Atmel acquisition. gcc still supports it AFAIK and that's much more relevant.
Comment
-
Originally posted by starshipeleven View PostLook at processor type. ARM v8 cores have theoretically support for 64-bit but pretty much all the times are run in 32-bit mode because they don't mount more than 1-2GB of RAM. Older ARM is 32 bit.
Also looking at RAM size is a general rule of thumb to assume what hardware has no 64 bit support or is running in 32bit mode. Most embedded devices don't have anywhere near 512MiB. For a router even 128MiB is a lot.
Mobile segment is another matter, and quite frankly would do fine with 32 bit too, but having octa-cores, 6 GiB of RAM and 4k screens seems to be crucial for some models.
embedded devices have no "main board" and don't usually state their bits.
32bit is usually chosen even when 64bit is available because it is faster for the intended tasks and uses less resources, which is preferred for embedded devices.
Comment
-
Originally posted by Azrael5 View PostSo linux operating system which kind of drivers install when 64bit platform has been chosen? 32bit or 64bit? How to know this information? If the user prefer a pure 64bit operating system what he must to do?
Userspace programs can be both 32 or 64 bits on a 64bit system or only 32 bit on a 32 bit system.
Hardware may be capable of working in 64 bit, but if you install a 32-bit kernel on it, it will work in 32-bit mode.
Comment
-
Originally posted by starshipeleven View PostI agree here but I still don't see how it is related to his post. He just ignores that 32bit in non-x86 archs isn't outdated garbage. We are all taking of arch-specific code here.
* SIMD accelerated functions are great, but they should be optimisations not a requirement, at least at source levelLast edited by s_j_newbury; 01 May 2017, 01:52 PM.
- Likes 1
Comment
-
Originally posted by s_j_newbury View PostMaybe I was reading too much into his comment, but to me it read that he was suggesting development should just focus on the architecture/platform du jour (or at least just 64-bit capable CPU designs). It brought back to mind the situation with Chromium and Firefox dropping generic portable code in favour of multi-platform implementations* or even just maintaining x86-64/SSE2+ code-paths, which apparently only I have a problem with.
* SIMD accelerated functions are great, but they should be optimisations not a requirement, at least at source level
I prefer them having more oomph to fix stuff on supported platforms than keeping the door open to an hypotetical new platform that isn't something that pops out overnight (so you have time to add it if needed).
Comment
-
The same thing happened with the h8300 architecture in 3.12. and later restored by Yoshinori Sato, but the kernel gatekeepers then treated it like a new architecture so the new version predominantly uses the kernel's generic code, making it incompatible with older kernels. Most importantly the syscall numbers are all different, yet there is no mention of that in any documentation. Likewise the commits that removed avr32 don't bother to document its removal anywhere. It would be nice to at least acknowledge previously supported architectures somewhere; not just for credits, but also just in case there is a revival of the architecture (like j-core is doing for SuperH)
Comment
Comment