User talk:G3vbv
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 full-size SD cards - microSD cards in an adaptor won't work, a question to the forum at http://odroid.foros-phpbb.com/c3-odroid-x confirmed the adaptor distorts the signals.
- Use a small fan above the CPU module. It gets hot and will power down on large builds especially with "make -j 4".
- Download an image from http://www.mdrjr.net/odroid/mirror/ubuntu12.10-3.6.6/ or whatever is the latest available on the mirror.
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.
- cat /etc/network/interfaces
auto lo iface lo inet loopback
- 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
- Example to keep MAC address between reboots
- 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
- auto wlan0
- 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.