News for hackers. Stuff that matters.
Re:Raspberry Pi 4 PCIe bridge “chip” by joezydeco on Wednesday July 01, 2020 @10:34AM (#23701771)
Yeah, I know you're not trolling but that comes up every.single.time. alternatives to RPi are mentioned. We get it: it's cheap. I can get a running Linux board for $30 so kiss off.

There's no other board in this range because the other chipmakers aren't subsidizing their boards or ecosystems in this fashion. So there's no answer to that.

But I know what my time is worth and I'd rather spend $150-$200 more on a Beagle X-15 or Boundary Nitrogen or Toradex Colibri and get the documentation and schematics and all the source I need to make it do things like eMMC and PCIe. If I spent more than 2-3 hours on hacking chips into the board I've already lost.

Re:Raspberry Pi 4 PCIe bridge “chip” by fullstop on Wednesday July 01, 2020 @10:54AM (#23702026)
I've played around with a few other boards besides Pi, and I'm always let down by the kernel support. A lot of them are stuck on ancient kernels or you're at the mercy of their BSP drops.

The Beagles at least have mainline kernel support, but things like pine64 and odroid still rely on a lot of patches or binary blobs.

Thanks for pointing out the X-15, though.. I've not looked at Beagles since the Beaglebone Black. It looks like an impressive board with mainline kernel support.

Re:Raspberry Pi 4 PCIe bridge “chip” by posguy on Wednesday July 01, 2020 @01:03PM (#23703778)
The Allwinner A64 has nearly complete mainline kernel support at this point, hence the release of the PinePhone: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matri...
Re:Raspberry Pi 4 PCIe bridge “chip” by jstanley on Wednesday July 01, 2020 @10:53AM (#23702007)
Well, for hobbyists just messing around on their own time, "just pay $200, your time should be worth more than that" isn't really a sensible answer.
Re:Raspberry Pi 4 PCIe bridge “chip” by simias on Wednesday July 01, 2020 @11:15AM (#23702333)
If you're a software engineer with the skills to mess with low level interfaces like that, $200 doesn't seem that insane, especially since those are general purpose boards that can easily be repurposed. I mean of course I realize that for many people $200 is a lot of money but I'm willing to bet that for the average HNer it's really not that big of a deal.

Besides TFA's chip requires desoldering and resoldering an SMT chip from the RPi's tiny and densely populated motherboard, not exactly Soldering 101.

Moreover if you're really just starting with low level programming, want to mess with basic electronics and things like that then don't get into PCIe, actually don't even get into Linux. Just get a cheap-o ARM microcontroller board, a multimeter and a $10 saleae digital analyzer clone from ebay and play with that, you'll learn a lot more that way.

Re:Raspberry Pi 4 PCIe bridge “chip” by jstanley on Wednesday July 01, 2020 @11:18AM (#23702390)
$200 isn't a big deal for something you really want, but at the margin, on projects that you don't even know you're going to bother finishing, it's the difference between being able to justify taking a punt on it and not.

That's why the Raspberry Pi is so popular.

I agree with everything you said about using cheap microcontrollers to experiment with basic electronics projects.

Re:Raspberry Pi 4 PCIe bridge “chip” by amelius on Wednesday July 01, 2020 @12:51PM (#23703621)
Not if you want to install such a computer in every single room of your house.

Or if you want to build a cluster, like this guy:

https://www.youtube.com/watch?v=78H-4KqVvrg

Re:Raspberry Pi 4 PCIe bridge “chip” by HeyLaughingBoy on Wednesday July 01, 2020 @01:12PM (#23703902)
Yes, but for the cases where you don't need to do that, the Pi can blow it out of the water.

I have an STM32-based controller board next to me (I'm a firmware developer) and I had originally suggested that instead of us spinning up a custom board, we use a BeagleBone or RPi Compute Module and build out the I/O and take advantage of all the OSS out there. I got a lot of pushback that I wasn't willing to fight (I said it a couple years ago with the same results), but if we had gone that route, the entire project would have been done months ago. Same would have been true the first time I brought it up on that other project.

Sure the Pi's are cheap and attractive, but it's the ecosystem that provides the real value. And these days, with software usually being the main cost of the project, you can't beat OSS.

Re:Raspberry Pi 4 PCIe bridge “chip” by milesvp on Wednesday July 01, 2020 @08:49PM (#23708709)
I recently did an embedded job where we essentially used a mkrzero as our dev board. It saved us a ton of time on writing the firmware, since we didn’t need to wait for and debug prototypes. And the final schematic took way less time as well, since we could reference the mkrzero for things that might require guessing what the datasheets actually require.

There’s a lot to be said for having a commercial product with multiple revisions to avoid painful guesswork.

Re:Raspberry Pi 4 PCIe bridge “chip” by HeyLaughingBoy on Thursday July 02, 2020 @09:57AM (#23713132)
The Rev4 I referred to in this post: https://news.ycombinator.com/item?id=23680157 used an OSHW board as a reference for a chip I had never used before and I was able to incorporate the Arduino library for it. Just brought the new hardware up yesterday. OSS/OSH saved me tons of time.
Re:Raspberry Pi 4 PCIe bridge “chip” by RealStickman_ on Wednesday July 01, 2020 @11:03AM (#23702150)
The RockPro64 has an x4 PCIe slot. The 2gb model is 60$ and the 4gb one is 80$. Add ~20$ for accessories and you have a nice little board that should be faster than the RPI and has more features.
Re:Raspberry Pi 4 PCIe bridge “chip” by floatboth on Wednesday July 01, 2020 @02:54PM (#23705067)
Rockchip's PCIe is kind of a joke, you can't use a GPU there because there's not enough BAR space. But yeah, you could run an NVMe drive or a big NIC, I guess.

Also, the heterogeneous 2xA72+4xA53 CPU setup is ehh.. :/ What's really cool about the RPi4 is that there's four A72 cores. And now 8GB RAM. And https://rpi4-uefi.dev.

Re:Raspberry Pi 4 PCIe bridge “chip” by rvense on Wednesday July 01, 2020 @04:21PM (#23706096)
I've put a 4-port SATA controller in mine and use it as a NAS. Haven't benchmarked it but it works well.
Re:Raspberry Pi 4 PCIe bridge “chip” by jsight on Wednesday July 01, 2020 @01:38PM (#23704200)
If it is anything like the Rock64, it will also be unstable, negating much of the benefit.
Re:Raspberry Pi 4 PCIe bridge “chip” by rvense on Wednesday July 01, 2020 @04:21PM (#23706103)
I have one that's run well for a year. It's only been offline when I've powered it off myself.
Re:Raspberry Pi 4 PCIe bridge “chip” by jsight on Thursday July 02, 2020 @08:30PM (#23719697)
Mine hard locks regularly requiring a power cycle. It is even worse with more recent kernels.
Re:Raspberry Pi 4 PCIe bridge “chip” by gregmac on Wednesday July 01, 2020 @11:03AM (#23702148)
> There's no other board in this range because the other chipmakers aren't subsidizing their boards or ecosystems in this fashion.

Can you elaborate on this? Who is subsidising the Pi, and why?

Re:Raspberry Pi 4 PCIe bridge “chip” by monocasa on Wednesday July 01, 2020 @11:36AM (#23702621)
Broadcom. They get a lot of kickbacks from the British government, AFAIK.

Edit: Not sure why downvoted. Broadcom very much is able to write off a ton as donations to charity, since the rpi foundation is a British charity. They also get sweet heart deals from the UK based on that. The UK gets the ability to put a passable personal computer on every child's desk, like they've been attempting to do since the BBC micro days.

Re:Raspberry Pi 4 PCIe bridge “chip” by sosborn on Wednesday July 01, 2020 @12:59PM (#23703739)
> Broadcom very much is able to write off a ton as donations to charity

If I donate $1000 dollars so that I can "write it off," do I come out ahead financially?

https://www.youtube.com/watch?v=XEL65gywwHQ

Re:Raspberry Pi 4 PCIe bridge “chip” by monocasa on Wednesday July 01, 2020 @01:10PM (#23703877)
If you count your engineers' spare time as billable hours donated to charity, and then sell the chips to that charity at cost, but write off the profit as charitable donations to reduce your overall tax burden, you sure do. Particularly for chips that weren't going to be sold anyway (the original SoC was from a Roku like device that had been EoLed and Broadcom had been left with a surplus of the chips they didn't know what to do with).

Which I'm not counting as a negative. This is successful example of charitable giving where everyone wins.

Just because Kramer didn't know the process behind writing things off, doesn't mean that there isn't a real process and it isn't being used in this case.

This is the whole reason why the rpi foundation is a charity, to allow these financial structures.

Re:Raspberry Pi 4 PCIe bridge “chip” by sosborn on Wednesday July 01, 2020 @03:08PM (#23705210)
> Just because Kramer didn't know the process behind writing things off, doesn't mean that there isn't a real process and it isn't being used in this case.

I'm not saying it isn't a real process. I'm saying it isn't magic. Reducing your taxable income by $1,000 doesn't mean you save $1,000.

Re:Raspberry Pi 4 PCIe bridge “chip” by monocasa on Wednesday July 01, 2020 @03:11PM (#23705233)
I never said it did.

But marking your engineers' spare time as donated since your contract owns everything they produce anyway, and selling chips at cost and marking the profit as a donation when you were probably going to take a loss on them does in fact net you ahead.

Re:Raspberry Pi 4 PCIe bridge “chip” by joezydeco on Wednesday July 01, 2020 @04:12PM (#23705977)
My gut says these SoCs are being sold below cost.
Re:Raspberry Pi 4 PCIe bridge “chip” by monocasa on Wednesday July 01, 2020 @04:30PM (#23706212)
IDK, even rpi4 is still on 28nm which is the cheapest process per gate right now. And they really have very few gates allthibgs considered. I could absolutely see somewhere between $5 and $10 at cost, not counting R&D.
Re:Raspberry Pi 4 PCIe bridge “chip” by mprev on Wednesday July 01, 2020 @01:49PM (#23704303)
Where are British schoolchildren getting these Pis? Mine aren’t. The school where my sister works isn’t giving them out, either.

The closest I’ve seen to what you describe was a BBC Microbit my son was given as part of holiday club but that was sponsored by Maxell, not the British government, Broadcom, or anyone else.

Re:Raspberry Pi 4 PCIe bridge “chip” by monocasa on Wednesday July 01, 2020 @01:54PM (#23704368)
https://www.computerworld.com/article/3435277/how-the-raspbe...

Also the Microbit was designed by BBC R&D with government grants. Maxell is just the distributor.

Re:Raspberry Pi 4 PCIe bridge “chip” by linker3000 on Wednesday July 01, 2020 @03:24PM (#23705393)
Disclaimer: I am a STEM Ambassador (volunteering position) in West Sussex, working with local schools and libraries on IT projects, including using the Raspberry Pi.

The Raspberry Pi isn't a giveaway item and so schools need to make an investment in hardware or obtain sponsorship to kit out their STEM resources with them.

1M BBC micro:bits were distributed free to Yr 7 pupils as part of a project in 2016 - schools had to register/apply at the time, so if your school did not participate their pupils would not have received anything, however, as you have mentioned, other sponsorship also made units available.

Best have a word with your school's STEM/Technology people to see how they are supplementing your children's curriculum with technology resources.

Re:Raspberry Pi 4 PCIe bridge “chip” by speedgoose on Wednesday July 01, 2020 @10:56AM (#23702042)
Until you need to buy thousands of boards. And having a maintained software stack for a long time has a very high value in my humble opinion.
Re:Raspberry Pi 4 PCIe bridge “chip” by icelancer on Wednesday July 01, 2020 @01:36PM (#23704178)
>> There's no other board in this range because the other chipmakers aren't subsidizing their boards or ecosystems in this fashion. So there's no answer to that.

So the answer is "No, there is no alternative in the same price range."

Re:Raspberry Pi 4 PCIe bridge “chip” by zymhan on Wednesday July 01, 2020 @11:14AM (#23702319)
$200 for an ARM Board? No thanks.