TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Reverse-Engineering the Mali G78

122 pointsby cautionalmost 4 years ago

5 comments

anonymousiamalmost 4 years ago
Over 30 years ago, I was doing some OS9 (Microware, not Apple) development on a 68k embedded target. I needed a PIO driver that could do bi-directional I&#x2F;O. The OS came with a PIO driver, but it wouldn&#x27;t let you switch directions. I approached the vendor with several options:<p>1) I will pay you to write another driver with this functionality.<p>2) License the driver source code to me and I will do it.<p>For reasons I do not remember, they would not do either.<p>I ended up reversing their PIO driver and implementing a version with the functionality I needed. I was uneasy about doing this, but we never sold or distributed the work so it was probably legal. (The development was for an in-house application with just one target.)
rektidealmost 4 years ago
such colossal public good.<p>kind of weird to me that we still have so few phones that have started running mainline. there&#x27;s a lot of postmarketOS phones, but my understanding is they Helium&#x2F;libhybris which mixes in a ton of the Android support infrastructure&#x2F;drivers to do the job. i could be overly concerned, but there being so few distributions &amp; such specific distributions targeting phones is exactly the good this work OUGHT to be unlocking, &amp; it just seems like progress in making that happen is disorganized &#x2F; not really happening, alas alas alas.<p>getting a toe-hold in, where we start to see self-determinism on what our devices run, would be such a compelling &amp; powerful vision. i really hope we can start to see that!<p>ubuntu touch targets the Pixel3. i&#x27;d be curious to know what they did. PinePhone &amp; Purism really took it from the top, have their own hardware that starts in a more easy-to-work with set up. but I don&#x27;t see why that would be required to get a decent regular linux distro (arch, debian) running on a phone, with a gui (sans many device drivers!).
评论 #27900441 未加载
评论 #27903567 未加载
评论 #27899650 未加载
评论 #27900938 未加载
nicoburnsalmost 4 years ago
I don&#x27;t understand why ARM don&#x27;t just release the source to their drivers. Seems like they&#x27;d have a lot to gain and little to lose bu doing so.
评论 #27901152 未加载
评论 #27900843 未加载
评论 #27903543 未加载
评论 #27901344 未加载
评论 #27900855 未加载
fulafelalmost 4 years ago
This was good for a chuckle:<p>&gt; On Android, we must cross-compile from a desktop with the Android Native Development Kit, ironically software that doesn’t run on Arm processors.
评论 #27904403 未加载
pabs3almost 4 years ago
They probably could have avoided needing to cross-compile by using a chroot under Android. There are lots of tools, and also the manual way.<p><a href="https:&#x2F;&#x2F;wiki.debian.org&#x2F;ChrootOnAndroid" rel="nofollow">https:&#x2F;&#x2F;wiki.debian.org&#x2F;ChrootOnAndroid</a>
评论 #27903979 未加载