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

From OnnoWiki
Jump to navigation Jump to search
Line 40: Line 40:
 
==Download Image==  
 
==Download Image==  
  
Prebuilt Images
+
Prebuilt Image
  
 
  MLO: The stage 1 boot loader that configures external memory and loads the second stage boot loader.
 
  MLO: The stage 1 boot loader that configures external memory and loads the second stage boot loader.
Line 56: Line 56:
 
==Install Image==
 
==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.
+
Langkah berikut adalah untuk menginstall image di SD card di Linux. Sangat di sarankan untuk membackup terlebih dulu isi SD card sebelum anda melakukan hal ini.
  
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.
+
Masukan SD card ke card reader. Akan terdeteksi dua partisi yaitu FAT dan rootfs. Jika tidak, partisi tersebut perlu di mount secara manual.
 +
 
 +
Partisi FAT berisi software untuk boot, seperti kernel Linux. Partisi rootfs berisi lainnya, termasuk kernel modul, paket yang terinstalasi dll.
  
 
  $ ls /media/
 
  $ ls /media/
 
  FAT  rootfs
 
  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.
+
Instal MLO. Timpa MLO lama dengan MLO baru. Jika ini tidak betul dilakukan, maka partisi perlu di format.
  
 
  $ cd /media/FAT
 
  $ cd /media/FAT
 
  $ cp <download location>/MLO MLO
 
  $ cp <download location>/MLO MLO
  
Install the U-Boot image and Linux kernel
+
Install image U-Boot dan Linux kernel
  
 
  $ cp <download location>/u-boot.bin-for-3.0.bin u-boot.bin
 
  $ 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
 
  $ 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.
+
Hapus root filesystem. Pastikan bahwa directory yang digunakan benar, jika tidak kita akan kehilangan data.
  
 
  $ sudo rm -rf /media/rootfs/*
 
  $ sudo rm -rf /media/rootfs/*
  
Install the new root filesystem in the mounted rootfs partition.
+
Install root filesystem yang baru di partisi rootfs yang di mount.
  
 
  $ cd /media/rootfs
 
  $ cd /media/rootfs
 
  $ sudo tar xvfz <download location>/console-openbts-devel-image-usrp-e1xx.tar.gz .
 
  $ 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.
+
Unmount partisi. Perhatikan umount akan membutuhkan beberapa menit sebelum SD card dapat di cabut dengan aman.
  
 
  $ cd /media
 
  $ cd /media

Revision as of 18:56, 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 Image

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

Langkah berikut adalah untuk menginstall image di SD card di Linux. Sangat di sarankan untuk membackup terlebih dulu isi SD card sebelum anda melakukan hal ini.

Masukan SD card ke card reader. Akan terdeteksi dua partisi yaitu FAT dan rootfs. Jika tidak, partisi tersebut perlu di mount secara manual.

Partisi FAT berisi software untuk boot, seperti kernel Linux. Partisi rootfs berisi lainnya, termasuk kernel modul, paket yang terinstalasi dll.

$ ls /media/
FAT  rootfs

Instal MLO. Timpa MLO lama dengan MLO baru. Jika ini tidak betul dilakukan, maka partisi perlu di format.

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

Install image U-Boot dan 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

Hapus root filesystem. Pastikan bahwa directory yang digunakan benar, jika tidak kita akan kehilangan data.

$ sudo rm -rf /media/rootfs/*

Install root filesystem yang baru di partisi rootfs yang di mount.

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

Unmount partisi. Perhatikan umount akan membutuhkan beberapa menit sebelum SD card dapat di cabut dengan aman.

$ 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

Persiapan Hardware

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah