summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-flash-official-bb-img.tex
blob: 94c408c6bf592d375c0d0d99db01a90a4ab42e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\begin{frame}[fragile]
\frametitle{EXCURSUS: flash the official beaglebone image \#1}
\begin{verbatim}
poky/build-ti % sudo fdisk /dev/mmcblk0
# create a
# * bootable
# * primary partition with
# * about 100 MB and
# * Windows vFat format
# and another primary partition with Linux Ext format
\end{verbatim}
\end{frame}

\begin{frame}[fragile]
\frametitle{EXCURSUS: flash the official beaglebone image \#2}
\begin{verbatim}
poky/build-ti % sudo mkfs.vfat -F 16 -n boot /dev/mmcblk0p1
poky/build-ti % sudo mke2fs -j -L "root" /dev/mmcblk0p2
poky/build-ti % sudo mount /dev/mmcblk0p1 /mnt
poky/build-ti % sudo cp -a tmp/deploy/images/beaglebone/MLO-beaglebone \
  /mnt/MLO
poky/build-ti % sudo cp -a \
  tmp/deploy/images/beaglebone/u-boot-beaglebone.img \
  /mnt/u-boot.img
poky/build-ti % sudo umount /mnt
poky/build-ti % sudo mount /dev/mmcblk0p2 /mnt
poky/build-ti % sudo tar xjf \
  tmp/deploy/images/qt4e-demo-image-beaglebone.tar.bz2 -C /mnt
poky/build-ti % sudo umount /mnt
\end{verbatim}
\end{frame}