Difference between revisions of "User talk:G3vbv"

From Ghpsdr3 SDR project
Jump to: navigation, search
(Installing on ODROID-X: new section)
(Installing on ODROID-X)
 
Line 29: Line 29:
  
 
I am using fixed addresses, 192.168.10.x for my main LAN and 192.168.2.x is a Gigabit Ethernet LAN for my HiQSDR.
 
I am using fixed addresses, 192.168.10.x for my main LAN and 192.168.2.x is a Gigabit Ethernet LAN for my HiQSDR.
 +
 +
Where a 1 appears below it's meant to be a hash - commenting out the line.
  
 
# cat /etc/network/interfaces
 
# cat /etc/network/interfaces

Latest revision as of 20:00, 1 December 2012

Welcome to Ghpsdr3 SDR project! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! Ve9gj 20:41, 26 November 2011 (AST)

Installing on ODROID-X

The wiki lists a number of Ubuntu pre-req packages to be installed which are probably needed for other SDR software building apart from ghpsdr3-alex.


If you are building ghpsdr3-alex, the following configure options apply. "./configure CFLAGS='-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp' CXXFLAGS='-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp'"



  • Use a small fan above the CPU module. It gets hot and will power down on large builds especially with "make -j 4".



There is a HDMI image and a LCD image if you have the hardkernel LCD display.


  • After burning the image you can mount partition 3 and set up /etc/hosts, /etc/resolv.conf, /etc/network/interfaces as necessary - fixed addresses or dhcp.

I am using fixed addresses, 192.168.10.x for my main LAN and 192.168.2.x is a Gigabit Ethernet LAN for my HiQSDR.

Where a 1 appears below it's meant to be a hash - commenting out the line.

  1. cat /etc/network/interfaces

auto lo iface lo inet loopback

  1. The primary network interface

auto eth0

iface eth0 inet static

address 192.168.10.18

netmask 255.255.255.0

network 192.168.10.0

broadcast 192.168.10.255

dns-nameservers 192.168.10.103

gateway 192.168.10.103

  1. Example to keep MAC address between reboots
  1. hwaddress ether DE:AD:BE:EF:CA:FE


auto eth1

iface eth1 inet static

address 192.168.2.197

netmask 255.255.255.0

network 192.168.2.0

broadcast 192.168.2.255

  1. auto wlan0
  1. iface wlan0 inet dhcp


  • The image burns 4GB on to a SD card. I started with a 16GB card and used gparted on a x86_64 PC to extend the rootfs partition 3. I now have a 32GB card in use.

I attached a 160GB USB HD and mounted it on the ODROID-X so I could generate the 16GB image and also do local kernel and other software builds - it's a pleasure to build kernels without cross compiling or do it natively while I wait for springtime to arrive.

"dd if=/dev/mmcblk0 of=<160GB_MOUNT_POINT>/ODROID-X_16GB.img bs=1M" and copied it to the PC with the scp command.

  • Moving the card back to the PC where the card was detected as /dev/sdc

"dd if=/ODROID-X_16GB.img of=/dev/sdc bs=1M", use gparted to extend partition 3 to use the full 32GB.

Of course you could NFS mount the ODROID-X SD card to do some operations after the SD card setup and the ODROID-X is booted.

  • An enclosure - I made up a U-shaped aluminium enclosure with open sides and holes for the Ethernet and USB sockets at the back, a piece of L-shaped perspex screwed on top to hold the fan.

The P.S is a 5V 2A wall wart I diverted from a USB hub.