Difference between revisions of "Novena/Debian Wheezy Bootstrap"
Jimmy Tang (talk | contribs) |
Jimmy Tang (talk | contribs) |
||
Line 3: | Line 3: | ||
'''A VERY ROUGH SET OF INSTRUCTIONS, RUN WITH CARE''' | '''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. | + | 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 | Prerequisites | ||
Line 12: | Line 12: | ||
* A reasonably fast network connection. | * 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. | * 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 === | === Summary === | ||
− | * generate u-boot boot loader | + | * generate u-boot boot loader and boot script |
+ | ** See http://www.kosagi.com/w/index.php?title=Novena/DebianBuildProcess#Compile_the_u-boot_boot_script | ||
+ | ** See http://www.kosagi.com/w/index.php?title=Novena/DebianBuildProcess#Build_u-boot | ||
* generate uImage and uImage.dtb file | * generate uImage and uImage.dtb file | ||
+ | ** See http://www.kosagi.com/w/index.php?title=Novena/DebianBuildProcess#Build_Kernel | ||
* generate debian packages for the kernel | * generate debian packages for the kernel | ||
+ | ** 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 | ||
** 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 |
Revision as of 11:10, 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
- first partition is a fat32 partition for the kernel and boot.scr
- second partition is for the operating system
- debootstrap the second partition