BeagleBoard Black run Ubuntu System

来源:互联网 发布:淘宝开店得多少钱2016 编辑:程序博客网 时间:2024/06/07 10:34

Default user: ubuntu pass: temppwd


http://elinux.org/BeagleBoardUbuntu#Demo_Image

获取IMG:

Get prebuilt image:

wget https://rcn-ee.net/deb/rootfs/saucy/ubuntu-13.10-console-armhf-2013-12-17.tar.xz

Verify image with:

md5sum ubuntu-13.10-console-armhf-2013-12-17.tar.xzbdbb19ae79eb60c3ba6905566c9f0ac6  ubuntu-13.10-console-armhf-2013-12-17.tar.xz

Unpack image:

tar xJf ubuntu-13.10-console-armhf-2013-12-17.tar.xzcd ubuntu-13.10-console-armhf-2013-12-17

If you don't know the location of your SD card:

sudo ./setup_sdcard.sh --probe-mmc

You should see something like:

Are you sure? I don't see [/dev/idontknow], here is what I do see...fdisk -l:Disk /dev/sda: 500.1 GB, 500107862016 bytes <- x86 Root DriveDisk /dev/sdd: 3957 MB, 3957325824 bytes <- MMC/SD cardlsblk:NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTsda      8:0    0 465.8G  0 disk ├─sda1   8:1    0 446.9G  0 part /  <- x86 Root Partition├─sda2   8:2    0     1K  0 part └─sda5   8:5    0  18.9G  0 part [SWAP]sdd      8:48   1   3.7G  0 disk ├─sdd1   8:49   1    64M  0 part └─sdd2   8:50   1   3.6G  0 part 
  • In this example, we can see via mount, /dev/sda1 is the x86 rootfs, therefore /dev/sdd is the other drive in the system, which is the MMC/SD card that was inserted and should be used by ./setup_sdcard.sh...

Install image:

Quick install script for "board"

sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot board

"board" options:

  • BeagleBoard Ax/Bx/Cx/Dx - beagle
  • BeagleBoard xM - beagle_xm
  • BeagleBone/Black - bone

So for the BeagleBone/Black :

sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone


Quick install script for "board" (using new --dtb option)

sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb board

"board" options:

  • BeagleBoard xM - dt-beagle-xm
  • -----------------------------
    #        --dtb beaglebone (BeagleBone & BeagleBone Black:supported)
    #        --dtb dt-beagle-xm (BeagleBoard xM:supported)
    #        --dtb dt-mx51evk (mx51evk:supported)
    #        --dtb dt-mx53loco (mx53loco:supported)
    #        --dtb dt-wand-dual (WandBoard Dual:supported)
    #        --dtb dt-wand-quad (WandBoard Quad:supported)
    #        --dtb dt-wand-solo (WandBoard Solo:supported)
    #        --dtb omap3-beagle (BeagleBoard Ax/Bx/Cx/Dx:supported)
    #        --dtb omap3-beagle-xm (BeagleBoard xM:supported)
    #        --dtb pandaboard (PandaBoard original & ES:supported)

So for the BeagleBone Black:

sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
  • Additional Options
    • --rootfs <ext4 default>
    • --swap_file <swap file size (in megabytes)>

You should now be able to unmount the SD card from your PC, insert into your Board, reboot and have the OS loaded.

0 0
原创粉丝点击