5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 7y ago · link · parent
TX2 in particular has a fascinating history: https://en.wikichip.org/wiki/cavium/microarchitectures/vulca...
comment 7y ago · link · parent
For example, back in 2012, I supported three SIL OFL licensed fonts on Kickstarter:
https://www.kickstarter.com/projects/typesenses/font-design-... https://www.kickstarter.com/projects/impallari/fast-brush-sc... https://www.kickstarter.com/projects/marcelommp/folk-is-a-gr...
comment 7y ago · link · parent
Package signing is (hot take!) overrated and can be somewhat theater. It helps if your package manager connects to third party mirrors, but otherwise, the only threat it protects against is "the https server is compromised but the package build farm is not". I don't know why anyone would worry so much about that.
comment 7y ago · link · parent
If you look at the API https://blog.rust-lang.org/2018/12/21/Procedural-Macros-in-R...
it works on the level of raw tokens, not even the AST. So you have to construct your own AST via the parser if you want to manipulate AST.
comment 7y ago · link · parent
Rust procedural macros are like external tools, manipulating the AST as a structure. In D, compile time code is seamlessly interleaved with other code – you just have `static if`, `static foreach` etc. in your code.
I'm not sure what you mean by "new pseudo-language to work with mixins". The term "mixin" is unfortunately overloaded: the `mixin()` call just splices a string into the code, while `template mixin` is a way to expand a template where you want it. Neither introduces new complex structures.
comment 7y ago · link · parent
You don't even have to run Linux at all. FreeBSD/aarch64 works great on a Pi3 (as a headless server at least, VC4 is not ported)
comment 7y ago · link · parent
comment 7y ago · link · parent
Why? I recently enabled amdgpu on FreeBSD arm64 — as soon as KMS happened, 3D just worked. There was some buffer corruption (https://user-images.githubusercontent.com/208340/60443774-97...) for which I've had to cherry-pick this tiny Linux patch: https://patchwork.kernel.org/patch/10778815/
> packages for chromium browser on arm64
And we have Firefox, which doesn't break, has a working JS JIT, works on Wayland, renders with WebRender :)
comment 7y ago · link · parent
comment 7y ago · link · parent
I hope the PCIe works fine. And I hope the firmware will be FOSS like on their MACCHIATObin.
One thing they revealed is that the chip is overclockable (including memory), which is awesome. IIRC they got 2.5ish GHz core clock working. Would be amazing if it does like 3GHz with a voltage boost. (I don't expect software voltage control… but there's always hard mods :D)
comment 7y ago · link · parent
> memory-cacheability-attibutes issues
Recently I've added aarch64 support to FreeBSD's port of the DRM/KMS drivers :) Took a couple hours to realize that our implementations of Linux's mapping functions used normal uncacheable memory instead of device memory – fixing that stopped the hangs on driver load and allowed everything to work.
Then there was some corruption on the screen – our drm-kms is from Linux 5.0 for now, and I've had to cherry-pick a fix that only landed in 5.1 I think: https://patchwork.kernel.org/patch/10778815/
comment 7y ago · link · parent
The amdgpu kernel driver POSTs the GPUs when loaded just fine! I run an RX 480 on a MACCHIATObin with FreeBSD and Wayland only :)
Plus, there are two ways to get the GPU in UEFI already – X86EmulatorPkg and native aarch64 GOP driver builds provided by AMD.
comment 7y ago · link · parent
Still… X86EmulatorPkg allows running an amd64 VBIOS in UEFI on an aarch64 machine :)
AFAIK the bigger problem on embedded boards is half assed Synopsys Designware host controllers. I have a Radeon running on my Marvell MACCHIATObin, on FreeBSD even. But from what I've heard the Rockchip RK3399 has a worse version of the controller, and people trying GPUs on the ROCKPro64 saw errors related to not large enough BAR space or something.
UPD: yeah, someone in the thread mentioned BAR space issues wrt NXP i.MX SoCs, that's probably what's happening on Rockchip. Would be amazing if the Broadcom chip in the Pi turns out to be the one with enough BAR space! :D