Difference between revisions of "Novena/Debian Wheezy Bootstrap"
Jimmy Tang (talk | contribs) |
Jimmy Tang (talk | contribs) |
||
Line 13: | Line 13: | ||
* Approximately 10gigs of free diskspace (more is probably better so you can cache things during testing/dev) - ideally get a SSD plugged into the board. | * Approximately 10gigs of free diskspace (more is probably better so you can cache things during testing/dev) - ideally get a SSD plugged into the board. | ||
* Assumes 'you as a user' has tried building a linux kernel, u-boot etc... | * Assumes 'you as a user' has tried building a linux kernel, u-boot etc... | ||
+ | ** i.e. we assume you have generated the kernel debian packages, uImage, uImage.dtb, the relevant boot loader and boot scripts. | ||
=== Summary === | === Summary === | ||
Line 30: | Line 31: | ||
=== Steps === | === Steps === | ||
+ | |||
+ | Install at least these things... | ||
+ | |||
+ | <pre> | ||
+ | sudo apt-get install -y qemu-utils apt-cacher-ng build-essential less rsync lzop u-boot-tools git debhelper bc device-tree-compiler parted | ||
+ | </pre> |
Revision as of 11:17, 10 July 2014
Debian Wheezy Debootstrap
A VERY ROUGH SET OF INSTRUCTIONS, RUN WITH CARE
This set of instructions assumes you have a functioning Novena board with Debian Wheezy. These instructions are primarily for people who want to re-create the firmware/base image. It relies on various bits and pieces of information on this wiki.
Prerequisites
- An existing Novena board running Debian Wheezy .
- Root access on your board, ideally have sudo access with no password.
- A 4gb microsd card.
- A reasonably fast network connection.
- Approximately 10gigs of free diskspace (more is probably better so you can cache things during testing/dev) - ideally get a SSD plugged into the board.
- Assumes 'you as a user' has tried building a linux kernel, u-boot etc...
- i.e. we assume you have generated the kernel debian packages, uImage, uImage.dtb, the relevant boot loader and boot scripts.
Summary
- generate u-boot boot loader and boot script
- generate uImage and uImage.dtb file
- generate debian packages for the kernel
- generate a blockdevice or use a real sdcard
- qemu-nbd was used in this example
- first partition is a fat32 partition for the kernel and boot.scr
- second partition is for the operating system
- debootstrap the second partition (via apt-cacher-ng to reduce network traffic)
Steps
Install at least these things...
sudo apt-get install -y qemu-utils apt-cacher-ng build-essential less rsync lzop u-boot-tools git debhelper bc device-tree-compiler parted