GNURadio: UHD Image: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
New page: UHD - Firmware and FPGA Image Application Notes Table of Contents * Images Overview * Pre-built Images o Platform installers o Archive install * Building ...
 
Onnowpurbo (talk | contribs)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
UHD - Firmware and FPGA Image Application Notes
Setiap USRP harus load spesial firmware dan FPGA image. Metoda untuk me-load image ke USRP berbeda tergantung device:


Table of Contents
* USRP1: The host code will automatically load the firmware and FPGA at runtime.
* USRP2: The user must manually write the images onto the USRP2 SD card.
* USRP-N Series: The user must manually transfer the images over ethernet.
* USRP-E Series: The host code will automatically load the FPGA at runtime.
* USRP-B Series: The host code will automatically load the FPGA at runtime.


    * Images Overview
    * Pre-built Images
          o Platform installers
          o Archive install
    * Building Images
          o Xilinx FPGA builds
          o ZPU firmware builds
          o Altera FPGA builds
          o FX2 firmware builds


Images Overview
==Pre-built Image==


Every USRP device must be loaded with special firmware and FPGA images. The methods of loading images into the device vary among devices:
Pre-built image yang siap di download


    * USRP1: The host code will automatically load the firmware and FPGA at runtime.
* Master Branch images http://files.ettus.com/binaries/master_images/
    * USRP2: The user must manually write the images onto the USRP2 SD card.
* Maint Branch images http://files.ettus.com/binaries/maint_images/
    * USRP-N Series: The user must manually transfer the images over ethernet.
* Next Branch images http://files.ettus.com/binaries/next_images/
    * USRP-E Series: The host code will automatically load the FPGA at runtime.
    * USRP-B Series: The host code will automatically load the FPGA at runtime.


Pre-built Images
==Platform installers==


Pre-built images are available for download.
Di UNIX-based di instalasi ke


    * Master Branch images
wget http://files.ettus.com/binaries/master_images/uhd-images_003.004.001-98-gae40e8f5.tar.gz
    * Maint Branch images
tar zxvf uhd-images_003.004.001-98-gae40e8f5.tar.gz
    * Next Branch images
cp -Rf uhd-images_003.004.001-98-gae40e8f5/* /usr/


See the UHD wiki for the download link.
atau


The pre-built images come in two forms:
wget http://files.ettus.com/binaries/master_images/uhd-images_003.004.001-98-gae40e8f5.tar.gz
tar zxvf uhd-images_003.004.001-98-gae40e8f5.tar.gz
cp -Rf uhd-images_003.004.001-98-gae40e8f5/* /usr/local/


    * bundled with UHD in a platform-specific installer
==Test==
    * stand-alone platform-independent archive files


Platform installers
Test apakah firmware terinstalasi dengan benar menggunakan perintah


The UNIX-based installers will install the images into /usr/share/uhd/images.
cd /usr/local/share/uhd/utils
./uhd_find_devices


The Windows installers will install the images into C:/Program Files/UHD/share/uhd/images.
Keluaran kira-kira
Archive install


When installing images from an archive, there are two options:
linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.001-101-gff2649ca
-- Loading firmware image: /usr/local/share/uhd/images/usrp1_fw.ihx... done
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: usrp1
    name:
    serial: 0R24X5U1


Option 1:
Test uhd_usrp_probe


Unpack the archive into the UHD installation prefix. UHD will always search <install-path>/share/uhd/images for image files. Where <install-path> was set by the CMAKE_INSTALL_PREFIX at configure-time.
cd /usr/local/share/uhd/utils
./uhd_usrp_probe


Option 2:
Hasilnya
 
Unpack the archive anywhere and set the UHD_IMAGES_PATH environment variable. UHD_IMAGES_PATH may contain a list of directories to search for image files.


linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.001-101-gff2649ca
-- Opening a USRP1 device...
-- Using FPGA clock rate of 64.000000MHz...
  _____________________________________________________
  /
|      Device: USRP1 Device
|    _____________________________________________________
|    /
|  |      Mboard: USRP1
|  |  serial: 0R24X5U1
|  | 
|  |  Time sources: none
|  |  Clock sources: internal
|  |  Sensors:
|  |    _____________________________________________________
|  |    /
|  |  |      RX DSP: 0
|  |  |  Freq range: -32.000 to 32.000 Mhz
|  |    _____________________________________________________
|  |    /
|  |  |      RX DSP: 1
|  |  |  Freq range: -32.000 to 32.000 Mhz
|  |    _____________________________________________________
|  |    /
|  |  |      RX Dboard: A
|  |  |  ID: Unknown (0x0005)
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      RX Subdev: 0
|  |  |  |  Name: Unknown (0x0005) - 0
|  |  |  |  Antennas:
|  |  |  |  Sensors:
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
|  |  |  |  Gain Elements: None
|  |  |  |  Connection Type: IQ
|  |  |  |  Uses LO offset: No
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      RX Codec: A
|  |  |  |  Name: ad9522
|  |  |  |  Gain range pga: 0.0 to 20.0 step 1.0 dB
|  |    _____________________________________________________
|  |    /
|  |  |      RX Dboard: B
|  |  |  ID: Unknown (0x0005)
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      RX Subdev: 0
|  |  |  |  Name: Unknown (0x0005) - 0
|  |  |  |  Antennas:
|  |  |  |  Sensors:
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
|  |  |  |  Gain Elements: None
|  |  |  |  Connection Type: IQ
|  |  |  |  Uses LO offset: No
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      RX Codec: B
|  |  |  |  Name: ad9522
|  |  |  |  Gain range pga: 0.0 to 20.0 step 1.0 dB
|  |    _____________________________________________________
|  |    /
|  |  |      TX DSP: 0
|  |  |  Freq range: -44.000 to 44.000 Mhz
|  |    _____________________________________________________
|  |    /
|  |  |      TX DSP: 1
|  |  |  Freq range: -44.000 to 44.000 Mhz
|  |    _____________________________________________________
|  |    /
|  |  |      TX Dboard: A
|  |  |  ID: Unknown (0x0009)
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      TX Subdev: 0
|  |  |  |  Name: Unknown (0x0009) - 0
|  |  |  |  Antennas:
|  |  |  |  Sensors:
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
|  |  |  |  Gain Elements: None
|  |  |  |  Connection Type: IQ
|  |  |  |  Uses LO offset: No
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      TX Codec: A
|  |  |  |  Name: ad9522
|  |  |  |  Gain range pga: -20.0 to 0.0 step 0.1 dB
|  |    _____________________________________________________
|  |    /
|  |  |      TX Dboard: B
|  |  |  ID: Unknown (0x0009)
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      TX Subdev: 0
|  |  |  |  Name: Unknown (0x0009) - 0
|  |  |  |  Antennas:
|  |  |  |  Sensors:
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
|  |  |  |  Gain Elements: None
|  |  |  |  Connection Type: IQ
|  |  |  |  Uses LO offset: No
|  |  |    _____________________________________________________
|  |  |    /
|  |  |  |      TX Codec: B
|  |  |  |  Name: ad9522
|  |  |  |  Gain range pga: -20.0 to 0.0 step 0.1 dB


==Referensi==
==Referensi==
Line 60: Line 169:
* http://files.ettus.com/uhd_docs/manual/html/images.html
* http://files.ettus.com/uhd_docs/manual/html/images.html
* http://files.ettus.com/binaries/master_images/
* http://files.ettus.com/binaries/master_images/
 
* http://files.ettus.com/uhd_docs/manual/html/usrp1.html
 


==Pranala Menarik==
==Pranala Menarik==
Line 105: Line 213:
* [[GNURadio: Ubuntu 11.10 Install]] ''NOT RECOMMENED''
* [[GNURadio: Ubuntu 11.10 Install]] ''NOT RECOMMENED''
* [[GNURadio: Ubuntu 11.10 instalasi menggunakan Repo]] ''NOT RECOMMENDED''
* [[GNURadio: Ubuntu 11.10 instalasi menggunakan Repo]] ''NOT RECOMMENDED''
* [[GNURadio: Download GNURadio]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]]
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] '''RECOMMENDED'''
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.0]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.3.2]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.6.0]] ''NOT RECOMMENDED''
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] ''NOT RECOMMENDED''
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
* [[GNURadio: UHD]]
* [[GNURadio: UHD]]
Line 113: Line 225:
* [[GNURadio: UHD Identifikasi Device]]
* [[GNURadio: UHD Identifikasi Device]]
* [[OpenBTS: Ubuntu 11.10 Install]]
* [[OpenBTS: Ubuntu 11.10 Install]]
* [[OpenBTS: dari GIT ttsou]] '''RECOMMENDED'''
* [[OpenBTS: 2.8 dari SVN Install]] '''RECOMMENDED'''
* [[OpenBTS: 2.8 dari SVN Install]] '''RECOMMENDED'''
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]]
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]]

Latest revision as of 07:41, 26 April 2012

Setiap USRP harus load spesial firmware dan FPGA image. Metoda untuk me-load image ke USRP berbeda tergantung device:

  • USRP1: The host code will automatically load the firmware and FPGA at runtime.
  • USRP2: The user must manually write the images onto the USRP2 SD card.
  • USRP-N Series: The user must manually transfer the images over ethernet.
  • USRP-E Series: The host code will automatically load the FPGA at runtime.
  • USRP-B Series: The host code will automatically load the FPGA at runtime.


Pre-built Image

Pre-built image yang siap di download

Platform installers

Di UNIX-based di instalasi ke

wget http://files.ettus.com/binaries/master_images/uhd-images_003.004.001-98-gae40e8f5.tar.gz
tar zxvf uhd-images_003.004.001-98-gae40e8f5.tar.gz 
cp -Rf uhd-images_003.004.001-98-gae40e8f5/* /usr/ 

atau

wget http://files.ettus.com/binaries/master_images/uhd-images_003.004.001-98-gae40e8f5.tar.gz
tar zxvf uhd-images_003.004.001-98-gae40e8f5.tar.gz 
cp -Rf uhd-images_003.004.001-98-gae40e8f5/* /usr/local/ 

Test

Test apakah firmware terinstalasi dengan benar menggunakan perintah

cd /usr/local/share/uhd/utils
./uhd_find_devices

Keluaran kira-kira

linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.001-101-gff2649ca

-- Loading firmware image: /usr/local/share/uhd/images/usrp1_fw.ihx... done
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: usrp1
    name: 
    serial: 0R24X5U1

Test uhd_usrp_probe

cd /usr/local/share/uhd/utils
./uhd_usrp_probe

Hasilnya

linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.001-101-gff2649ca

-- Opening a USRP1 device...
-- Using FPGA clock rate of 64.000000MHz...
  _____________________________________________________
 /
|       Device: USRP1 Device
|     _____________________________________________________
|    /
|   |       Mboard: USRP1
|   |   serial: 0R24X5U1
|   |   
|   |   Time sources: none
|   |   Clock sources: internal
|   |   Sensors: 
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |   Freq range: -32.000 to 32.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 1
|   |   |   Freq range: -32.000 to 32.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |   ID: Unknown (0x0005)
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Subdev: 0
|   |   |   |   Name: Unknown (0x0005) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: B
|   |   |   ID: Unknown (0x0005)
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Subdev: 0
|   |   |   |   Name: Unknown (0x0005) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: B
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 0
|   |   |   Freq range: -44.000 to 44.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 1
|   |   |   Freq range: -44.000 to 44.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A 
|   |   |   ID: Unknown (0x0009)
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Subdev: 0
|   |   |   |   Name: Unknown (0x0009) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: B
|   |   |   ID: Unknown (0x0009)
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Subdev: 0
|   |   |   |   Name: Unknown (0x0009) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: B
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Sejarah