BeagleBoard Black run Ubuntu System

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.xz
bdbb19ae79eb60c3ba6905566c9f0ac6  ubuntu-13.10-console-armhf-2013-12-17.tar.xz

Unpack image:

tar xJf ubuntu-13.10-console-armhf-2013-12-17.tar.xz
cd 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 Drive
Disk /dev/sdd: 3957 MB, 3957325824 bytes <- MMC/SD card

lsblk:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      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
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值