瀏覽代碼

Update the debian image

Bob Mottram 11 年之前
父節點
當前提交
3e68454e1c
共有 1 個檔案被更改,包括 14 行新增7 行删除
  1. 14
    7
      beaglebone.txt

+ 14
- 7
beaglebone.txt 查看文件

@@ -113,21 +113,21 @@ Download the image.
113 113
 
114 114
 #+BEGIN_SRC: bash
115 115
 cd ~/
116
-wget http://freedombone.uk.to/debian-7.2-console-armhf-2013-11-15.tar.xz
116
+wget http://freedombone.uk.to/debian-jessie-console-armhf-2014-08-13.tar.xz
117 117
 #+END_SRC
118 118
 
119 119
 Verify it.
120 120
 
121 121
 #+BEGIN_SRC: bash
122
-sha256sum debian-7.2-console-armhf-2013-11-15.tar.xz
123
-262ea96d6bff530ad545e001eb2aa50b26a999c02f0c0e2e5f8536edf21c973a debian-7.2-console-armhf-2013-11-15.tar.xz
122
+sha256sum debian-jessie-console-armhf-2014-08-13.tar.xz
123
+fc225cfb3c2dfad92cccafa97e92c3cd3db9d94f4771af8da364ef59609f43de
124 124
 #+END_SRC
125 125
 
126 126
 Uncompress it.
127 127
 
128 128
 #+BEGIN_SRC: bash
129
-tar xJf debian-7.2-console-armhf-2013-11-15.tar.xz
130
-cd debian-7.2-console-armhf-2013-11-15
129
+tar xJf debian-jessie-console-armhf-2014-08-13.tar.xz
130
+cd debian-jessie-console-armhf-2014-08-13
131 131
 #+END_SRC
132 132
 
133 133
 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:
@@ -140,10 +140,17 @@ then plug in the flash drive and type the same command again.  You'll be able to
140 140
 
141 141
 #+BEGIN_SRC: bash
142 142
 sudo apt-get install u-boot-tools dosfstools git-core kpartx wget parted
143
-sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone --swap-file 1024
143
+sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
144 144
 #+END_SRC
145 145
 
146
-Once completed then safely remove the microSD card via your file manager (usually right click and "safely remove" or "eject").
146
+Once that is completed we need to copy a boot file to enable the system to boot correctly:
147
+
148
+#+BEGIN_SRC: bash
149
+sudo cp /media/$USER/BOOT/bbb-uEnv.txt /media/$USER/BOOT/uEnv.txt
150
+sync
151
+#+END_SRC
152
+
153
+Now the microSD card can be safely removed via your file manager (usually right click and "safely remove" or "eject").
147 154
 
148 155
 ** Cubieboard
149 156