Don
Building my Own Laptop - bunnie's blog
We are building an open laptop, with some wacky features in it for hackers like me.
This is a lengthy project. Fortunately, ARM CPUs are getting fast enough, and Moore’s Law is slowing down, so that even if it took a year or so to complete, I won’t be left with a woefully useless design. Today’s state of the art ARM CPUs — quad-core with GHz+ performance levels — is good enough for most day-to-day code development, email checking, browsing etc.
We started the design in June, and last week I got my first prototype motherboards, hot off the SMT line. It’s booting linux, and I’m currently grinding through the validation of all the sub-components. I thought I’d share the design progress with my readers.
Of course, a feature of a build-it-yourself laptop is that all the design documentation is open, so others of sufficient skill and resources can also build it. The hardware and its sub-components are picked so as to make this the most practically open hardware laptop I could create using state of the art technology. You can download, without NDA, the datasheets for all the components, and key peripheral options are available so it’s possible to build a complete firmware from source with no opaque blobs.
Above is an annotated diagram of the circuit board. The dimensions of the board are approximately 121mm x 150mm — sized to fit comfortably underneath a standard-sized laptop keyboard. The image above is rotated versus the installation orientation; the port farm is meant to be on the right hand side of the laptop, not on the bottom. The overall height of the board is just under 14mm, with the height being set by the thickness of an Ethernet connector. The thickness on my Lenovo T520 base portion is just under 24mm, so once we stack a keyboard and plastics on this it’ll be just about the same.
Here are some of the features of the laptop motherboard:
- Quad-core Cortex A9 CPU with NEON FPU @ 1.2 GHz
- Vivante GC2000 OpenGL ES2.0 GPU, 200Mtri/s, 1Gpix/s (*)
- NDA-free datasheet and programming manual
- Boot from microSD firmware
- 64-bit, DDR3-1066 SO-DIMM, upgradable to 4GB
- SATA-II (3Gbps)
- mini PCI-express slot (for blob-free wifi, bluetooth, mobile data, etc.)
- UIM slot for mPCIe mobile data cards
- Dual-channel LVDS LCD connector (up to QXGA (2048×1536) @ 60Hz resolution) with USB2.0 side-channel for a display-side camera
- Resistive touchscreen controller (note: captouch displays typically come with a controller)
- 1.1W, 8-ohm internal speaker connectors
- 2x USB2.0 internal connectors for keyboard and mouse/trackpad
- Digital microphone
- 3-axis accelerometer
- header for optional AW-NU137 wifi module (*)
- HDMI
- SD card reader
- headphone + mic port (compatible with most mobile phone headsets, supports sensing in-line cable buttons)
- 2x USB 2.0 ports, supporting high-current (1.5A) device charging
- 1Gbit ethernet
- 100 Mbit ethernet — dual Ethernet capability allows laptop to be used as an in-line packet filter or router
- USB OTG — enables laptop to spoof/fuzz ethernet, serial, etc. over USB via gadget interface to other USB hosts
- Utility serial EEPROM — for storing crash logs and other bits of handy data
- Spartan-6 CSG324-packaged FPGA — has several interfaces to the CPU, including a 2Gbit/s (peak) RAM-like bus — for your bitcoin mining needs. Or whatever else you might want to toss in an FPGA.
- 8x FPGA-driven 12-bit, 200ksps analog inputs
- 8x FPGA-driven digital I/O
- 8x FPGA-driven PWM headers, compatible with hobby ESC and PWM pinouts — enables direct interfacing with various RC motor/servo configurations & quad-copter controllers
- Raspberry-Pi compatible expansion header
- 13x CPU-driven supplemental digital I/Os
- 3x internal UART ports
Items marked with an asterisk (*) require a closed-source firmware blob, but the system is functional and bootable without the blob.
In order to give maximum power management flexibility, the battery interface functions are implemented on a daughtercard. I co-opt a cheap and common SATA-style connector to route power and control signals between the mainboard and the daughtercard. To prevent users from accidentally plugging a hard drive into the battery port, I inverted the gender of the battery-SATA connector from the actual mass storage SATA-II connector. The current battery card is meant to work with the battery packs used by most RC enthusiasts — LiPo packs ranging from 2S1P to 4S1P (2-cell to 4-cell). RC packs are great because they are designed for super-fast charging. They are also cheap and easy to buy. For the board-side battery plug I decided to use the Molex connector found on classic disk drives, since they are cheap, common, and easy to assemble with simple tools. I couldn’t use a standard RC connector because the vast majority of them are designed for in-line use, and the few that have board mounts are too thick or too weird for use in this application.
The battery board can charge batteries at rates in excess of 4A. This means charging a 3-cell, 45Wh (4Ah) pack in about one hour. I’m estimating that a typical power consumption for a reasonable system configuration might be around 5-6W, so that’s 7-8 hours of runtime with a 1-hour charge time using that type of battery pack. Of course, since the whole laptop is user-configurable, typical power consumption is really hard to estimate — you could drop in a monster LCD and a power-hungry magnetic hard drive with loads of peripherals and the power consumption could be much higher. Of course, you can drop in a 100Wh battery pack if you wanted as well :)
Another cute feature of the battery board is that it can drive an analog panel meter. Xobs had suggested that it would be neat to embed a retro analog needle meter into the palmrest of the laptop to give a real-time display of power consumption. I thought it was a great idea, so I designed that in. Of course, the analog meter is driven by a DAC on the battery microcontroller, so it can be configured to perform a multitude of useful (or not so useful) analog read-outs, such as remaining runtime, battery voltage, temperature, the time (represented as an analog value), etc.
Next up is to spend a couple months validating all the features on the board — a long list of features to grind through indeed — and port drivers and a linux distro (no small task, but I’ll have Xobs‘ skillful help). I also am looking forward to designing the enclosure. Probably for the first rev, I will do something out of laser-cut acrylic that is vaguely tablet-like, to avoid having to mess around with a friction clutch on version 1 of the plastics.
A detached keyboard/trackpoint is attractive to me because I’ve always wanted a display I can “hang” on the seat in front of mine when sitting in an airplane or a bus — it’s a lot easier on the neck and the arrangement actually works better if the person in front reclines their seat.
Once I’ve got some experience integrating the whole thing, I’ll probably design a rev-2 case using CNC-cut ABS and aluminum. CNC cut ABS is almost as robust as injection molded ABS, and can produce reasonably intricate shapes. It’s also relatively economical to produce in single quantities. The CNC-cut design could be a clamshell design, or maybe some other funky design. Maybe I’ll try using wood and brass — who knows, the whole idea of making my own laptop is to play around with some new ideas!
It occurs to me that maybe other people might also be interested in owning a laptop like this, but don’t want to go through the trouble of fabricating their own circuit boards. If it seems like a few hundred folks are interested, I might be convinced to try a Kickstarter campaign in several months, once the design is stable and tested. However, I’m not looking to break any low-price records for this laptop — if you just want a cheap linux laptop you’re better off buying a netbook or EeePC. This is a low-volume, hand-crafted laptop made with uniquely open-source components, so the pricing would be consistent with such crafted goods.
For those interested in the source files for the current early prototype iteration of the design, bounce over to the Novena wiki, and keep an eye on Xobs’ blog. Novena (yet another Singaporean metro station, and also Latin for “nine”) is our stand-in codename for the laptop motherboard.
261 Responses to “Building my Own Laptop”
Read More...http://www.bunniestudios.com/blog/?p=2686
This work by Andrew (bunnie) Huang is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported.
- Building my Own Laptop by Andrew "bunnie" Huang is an American hacker, who holds a Ph.D in electrical engineering from MIT and is the author of the 2003 book Hacking the Xbox: An Introduction to Reverse Engineering
- Chumby developer building open source laptop - The H Open: News and Features
- Andrew Huang - Wikipedia, the free encyclopedia
- Building my Own Laptop « bunnie's blog
- Why the Best Days of Open Hardware are Yet to Come « bunnie's blog
- i.MX6Q Product Summary Page
- i.MX6Q Product Summary Page
- DNXA-125 - 802.11n b/g wifi 1x1 PCIe half-size mini card, HB125/AR9485 | Unex Technology
- GTM661W.pdf (application/pdf Object)
- DHXA-195 - 802.11n b/g 1x1 wifi plus Bluetooth combo PCIe half-size mini card, WB195/AR9285+AR3011 | Unex Technology
- novena_batt_labels.jpg (JPEG Image, 4500 × 2116 pixels) - Scaled (41%)
- Xobs' Blog
- ThinkPad USB Keyboard with TrackPoint - Overview
- Novena Main Page - Studio Kousagi Wiki
- bunnie's blog
- Chumby - Wikipedia, the free encyclopedia
- Chumby developer building open source laptop - The H: Open Source, Security and Development
- Chumby developer building open source laptop - The H: Open Source, Security and Development
- Name that Ware December 2012 « bunnie's blog
- Sifteo Gen2: from Concept to Product « bunnie's blog
- Open Hardware
-
- Arduino The Documentary. How open source hardware became cheap and fun – New Tech Gadgets & Electronic Devices | Geek.com
- Gumstix small open source hardware
- Freaklabs - Open Source Wireless - Kimono Lantern and Humanitarian Open Source Hardware
- Vote for the Open Source Hardware logo - Hack a Day
- Index page • adafruit industries • Customer Support Forums, DIY Electronics, Open Source Hardware, Arduino
- nextgen - fabfi - Evaluation summaries of packages, hardware, and processes under consideration in "the next version" of FabFi - An open-source, city-scale wireless mesh networking system with access control and monitoring - Google Project Hosting
- ATI Catalyst graphics driver install failure in SuSE 11.3
- Problem installing ATI Catalyst Proprietary Driver-8.861
- New $89 open-source hardware runs full Linux OS | ITworld
- New $89 open-source hardware runs full Linux OS | ITworld
- Bug Labs: modular, open source hardware
- Table of Hardware - OpenWrt Wiki
- Linux Today - Red Hat developer explains open source color calibration hardware
- EEVblog #184 - Open Hardware Multimeter Concept
- CERN launches open source hardware effort
- Open Hardware Journal - First Edition
- View topic - My PIC-based TV-B-Gone (design attached) • adafruit industries • Customer Support Forums, DIY Electronics, Open Source Hardware, Arduino
- Canadian Developer Building Open Source Tricorders - HotHardware
- Canadian Developer Building Open Source Tricorders - HotHardware
- Rethinking Linux Hardware: Upgrade or Buy New? - Datamation
- $7000 HP Z1 teardown reveals all-in-one that’s easy to service, packed with high-end hardware | TechRepublic
- TangiBot and the perils of Open Source Hardware - Hack a Day
- Linux Today - Can Open Source Hardware Companies Survive Clones?
- Can Open Source Hardware Companies Survive Clones? | TechCrunch
- Open-BLDC V0.3 Hardware Based Closed Loop Control « Twisted world of Esden
- Linux Today - Pulling back from open source hardware, MakerBot angers some adherents
- Pulling back from open source hardware, MakerBot angers some adherents | Crave - CNET
- BeagleBoard.org | Open Hardware Physical Computing on ARM and Linux
- BeagleBoard.org | Open Hardware Physical Computing on ARM and Linux
- » Linuxaria – Everything about GNU/Linux and Open source Get information on your hardware with hardinfo
- Why the Best Days of Open Hardware are Yet to Come « bunnie's blog
- Newest Hardware Bounty, The Open Lidar Project - Hack a Day
0 comments:
Post a Comment