[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Booting Zynq/Gnuradio
From: |
Ivan C. |
Subject: |
Re: [Discuss-gnuradio] Booting Zynq/Gnuradio |
Date: |
Tue, 20 Aug 2013 12:55:43 -0400 |
On Tue, Aug 20, 2013 at 11:19 AM, Jan Schiefer <address@hidden> wrote:
> HI Ivan,
>
>> I've been working through the wiki as well. In my setup I had to also
>> replace the FSBL with the default Xilinx one to get the system to boot
>> (ZC702 eval board). If you stop u-boot from autobooting you can go in and
>> change the environment variables (printenv, setenv) and when you have
>> everything setup you can 'saveenv' and the state will be saved to flash.
>>
>> Now the system boots smoothly. Since I had some issues with the booting
>> process I'm not sure if the system.bit file is loaded properly. To make
>> sure, I load the bit file using /dev/xdevcfg (have to mknod, convert .bit
>> to .bin, etc.). Then I insmod the user_peripheral.ko (had to copy it into
>> /lib/modules/ for insmod to find it).
>
> I was wondering how one would load a bit file after booting, so this
> definitely a good tip. I will try that out once I get a little further
> along.
>
> Meanwhile I'll figure out the right boot environment variables for my
> Zedboard next.
>
> Thanks,
> Jan
Hi Jan,
Take a look at
openembedded-core/build_zedboard/tmp-eglibc/work/zedboard_user_peripheral.../u-boot-xlnx/v2013.../include/configs/zynq_common.h
string search for /* Default environment */
After the system boots, I had to make a minor change to the fir filter
example. On the ZC702, I was getting a segfault as udev wasn't
finding devcfg.
/sys/devices/amba.0/ lists f8007000.ps7-dev-cfg, modifying the call to
udev_enumerate_add_match_sysname to look for this device instead of
f8007000.devcfg and the example now works. Thanks to Jon and company
for this work!
Regards,
Ivan