News for hackers. Stuff that matters.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by CommanderData on Thursday June 15, 2023 @01:19PM (#36343737)
I purchased a few ARM boards in the past and won't do it again. All became e-waste.

Rockchip notably, great hardware on paper. Try developing something that needs hardware acceleration and it's a paper weight.

It's a common cycle of broken promises to provide drivers by manufactures, rinse and repeat. The exception being raspberry pi or expressif. Depending on the application.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by sosodev on Thursday June 15, 2023 @01:27PM (#36343853)
I've had the same experience with non Raspberry Pi boards. They've become useless thanks to endlessly broken software and zero support. My rpi's have been useful for years and are still getting regular updates.

I think I too was drawn in by the performance claims made by those other manufacturers. I realized though that raspberry pi are very powerful computers. We just take the scale of modern computing for granted and our software is the real problem.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by ignoramous on Thursday June 15, 2023 @02:32PM (#36344689)
> ...just take the scale of modern computing for granted and our software is the real problem.

I was thinking how I constantly find myself using GPT and Bard to prettify source code. Surely, not the most efficient use of compute.

Like some crude Parkinson's Law joke on more proficient algorithms.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Klinky on Thursday June 15, 2023 @03:54PM (#36345631)
Even Raspberry Pi has struggled with GPU/HW acceleration, but at least its distro is maintained & updated.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by sosodev on Thursday June 15, 2023 @04:03PM (#36345740)
The pi4's GPU at least supports OpenGL ES 3.1 and Vulkan 1.2 now. That's decent even if not powerful.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by snvzz on Saturday June 17, 2023 @04:40PM (#36374349)
rpi4 is massively memory bandwidth starved. It can't even keep up with drawing the screen in general, much less run games.

VisionFive2's GPU (from Imatech) is supposedly at least 4x as fast.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by joshmarinacci on Thursday June 15, 2023 @03:58PM (#36345685)
Yup. It's RPi or nothing. It's the software that makes these valuable, not hardware specs. If I wanted to sell an ARM board I'd make it as Pi compatible as possible.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Eisenstein on Thursday June 15, 2023 @04:05PM (#36345765)
The problem is that Broadcom won't sell you the chips they use so you can't.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by snvzz on Thursday June 15, 2023 @10:36PM (#36350351)
VisionFive2[0] is the way to go. They're much further in upstreaming in just half a year than Raspberry Pi in its long history.

RISC-V is inevitable.

0. https://rvspace.org/en/project/JH7110_Upstream_Plan

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by jcul on Friday June 16, 2023 @01:52AM (#36351986)
It's been gathering dust for a while now, but I had great success with my odroid C2. At one point I was running a matrix server with various bridges.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by ttymck on Thursday June 15, 2023 @01:29PM (#36343876)
Excuse my ignorance, but what sort of applications benefit from hardware acceleration on limited SoC resources?
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by oneplane on Thursday June 15, 2023 @01:43PM (#36344063)
You're actually answering your own question here ;-)

Because a SoC with limited CPU-core resources can't do everything in software, the chip contains many system components (hence System-on-Chip or System-on-a-Chip) that handle things the CPU cores then no longer need to do.

Think protocol handling or memory; instead of spending many clock cycles on handling the USB bus, you can leave that to the USB controller and only deal with what is actually relevant to your USB device. Same with the VOP (Video Output Processor) block, instead of spending many clock cycles on putting the right bits in the frame buffer you tell the VOP that you'd like the background to be orange and then only spend time setting the right bits for black text (for example). So instead of having to deal with many millions of bits, you only have to deal with less than 1% of them because every bit you don't set becomes orange. For other things like I2C, I2S, DMA, networking, cryptography, SD-IO, GPIO, PWM etc. the same applies. Instead of constantly spending time setting the right bit at the right time many times each second, you just tell a dedicated block on the SoC to do a thing in a certain pattern and it will do it for you, consuming on CPU core resources.

This also allows slow CPU cores that wouldn't be able to decode video in real time to offload the entire decoding to a video decoder block, and then tell the GPU part of the SoC that you're drawing a green rectangle somewhere and that's where it has to put the decoded video frames. Why would one do all of this? Because it's cheap and power-efficient, and that's how you make a big pile of money.

I have no idea how accurate or up-to-date this PDF is, but it should at least give you some idea as to what a SoC can do without bogging down the CPU cores: https://dl.radxa.com/rockpis/docs/hw/datasheets/Rockchip%20R... Check chapter 9 for example, all of those boxes are things you don't have to spend CPU cycles on. If you did use the CPU, it would be super slow.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by jancsika on Thursday June 15, 2023 @03:03PM (#36345058)
Is this in the purview of the panfrost driver stack?
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by oneplane on Thursday June 15, 2023 @04:25PM (#36346014)
I think that's only for ARM's own GPU IP, not for the VOP (it's more of a LCD driver than an actual GPU -- I'd compare the VOP to say, GameBoy-color level of graphics capabilities, which is cool but not even close to a bare-bones VESA or UEFI framebuffer).
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by sosodev on Thursday June 15, 2023 @01:32PM (#36343923)
Inferencing neural networks is a big one. It's hard to get near real-time performance without it. Depending on the use case of course.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by chaxor on Thursday June 15, 2023 @02:27PM (#36344625)
Why on earth would you run ML on a potato?
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by bkirkby on Thursday June 15, 2023 @02:48PM (#36344905)
inference, object detection for one.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by microtherion on Thursday June 15, 2023 @03:34PM (#36345381)
To give one example, Raspberry Pi are often used to control 3D printers and attached webcams, and there are ML systems that supervise the webcam feed for evidence of a print failure. Being able to run these systems on the SBC would be an advantage, but that's typically not realistic today.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by schreiaj on Thursday June 15, 2023 @03:46PM (#36345508)
What should we run it on if we want to deploy it on mobile systems with limited access to network and extremely restricted power budgets?

For a hobby project I'm trying to find a solution - Power budget for multiple is sub 200w. Need to run inference on a lower resolution video stream (or multiple, that be nice) to do object detection. Cost is a factor because I need to have multiple angles to determine where in relation to a mobile platform the target object is. I'm looking at the Coral.ai board because RPi like boards lack the ability to do ML tasks at reasonable FPS and NVidia seems to have abandoned the lower cost side of the market since the Jetson Nanos seem to be less and less available. (Not that Coral.ai boards are available at all...)

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Eisenstein on Thursday June 15, 2023 @04:08PM (#36345806)
Check out the Luxonis Oak products. I use an Oak-1 Lite to do real time 2 stage object detection and recognition (~23FPS at 1080P inference on device with two custom yolov5n models). With a bit of python and a Pi (or a Rock64 or similar) you can get it up and running in a day. They also have a decent community and are actively developing the API/SDK and hardware.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by schreiaj on Thursday June 15, 2023 @04:20PM (#36345937)
Thanks, I've got one of their depth cameras that's been ok. I didn't realize they'd expanded their line so much. Glad to hear about the API/SDK improving, last time I mucked with it a year or so ago it seemed like it was underdeveloped.

Going to have to dig into the sensors they use - had passable luck with non ML tasks using dirt cheap camera modules from laptops running at low resolutions right up until I started moving the cameras at all and then it became a blurry mess because they were so small their exposure times were high. (I'm trying to also avoid having to put a bunch of illumination near the cameras so it doesn't entirely look like a biblically accurate angel)

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Eisenstein on Thursday June 15, 2023 @04:29PM (#36346064)
Well, you can control the camera ISP and they use very decent IMX modules, so it really shouldn't an issue like it was with the cheapos, as long as you can do the coding to your needs.

EDIT:

* https://docs.luxonis.com/projects/api/en/latest/samples/Colo...

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by eisen on Thursday June 15, 2023 @08:38PM (#36349245)
Check out TI’s new low cost board vision AI board: https://www.ti.com/tool/SK-AM62A-LP

They have a home grown AI accelerator along with free Deep learning SDK.

Also offer a pretty easy online tool (free again) to use called TI Edge AI studio. They are using extending the existing AI solutions that come from the higher performance parts like TDA4 and AM68A parts. Pretty good considering a lot of these manufactures are just buying other AI Ip that isn’t performing great and investing in their own engineering.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Eisenstein on Thursday June 15, 2023 @09:31PM (#36349750)
Looks nice. Honestly I am just kind of playing around right now and the Luxonis products are the only ones that seem to have any kind of active development, support, and usable (for me) hardware in the hobbyist (<$200) price range.

nVidia's platform is just a huge mess. I tried to get their SDK running and their own documentation was out-of-date, missing necessary links, and sometimes blatantly wrong. I wasn't going to dump $400+ into that ecosystem.

Google gives up on hardware consistently and has the worst support of any existing software company (effectively zero) and has bungled the AI hand every change they get.

ARM NPUs I am not going to bother with. I can't even get video encoder acceleration working on a non-Pi ARM SoC except for the Rock64 and that is like 6 years old and was missing that functionality for 4 of them.

Intel only cares about its corporate partners and doesn't give a crap about hobbyists in regards to A.I. But their VPU was (is) decent and Oak guaranteed supply for at least until 2025 or thereabouts and built a useable API so we don't have to mess with OpenVINO.

It's all a mess right now but I can't say that competition is bad. It will be nice if we dispense with all the bespoke platforms and agree on some common architecture for edge devices, but I won't hold my breath.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by oneplane on Thursday June 15, 2023 @04:29PM (#36346068)
It would probably not run on this potato directly, but on an accelerator (be it in-SoC or a separate thing like a Google Coral). The management and control of a Coral needs to happen on a CPU somewhere, but the actual work doesn't involve the CPU much, if at all.

So if you have a thing that has all the data and all the work done on an engine elsewhere and you just need to have a SoC to turn the thing on and off and get the data in and out, that's where a potato-SoC could work. Of course, the potato would need good distro support with up-to-date kernel, drivers, python, libraries etc. and if you're connecting it to the network, best make sure it's also getting patched consistently.

So, as far as ML Potatoes go, that's about it. It is a totally valid question by the way, even if asked in jest.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by happymellon on Friday June 16, 2023 @04:10AM (#36353119)
Why wouldn't you?

It's the same situation as all the bitcoin miners from years ago. They mined on the GPU, so the CPU didn't matter as much as how many PCIe slots the motherboard had. The CPU is purely there to drive the operating system and enable the network to communicate with the GPU.

If you aren't using the CPU for anything other than the PCIe slot to enable a Nvidia card for ML, then a very cheap potato makes a lot of sense.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by gadgetoid on Thursday June 15, 2023 @02:09PM (#36344388)
I’m still trying to get a Rock 5B to boot from NVMe. By all appearances they included a USB Type-C port that doesn’t work, so the system never pulls sufficient power not to boot loop. Apparently even after a firmware update.

To be totally fair to the up-and-coming boards, the Pi was pretty poorly supported on day 1 and the community did (and still does) a lot of heavy lifting. I’m still waiting for a contender, but I don’t have the time or energy to devote to another SBC.

Despite being a super prolific maintainer of Pi-stuff and related projects I haven’t had a single SBC manufacturer reach out to me and say “hey what do you need to support this?” They just don’t seem to care beyond shoving product out the door and hoping for the best.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by death_syn on Thursday June 15, 2023 @03:15PM (#36345174)
You need to get a dumb brick for that Rock 5B. Looks like you got one of the ones with a bad firmware. When it negotiates the power drops out. There're tons of forum posts.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Rediscover on Friday June 16, 2023 @06:37AM (#36354343)
You are correct. I have many that do 5V 4A.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Rediscover on Thursday June 15, 2023 @06:08PM (#36347325)
If You have not tried what the other reply-post suggests (dumb brick), I have a 5V 4A dumb brick I can loan for a quick test. Seattle area. It has worked on quite a few boards here. Or purchase one from where-ever, they are really useful outside of SBCs (though they are usually 5.3V and 4.xA, so watch out with sensitive parts).
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by bombcar on Thursday June 15, 2023 @11:14PM (#36350681)
What is a dumb brick?
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by wildzzz on Friday June 16, 2023 @12:12AM (#36351122)
Sounds like a USB power supply that doesn't do any power negotiation and just gives as much current over 5V as it can handle. Those things typically top out at 2.4A so not really sure where you'd get one that could do much more.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Rediscover on Friday June 16, 2023 @06:49AM (#36354443)
4A, in my measurements.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Rediscover on Friday June 16, 2023 @06:43AM (#36354394)
It is a power supply that if intelligent negotiations fail, falls back to providing 5V (at whatever current), usually (2023) USB-C.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by 3np on Thursday June 15, 2023 @03:24PM (#36345269)
Armbian is a saving grace for boards that it supports.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by tonyarkles on Thursday June 15, 2023 @11:57PM (#36351023)
They’re less popular in the hobby world, but the Freescale/NXP i.MX6 family has absolutely fabulous mainline Linux support. There’s still a Freescale tree, but for most functionality you don’t need it. A few years back a client of mine needed some other functionality that wasn’t available in the version that Freescale forked for their tree and they wanted me to come in and assess what it would take to backport the driver they needed or basically make our own fork that forward-ported whatever Freescale mojo was needed.

As it turned out, I spent a couple of hours messing around a bit with some device tree configuration to make it work with the peripherals on their custom carrier and a bit of `make menuconfig`… and it booted right up on Linus’ tree.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Rediscover on Friday June 16, 2023 @06:53AM (#36354467)
Bang! Spot on! Love NXP. Everyone else here, read the above comment.