浏览代码

Cubieboard setup

Bob Mottram 11 年前
父节点
当前提交
f933fac994
共有 1 个文件被更改,包括 27 次插入1 次删除
  1. 27
    1
      beaglebone.txt

+ 27
- 1
beaglebone.txt 查看文件

@@ -103,6 +103,7 @@ The plug should be /centre positive/, meaning that the centre/tip is positive an
103 103
 Just an ordinary cat5 or cat6 cable that you can get from most electrical/computer stores.
104 104
 
105 105
 * Installing Debian onto the microSD card
106
+** Beaglebone Black
106 107
 
107 108
 The Debian Linux OS will be installed onto a small flash drive.  It's a good idea to do this rather than using the internal flash, because it will allow you to easily create backups of the entire system if necessary using the dd command.
108 109
 
@@ -142,6 +143,29 @@ sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone --swap-file 1024
142 143
 
143 144
 Once completed then safely remove the microSD card via your file manager (usually right click and "safely remove" or "eject").
144 145
 
146
+** Cubieboard
147
+
148
+The Debian Linux OS will be installed onto a small flash drive.  It's a good idea to do this rather than using the internal flash, because it will allow you to easily create backups of the entire system if necessary using the dd command.
149
+
150
+Download the Cubieboard image from http://cubian.org/downloads/
151
+
152
+#+BEGIN_SRC: bash
153
+sudo apt-get install p7zip-full
154
+7z x CUBIAN_IMAGE.7z
155
+#+END_SRC
156
+
157
+Create the disk image, where sdX is the name of the flash drive (probably it will be sdb or sdc).  An easy way to find out the device name of the flash drive is to enter the command:
158
+
159
+#+BEGIN_SRC: bash
160
+ls /dev/sd*
161
+#+END_SRC
162
+
163
+then plug in the flash drive and type the same command again.  You'll be able to see the difference.  Once you know the device name then you can proceed to install the image onto the flash drive.
164
+
165
+#+BASH_SRC: bash
166
+sudo dd if=EXTRACTED_CUBIAN_IMAGE of=/dev/sdX bs=4096; sync
167
+#+END_SRC
168
+
145 169
 * Setup
146 170
 
147 171
 #+BEGIN_VERSE
@@ -167,6 +191,8 @@ Not knowing who you're really connecting to is especially true for self-signed c
167 191
 
168 192
 Eject the microSD card from your computer and plug it into the BBB, then connect the USB cable between the two.  You may need to wait for a couple of minutes for the BBB to boot from the card, then you can then open a terminal and login via ssh.
169 193
 
194
+Note that if you're using a Cubieboard then the ssh login is different (see https://github.com/cubieplayer/Cubian/wiki/Get-started-with-Cubian) and it may be easier to directly edit the following files with the microSD card plugged into your laptop.
195
+
170 196
 #+BEGIN_SRC: bash
171 197
 ssh debian@192.168.7.2
172 198
 #+END_SRC
@@ -4275,7 +4301,7 @@ cd /opt
4275 4301
 git clone https://github.com/e14n/pump.io.git
4276 4302
 cd /opt/pump.io
4277 4303
 npm install
4278
-npm install databank-redis
4304
+npm install databank-leveldb
4279 4305
 #+END_SRC
4280 4306
 
4281 4307
 Limit the use of RAM by the Redis database.