A Tale of Many Divisions – Naive Prime Factorization Across a Handful of Architectures

Compiler Explorer Dissassembly

CNXSoft: Another guest post by blu where he looks at how a small piece of code involving divisions behaves on different architectures. Once upon a time (i.e. the other week) I was giving my 5th-grader tips on how to efficiently compute least common multiples, when it struck me I could do better ‒ I could write a prime factorizer that could be useful to the elementary-school-goers in this house, as well as to the people checking the formers’ homeworks. Moreover, a naive prime factorizer could show kids how computers would carry out algorithms taught in class. There was also a bit of curiosity involved ‒ last time I wrote a prime factorizer I was in high school, and the language was Applesoft BASIC, so 30 years later, armed with a modern C++ arsenal and a supercomputer (by late ‘80s standards), I wondered what one might come up with today, approaching the problem from first principle (sorry, no Euler today). The …

Khadas Edge Developer Package Review – Part 1: Unboxing, Captain and Edge-IO Expansion Boards

Khadas Edge Captain Board

Shenzhen Wesion recently launched an Indiegogo campaign for their Rockchip RK3399/RK3399Pro based Khadas Edge, Edge-1S and Captain boards. The Edge boards have an interesting form factor as they are both standalone boards, and system-on-modules compatible with Captain carrier board, and the smaller Edge-IO board. While the crowdfunding campaign is on-going, the company decided to send me an early version of Khadas Edge Developer Package for evaluation. I’ll start out by checking out the content of the kit, and show how to get started with assembly, before reviewing the board with Linux at a later date. Khadas Edge Developer Package Unboxing I received the developer kit in a blank carton board package, but they’ll likely have a prettier package at launch like they did for heir VIM2 board. Anyway, the important part is the content. From top left to bottom right: An IR remote control, the package for the Edge board + Captain, a USB-PD power supply, Edge-IO board with spacers, …

Intrinsyc Open-Q 670 HDK Development Kit Features Snapdragon 670 Processor

Qualcomm introduced the Snapdragon 670 this August with improved camera capabilities and improved performance, including a near doubling of the performance of the AI Engine over the one in Snapdragon 660. Intrinsyc is normally the first company to launch mobile development platform for Qualcomm processor, and this time is no exception, as the company has just introduced Open-Q 670 HDK Development Kit with Snapdragon 670 Mobile Platform. Open-Q 670 HDK specifications: SoC – Qualcomm Snapdragon SDA670 Octa-core 64-bit Kryo 360 processor with 2x high-performance Gold cores @ 2.016 GHz, 6x low-power Silver cores @  1.708 GHz, Qualcomm Adreno 615 GPU @ 430 MHz, and Qualcomm Hexagon 685 DSP dedicated for Computer Vision and Video Post Processing System Memory – 6GB LPDDR4x RAM Storage – 64GB eMMC 5.1 Flash Storage (non-PoP memory) + uSD card socket Display MIPI DSI connector with 1x 4-lane DSI port + Touch for included LCD panel accessory (5.65″ FHD+ 2160×1080 resolution) HDMI Video output via DSI …

MeWe is an Ad-free, Privacy Focused Social Network

MeWe CNX Software

This post will be fairly off-topic, but recently Google announced they’d be closing Google+ for consumers. CNX Software has a community about TV boxes and mini PCs with over 12,000 members on the site, and that means it will go away eventually. So Google+ is going away, Facebook is very popular – and we have our own page – but many people have privacy concerns, don’t like the way the company handles their data, and/or for sensitive subjects, censorship appears to have come into play recently. Twitter is another option which I also use, but there’s no such things as groups or communities. But the other day, I noticed people on Google+ complained about the lack of activity in a specific community, and a person replied that everybody moved to MeWe… OK, so what is MeWe? As described on the website: Engineered with privacy-by-design, MeWe turns the table on Facebook and other social media companies with a revolutionary service that …

$6 C-SKY Linux Development Board Features GX6605S Media SoC with C-SKY ISA

C-SKY Linux Development Board

We’ve got plenty of ultra low cost , media capable Linux boards in recent years, but most of those are based on Arm architecture. More recently RISC-V open source ISA has started to show up in various boards such as Sipeed M1, but none of those can play video, or at least don’t come with an hardware video decoder. C-Sky Linux development board does change that somewhat. It’s sold for about $6 (39 RMB) on Taobao, and $17.36 shipped on Aliexpress, and features Nationalchip GX6605S processor for DVB-S2 HD set-top boxes using C-SKY architecture, independent from RISC-V, although C-SKY is also a member of the RISV-C foundation. C-SKY Linux development board key features and specifications: SoC – Nationalchip GX6605S C-SKY ISA V1 CK610M 32-bit processor @ 574 MHz with 64MB DDR2 RAM, built-in DVB-S2/S demodulator Storage – 4MB SPI flash for bootloader and media player program Video Output – HDMI output up to 1080p; framebuffer resolution (for UI): 1280×720 Video …

Giveaway Week – NanoPC-T4 RK3399 SBC

NanoPC T4 Connected

We started the week-end with a Rockchip RK3399 board, so it makes perfect sense to end giveaway week with a bang, and another RK3399 SBC: FriendlyElec NanoPC-T4. Like other such boards, NanoPC-T4 supports both Linux and Android, but since I had tested various RK3399 SBCs with Linux, instead I decided to review NanoPC-T4 with Android 7.1, and it performed mostly has expected although I found out a larger heatsink would be necessary for more consistent performance. FriendyElec normally provides good documentation and decent firmware images for their boards so that definitely a plus. The winner of the kit will receive half of what is shown in the photo above, as I received two kits with the board, a heatsink and screws, a remote control, a 12V power supply, and an acrylic case. To enter the draw simply leave a comment below. Other rules are as follows: Only one entry per contest. I will filter out entries with the same IP …

G12S Amlogic S905X2 Android TV Box Comes with 2T2R WiFi 5 Connectivity

Several Amlogic S905X2 TV boxes running Android have launched with products such as X96 Max,  Beelink GT1 Mini, H96 Max X2, or Mecool KM9. Some of those boxes come with WiFi 802.11 b/g/n, and others feature better  WiFI 802.11ac (WiFi 5), but according to ACEMAX no model comes with a 2T2R (2 transmit / 2 receiver) antenna setup (aka 2×2 MIMO) except for their G12S TV box sold on Aliexpress for $55.99. So if you aim for the best WiFi throughput possible in your TV box, it might be worth having a go. ACEMAX normally adds their brand on OEM product, and the actual manufacturer should be ShiningWorth with the G12x2 model. G12x2 / G12S TV box specifications: SoC – Amlogic S905X2 quad core ARM Cortex-A53 @ up to 2.0 GHz with Mali-G31 MP2 “Dvalin” GPU System Memory – 4GB LPDDR4 Storage – 32GB or 64GB eMMC flash, micro SD card slot up to 64GB Video & Audio Outputs HDMI 2.1 …

Giveaway Week – ANAVI Infrared pHat + Light pHat Starter Kit

Raspberry-Pi-IR-HAT

Leon ANAVI works as a software engineer, but designs some open source hardware boards as a hobby, and usually sends me his creations for review. That means I have a bunch of his products, and today I’ll be giving away ANAVI Light pHat Starter Kit, and ANAVI Infrared pHat. The light sensor in the kit above will not be included, since I have no idea where it is… The winner still get the board and RGB LED string, and a few stickers. After connecting to a Raspberry Pi board and adding a 12V power supply, you’ll be able to control the LED as I did in “Getting Started with ANAVI Light pHat Starter Kit with RGB LED Strip, Light Sensor“. ANAVI Infrared pHat will also be part of the winning package, and you may consider reading the instructions showing how to control an air conditioner with a Raspberry Pi board. To enter the draw simply leave a comment below. Other …