Difference between revisions of "Novena/Debian Wheezy Bootstrap"
Jimmy Tang (talk | contribs) |
Jimmy Tang (talk | contribs) |
||
Line 24: | Line 24: | ||
** See https://github.com/xobs/novena-linux/blob/3.15-rc1-novena/debian-build.sh | ** See https://github.com/xobs/novena-linux/blob/3.15-rc1-novena/debian-build.sh | ||
* generate a blockdevice or use a real sdcard | * 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 | ** first partition is a fat32 partition for the kernel and boot.scr | ||
** second partition is for the operating system | ** second partition is for the operating system | ||
− | * debootstrap the second partition | + | * debootstrap the second partition (via apt-cacher-ng to reduce network traffic) |
+ | |||
+ | === Steps === |
Revision as of 11:12, 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...
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)