12 ms·
Android Ported to RISC-V
- hackmin 6y agoHack
- hackmin 6y agopubg
- dmitrygr 6y agoI doubt they have the AOT compiler working. So it is probably interp-only. Combine that with the low clock speeds a d less-than-stellar IPC, I'd imagine this is a cool demo and little more.
- MaxBarraclough 6y agoI'm not very familiar with Android but it looks like they've ported the dex2oat compiler to RISCV. [Warning, large text file] https://raw.githubusercontent.com/T-head-Semi/aosp-riscv/main/patches/art/0001-New-arch-Riscv64.patch https://raw.githubusercontent.com/T-head-Semi/aosp-riscv/mai...
- einpoklum 6y agoIt is actually worrying that there will be a push to run a Google-dependent platform on RISC-V's. After all, we know that a lot of functionality is closed into Google Play Services, so that AOSP is to a great extent a bait for being fully tied to Google. Even without relying on closed-source components, you're still relying on Google's interest and good will in maintaining that project. Instead, it's much more important to promote the "porting", or rather the adaptation, of Linux and *BSD distributions to work on RISC-V. Like with the Raspberry PI I suppose.
- throwaway4good 6y agoThere is Huawei HarmonyOS which I believe aims to be compatible with Android mobile apps but has a different kernel and is not reliant on Google mobile services.
- SirLotsaLocks 6y agoI'm excited to see where HarmonyOS goes. If google had to compete with another mobile OS it would be interesting to see what they do.
- pjmlp 6y agoHarmonyOS has nothing to do with Android, besides also supporting Java (proper Java not Android Java dialect), among its official languages. https://developer.harmonyos.com/en/docs/documentation/doc-guides/harmonyos-features-0000000000011907 https://developer.harmonyos.com/en/docs/documentation/doc-gu...
- kanwisher 6y agowrong according to wikipedia, its a direct rip off of android https://en.wikipedia.org/wiki/HarmonyOS https://en.wikipedia.org/wiki/HarmonyOS Huawei claimed that HarmonyOS is a microkernel-based, distributed OS that is completely different from Android and iOS. [23] However, it was later revealed that HarmonyOS 1.0 was based on Android 9 and supported ADB, the Android Debug Bridge. [24] In September 2020, it was found that HDC, the debug bridge in HarmonyOS 2.0, was again based on ADB. [25][26] A video of HarmonyOS 2.0 developer beta running on mobile was then posted, showing that the beta was just the same as Android 10 and no significant changes have been made in the name of HarmonyOS operating system. [27][28][29][30] The future architecture, however, would be based only on HarmonyOS microkernel, according to the HarmonyOS roadmap.
- pjmlp 6y agoThis is what matters when the devices hit the road, "The future architecture, however, would be based only on HarmonyOS microkernel, according to the HarmonyOS roadmap".
- guerrilla 6y agoIs there really any risk of Linux not becoming common on RISC-V as soon as a few devices get popular enough? Isn't Debian already there? And won't this help that?
- CivBase 6y agoFrom the article, I assume T-Head only ported the open-source Android operating system to RISC-V and not the closed-source Google Play Services. Android itself is not dependent on GPS, although it is certainly less useful - even with a replacement like MicroG.
- eeZah7Ux 6y agourgh
- AlexAltea 6y agoRelated: https://www.cnet.com/news/chip-designer-arm-ditches-huawei-because-of-trump-ban/ https://www.cnet.com/news/chip-designer-arm-ditches-huawei-b... Unsurprisingly, this has been done by Alibaba-owned T-Head Semiconductor. The obvious result if Chinese vendors start facing obstacles to obtain licenses to manufacture ARM-based chips (or any other non-Chinese architecture). How can anyone expect that software/hardware-bans to global superpowers can result in anything but their software/hardware-independence in the long run?
- d3ckard 6y agoThat's good though. That means they have to invest in R&D instead of depending on exploiting cheap labour to brute-force their way into the market. If they invest in R&D, they need creative people who are up to date. Such people tend to bring change to the society at large(I'd say democracy is really good for creativeness to flourish). Basically, the goal is not to expunge them from the market, the goal is to make them compete under the same rules.
- varispeed 6y agoDo you know that nothing stops them from rounding up engineers are move them to a camp with an order to develop certain technology in exchange for bread and water and that their families will live? Soviet Union for example used to build entire cities where they crammed engineers from all over the Union, however rather than being exploited, the engineers had special privileges. But that easily could change with a stroke of a pen of a dictator.
- d3ckard 6y agoIt's hard for people to be creative under pressure. Half the work in management of software companies is managing employee stress so they can do their work efficiently. My point is precisely that to get creativeness, you have to create right environment and that environment leads the way to less authoritarian rule.
- 6y ago
- xiphias2 6y ago,,Compatibility with graphically intensive apps, like games, will be a problem as many game engines are written natively in C and C++, and specifically target the Arm architecture.'' I'm quite OK with that if I get a better battery life in return. I depend on Google services though.
- bhouston 6y agoI expect RISC-V to match Apple's ARM implementations efficiency/speed within the decade. This is a long time but it is a very lofty goal as Apple's ARM implementation is a moving target to RISC-V has to move faster. But it likely will come close to converging around 5 years from now -- at least somewhat competitive in core count and single core performance. Interesting times. I look forward to the first AMD Ryzen-like chipset designs for ARM and RISC-V. That is an innovation that is just waiting to be taken advantage of by these newer architectures.
- alexhutcheson 6y agoThat might be true, but I wouldn't expect the microarchitectures that achieve this performance to be free (in either the "gratis" or "libre" senses of that word). Designing a superscalar application processor requires an enormous amount of work by engineers who are experts in their field, and that work needs to be compensated somehow. The ISA may be open, but there is no requirement for the microarchitecture implementing the ISA to be, and it's hard to imagine anyone doing the work to produce a performance-competitive chip and then giving it away. Even if there is a "consortium" model where multiple companies benefit from a single design, they would likely set up some sort of licensing arrangement to prevent free-riding by companies that did not contribute to the design.
- tipsysquid 6y ago> I wouldn't expect the microarchitectures that achieve this performance to be free (in either the "gratis" or "libre" senses of that word) I agree with you on this as an eventuality of risc-v. But my casual following of the space leads me to believe that a high-performance open baseline of these architectures will be available and customization/special purpose of these archs will be for purchase. I'm hopeful some of the benefits will be contributed upstream. As long as there is some competition in the architecture space (ARM, x86, risc-v), the more likely builders will share gains upstream to compete against rival platforms. That's my wishful thinking at least.
- alexhutcheson 6y ago