Difference between revisions of "OpenBTS: E110 Install Image di MicroSD"

From OnnoWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
  cd /e110-backup
 
  cd /e110-backup
 
  dd if=sde110-ori.bin of=/dev/sdc
 
  dd if=sde110-ori.bin of=/dev/sdc
 +
 +
==Cara Lain Untuk Membuat Image E1xx SD card==
 +
 +
Download dari
 +
 +
http://files.ettus.com/e1xx_images/e1xx-002/
 +
http://files.ettus.com/e1xx_images/
 +
 +
Download file yan di inginkan dan untar
 +
 +
$ tar jxvf e1xx-xxx-make.tar.bz2
 +
 +
kita akan melihat directory 'e1xx-xxx'.
 +
Masukan SD card, jika SD card automount, kita perlu umount
 +
 +
$ sudo umount /path/to/mount/point/partition
 +
 +
Lakukan fdisk untuk mencek nama device SD card
 +
 +
$ sudo fdisk -l
 +
 +
Misalnya SD card di kenali sebagai /dev/sdb Lakukan
 +
 +
$ sudo ./MakeEttusSDCard.sh /dev/sdb
 +
 +
Ini akan membutuhkan beberapa waktu
  
 
==Download Image==  
 
==Download Image==  

Revision as of 14:09, 9 February 2012

Backup SDCARD Bawaan dari Ettus

Masukan SD card ke PC.

mkdir /e110-backup
cd /e110-backup
dd if=/dev/sdc of=sde110-ori.bin

Untuk mengembalikan

cd /e110-backup
dd if=sde110-ori.bin of=/dev/sdc

Cara Lain Untuk Membuat Image E1xx SD card

Download dari

http://files.ettus.com/e1xx_images/e1xx-002/
http://files.ettus.com/e1xx_images/

Download file yan di inginkan dan untar

$ tar jxvf e1xx-xxx-make.tar.bz2

kita akan melihat directory 'e1xx-xxx'. Masukan SD card, jika SD card automount, kita perlu umount

$ sudo umount /path/to/mount/point/partition

Lakukan fdisk untuk mencek nama device SD card

$ sudo fdisk -l

Misalnya SD card di kenali sebagai /dev/sdb Lakukan

$ sudo ./MakeEttusSDCard.sh /dev/sdb

Ini akan membutuhkan beberapa waktu

Download Image

Prebuilt Images

MLO: The stage 1 boot loader that configures external memory and loads the second stage boot loader.
http://dl.dropbox.com/u/14618236/MLO
U-Boot: The stage 2 boot loader that loads the Linux kernel.
http://dl.dropbox.com/u/14618236/u-boot.bin-for-3.0.bin
uImage: The Linux kernel
http://dl.dropbox.com/u/14618236/uImage-3.0-pm-r0a-usrp-e1xx.bin
Root file system
http://dl.dropbox.com/u/14618236/console-openbts-devel-image-usrp-e1xx.tar.gz

Install Image

The following instructions apply to installing images on the SD card in a Linux environment. Please read all instructions and follow them carefully as significant data loss is possible. It is recommended that you backup your SD card contents before proceeding.

Insert the SD card into a card reader. On most Linux distributions, two partitions should mount automatically as "FAT" and "rootfs". If not, the partitions need to be mounted manually. The FAT partition contains required boot contents, which includes the Linux kernel. The rootfs partition contains everything else - kernel modules, installed packages, user information, etc.

$ ls /media/
FAT  rootfs

Install the MLO. Always copy a new MLO over the old one. If not performed properly, the partition will need to be reformatted.

$ cd /media/FAT
$ cp <download location>/MLO MLO

Install the U-Boot image and Linux kernel

$ cp <download location>/u-boot.bin-for-3.0.bin u-boot.bin
$ cp <download location>/uImage-3.0-pm-r0a-usrp-e1xx.bin uImage

Erase the existing root filesystem. Make sure that the correct directory is specified as significant data loss may occur if performed improperly.

$ sudo rm -rf /media/rootfs/*

Install the new root filesystem in the mounted rootfs partition.

$ cd /media/rootfs
$ sudo tar xvfz <download location>/console-openbts-devel-image-usrp-e1xx.tar.gz .

Unmount the partitions. Note that the umount may take a few minutes to sync before the SD card can be safely removed.

$ cd /media
$ umount FAT
$ umount rootfs

At this point, the SD card can be removed and booted on the E100. For general information on starting and communicating with the E100, please refer to the following Connections section of the FAQ. Download

Obtain the source code from the official OpenBTS P2.8 project site

svn co http://wush.net/svn/range/software/public

Build

Follow standard build instructions, however, note that special compiler options specific to ARM processor optimizations are required.

autoreconf -i
./configure --with-uhd CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3" 
make

Referensi

Pranala Menarik

Catatan Legal dan Pendukung

Catatan Sejarah