Nandland Go Board is a $50 Board for Learning FPGA, VHDL & Verilog Programming (Crowdfunding)

There are many FPGA boards on the market at various price points, but many assume you already have the technical knowledge to program the bard with Verilog or VHDL, and may not be suited to beginners. Nandland Go Board is a $50 board that targets beginners with tutorials to get started with blinking LEDs, controlling buttons, received data through the UART interface, showing display patterns via the VGA interface and more. Go Board specifications: FPGA – Lattice ICE40 HX1K with 1280 logic cells, 64Kbit RAM, and one PLL. Storage – 1Mb flash Clock – 25 MHz on-board clock Video Output – VGA Connector Display – Dual 7-Segment LED Display USB – 1x micro USB connector for power, communication, and programming Expansion – PMOD connector Misc – 4x user LEDs, 4x push buttons Power – 5V via micro USB port Dimensions – N/A The board will be programmed using Lattice Semi […]

How to extract kernel.img with mkboot script

As I tried instructions to install Linux on Amlogic S905 Android TV boxes yesterday, I wanted to extract kernel.img file found in Android firmware, but Google did not help that much until I found mkboot part of mkbootimg_tools scripts. But first let’s see how kernel.img is created… Google provide a Python script called mkbootimg that combine the kernel image (e,.g. zImage), a rootfs/ramdisk and the device tree (DTB) file with a command line that looks like:

However, AFAIK the company does not provide a “unmkbootimg” script, and mkbootimg can only be used to create kernel.img, not decompile it. But that’s what mkboot does, and it works for kernel.img and recovery.img. Let’s retrieve the necessary files first:

mkboot is a bash script so we can use it right away:

So it can be used both for unpacking and repacking kernel.img to/from the output directory. Let’s run the command […]

How to Run Headless Linux on Amlogic S905 Devices Such as MINI MX or K1 Plus

A few week ago, I had been informed that Amlogic S905 U-boot and Linux source code was released, and one person use the code and other resources to load a minimal Ubuntu 14.04 image to his K1 Plus TV box and released the installation instructions and the image (Thanks olin!). I also have K1 Plus here, but since I’ve just finished reviewing Beelink MINI MX, I decided to use the latter instead. The instructions below boot Linux from the (micro) SD card, and can still boot Android if you remove the SD card. Modifying U-boot environment The instructions include opening the box, and connecting or soldering a USB to TTL debug board to access U-boot and change some parameters. But later once an image with network is working, you could also build and load fw_setenv and fw_saveenv, and do the same steps with an Android shell and without the need […]

Quick Start Guide for LinkIt Smart 7688 (Duo) Board

Mediatek Labs has announced LinkIt Smart 7688 development boards powered by Mediatek MT7688 WiSoC earlier today, but I was selected for a close beta several weeks before the launch, and I’ve had time to play a little with the boards, so today I’ll report my experience getting started with LinkIt Smart 7688 amd 7688 Duo by writing a Quick Start Guide showing how to setup the boards, upgrade firmware, access the serial console, run “Blink LED” sample applications with Python and JavaScript, as well as the Arduino IDE, and connect to the Internet. Initial Setup You’ll only need a micro USB cable and a computer with WiFi and USB ports to get started with the board. The green LED (top) for the MCU will turn on immediately, while the red LED (bottom) for WiFI will blink once, and only turn on continuously after 5 seconds, and within 30 seconds after […]

How to Update Firmware on Amlogic S905 TV Boxes

Videostrong has just sent me a new firmware for K1 Plus mini PC based on Amlogic S905 processor. The procedure is basically the same as for previous Amlogic devices, but I’ve still documented the step to follow an update. Please note that devices from decent brands should have OTA updates implemented, so it may not be needed, except for the cheapest devices, or in case of network issues. The firmware update procedure below can be done in any computer, including the Android TV box itself. The firmware is specific to K1 Plus, so if you have another TV box, you’ll need to change the download link to the firmware for your device. Download the firmware file (e.g. K1 Plus 2015-11-23.rar) Extract the compressed file to the root of a micro SD card, or on any other external storage. You should have a few files as shown above, including a zip […]

How to Build Brillo Operating System from Source Code and Run Brillo Emulator

Google formally launched Brillo operating system a few weeks ago. The new operating system is a stripped down version of Android that targets Internet of Things (IoT) applications, and more recently the company pushed the source code to their servers. So I’ve given it a try by checking out the code, building Brillo emulator for Intel/AMD, and running it in Ubuntu 14.04 64-bit. First you’ll need to retrieve the source code:

It took a few hours here with some errors the first time, so I tried again and I finally got the code a few hours later. Once this is done, set the build environment and configuration:

Lunch will bring a list of possible builds:

You could also run the “Brillo emulator” on ARM, and edison-eng must be the build for Intel Edison board. Now you can start the build:

It has to complete 21491 different tasks, […]

DragonBoard 410c Development Board Quick Start Guide and Android Benchmarks

Linaro’s 96Boards initiative was announced in February with the introduction of Hikey board, and while progress has been rather slow, there are now two boards available for sale: Lemaker Hikey and Qualcomm Dragonboard 410c. The main advantage of these board is that 96Boards is not only an hardware specification, but also a software specifications that mandate most code to be open source, with recent versions of Linux and U-boot, and in the case of Dragonboard 410c work is being done with Freedreno open source GPU drivers. Now that I’ve got a board I’ll explain my experience with the purchasing process, take a few pictures, and show how to get started with Android, and install the latest version, before running a few benchmarks. Ordering DragonBoard 410c Development Board I normally don’t like purchasing from North American and European distributors, because of the potential documentation involved to comply with silly laws, high […]

Amlogic S905 Source Code Published – Linux, U-Boot, Mali-450 GPU and Other Drivers

Amlogic has an open linux website where they regurlarly release GPL source code, and with Amlogic S905 devices coming to market, they’ve released a few tarballs at the beginning of the month including Linux 3.14 source code, U-boot source code, and Mali-450MP GPU kernel source code (obviously not userspace), as well as some other drivers for WiFi, NAND flash, PMU, TVIN, etc… Let’s get to the download links: Linux 3.14.29 source code U-boot 2015.01 GPU drivers for ARM Mali-450MP Broadcom and Realtek Wifi drivers and firmware (November 4, 2015) can be found @ http://openlinux.amlogic.com:8000/download/ARM/wifi/. Other kernel modules (November 4, 2015) @ http://openlinux.amlogic.com:8000/download/ARM/modules/. I quickly tried to build the Linux source. If you’ve never build a 64-bit ARM kernel or app before, you’ll fist need to install the toolchain. I installed the one provided with Ubuntu 14.04:

Now extract the tarball and enter the source directory:

At first I […]