(the blue tape at the top is just cause i found the bright power and activity LEDs annoying... I'm weirdo )
I loved the little detail of QC pass sticker featuring adorable doge with the words "Such Pass"
C.H.I.P. did very well on Kickstarter earlier this year:
- 39,560 backers
- $2,071,927 pledged
I choose the Kernel Hacker reward level, so I got this Alpha C.H.I.P. hot off the assembly line:
Full shipment to backers should start in Spring 2016:
CHIP also includes on-board WiFi and Bluetooth via a Realtek chipset:
CHIP can easily be powered by micro USB or a Li-Po battery:
The only built-in video output is low-res Composite analog video:
But there will be HDMI and VGA capes in the future:
Anyways, I'm perfectly happy with a UART . I was able to connect to the Linux console using a FTDI USB-to-serial cable:
(the blue tape on the right is just cause i found the bright power and activity LEDs annoying)
I found the pinout and other details on this page:
Here's a GitHub Gist with the full console log of the CHIP booting:
Basic system info after booting up:
/home/pdp7 # cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 2 (v7l) BogoMIPS : 1001.88 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc08 CPU revision : 2 Hardware : Allwinner sun4i/sun5i Families Revision : 0000 Serial : 162542c709417353 /home/pdp7 # uname -a Linux chip 4.2.0-rc1 #1 SMP Sat Sep 19 03:24:28 UTC 2015 armv7l GNU/Linux /home/pdp7 # df -h Filesystem Size Used Available Use% Mounted on ubi0:rootfs 3.6G 21.1M 3.6G 1% / devtmpfs 245.3M 0 245.3M 0% /dev tmpfs 245.4M 0 245.4M 0% /dev/shm tmpfs 245.4M 68.0K 245.3M 0% /tmp tmpfs 245.4M 40.0K 245.3M 0% /run /home/pdp7 # cat /proc/meminfo |head MemTotal: 502500 kB MemFree: 466800 kB MemAvailable: 468492 kB Buffers: 0 kB Cached: 8784 k
So that is all well and good, but why am I writing about CHIP on this Open Source Hardware group blog?
Well, that is because CHIP is 100% Open Source Hardware:
The design files are licensed as CC-BY-SA and linked from this centralized documentation page:
The CHIP Hardware repo on GitHub:
- PCB Layout
- Bill of Materials (BOM)
The repo even has datasheets for components in the BOM:
The goal of Next Thing Co for CHIP is to be a happy and healthy member of the Linux open source community!
This means CHIP needs to:
- Run official and current version of Linux kernel
- Build new Linux drivers for on-board hardware
- Merge changes into Linus Torvald's tree in a process called "Mainlining"
Mainlining the kernel changes necessary for C.H.I.P. is no small task. Takes huge and ongoing community effort. The amazing Linux-Sun-Xi community has already made great progress on kernel support for Allwinner SoCs:
A huge smile crossed my face when I learned that Next Thing Co contracted the ARM Linux kernel experts at Free Electrons to support CHIP in mainline:
Free Electrons has been supporting Allwinner processors in the mainline Linux kernel for several years. Free Electrons engineer Maxime Ripard is the maintainer of the Allwinner SoC support in mainline. You can follow their progress on Google+:
Here's an example of how audio support for CHIP was add to the mainline Linux kernel:
- Maxime Ripard finished the initial work done by Emilio Lopez during a Google Summer of Code on supporting the audio codec built into the Allwinner A10 processor.
- Maxime sent the patch series to the ASoC maintainers:
- v1 got merged directly by Mark Brown, one of the two ASoC maintainers!
- “For a completely new driver, it is quite an achievement to get it merged without having to do additional iterations”
- CHIP now has audio support in mainline!
Another exciting update from Maxime Ripard:
You can also follow the progress of the Linux kernel development for CHIP with this NextThingCo repo on GitHub:
So what about software beyond the kernel? My CHIP Alpha arrived with a root filesystem that Next Thing Co created with Buildroot: "a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation."
Here's what the rootfs build that shipped on my CHIP Alpha looked like from the console:
Next Thing Co created CHIP-SDK with everything needed to develop software for CHIP, including creating a custom rootfs with buildroot.
As this MAKE blog post described, the SDK is easy to install and run because it uses Vagrant to manage a VirtualBox VM:
written by David Scheltema [interested1]
However, I love the vast array of packages that Debian GNU/Linux has to offer, so I am happy the Debian is now available for CHIP:
I was able to easily flash Debian onto my CHIP and then boot it!
I think I will next look at what I can do with the GPIO pins on the CHIP:
Assuming you don't want to use the camera or LCD ports it looks like you get 1 UART, 2 I2C, 1 SPI, 1 PWM & 32 i/O (some with interrupt)
So that's it for now... I think CHIP will only get more exciting as it gets into more and more hands!
Here's some additional links I've found useful:
- Next Thing Co. BBS: CHIP category
- NextThingCo/sunxi-tools repo
- CHIP Engineering / Programming Links & Photos
- Getting Started with C.H.I.P.
- Install X-windows (debian)
- Answers to frequently asked questions about C.H.I.P.
And finally, slides from my talk about CHIP at Chicago hackerspace Pumping Station: One earlier this week: