Meta-SDR

From GNU Radio
Jump to navigation Jump to search

Meta-SDR

An initial start on a meta-sdr layer is on github at https://github.com/balister/meta-oe/tree/meta-sdr/meta-sdr

To use this layer, targeting a qemu emulated x86-64 system do the following steps:

git clone git://git.openembedded.org/bitbake
git clone git://git.openembedded.org/openembedded-core 
git clone https://github.com/balister/meta-oe.git -b meta-sdr

source openembedded-core/oe-init-build-env build/qemux86-64 bitbake

You will now be inside a directory called build/qemux86-64
No edit the newly created conf/bblayers.conf to look like:

BBLAYERS ?= " \
  /oe-core/meta \
  /meta-openembedded/meta-oe \
  /meta-openembedded/meta-sdr \

And edit the local.conf file to have a line like:

MACHINE = "qemux86-64"

Now to generate the kernel and root filesystem images:

bitbake gnuradio-dev-image

The resulting bzImage and gnuradio-dev-image-qemux86-64 files will be inside build/qemux86-64/tmp-eglibc/deploy/images

To boot up the system inside qemu do:

runqemu qemux86-64 ./tmp-eglibc/deploy/images/bzImage-qemux86-64.bin ./tmp-eglibc/deploy/images/gnuradio-dev-image-qemux86-64.ext3 ext3

When it finishes booting you can login as root (no password).
You can verify that gnuradio installed by running gnuradio-config-info -v.
You can verify that Volk detects the correct architecture by starting volk_profile and seeing what machine it detects.