Changes between Version 3 and Version 4 of projects/synapse/raspberry


Ignore:
Timestamp:
11/25/12 15:21:48 (11 years ago)
Author:
Edwin Eefting
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • projects/synapse/raspberry

    v3 v4  
    55I used arch linux on my host system and debian on the rasp.
    66
    7 == Install qemu-arm-static on the host system ==
     7== Learn your host system how to handle arm binaries ==
    88
    99=== 1. Steal a statically compiled qemu-arm from some distro: ===
     
    3232}}}
    3333
     34
     35== Set up the build environment ==
     36
     37=== 1. copy the rootfilesystem from your raspberry ===
     38
     39We just copy the whole rootfs, so we have an exact copy of the environment we want to cross compile for:
     40
     41{{{
     42[root@lab1 psy]# rsync -ax root@192.168.13.238:/ rasprootfs
     43root@192.168.13.238's password:
     44....
     45}}}
     46
     47
     48=== 2. entering the build environment ===
     49
     50The only thing you have to do to be able to enter the environent is copy qemu-arm-static into it:
     51
     52{{{
     53[root@lab1 psy]# cp /usr/bin/qemu-arm-static rasprootfs/usr/bin/
     54[root@lab1 psy]# chroot rasprootfs/
     55root@lab1:/# uname -a
     56Linux lab1 3.6.5-1-ARCH #1 SMP PREEMPT Wed Oct 31 20:57:39 CET 2012 armv7l GNU/Linux
     57}}}}
     58
     59w000h...now we can chroot to the local raspberry environment and start to compile stuff!
     60
     61
     62
     63
     64