From b1b7684e861effe1db69a9bcd253ccad21c49fb2 Mon Sep 17 00:00:00 2001 From: "Runa A. Sandvik" Date: Fri, 19 Aug 2011 20:31:46 +0100 Subject: we want to fork the freedom-maker script for the torouter --- freedom-maker/README | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 freedom-maker/README (limited to 'freedom-maker/README') 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! -- cgit v1.2.3