Difference between revisions of "OpenBTS: E110 Install Image di MicroSD"
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 27: | Line 27: | ||
* http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/BootFiles | * http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/BootFiles | ||
* http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/Images | * http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/Images | ||
+ | |||
+ | ==Menggunakan Build Directory== | ||
+ | |||
+ | Download | ||
+ | |||
+ | http://files.ettus.com/e1xx_images/current/e1xx-003-make.tar.bz2 | ||
+ | |||
+ | |||
+ | First, head to the Ettus E1xx Files Directory , and select the directory for the version/revision of image you want to create. Download the e1xx-xxx-make.tar.bz2 file for that version. | ||
+ | |||
+ | Now, de-compress and untar this directory: | ||
+ | |||
+ | $ tar jxvf e1xx-xxx-make.tar.bz2 | ||
+ | |||
+ | You should now have a directory 'e1xx-xxx' with all of the files you need to create a copy of our master image. Insert the target SD Card into your favorite device for mounting micro SD cards in your PC (we assume a Linux PC here). | ||
+ | |||
+ | If the partitions automount, umount them (do not "safely remove the hardware"). You can do this by using the 'umount' command for each partition that was mounted. | ||
+ | |||
+ | $ sudo umount /path/to/mount/point/partition | ||
+ | |||
+ | Now, you will want to figure out what the device node is for the SD Card on your PC. You can do this with 'fdisk': | ||
+ | |||
+ | $ sudo fdisk -l | ||
+ | |||
+ | You should see the SD Card near the bottom (probably), and the partitons will have a titles like /dev/sdb1 and /dev/sdb2. From now on, these instructions will presume that the device node is '/dev/sdb'. | ||
+ | |||
+ | Now, we will use the 'MakeEttusSDCard.sh' script to create the card. Note that this script will work with any size SD Card, takes care of partitioning the card for you, creating the boot partition with the proper files, and then populating the root filesystem. Notice that for this command, we are not passing in partitions for the SD Card, but the entire device node itself. Run: | ||
+ | |||
+ | $ sudo ./MakeEttusSDCard.sh /dev/sdb | ||
+ | |||
+ | This process will take a significant amount of time, and will generate a lot of output as it populates the root filesystem. Once the process is finished, you should see a message that reports success! | ||
+ | |||
+ | Congratulations, you now have an exact replica of our master image! | ||
==Membuat Image Dari E100-sd-07OCT2011-1.bin.gz== | ==Membuat Image Dari E100-sd-07OCT2011-1.bin.gz== |
Revision as of 05:35, 31 March 2012
Backup SD CARD Bawaan dari Ettus
CARA INI RECOMMENDED
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
Sumber Image untuk E110
Ada beberapa sumber image yang menarik utk Ettus E110
- http://dl.dropbox.com/u/14618236/E100-sd-07OCT2011-1.bin.gz # hack Philip Balister
- http://dl.dropbox.com/u/14618236/console-e1xx-devel-image-usrp-e1xx.tar.gz
- http://dl.dropbox.com/u/14618236/gnome-gnuradio-image-usrp-e1xx.tar.gz
- http://dl.dropbox.com/u/14618236/console-openbts-devel-image-usrp-e1xx.tar.gz
- http://files.ettus.com/e1xx_images/
- http://files.ettus.com/e1xx_images/current/
- http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/BootFiles
- http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/Images
Menggunakan Build Directory
Download
http://files.ettus.com/e1xx_images/current/e1xx-003-make.tar.bz2
First, head to the Ettus E1xx Files Directory , and select the directory for the version/revision of image you want to create. Download the e1xx-xxx-make.tar.bz2 file for that version.
Now, de-compress and untar this directory:
$ tar jxvf e1xx-xxx-make.tar.bz2
You should now have a directory 'e1xx-xxx' with all of the files you need to create a copy of our master image. Insert the target SD Card into your favorite device for mounting micro SD cards in your PC (we assume a Linux PC here).
If the partitions automount, umount them (do not "safely remove the hardware"). You can do this by using the 'umount' command for each partition that was mounted.
$ sudo umount /path/to/mount/point/partition
Now, you will want to figure out what the device node is for the SD Card on your PC. You can do this with 'fdisk':
$ sudo fdisk -l
You should see the SD Card near the bottom (probably), and the partitons will have a titles like /dev/sdb1 and /dev/sdb2. From now on, these instructions will presume that the device node is '/dev/sdb'.
Now, we will use the 'MakeEttusSDCard.sh' script to create the card. Note that this script will work with any size SD Card, takes care of partitioning the card for you, creating the boot partition with the proper files, and then populating the root filesystem. Notice that for this command, we are not passing in partitions for the SD Card, but the entire device node itself. Run:
$ sudo ./MakeEttusSDCard.sh /dev/sdb
This process will take a significant amount of time, and will generate a lot of output as it populates the root filesystem. Once the process is finished, you should see a message that reports success!
Congratulations, you now have an exact replica of our master image!
Membuat Image Dari E100-sd-07OCT2011-1.bin.gz
CARA INI TIDAK BERHASIL - ERROR FILE SYSTEM READ ONLY
Lakukan
gunzip E100-sd-07OCT2011-1.bin.gz dd if=E100-sd-07OCT2011-1.bin of=/dev/sdb
Tunggu agak lama utk menyelesaikan proses penulisan
Cara Lain Untuk Membuat Image E1xx SD card
Image berikut agak repot untuk digunakan karena tidak ada asterisk, openbts, hanya ada gnuradio saja. Untuk mencobanya silahkan download dari
http://files.ettus.com/e1xx_images/e1xx-002/ http://files.ettus.com/e1xx_images/
Cek lokasi MicroSD (biasanya /dev/sdb), kalau perlu di umount
fdisk -l sudo umount /path/to/mount/point/partition
Download file dan lakukan proses pembuatan SD card
sudo su cp e1xx-002-make.tar.bz2 /usr/local/src/ cd /usr/local/src tar jxvf e1xx-002-make.tar.bz2 cd /usr/local/src/e1xx-002 ./MakeEttusSDCard.sh /dev/sdb
Ini akan membutuhkan beberapa waktu untuk menyelesaikan
Download Image
Tampaknya Image ini lebih baik untuk digunakan untuk development openbts karena sudah banyak yang di siapkan.
wget http://dl.dropbox.com/u/14618236/MLO wget http://dl.dropbox.com/u/14618236/u-boot.bin-for-3.0.bin wget http://dl.dropbox.com/u/14618236/uImage-3.0-pm-r0a-usrp-e1xx.bin wget http://dl.dropbox.com/u/14618236/console-openbts-devel-image-usrp-e1xx.tar.gz
Install Image
CARA INI TIDAK BERHASIL - ERROR FILE SYSTEM READ ONLY
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.
fdisk -l
Disk /dev/sdb: 4124 MB, 4124049408 bytes 127 heads, 62 sectors/track, 1022 cylinders, total 8054784 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 * 128 131071 65472 c W95 FAT32 (LBA) /dev/sdb2 131072 8054783 3961856 83 Linux
Di mount
mkdir /media/FAT mkdir /media/rootfs mount /dev/sdb1 /media/FAT mount /dev/sdb2 /media/rootfs
Jika di perlukan untuk mempartisi ulang maka besar partisi
FAT FAT32 60Mbyte rootfs ext3 sisa-nya
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. Lakukan,
cd /media/FAT cp <download location>/MLO MLO 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/*
Cara lain yang lebih low level memformat partisi tersebut
fdisk -l # cek partisi misalnya /dev/sdb2 atau /dev/sdc2 mkfs.ext3 /dev/sdb2 e2label /dev/sdb2 rootfs mkdir /media/rootfs mount /dev/sdb2 /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
Selesai sudah SD card dapat di lepas dari PC / laptop. Kita masukan ke E110. E110 dapat di boot.
Masukan MicroSD di E110
Tampak pada gambar adalah lokasi tempat MicroSD di E110
Referensi
- http://gnuradio.org/redmine/projects/gnuradio/wiki/OpenBTSE100
- http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ
- http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/BootFiles
- http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-backup-the-microSD-card-shipped-with-the-E1XX
- http://www.gumstix.org/create-a-bootable-microsd-card.html
Pranala Menarik
Persiapan
- USRP: High Precision Clock
- USRP: Menyambungkan ClockTamer ke USRP1
- USRP: Kalibrasi ClockTamer
- USRP: ClockTamer Control Protocol
- USRP: Instalasi Board
- OpenBTS: GIT Source Code
OpenBTS 2.6
- GNURadio
- GNURadio: Ubuntu Install
- GNURadio: Ubuntu Install GNURadio 3.4.2
- GNURadio: Contoh Aplikasi
- GNURadio: Spectrum Analizer GSM
- GNURadio: Mengubah board RFX1800 menjadi RFX900
- GNURadio: Programming Untuk Pemula
- OpenBTS: Ubuntu Install
- OpenBTS: Konfigurasi
- OpenBTS: Kalibrasi
- OpenBTS: Konfigurasi Asterisk untuk OpenBTS
- OpenBTS: Menjalankan smqueue
- OpenBTS: Mengoperasikan BTS
- OpenBTS: Tampilan di Nokia saat pakai OpenBTS
- OpenBTS: Operasi 1800 MHz
- OpenBTS: Beberapa Tips
- OpenBTS: USRP2
- OpenBTS: Amplifier
- OpenBTS: SMS
- AirProbe
OpenBTS 2.8
- GNURadio: Ubuntu 11.10 Install *NOT RECOMMENED*
- GNURadio: Ubuntu 11.10 instalasi menggunakan Repo NOT RECOMMENDED
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2
- GNURadio: Ubuntu 11.10 Install dari GIT GNURadio
- OpenBTS: Ubuntu 11.10 Install
- OpenBTS: 2.8 dari SVN Install RECOMMENDED
- OpenBTS: 2.8 Instalasi Real Time Asterisk
- OpenBTS: 2.8 Konfigurasi
- OpenBTS: Database SQLite
Ettus E110
- OpenBTS: E110 Cara Login
- OpenBTS: E110 Install Image di MicroSD
- OpenBTS: E110 Cek Daughter Board
- OpenBTS: E110 Mengubah Master Clock
- OpenBTS: E110 Kalibrasi Clock
- OpenBTS: E110 Bekerja dengan opkg
- OpenBTS: E110 GNURadio
- OpenBTS: E110 Instalasi OpenBTS
- OpenBTS: E110 Instalasi OpenBTS 2.6 *NOT RECOMMENDED*
Lain Lain
- Membuat Base Station GSM Open Source
- Teknologi Selular
- GSM: Daftar Channel Frekuensi
- Wireless Internet
- OpenBSC
- AirProbe
- Base station subsystem
- GSM
- Asterisk
- Mobile phone
Catatan Legal dan Pendukung
- Siapa Bilang OpenBTS Ilegal?
- OpenBTS: Catatan MNC dan MCC Indonesia
- OpenBTS : Alokasi Frekuensi Operator GSM Indonesia