Update the debian image

This commit is contained in:
Bob Mottram 2014-08-23 13:24:27 +01:00
parent 8a458860aa
commit 3e68454e1c
1 changed files with 14 additions and 7 deletions

View File

@ -113,21 +113,21 @@ Download the image.
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
cd ~/ cd ~/
wget http://freedombone.uk.to/debian-7.2-console-armhf-2013-11-15.tar.xz wget http://freedombone.uk.to/debian-jessie-console-armhf-2014-08-13.tar.xz
#+END_SRC #+END_SRC
Verify it. Verify it.
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
sha256sum debian-7.2-console-armhf-2013-11-15.tar.xz sha256sum debian-jessie-console-armhf-2014-08-13.tar.xz
262ea96d6bff530ad545e001eb2aa50b26a999c02f0c0e2e5f8536edf21c973a debian-7.2-console-armhf-2013-11-15.tar.xz fc225cfb3c2dfad92cccafa97e92c3cd3db9d94f4771af8da364ef59609f43de
#+END_SRC #+END_SRC
Uncompress it. Uncompress it.
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
tar xJf debian-7.2-console-armhf-2013-11-15.tar.xz tar xJf debian-jessie-console-armhf-2014-08-13.tar.xz
cd debian-7.2-console-armhf-2013-11-15 cd debian-jessie-console-armhf-2014-08-13
#+END_SRC #+END_SRC
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: 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
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
sudo apt-get install u-boot-tools dosfstools git-core kpartx wget parted sudo apt-get install u-boot-tools dosfstools git-core kpartx wget parted
sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone --swap-file 1024 sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
#+END_SRC #+END_SRC
Once completed then safely remove the microSD card via your file manager (usually right click and "safely remove" or "eject"). Once that is completed we need to copy a boot file to enable the system to boot correctly:
#+BEGIN_SRC: bash
sudo cp /media/$USER/BOOT/bbb-uEnv.txt /media/$USER/BOOT/uEnv.txt
sync
#+END_SRC
Now the microSD card can be safely removed via your file manager (usually right click and "safely remove" or "eject").
** Cubieboard ** Cubieboard