aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/README
diff options
context:
space:
mode:
authorRuna A. Sandvik <runa.sandvik@gmail.com>2011-08-19 20:31:46 +0100
committerRuna A. Sandvik <runa.sandvik@gmail.com>2011-08-19 20:31:46 +0100
commitb1b7684e861effe1db69a9bcd253ccad21c49fb2 (patch)
treed8f96899c0e6a101bffc47ca801d03153b51134d /freedom-maker/README
parentb67bbdcbf32737a30da937b9e995195fddf75903 (diff)
downloadtorouter-b1b7684e861effe1db69a9bcd253ccad21c49fb2.tar.gz
torouter-b1b7684e861effe1db69a9bcd253ccad21c49fb2.zip
we want to fork the freedom-maker script for the torouter
Diffstat (limited to 'freedom-maker/README')
-rw-r--r--freedom-maker/README38
1 files changed, 38 insertions, 0 deletions
diff --git a/freedom-maker/README b/freedom-maker/README
new file mode 100644
index 0000000..215f56e
--- /dev/null
+++ b/freedom-maker/README
@@ -0,0 +1,38 @@
+Freedom-Maker - Bdale's building tools for the FreedomBox project
+
+Install required build packages:
+ apt-get install multistrap qemu-user-static
+
+To build for a DreamPlug, use
+
+ sudo ./mk_dreamplug_rootfs
+
+This will yield a file tree under build/dreamplug, representing the
+contents of a root file system. Get that onto a USB stick with something
+like
+
+ sudo mount /dev/sdc1 /media/freedom
+ sudo rsync -atvz --progress build/dreamplug/ /media/freedom/
+ sudo umount /media/freedom
+
+Move the USB stick to the DreamPlug, and arrange to boot the existing kernel
+from internal microSD pointing to our new root filesystem by interrupting the
+boot to talk to U-Boot:
+
+ setenv x_bootargs_root root=/dev/sdc1 rootdelay=10
+ saveenv
+ reset
+
+The system should boot to a login prompt.
+
+- - - - -
+
+If you want to set things up to boot from the internal microSD card, once
+you're logged into the system booted from root on USB stick you can use:
+
+ sh /boot/copy2dream.sh
+
+- - - - -
+
+Be aware that this is an imcomplete solution for now .. you will want to at
+least do things like create unique ssh host keys for your device!