discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USRP2 firmware build


From: Jeff Long
Subject: Re: [Discuss-gnuradio] USRP2 firmware build
Date: Fri, 03 Oct 2008 23:17:20 -0400
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Generated a new txrx.bin using EDK101 and put it on the SD
card.  Works!  I'm assuming that's the correct app, based on
strings on the provided SD.  BTW, is any of this documented
yet?

Where do printf's go to?

Using -Os vs. -O2 shaves off another 500 bytes if you ever
need the space.  Takes txrx.bin from 26028 to 25484 bytes.

The function __udivdi3 is 1836 bytes long, and is only used
in print_uint64, which is used only in printf_fxpt_freq.
That might be something to get rid of.

Eric Blossom wrote:
On Fri, Oct 03, 2008 at 01:58:02PM -0400, Jeff Long wrote:
Trying out the firmware build ...

- had to comment out apps/rx_only_v2.c, line 104
  (static volatile bool link_is_up = false) to avoid
  multiple definitions ... does not appear to be used
  in this file and is declared static

- build exceeds size of flatmem (0x8000) ... bumped to
  0xa000 and it worked, but I don't know what flatmem is
  at this point, so that's probably wrong

- not sure why, but the EDK101_GPL_GNU gcc didn't build
  right on a Fedora 9 machine ... worked fine on Fedora 8
  ... will try again

Also, should USRP2/RFX be working at this point?  Noticed
select_rx_antenna is unimplemented (get more signal using
RX2 than TX/RX but signal is really low), and rfx_set_gain_rx
doesn't seem to have any effect.

As of r9708 on the trunk, the usrp2 firmware builds properly with the
EDK 10.1 based microblaze toolchain.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]