News for hackers. Stuff that matters.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by whyagaindavid on Monday November 07, 2016 @06:21AM (#12890257)
They have dismal linux support. Old kernels; and no releases. Poor video drivers.

http://forum.kodi.tv/showthread.php?tid=238060

the current lubuntu image does not even exist.

http://www.orangepi.org/downloadresources/PiPlus2e/2016-06-0...

Re:64-bit Orange Pi – A Quad Core Computer for $20 by aeruder on Monday November 07, 2016 @08:25AM (#12890799)
I don't understand why they go through so much effort to churn out these boards that are made useless by lack of upstreaming.

Oh, wait, because idiots like me keep buying them and finding this out too late. Thanks for saving me $20 this time.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by ajross on Monday November 07, 2016 @12:17PM (#12892769)
> I don't understand why they go through so much effort to churn out these boards that are made useless by lack of upstreaming.

Because the board vendor, generally, doesn't know any more about this stuff than you do. They buy an SoC from a manufacturer (Allwinner in this case) and drop it on the board. Whatever "Linux" BSP the vendor provides then gets hacked into form for their product and shipped. They aren't really in any sane position to take maintainership of this code or upstream it on their own.

And going further, Allwinner is themselves just assembling IP blocks from other vendors (companies like ARM and Synopsys) that they don't completely understand. They get a sample driver, drop it in a tree, fix bugs, and ship it.

It's a big mess. The bigger vendors (e.g. Intel and Qualcomm) do a decent job of putting together solid BSPs (even if they don't always play well with the community -- the packages received by board vendors usually work and come with solid docs). The little guys just aren't there yet.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by revelation on Monday November 07, 2016 @01:50PM (#12893705)
They buy enough of them to get a datasheet. Just releasing that would be enough.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by ajross on Monday November 07, 2016 @02:13PM (#12893942)
The datasheet is a copyrighted document received under NDA. They literally can't.

And again, a datasheet from Allwinner is going to just tell you what the instantiation parameters for all the various IPs are. To write a driver for, I dunno, the I2C controller (or whatever, I know nothing about this SoC in particular) you're going to need a Synopsys databook or something.

There's a framework in place for distributing all that stuff between OEMs and first-tier customers. But with the exception of a handful of hardware vendors, no one's ever cared about getting it out to the public.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by ssvb on Tuesday November 08, 2016 @06:14PM (#12904814)
The datasheets are released and you can freely download them. For the Allwinner A64 documentation (another 64-bit SoC, which is very similar to H5) you can check https://linux-sunxi.org/A64#Documentation

And no, it is not a "stolen" or "leaked" documentation (I have actually seen such ridiculous claims in the phoronix forum). It is hosted on the Pine64 website with the permission from Allwinner. And the Pine64 people specifically asked Allwinner to remove the misleading "confidential" watermarks from the PDF files.

Allwinner H5 is very new and this Orange Pi PC 2 board is probably the very first piece of hardware using it. But I expect that the H5 documentation will become available in public access shortly. Just like the documentation for the older Allwinner chips. Maybe initially with the "confidential" watermark again, because the Allwinner people are a little bit lazy and don't seem to understand why the open source people are making so much fuss about this.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by johnchristopher on Monday November 07, 2016 @01:42PM (#12893627)
Is banana pi among them ?
Re:64-bit Orange Pi – A Quad Core Computer for $20 by geezerjay on Monday November 07, 2016 @09:15AM (#12891096)
> I don't understand why they go through so much effort to churn out these boards that are made useless by lack of upstreaming.

I don't believe that this sort of business venture requires that much effort. It appears that in essence they only repackage a currently available soc, and hope that the market bites.

The main reason why these small boards come with a quad-core processor and 1GB of RAM is that currently that's precisely the standard for low to mid-end smartphones running Android.

Of course, the people behind the Raspberry Pi foundation do a bit more than repackaging a bare-bones SoC. Hence, they do manage to sell quality products that actually work.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by ainiriand on Monday November 07, 2016 @08:27AM (#12890806)
HN just saved me money, another idiot here.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by alistproducer2 on Monday November 07, 2016 @09:05AM (#12891044)
Could you explain "lack of upstreaming?" I get, via context, and know what upstream is, I context of OSs, I've never read a "lack of."
Re:64-bit Orange Pi – A Quad Core Computer for $20 by planteen on Monday November 07, 2016 @09:08AM (#12891059)
The board requires custom modifications to the kernel. These modifications never get cleaned up and submitted as patches to the kernel. So you are stuck with a kernel frozen in time.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by jff on Monday November 07, 2016 @11:56AM (#12892548)
And this is the situation with damn near every ARM board you can buy! It's depressing. I finally had to give up on my Efika MX smartbook because they never got past a 2.6 kernel, which IIRC eventually meant I couldn't upgrade libc past a certain point, which meant I couldn't upgrade anything else.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by planteen on Monday November 07, 2016 @02:45PM (#12894297)
Yes it is and it is terrible. The lack of upstreaming also makes things like applying the PREEMPT_RT patches much more difficult than it should be. You might be stuck at a version of the kernel where PREEMPT_RT was never released, not to mention you will be missing the PREEMPT_RT changes in the custom code.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by yuhong on Thursday November 10, 2016 @01:21AM (#12918158)
BTW, just Linux "2.6" means nothing these days.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by jandrese on Monday November 07, 2016 @01:06PM (#12893279)
Phone hardware is absolutely infuriating in this regard. People figured out how to standardize bootloaders and do drivers on the PC decades ago, why can't SBC and phone manufacturers figure this out?

Why can't their be a generic build of Android that will at least boot on every phone, even if there might be some driver issues on different devices? This situation has gone on for so long it is past the point of being a joke. And don't try to tell me that there is a good technical reason why it has to be this way, we're talking about machines that are as powerful as a mid 2000s PC, you can afford the overhead of a bootloader on there.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by revelation on Monday November 07, 2016 @01:53PM (#12893741)
They have a bootloader, they just don't have a BIOS, or ACPI, which you would need for the operating system to detect and interface with peripherals.

I think right now they are trying to decide between Device Tree (FDT) and ACPI for ARM, in the mean time nothing gets done and I'm not confident anything will get done until ARM the IP holder itself mandates something.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by jandrese on Monday November 07, 2016 @04:13PM (#12895174)
Shouldn't this have been done years ago? Do all of these manufacturers like reinventing the wheel every time they spin a new silicon? Didn't building custom bootloaders for every device get old a long long time ago?
Re:64-bit Orange Pi – A Quad Core Computer for $20 by revelation on Monday November 07, 2016 @04:46PM (#12895480)
The systems powered by these ARM processors were typically bespoke embedded software anyway, so not many people cared. Hardware vendor provides a bootloader of sorts and some shitty SDK or RTOS patch, you heap your own custom code on top and ship it. Never update any of the components, that's just asking for extra work.

Now that the processors are powerful enough to replace what would ordinarily run Windows or Linux it's very painful. The Linux code is littered with support files for a bazillion of different boards and hardware platforms.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by yuhong on Monday November 07, 2016 @02:15PM (#12893978)
And even that is targeted at servers I think.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by ssvb on Tuesday November 08, 2016 @06:26PM (#12904907)
I don't think that you know what you are talking about. Please check the https://linux-sunxi.org/Linux_mainlining_effort page.

Every new mainline kernel release includes improvements for Allwinner chips. Older Allwinner chips, such as A10 and A20, are already supported very well. The support for newer chips is progressing nicely, but there is always a bit of delay.

Yes, you can't expect this newly released Orange Pi PC 2 board to be already supported in the mainline kernel today. But maybe half a year later everything is likely going to be much better. And even right now, there should be some sort of a legacy 3.10 kernel available too, so it is not like you can't use the board at all.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by alistproducer2 on Monday November 07, 2016 @11:05AM (#12892090)
got it. thanks!
Re:64-bit Orange Pi – A Quad Core Computer for $20 by photojosh on Wednesday November 09, 2016 @05:35PM (#12915456)
"made useless by lack of upstreaming"

... only if you actually need particular features of the CPU. We're running a dozen of these boards with mainline bootloader, kernel, and Xenial.

But they're headless servers. We don't need the GPU, which is the major component lacking support in mainline. You have to run a legacy 3.4 kernel and binary driver for GPU acceleration and OpenGL. :(

Re:64-bit Orange Pi – A Quad Core Computer for $20 by Florin_Andrei on Monday November 07, 2016 @02:09PM (#12893907)
I think this chunk of industry is going right now through its enthusiastic adolescence. It's a phase. It will pass. It will eventually mature, and will separate the wheat from the chaff.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by phineastcat on Monday November 07, 2016 @09:59AM (#12891493)
Crappy upstream kernel support on alternative boards is probably why the Raspberry Pi is king of this kingdom.

I chose to forgo all the cheaper options from China for a recent project, and instead go with (considerably) more expensive Raspberry Pi 3's, because I didn't want to risk the shite software support. I know I'm going to get kernel and firmware upgrades on those boards for a good long while, and that's one less thing I have to worry about.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by carussell on Monday November 07, 2016 @03:34PM (#12894774)
You could have gone with the one of the BeagleBone varieties. BeagleBoard seems to be the only real contender that the Pi line faces, from a community standpoint. Each unit is a few bucks more, but that'll go towards strengthening an ecosystem around boards that are even more open than what you get with the Pi.

It's hard to get the benefits of volume when everyone keeps going for the cheaper-right-now board in order to maximize their own short-term benefits. Contributing to the network effect by buying a Pi because it's cheaper and more popular is not exactly the thing that will lead to Broadcom getting rebuffed and having to answer for all their problems.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by jandrese on Monday November 07, 2016 @01:08PM (#12893295)
I bought one board with an Allwinner chip on it. Great specs, but utterly useless. There is no support for the graphics driver, tons of bugs in the chipset, and virtually no help online unless maybe if you speak Mandarin.

I'm not making that mistake again.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by DrPhish on Monday November 07, 2016 @01:12PM (#12893344)
All this talk has made me glad to pay the premium to stay with x86/amd64 supported boards. I've been buying PC-Engines for years, and run whatever I please on them (but mostly OpenBSD). They are 3x the price of the RPi (more if you want WiFi, bluetooth etc), but for certain applications, are quite a bit more powerful and flexible. This is especially true if you want to remain up to date for years. I have never been left without an upgrade path.

https://pcengines.ch/apu2.htm

https://pcengines.ch/newshop.php?c=4

Re:64-bit Orange Pi – A Quad Core Computer for $20 by chx on Monday November 07, 2016 @03:19PM (#12894642)
There's the UP board now, Cherry Trail Atom in a RasPi format, and the UP Squared (Apollo Lake, Altera Max 10 (2K) right,physically about double the RasPi) in Kickstarter https://www.kickstarter.com/projects/802007522/up-squared-th... .

If not for boards, I just bought this https://www.amazon.com/dp/B019Z8T9J0 complete, passive PC for less $150, it has four Ethernet ports and a HDMI and a Broadwell (not Atom!) CPU. It's rather incredible how cheap PCs gotten.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by 50CNT on Monday November 07, 2016 @10:46AM (#12891923)
It could have been so great, but wasn't meant to be. I got exited for a moment, and then my hopes were dashed. 49RMB for a zero is like cereal money. It's the price of 490g Kellogs Fruit Muesli on Taobao. There had to be a catch. But at least I didn't spend 128RMB on a SBC that doesn't work, then 8 hours on trying to make it run.

Edit: Having looked checked for authorized resellers of Raspberry Pis in China, it just got more confusing.

What happened to EGOMAN, which the Raspberry Pi foundation partnered up in 2013 to produce Raspberry Pis? They only have the first model red pi, and they have stopped advertising them. They make waterproof heartrate monitors now.

Seed studio is one of 2 authorized resellers of element14 in China. They're based in Shenzhen. They sell in JPY, but not RMB. How does that work?

The only authorized reseller that actually sells on taobao is Hangzhou Junroc Electronic Technology co ltd. They sell Model 3 B's for 195RMB + 10RMB shipping. Why do Element14 and RS China charge 260RMB? How do they sell these for cheaper than their distributor? Overhead? Aren't they made here?

How does the ODROID2 work? It's 40USD, or 52,800 won in Korea. 52,800 won is 46USD. Granted, there's 16$ shipping for international orders.

Nothing makes sense to me anymore.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by webaholic on Monday November 07, 2016 @08:22AM (#12890787)
Is it only the raspberry pi which sees effort to have upstream kernel support? Or are there any other similar boards doing better than the pi?
Re:64-bit Orange Pi – A Quad Core Computer for $20 by brudgers on Monday November 07, 2016 @08:43AM (#12890902)
My take is that nobody is doing better than Pi in terms of the community Pi targets, e.g. students, amateurs and greenhorns alongside professionals. There's a critical mass with Pi that attracts industry players to be on the platform with what counts for decent support in the embedded world, e.g. Microsoft and Canonical.

For me, that's worth $15 per board.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by geezerjay on Monday November 07, 2016 @10:05AM (#12891560)
> For me, that's worth $15 per board.

Unfortunately, the Raspberry Pi 3 sells for over 50€ per board.

The Raspberry Pi zero, in spite of being marketed as a 10€ computer, in practice can't be purchased at all.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by brudgers on Monday November 07, 2016 @10:14AM (#12891662)
In the US, the Pi 3 runs about $35 on Amazon. VAT may effect pricing in other places.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by Tepix on Monday November 07, 2016 @11:01AM (#12892041)
The Raspberry Pi Zero has been in stock for the last couple of weeks.

Look at http://www.whereismypizero.com/

Re:64-bit Orange Pi – A Quad Core Computer for $20 by noonespecial on Monday November 07, 2016 @02:25PM (#12894086)
"THIS PRODUCT IS LIMITED TO 1 UNIT PER CUSTOMER"

Always. Everywhere. Wanted 25 units to teach a robot class to some local kids at the Hackerspace. Had to buy 3's instead. Even if I'd placed 25 separate orders, the cost of individual shipping on each vs the cost savings of the combined shipping on the 3's put the price within spitting distance.

Pi zero is an ad. A loss leader. A way to have an answer, any answer, to the flood of $7 Allwinner wonder-boards on AliExpress.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by blacksmith_tb on Monday November 07, 2016 @01:20PM (#12893420)
The Zero is a very different devboard, though - you will need to invest in assorted adapters and hubs if you want to connect it to just about anything other than power... it is useful in small spaces, but for anything else spending a little more to get something like the CHIP is well worth it, and for use a small PC, going to the RPi 3 is probably wiser.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by Florin_Andrei on Monday November 07, 2016 @02:12PM (#12893934)
Yup, that's how it's supposed to be.

Want to make a micro-computer? Get the RPi 3.

Want to make a robot or drone? Get the RPi Zero.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by whiskers on Monday November 07, 2016 @04:06PM (#12895094)
The Raspberry Pi 3 is available from many vendors for $35 + sales taxes. You can pick it up on our site for £32 including VAT (that's EUR30 before taxes or EUR36 including taxes): https://shop.pimoroni.com/products/raspberry-pi-3
Re:64-bit Orange Pi – A Quad Core Computer for $20 by thom_nic on Monday November 07, 2016 @01:43PM (#12893639)
Texas Instruments am335x also is a popular chip with upstream support (Beaglebone Black & Olinuxino am3352-som and quite a few other vendors have modules based on it.) If you want a canonical list, look in the kernel arch/arm/boot/dts source: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-st...

Actually it looks like there are quite a few Allwinner devices listed (look for sun__...)

Re:64-bit Orange Pi – A Quad Core Computer for $20 by mmebane on Monday November 07, 2016 @11:49AM (#12892481)
ODroid C2 and XU4 have been making progress, though last I saw they weren't really stable yet. I think HardKernel, the manufacturer, is providing some level of support for the mainlining effort.

Next Thing says the C.H.I.P. (or at least the C.H.I.P. Pro) runs mainline Linux, but that's not really comparable to the current Raspberry Pi.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by jandrese on Monday November 07, 2016 @01:10PM (#12893323)
Does it have support for the graphics though? That's the first big stumbling block these alternate SBCs run into. Without support for graphics acceleration you won't be able to play video properly or run fancy desktop apps. It's a huge drawback these days.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by odesian on Monday November 07, 2016 @03:19PM (#12894644)
I believe C.H.I.P. does now.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by jandrese on Monday November 07, 2016 @04:11PM (#12895159)
In a pre-alpha driver as I recall.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by Uberphallus on Monday November 07, 2016 @08:27AM (#12890809)
If you don't care about graphics, i.MX6 boards are pretty well supported.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by carussell on Monday November 07, 2016 @03:40PM (#12894831)
There's a lot of uncertainty about how long that will last since NXP/Freescale is now Qualcomm's manufacturing arm.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by Zekio on Monday November 07, 2016 @10:26AM (#12891766)
the Pine64's kernel support is basically being done entirely by a community member
Re:64-bit Orange Pi – A Quad Core Computer for $20 by webaholic on Monday November 07, 2016 @10:29AM (#12891788)
Is the graphics driver also being worked upon? I think Pine64 uses mali which is not well supported by upstream.
Re:64-bit Orange Pi – A Quad Core Computer for $20 by ssvb on Tuesday November 08, 2016 @05:58PM (#12904702)
The Kodi people are not to be trusted on this matter, it's just an ugly political game. See http://forum.pine64.org/showthread.php?tid=1497&pid=13513#pi... And also https://github.com/linux-sunxi/libvdpau-sunxi if you are actually interested in a working hardware accelerated video decoding. To sum it up, hardware video decoding acceleration works fine with fully open source drivers on Allwinner hardware, but the Kodi application just does not want to use them. Fortunately there are also other open source media players, which can do the job.

As for the lubuntu image, anyone can take any ARM Linux distribution rootfs and combine it with the Linux kernel, built for Allwinner hardware (both mainline and legacy kernels exist). You can find a lot of tutorials at https://linux-sunxi.org

But if you are not a very experienced user, I strongly suggest you to try something like the armbian distribution first.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by rbanffy on Monday November 07, 2016 @12:41PM (#12893002)
> They have dismal linux support. Old kernels; and no releases. Poor video drivers.

Unpatched ancient kernels are the future of IoT botnets.

Re:64-bit Orange Pi – A Quad Core Computer for $20 by hrjet on Monday November 07, 2016 @12:27PM (#12892855)
Compared to RaPi it looks bad, but if you compare OrangePi to say ESP8266, it looks like a good deal (for certain projects):

* OS and scheduler v/s low-level partially documented SDK

* 2GB RAM v/s 100s of KB in ESP8266

* 16GB Flash v/s couple of MB Flash on ESP8266

* All other goodies: 4USB ports, Audio/Video, HDMI, Camera, SATA, IR

* 15$ v/s 5$

Re:64-bit Orange Pi – A Quad Core Computer for $20 by Ecio78 on Monday November 07, 2016 @10:01AM (#12891525)
Re:64-bit Orange Pi – A Quad Core Computer for $20 by kylegordon on Monday November 07, 2016 @12:05PM (#12892628)
Do the above arguments apply to the board range, or just their distro? Whilst not yet supporting Orange Pi PC2, what about Armbian? http://www.armbian.com
Re:64-bit Orange Pi – A Quad Core Computer for $20 by cheiVia0 on Monday November 07, 2016 @03:37PM (#12894803)
While AllWinner provides dismal driver support, there's quite a big third party effort to get proper mainline support for their chips (Free Electrons being the biggest contributor, I think).

A good reference of what you can expected can be found here:

http://linux-sunxi.org/Linux_mainlining_effort

Of course it takes time to clean it up into a mainlineable state. Some years ago I got a "Cubietruck" (A20) and it was somewhat disappointing - the gigabit ethernet (which was the selling point for me) only got to only about double of 100Mbit, using up one of the two cores. It would also have network connections hang once in a while.

This spring I dusted it off and managed to install the latest mainline kernel, and with the exception of onboard NAND (not really necessary since it has SATA), everything I care about works perfectly. I get proper gigabit without CPU stress, and everything is rock stable.

tl;dr: it's worth looking at older devices of they fit your need