@@ -81,16 +81,16 @@ I am calling it `brickstrap`.
8181 mkdir brickstrap
8282 cd brickstrap
8383
84- Then, build an image. Right now there are 3 * flavors* of ev3dev.
85- The ` -b ` option is the "board " definition that is used to build the image
86- It should either be ` ev3-ev3dev-jessie ` if you are using the EV3,
87- ` rpi-ev3dev-jessie ` for Raspberry Pi 0/1 or ` rpi2-ev3dev-jessie ` for Raspberry Pi 2.
88- The ` -d ` option is the name of the directory that will be created . The ` create-rootfs `
84+ Then, build an image. Right now there are 4 * flavors* of ev3dev.
85+ The ` -c ` option is the "component " definition that is used to build the image
86+ It should either be ` ev3 ` if you are using the EV3, ` bone ` if you are using BeagleBone ,
87+ ` rpi1 ` for Raspberry Pi 0/1 or ` rpi2 ` for Raspberry Pi 2.
88+ The ` -p ` option is the name of the project and must be ` ev3dev-jessie ` . The ` create-rootfs `
8989command tells brickstrap to build a file system but to not actually create an
9090image file. This will take 20 to 30 minutes or longer depending on the speed of
9191your machine and Internet connection.
9292
93- brickstrap -b ev3- ev3dev-jessie -d ev3-rootfs create-rootfs
93+ brickstrap -p ev3dev-jessie -c ev3 create-rootfs
9494
9595## Working in the Brickstrap Shell
9696
@@ -99,7 +99,7 @@ shell inside of the directory that was created. This is almost like working in
9999a virtual machine except that qemu is used to run individual commands instead
100100of the whole thing being run inside of a virtual environment.
101101
102- brickstrap -b ev3- ev3dev-jessie -d ev3-rootfs shell
102+ brickstrap -p ev3dev-jessie -c ev3 shell
103103
104104Now, you can install packages and run programs almost just as if you were on the
105105actual EV3. Don't forget to run ` apt-get update ` first! For starters, you will
@@ -115,7 +115,7 @@ work there so that you can access the files that create from outside of the
115115brickstrap shell. This is important because some things, like ssh, will not
116116work inside the brickstrap shell.
117117
118- cd /host-rootfs/home/user
118+ cd /brickstrap/ host-rootfs/home/user
119119
120120## Sample Program
121121
0 commit comments