200 points · by rapnie · 3y ago · 128 comments
I thought that Beagle Company was more tied to TI chips than this, I didn't expect a non-TI chip to come out of their boards.
Historically, Beagle has aimed at SBCs that are "weaker" than Rasp. Pi but far more "open". I trust their branding and the company. I don't consider them fully open (like Linux4Sam / Microchips stuff, which have open source U-Boot and other bootloaders immediately available for download). But open source is a "sliding scale", and Beagle has consistently been "more open" than most competitors. Don't let perfect be the enemy of good here, there will be far better drivers than Rasp. Pi (the biggest name competitor for sure).
BeagleBoards tend to be in the 1W to 5W region, while Rasp. Pis consistently are 5W+ (with the most recent Rasp. Pi even having a 20W+ adapter but probably averages at half that). RP4 averaging around 6W, so well above BeagleBoard stuff. Note that Rasp. Pi wins in overall compute-per-watt metrics, but also note that Xeon / EPYC are far more efficient in compute-per-watt. So... nobody should be using Rasp. Pi (or Beaglebones) for efficient computer. These are computers that "must" fit inside the 6W or 2W or whatever power-envelopes you needed. (Ex: running off of 1x 18650 Li-ion cell, or a solar-battery setup trying to shrink the size of the power-system)
This Risc-V Beagleboard doesn't have anything like that. There are some entities in the space that are working towards that though...LowRisc.org has a concept of "Minion Cores".
That being said: the latest chips from TI have significant improvements. PRUs always were wonky programs that were hard to grok. The more recent AM625 keeps the PRU for backwards compatibility (and buffs it up a bit), but IMO the on-board 400 MHz realtime Cortex-M4F is the more "obvious" realtime processor to use. Quad-Core Cortex-A53 should be plenty for most hobbyists as well.
Upgrading to DDR4 / LPDDR4 means tighter tolerances however, and the 441-pin (aka: 21x21 pins) AM625 probably needs 8-layers and maybe blind vias... while the older AM3558 (Beaglebone Black) can use DDR2 with much looser tolerances and only has 324 pins (aka 18x18). So 6-layers seems possible to me, maybe with a few pins disconnected.
If you want an open RPi equivalent, I'd look more at LibreComputer boards. Cheap and open
But... you get better IO yes, but also more importantly IMO, more open hardware designs. Ex: I'm pretty confident in being able to get an AM355x TI chip and (with enough effort on a PCB CAD tool) creating my own Beaglebone Black/Green. (Note that OSHPark offers 6-layer boards which should be good enough to route-out impedance controlled DDR to a BGA chip like the AM355x series... though it'd be tight).
BeagleBone AI and BeaglePlay have upped the complexity so I'm not sure if they'd fit on 6-layers, but they're open-enough designs that if I were to create a custom 8-layer or 10-layer run, it probably is doable.
https://news.ycombinator.com/item?id=36470660
https://www.cnx-software.com/2020/04/14/breadbee-tiny-embedd...
It's outside my area of expertise.. But I don't think making your own Beagleboard would be easy as you say.. At least I've not seen it done. Have you done that?
True. Unfortunately they're impossible to purchase outside of Amazon or at any EU shop that supports PayPal.
Please look at JH7110 instead, as it has much higher efficiency and draws much less power.
Boards include the VisionFive 2, Star64, Pinetab-V as well as Milk-V Mars.
I would say it's simpler than that: TI failed to release a RISC-V chip in a timely manner, whereas BeagleV (correctly) identified the direction the industry is moving towards.
Broadcom / Rasp. Pi chips have historically been _VERY_ bad at idle though compared to their peers. So I think its safe to say that RP5 will also be bad at idle (though I haven't read the spec sheets or seen any such tests yet).
“The Raspberry Pi 5 is the hottest of all the Raspberry Pi boards we have ever used. At idle, without any added cooling, it sits at around 50.5 degrees Celsius and consumes around 2.7 Watts“
If that were classified as “electrical and electronic household and office equipment”, they could not legally sell that in the EU (https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%... is not yet in force, but its predecessor already limit standby power usage to under 0.5W)
https://lore.kernel.org/linux-riscv/20230910082911.3378782-1... https://lists.infradead.org/pipermail/opensbi/2023-September... https://github.com/revyos/revyos/issues/17
So... yeah. We're all beholden to the factories that make these chips. At best, we can design systems that port between factories but unless you plan to build your own chip factory, I don't think there's much of a solution (or need) for open source CPUs.
I think there's a push for 180nm (ex: 2001-era) open source chip designs. But with many microprocessors available from 28nm or 40nm processes today (ex: 2012-era), I don't think the 180nm class chips stand a chance in any practical matter outside of weird space / radiation-hardened situations (180nm is better vs radiation apparently for reasons I don't fully understand).
------------
From "Beagleboard" perspective, their version of "open source" means freely available schematics and hardware reference designs, making it easy to build your own board and possibly even custom-boot your own versions of the Beagleboard.
At least... the previous paragraph is based on "reputation" as opposed to true analysis. I'd have to actually go through the documentation and think about PCB design carefully to really know.
For example, the "BeagleBone Black" was cloned by SeeedStudio and turned into "BeagleBone Green", a ground-up redesign of the board with the same chips. Proving that a 2nd company could in fact take these hardware schematics and rebuild a totally different project.
if it was good enough for the fastest PC processors in 2000 and the PS2 and gamecube, why wouldn't it be suitable for something like this?
But 28nm and 40nm are the cost-efficiency kings today. So what ever could a 180nm design ever offer the typical consumer outside of radiation-hardening?
And similarly, 5nm or 3nm server chips (like Xeon or EPYC) will always be at the forefront of power/performance/cost, you can't beat physics of shrinking transistors or the economics involved (though the most advanced node will need more-and-more volume to be cost-effective, as its become harder to build on these advance nodes).
There's almost no reason to ever pick an ancient 180nm design on a low-run when millions of 40nm or 28nm chips are being made, and/or billions of 5nm superior chips are being made.
>Based on these experiences, I’ve concluded that open hardware is precisely as trustworthy as closed hardware. Which is to say, I have no inherent reason to trust either at all.
It lays out the issues quite well. But... there's several things people here are forgetting:
OSHW isn't just about chips, but also boards, case designs & possibly more. Those other things can be inspected easily.
OSHW is also about supply security. Vendor folds? Take existing design & have another supplier manufacture it.
US buyer doesn't trust Chinese vendor? Nothing stopping that buyer from taking design to say, a US or EU based manufacturer. This includes IC designs.
OSHW allows modification & thus exchange of parts. So any part considered not 'open enough', can be exchanged for more acceptable one.
Not saying anything about the practicality of this. But with closed designs these options don't exist or are much, much more difficult.
And any vendor found to have tampered with an open design's manufacture, would see its reputation ruined (let's be honest, manufacturer would be the 'best' place to plant a backdoor, right?).
After all... I assume wouldn't be comfortable until you can run Qualcomm's verifier (or a libre community supported option) on TI's chips, or a similar model of 'trust but verify'.
We know that openC910 isn't the exact same chip as the C910, as it doesn't include the draft vector extension.
I guess you could say It’s a positive for us too, since you are not subsidizing the ARM royalties with every tech purchase you make. But I wouldn’t bet on this cost cutting being passed down to us.
I'd say it's the other way around, actually. And possibly a negative for the company in the current market, since it also needs to worry about competition based on their sources. The same as with open source software.
It's entirely positive for the consumer, since it gives them the choice to choose between several manufacturers of the same design, or even manufacture the product themselves, if they have the capability. Open hardware is the end goal of the right to repair movement, in this sense.
Even if the consumer doesn't have the capability to verify that the product they're using was built from open sources, they still retain their rights to modify, build and distribute their own versions. This is what "open" means. Note that this is the case with OSS too. It would be very difficult to prove that a specific binary was built from a specific source, but there's usually a degree of trust that the binaries provided by the developers were built from the same source the user has access to. The developers can also provide a mechanism for this to be validated, via checksums, reproducible builds, etc. I imagine that a similar mechanism might exist for hardware as well.
Is TI hoping to grab RISC-V developers/enthusiasts with the Beagleboard now (keep them from moving to Chinese RISC-V SBCs), and later migrate these users to a TI RISC-V SoC & Beagleboard when it's ready?
Is this a royalties negotiating tactic with Arm?
Odd negotiating tactic with US lawmakers (e.g., "If we're restricted too much in international engineering collaboration, we'll have to source a black box from China, and put it into everything")?
Symbolic deal with some entity in China?
Some Beagleboard business unit trying to increase its own profitability, not just a devboard to promote TI chip products?
Something else?
This isn't TI. Read the bottom of the page, it's a Michigan based nonprofit.
> The BeagleBoard is a low-power open-source single-board computer produced by Texas Instruments in association with Digi-Key and Newark element14. The BeagleBoard was also designed with open source software development in mind, and as a way of demonstrating the Texas Instrument's OMAP3530 system-on-a-chip.[8]
https://en.wikipedia.org/wiki/BeagleBoard
That page includes the BeagleV-Ahead.
There is a placeholder CSR mconfigptr that I believe is intended to fix this by pointing to a DeviceTree blob which would solve this (someone correct me if I'm wrong) but none of that is standardised yet.
I work on RISC-V and I think it's great and ARM should be very very worried but if you buy this you're on the bleeding edge and don't expect the software experience you'd get on x86 or even RPi. Give it a few years and I expect the story will be very different.
Avoidance of fixed memory addresses is intentional and by design.
The boot and platform specifications cover how to deal with this.
In its simplest form, when your code runs, you get a pointer to a DTB in a specific register.
More complex variants include the RISC-V UEFI protocol (ratified) as well as the (work in progress spec) ACPI protocol.
https://stackoverflow.com/a/56235466/265521
> ACPI is the unprofessional, hackish attempt of bios and board vendors to solve a small subset of the problems that DT already solved long ago.
> In November 2003, Linus Torvalds—author of the Linux kernel—described ACPI as "a complete design disaster in every way".
I'm not sure Linus has the best design sense but it doesn't sound like he is wrong here:
> Much of the firmware ACPI functionality is provided in bytecode of ACPI Machine Language (AML), a Turing-complete, domain-specific low-level language, stored in the ACPI tables.[7] To make use of the ACPI tables, the operating system must have an interpreter for the AML bytecode. A reference AML interpreter implementation is provided by the ACPI Component Architecture (ACPICA). At the BIOS development time, AML bytecode is compiled from the ASL (ACPI Source Language) code.
Wtf.
Why? This came up in the thread about the new rpi. These connectors have no place in 2023.
MicroHDMI, idk.
If you want to support Thunderbolt or DP, you're looking at a lot of extra hardware (if the SoC even has a way of talking that quickly off-chip) or you need support directly on the SoC. If you don't support Thunderbolt or DP, what other video interface is there but some variant of HDMI?
As for the lack of USB-C interfaces on this or the RPi, think for a minute about why you don't see 7-port USB-C hubs and see a maximum of 4 USB-C ports on laptops. USB-C even before PD might have to source 5V at 3A. That's 15W of power for every port--that's almost higher than the power spec for a 7-port USB 2.0 hub!
I will, however, concede the point about the really stupid micro-USB 3.0 connector for power. That's just incredibly dumb. This is a Chinese-made board--shrug--presumably LCSC was running a special. I do agree that any system like this should be designed with USB-C PD since peripherals are going to suck down power even if the board itself can work with 5V/900mA.
I'm curious why you think these connectors have no place in 2023... They are fragile, sure, but I'm not sure they are entirely useless.
The size is probably to save space on the board - looks like they try to keep to relatively the same size and mounting holes as previous boards.
I have an entire box of these mini-normal converter cables because of boards like this. OK when messing around but I can see the frustrations if you're not used to it.
Stallman saw this coming decades ago. And I firmly believe he will be proven right in due time.
Don't run Intel and AMD CPUs then!
a) the source code of the secure enclave is 100% open source b) I can compile my own version of it c) I can run my own version of it d) I face no reprecussions (i.e. services not working, DRM not working, ...) if I choose to do so.
This is all fine and dandy for key storage purposes; you actually want all of these to guarantee that your keys are safe. But modern enclaves are primarily used for DRM, and this just doesn't work if I can just patch a way into my enclave to get the key if I really want to.
So, I'd much rather have a system with no enclave which I can attach a HSM to than a secure "trust me bro" enclave.
DRM was the original sin of computing, and nobody can convince me otherwise.
A plain USB stick is not a secure place for a keystore as a compromised kernel could trivially copy it and send it somewhere else for cracking.
The crucial problem is that the IT industry is more concerned about using it to enforce DRM instead of educating users so they can use it to retain ownership of their services.
Alibaba T-Head TH1520 SoC
2GHz quad-core RISC-V 64GC Xuantie C910
3-issue 8-execution superscalar with out-of-order issue/completion/retirement
64KB I and 64KB D L1 per core
1MB shared L2 cache
4TOPS@INT8 neural processing unit (NPU) @ 1GHz
50GFLOPS, 3Mpixel/s Imagination BXM-4-64 graphics processing unit (GPU)
2x image signal processor (ISP)
Video codecs
H.265/H.264 @ 4Kp75 decode
H.265/H.264 @ 4Kp40 encode
4GB RAM, 16GB eMMC, PHY: AP6203BM for Wifi/Bluetooth, Realtek RTL8211F-VD-CG Gigabit Ethernet, microsd, microUSB, micro HDMI.50GFLOPS, 3Mpixel/s Imagination BXM-4-64 graphics processing unit (GPU)
A typo on the fillrate? It has to be 3 billion pixels/s, right? At 3 million you can't fill 640x480 VGA at 10 fps, even ...
I found another article [2] that talks about both the BeagleV and another board using the same chip, the LiceePi4a [3] which says "50.7GFLOPS, Fill 3168M pixels/s". As the designs are probably very similar, it almost certainly is a typo.
[1] https://www.anandtech.com/show/16155/imagination-announces-b...
[2] https://riscv.org/blog/2023/07/the-release-of-the-first-two-...
The core designs are XuanTie, which is open / royalty free. What about the GPU?
Are any schematics or data sheets posted for the board? Design files?
https://www.imaginationtech.com/products/gpu/img-b-series-gp...
They appear open source friendly, but both this gpu & SoC being fairly recent, we'll have to wait & see how this goes.
GPU design itself is closed, like for practically any other (modern) gpu.
No doubt this board will have many applications. With this powerful cpu+gpu, desktop replacement could be among those. But lack of regular USB connectors (or external hub required) is a big drawback.
Also I prefer RPi style gpio header. But that's just me.
Agree. And some VHDL / Verilog while we're at it.
(This isn't doesn't include the draft vector extension present in the C910)
It's progressing fast which is great but they're not yet competitive vs some random ARM board. So who is buying these in this sorta "catching up" phase?
BeagleV-Ahead is interesting, but I think most people who are doing hobby embedded projects would prefer to use the TI-based BeaglePlay.
BeaglePlay is supporting single-pair Ethernet for example (I forget which version though... I think the "not-CANbus replacement" one but I dunno for sure). As well as LoRA. And at $99 its cheaper too. And they've also got BeagleConnect-Freedom boards to easily integrate that LoRA radio.
It's expensive to play with right now. But the specs are cool. 1km lengths is nuts, and a PoE-like feature on a singular twisted pair minimizes the wiring requirements on industrial scale plants.
Hobbyists probably should stick to PoE honestly. But playing with new protocols is still fun.
The PRUs are still there for now, but not very well supported. (You do get multiple Cortex R's.) Once the RP1 is fully documented and exploited the PI5 will probably become even more popular for hobbiest IO, but that's in a different market really.
The Jacinto7 line is still pretty popular in some circles and there are some boards around the series. It's a bit of a confusing line though since the same dies are offered in multiple product lines targeted for different markets.
Beaglebone AI64 (TI TDA4VM, 2xA72, 4GB, NVMe, $185) : https://www.beagleboard.org/boards/beaglebone-ai-64
TI SK-AM69 (AM69 - same die as TDA4VH, $400, 8xA72, 32GB RAM, PCI-e, NVMe): https://www.ti.com/tool/SK-AM69
If the SK-AM69 supported transformer models (i.e. llama.cpp) in it's NPU it would probably be perpetually out of stock.
This board is on a much bigger scale, both in compute power and in size. It is a SoC mounted on a SBC, not a MCU devboard.
You'd be better off looking elsewhere, like ESP32-C series or Milk-V Duo.
This list[0] might prove helpful.
0. https://codeberg.org/20-100/Awesome_RISC-V/src/branch/master...