Mainline U-Boot

Linux Kernel

Sunxi/Legacy Kernel

Mainline kernel

Use the default sunxi_defconfig kernel configuration file as a baseline, and run menuconfig to enable extra device drivers, such as USB keyboard/mouse or wireless dongle. For instance, enable CONFIG_RTL8192CU in order to make the onboard Realtek WiFi card work.

Device-tree sun4i-a10-pcduino.dts for LinkSprite_pcDuino works fine for pcDuino-Lite-WiFi board as well. It may need to be tweaked depending on the Arduino shield in use.

HW-Pack

TODO

BSP

TODO

Tips, Tricks, Caveats

Building images using Yocto

Core images for pcDuino-Lite-WiFi board can be built using the following basic building blocks:

This README provides build instructions specific to pcDuino-Lite-WiFi board including the following configurations:

images with sunxi/legacy U-Boot and kernel based on Yocto v1.8 Fido release

images with upstream U-Boot and kernel based on Yocto v2.1 Krogoth release

Building images using Buildroot

Support for pcDuino boards has been added to buildroot. Build instructions are available in readme.txt. Follow the same instructions for pcDuino-Lite-WiFi.

FEL mode

The UPGRADE button (SW2) triggers FEL mode.

LEDs

The board has 5 yellow LEDs:

LED1: power indicator (always on)

LED2: WiFi indicator, connected to the WiFi chip

LED3: labeled RX, accessible via GPIO (PH16 pin)

LED4: labeled TX, accessible via GPIO (PH15 pin)

LED5: labeled CLK, which is connected to the PI11 pin and can also have a dedicated use as SPI0_CLK. This CLK LED serves as either an SPI activity indicator when SPI hardware is connected or just an ordinary LED if no SPI hardware is present.

DRAM

RAM of the board is powered by two 128Mx8 DDR3 chips (Hynix H5TQ1G83BFR-H9C 215V), both on the front side of the PCB.

Compatibility with Arduino shields

The pcDuino has pinout pretty similar to the Arduino and implements an Arduino-style API (in C/C++), but it's not perfectly compatible with the Arduino platform.

Generally, the Arduino ADC reference voltage is AVCC = 5V, so its range is also 5V. However, the pcDuino ADC reference voltage is 3.3V, so pcDuino ADC range is only 3.3V. It works well with a 3.3V Arduino Uno R3. To measure a 5V signal with Arduino, use a voltage divider.