# How can interest level be maintained during supply shortage?

**URL:** <https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552>\
**Category:** Hardware\
**Created:** [January 2, 2022, 12:18am UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552 "2022-01-02T00:18:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxMaxis](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/90db22/32.png) [@MaxMaxis](https://discourse.zynthian.org/u/MaxMaxis)\
**Post date:** [January 2, 2022, 12:18am UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/1 "2022-01-02T00:18:43Z")

</div>

Sadly it looks like Omicron is going to further delay normal production levels of Raspberry Pis and other electronics.

Perhaps some activities for users like best all Zynthian song, or best Zynthian-keyboard integration competition might help keep people engaged.

With the suggestion that Pi 3 Chips may be more readily available for a while, a guide for making the best of a pi 3 based Zynthian may be useful.

The " [Re-Tasked Zynthian Hardware" post](https://discourse.zynthian.org/t/re-tasked-zynthian-hardware/6531/3) running only FluidSynth might be an example that would rune fine on a Pi 3.

[pihut.com](http://pihut.com) (UK? lists VAT prices)  
No Raspberry Pi in stock except Pi Pico, and Pi 400

**Alternate hardware?**

I just surveyed the available of Pis from various suppliers, it’s really thin pickings.

I have to wonder if any of the other Pi inspired boards could be adapted without doubling the software development/maintenance effort and Zynthian staff.  
I recall seeing a 51 week lead time for Broadcom chips earlier in the pandemic, I assume the Raspberry Pi is permanently married to Broadcom through Eben Upton’s relationship. The option of using other brands of SOC might help assure a more steady parts supply. There are other board with future Pi model 5 performance.

**Some reference Googling** :

Opinion post: [Why doesn’t RaspberryPi move away from broadcom](https://www.reddit.com/r/raspberry_pi/comments/gt8aag/why_doesnt_raspberrypi_move_away_from_broadcom/)?

[Supply chain: Broadcom’s lead time will be extended to 50 weeks (referencing non pi parts)](http://www.semimedia.cc/?p=9456) (March 23, 2021)

[Pi in Short Supply: Site Claims 52-Week Wait for 4GB Model](https://www.tomshardware.com/news/raspberry-pi-4-in-short-supply) ( (12/20/2021)

[Raspberry Pi makes its first ever price increase](https://www.zdnet.com/article/raspberry-pi-makes-its-first-ever-price-increase-global-chip-shortage-to-blame/), global chip shortage to blame  
( 21, 2021)

**Some lists of alternative boards for review, a few of the mid/low level boards are said to run raspbian.**

[Most Powerful Alternatives to Raspberry P](https://linuxhint.com/most-powerful-alternatives-raspberry-pi/) (Feb 2021)

[20 Best Raspberry Pi Alternatives](https://www.ubuntupit.com/best-raspberry-pi-alternatives/) | Best Single-Board Computer To Try (March 1, 2021)

[Best Raspberry Pi Alternatives](https://www.electromaker.io/blog/article/10-best-raspberry-pi-alternatives) (Dec 2020)

[Raspberry pi alternatives](https://www.upgrad.com/blog/raspberry-pi-alternatives/) ( Jan 2021)

**Pi Alternative Examples**

Some spec hi-lights for The [Large Product Line of **Banana PI** s](https://www.banana-pi.org/bpi-products.html) . . . . [Their Github](https://github.com/BPI-SINOVOIP?tab=repositories). . . [Wiki](https://wiki.banana-pi.org/Main_Page)  
Banana Pi (Hard to find) [depository of Manuals, Schematics and System Images](https://banana-pi.dev/)

BPI-M5 Amlogic S905X3 Quad-Core Cortex-A55, 4GB LPDDR4, 16GB eMMC Flash onboard  
[2021-06-21-debian-10-buster](https://download.banana-pi.dev/d/ca025d76afd448aabc63/?p=%2FImages%2FBPI-M5%2Fdebian&mode=list)-bpi-m5-m2pro-aarch64-sd-emmc.img.zip

BPI-M4 Cortex A53 Quad-Core, Mali MP470, 8GB eMMC Flash, 1GB/2GB DDR  
[2020-05-18-raspbian-stretch](https://download.banana-pi.dev/d/ca025d76afd448aabc63/?p=%2FImages%2FBPI-M4%2Flinux&mode=list)-bpi-m4-sd-emmc.img.zip  
[A Kernel](https://github.com/BPI-SINOVOIP/BPI-M4-bsp)

BPI-M3 Octo-Core 1.8GHz, 8GB eMMC flash, 2 GB LPDDR3  
[2021-08-03-raspbian-stretch](https://download.banana-pi.dev/d/ca025d76afd448aabc63/?p=%2FImages%2FBPI-M3%2FRaspbian&mode=list)-bpi-m3-sd-emmc.img.zip  
[armbian system implementation](https://www.armbian.com/bananapi-m3/)

**Some Seller Listings:**

[Banana Pi BPI-M2 Pro](https://vtera.net/single-board-computers/sbc-boards/banana-pi-bpi-m2-pro-sbc-single-board-computer) $76.70 in stock at **[vtera.net](http://vtera.net)** U.S.  
2GB LPDDR4, unique 16GB eMMC flash for preloaded system?

[Banana Pi BPI-M2 Ultra SBC](https://vtera.net/banana-pi-bpi-m2-ultra-sbc-single-board-computer) Single Board Computer $75.29  
Allwinner R40/V40 Quad Core ARM Cortex A7 CPU 500MHz  
2GB DDR3 SDRAM, 8GB eMMC flash onboard.  
[2020-04-19-raspbian-jessie](https://download.banana-pi.dev/d/ca025d76afd448aabc63/?p=%2FImages%2FBPI-M2U%2FRaspbian&mode=list)-bpi-m2u-sd-emmc.img.zip

at **NewEgg**  
[BPI-M3 Banana Pi M3](https://www.newegg.com/p/1FS-004T-00001) A83T Octa-Core (8-core) 2GB RAM with WiFi & BT 4.0 $103.77

from **Amazon:**

[BPI-M5 Amlogic S905X3 Single Board Computer](https://www.amazon.com/youyeetoo-Banana-BPI-M5-Amlogic-Computer/dp/B08QSD48N2/ref=sr_1_16) with 4GB RAM and 16G eMMC Flash  
$86.00 + $13.65 delivery January 26 - February 16  
Amlogic S905X3 Quad-Core Cortex-A55 (2.0xxGHz) Processor, 4 USB 3

[Banana PI BPI-M4 Realtek RTD1395 Chip](https://www.amazon.com/youyeetoo-Banana-Realtek-RTD1395-Computer/dp/B095759TR1/ref=dp_fod_1) 2G RAM $65.00 + $15.99 deliver Jan 31 - Feb 22  
**Runs Raspbian Stretch**

Cheaper listing: [Banana PI BPI-M4 Realtek RTD1395 Chip](https://www.amazon.com/Realtek-Computer-Compatible-Raspberry-moduleuter/dp/B08DHHHN3R/ref=pd_rhf_dp_s_pop_multi_srecs_sabr_1/144-5358122-4144906) (2GB RAM) 59.99 + $15.99 delivery January 31 - February 22.

///// Just for reference, **If you have to get a Pi Now** , here are some **Amazon reseller listing** examples, in addition to these there are a number of bundles with PIs for $200-$500.

3 B+ selling alone for $136.00-$206.99

Raspberry Pi 4 Model B 2019 Quad Core 64 Bit WiFi Bluetooth (4GB)  
3 Sellers @ $149.88 US EcoZone, vis viva, & MAD ELECTRONICS AUSTRALIA

[Vilros Raspberry Pi 4 4GB Basic Kit](https://www.amazon.com/dp/B07TKFKKMP/ref=aod_recommendations_asins_pageSource_web_gp_customers-who-viewed-also-viewed_5809_0) with Fan Cooled Case $123.99 (2 gig $114.99)

[LoveRPi Raspberry Pi 4 4GB Computer](https://www.amazon.com/LoveRPi-Raspberry-Computer-Heatsinks-4GB/dp/B07WHZW881/ref=sr_1_1) with Heatsinks $139.99

Raspberry Pi 4 Computer Model B 8GB  
$199.95 FREE delivery from vis viva  
$199.95 + $4.99 delivery from MAD ELECTRONICS AUSTRALIA  
$237.00 + $30.75 delivery from ZAR Systems Germany

[CanaKit Raspberry Pi 4 8GB Extreme Kit - 128GB (SD card) Edition](https://www.amazon.com/CanaKit-Raspberry-8GB-Extreme-Kit/dp/B08B6F1FV5/ref=dp_prsubs_2) (8GB RAM) with Fan, Case, Heatsinks, Cables $169.99

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [January 2, 2022, 8:42am UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/2 "2022-01-02T08:42:09Z")

</div>

When supply is constrained there will be opportunists trying to make some money. Good luck to them - it is a temporary state. (I wonder what my stash of RPi 1 & 2 are worth?)

We use wiringPi software library to access hardware (GPI, ADC, DAC, etc.) which only supports Raspberry Pi hardware.

Raspberry Pi have consistently provided affordable SBCs. Other contenders have come and gone and randomly changed their hardware. Zynthian supports a wide range of hardware configurations but it can become an excessively high burden to support too many devices.

Good idea to consider how to deal with the current situation. Do consider ongoing support in such deliberations.

---

<div class="post-metadata">

**Author:** ![stewart](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@stewart](https://discourse.zynthian.org/u/stewart)\
**Post date:** [January 3, 2022, 2:20pm UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/3 "2022-01-03T14:20:26Z")

</div>

Personally, what attracts me to Zynthian is not so much the hardware (which is great!), but the user-interface, the work-flow, and the integration of many excellent free synths and plugins. In the absence of RPi, this could be achieved with other commodity hardware. For example, touch-screen laptops are ridiculously cheap and probably offer similar if not better computing (ie. synthesis) performance. In May 2021, the cost of a Zynthian kit (without RPi) delivered to me was $AU470, but I can go down to the local computer shop and buy a 12" touch-screen laptop for less than $AU300. I am guessing that with Linux installed, such a machine could run the guts of Zynthian (touch-screen UI and synthesis) with probably better performance than RPi 4. Admittedly, it doesn’t have all the knobs and connectors but I’ll bet it would be relatively cheap to build a USB “dock” that incorporated audio I/O and some rotary encoders. Something like that would be needed to achieve the robustness offered by the current Zynthian hardware. On the plus side you also get a big screen and a battery. Audio latency might be an issue, and seems to be unreasonably slow in Linux.

In the event of a prolonged RPi drought, having Zynthian able to run on a PC would definitely open some alternative possibilities. PC hardware is available in many form factors, including single-board computers. [The HackBoard 2](https://liliputing.com/2020/12/hackboard-2-is-a-single-board-pc-with-celeron-n4020-for-99-and-up-crowdfunding.html) even has a RPi compatible GPIO connector.

Celeron N4020 CPUs are ubiquitous in low-end laptops. [Here is a comparison](https://www.cpu-monkey.com/en/compare_cpu-intel_celeron_n4020-1080-vs-raspberry_pi_4_b_broadcom_bcm2711-1796) between this CPU and RPi4.

---

<div class="post-metadata">

**Author:** ![le51](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/le51/32/1706_2.png) [@le51](https://discourse.zynthian.org/u/le51)\
**Post date:** [January 4, 2022, 10:58am UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/4 "2022-01-04T10:58:25Z")

</div>

This is a good question @MaxMaxis.

From my of view point of view, right now, trying experiences and invests on alternate hardware (except x86\_64 architecture) is too hazardous.

With component shortage, sbc manufacturers are in a in a kind of “one shot” situation with new products: when you can get your hands on a stock of a given chip (eg Amlogic S905Y2 for Radxa zero or Realtek RTD1395 for Banana PI BPI-M), then you’ll go for it. Isn’t your buisness building and selling SBC ?

In this conditions, no one can expect a good software support of all the zynthian hardware ecosystem that is needed: SPI display, I2S compatible DAC, WiringPi library port, up to date basic libraries (some manufacturers distros are still under Debian Stretch !!).  
And the 2/3 years old sbc’s like the ones based on the rk3399 chip that are still in stock are overpriced now (but may have a good software support).

The RBPI foundation itself suffers from this component shortage too, and, as you said, Pi4 are hard too find today. But as we’ve have seen earlier with this hardware (the RBPI4, CM4), the Foundation can introduce on the market some totally unexpected boards based on new chips with a reliable software support.

Audio IC’s and even mcp23017 are also heavily impacted, so I think that right now it’s much better to be **focused on software development** (unfortunately, I can’t really help here 😢).

There’s already some devs in that direction (see the [API proposa](https://discourse.zynthian.org/t/api-proposal/6481)l post) and this is pretty cool. Regarding your post but also all the posts about porting Zynthian on a different [arch](https://discourse.zynthian.org/t/questions-about-zynthian-os-automated-build-system/3964/51) or different [distro](https://discourse.zynthian.org/t/running-on-fedora/6554) I think this is the good option: having a good software basis (synth and effect control, their routing, mixer control, snapshots …), for a headless system that should be

- portable on all kind of basic linux distro,
- controlable with MIDI and/or OSC and/or specific zynthian hardware (4 encoders, 4 push buttons)
- extended with any frontend toolkit (like Qt, see post about [ZynthBox](https://discourse.zynthian.org/t/zynthbox-a-new-project-based-on-zynthian/6518))
- complete here 😉

Oh ! And : **HAPPY NEW YEAR**

---

<div class="post-metadata">

**Author:** ![Pastitas](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/pastitas/32/8243_2.png) [@Pastitas](https://discourse.zynthian.org/u/Pastitas)\
**Post date:** [January 4, 2022, 5:48pm UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/5 "2022-01-04T17:48:08Z")

</div>

> [@le51](#):
>
> even mcp23017

I got me a bag of them a few weeks ago! (missing the DAC/ADC chips for the all in one tho)

---

<div class="post-metadata">

**Author:** ![le51](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/le51/32/1706_2.png) [@le51](https://discourse.zynthian.org/u/le51)\
**Post date:** [January 5, 2022, 7:41pm UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/6 "2022-01-05T19:41:18Z")

</div>

Mcp23017: at least, as SMD component, it’s not available at [jlcpcb.com](http://jlcpcb.com)

---

<div class="post-metadata">

**Author:** ![MaxMaxis](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/90db22/32.png) [@MaxMaxis](https://discourse.zynthian.org/u/MaxMaxis)\
**Post date:** [January 7, 2022, 3:15am UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/7 "2022-01-07T03:15:17Z")

</div>

**[wiringPi – deprecated…](http://wiringpi.com/wiringpi-deprecated/)**

excerpt from a larger post:

"I will make a final release of wiringPi available soon – with the sources, but that’s that. No more public releases. I’ll still be maintaining it for my own uses and clients, but for everyone else, please look at for alternative GPIO library for on-going projects.

-Gordon, August, 2019."

(he thankfully said he included source for the first time on the last release)

/ / / / / / / / / / / / /

Just in case [The pigpio library](http://abyz.me.uk/rpi/pigpio/) also does Broadcom specific GPIO (not a wiring look alike) his home page last updated: 28/03/2021

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [January 7, 2022, 7:35am UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/8 "2022-01-07T07:35:23Z")

</div>

Unfortunately the source code disappeared from Gordon’s site. Fortunately it was captured and a fork created on [GitHub](https://github.com/wiringPi) with some wrappers for various languages. I saw someone had benchmarked various libraries and wiringPi seemed to come out on top. I did look at the others but now that I have found wiringPi source on GitHub being updated I have gone back there. It has limitations but it is open source so they can be fixed. I have already submitted feature requests and pull requests to fix them. My third is on its way…

---

<div class="post-metadata">

**Author:** ![xanderz](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/xanderz/32/7154_2.png) [@xanderz](https://discourse.zynthian.org/u/xanderz)\
**Post date:** [January 22, 2022, 3:50pm UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/9 "2022-01-22T15:50:30Z")

</div>

I actually managed to _almost_ fully port the zynthian over Armbian on an Orange Pi PC(which can easily be found in China for reasonable prices).  
Since I didn’t have the rest of the required hardware on hand, nor could I get it in a reasonable time span, I implemented my own solutions.  
That means: 4xquadrature encoders and some sort of microcontroller(I had an stm32 available) which I interfaced using uart ) for the wiring part. It works acceptably well, albeit without interrupts. The Arduino uart protocol frames are followed by a pin toggle which should aid the Orange Pi in that sense, but it was far easier doing it with polling.  
The main bottleneck that I seem to have right now is the spi screen. It’s just garbage. Not the display, but the kernel driver itself(running on 5.4.x kernel). It takes too much CPU power to push the frames via spi. You should have far more luck using a dedicated display interface on any particular board (hdmi, DSI, RGB, lvds, whatever).  
As for performance, I’m mainly using it as a sampler and it works just fine with 3xFluid Synths and effects on each channel.  
It struggles though when changing anything in the UI.  
There’s clearly room for improvement and porting zynthian to other platforms is certainly feasible.  
I’m planning to make a thread of its own, for Allwinner/Armbian ports.  
@le51 also has successfully did a port in the past, so his experience can also help a lot.

---

<div class="post-metadata">

**Author:** ![le51](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/le51/32/1706_2.png) [@le51](https://discourse.zynthian.org/u/le51)\
**Post date:** [February 13, 2022, 7:52pm UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/10 "2022-02-13T19:52:01Z")

</div>

**Go to Aliexpress, see how tracking cookies are good sometimes (in my case at least 😉), and follow that link:**

> **[1138.56Rs. 13% OFF|Nvarcher ADAU1452\_DSP Development Board Learning Board DSP...](https://www.aliexpress.com/item/4001131584424.html)**
>
> Smarter Shopping, Better Living! Aliexpress.com

[![](https://ae01.alicdn.com/kf/S5445cb98f49c4b918c26b43059be6a4bL/Nvarcher-ADAU1452-DSP-Development-Board-Learning-Board-DSP-Board-With-CODEC.jpg_640x640.jpg) ](https://ae01.alicdn.com/kf/S5445cb98f49c4b918c26b43059be6a4bL/Nvarcher-ADAU1452-DSP-Development-Board-Learning-Board-DSP-Board-With-CODEC.jpg_640x640.jpg)

_This board is 15 € (17.5 $) has a CS42228 codec wich has 6 passive inputs and 8 passive outputs_

[![](https://ae01.alicdn.com/kf/Sc0565e3157d04eb8ad72cea92ab8b711R/Nvarcher-ADAU1452-DSP-Development-Board-Learning-Board-DSP-Board-With-CODEC.jpg_640x640.jpg) ](https://ae01.alicdn.com/kf/Sc0565e3157d04eb8ad72cea92ab8b711R/Nvarcher-ADAU1452-DSP-Development-Board-Learning-Board-DSP-Board-With-CODEC.jpg_640x640.jpg)

_While that one is 49 $ (44 €) with an AD1938 codec 4 inputs, 8 outputs. But it provides active inputs and outputs stages (with OpAmp),_

**Good to know:**

Both needs an external clock reference feeded through the pin header row.

Both codec are supported in mainline linux kernel

CS42448 is supposed to be working on the RBPi with the [Audioinjector Octo board](https://shop.audioinjector.net/detail/Sound_Cards/Octo+RCA+sound+card)

AD1938 is working on Beagle Bone Black with the [CTAG FACE board](https://shop.bela.io/collections/multichannel/products/ctag-face-starter-kit)

And the prices are shipping an VAT included for France.

I have ordered the CS42448 one , it costs the same price as only [two single CS42448 chips](https://www.aliexpress.com/item/4000791834098.html) 🤪

---

<div class="post-metadata">

**Author:** ![le51](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/le51/32/1706_2.png) [@le51](https://discourse.zynthian.org/u/le51)\
**Post date:** [February 13, 2022, 8:17pm UTC](https://discourse.zynthian.org/t/how-can-interest-level-be-maintained-during-supply-shortage/6552/11 "2022-02-13T20:17:03Z")

</div>

> [@xanderz](#):
>
> The main bottleneck that I seem to have right now is the spi screen. It’s just garbage. Not the display, but the kernel driver itself(running on 5.4.x kernel)

I totaly agree.  
And, so far i have understanded (I’m really not an expert in all that linux graphic layers) from various readings through the intenrnet:

- The fbtft lib is not fully integrated in the kernel tree, but stays in the staging directory.
- It looks like it is because the mainline (since kernel 5 ???) graphic layers have involved a lot. And the fbtft lib looks really hard to migrate to fits the new mainline standarts.
- So no new drivers will be integrated and only fix are accepted (eg: ili9488 you have to use a kind of hdmi to SPI framebuffer copy trick but at least “it works”).
- And nobody wants to do the hard job. (The RBPi Foundation maybe ? These cheap displays are necessary accessories for a bunch of applications)

In May 2021:

> <https://github.com/torvalds/linux/blob/master/drivers/staging/fbtft/TODO>
