[meta-xilinx] How to develop?
Rich Wilson
richaw at gmail.com
Mon Apr 28 15:24:31 PDT 2014
On Sun, Apr 27, 2014 at 6:51 PM, Nathan Rossi <nathan.rossi at xilinx.com>wrote:
>
> You are going to want to add nfs-utils to your image. Core-image-minimal
> leaves it out by default, just add something similar to below to your
> local.conf to get it in your rootfs:
>
> CORE_IMAGE_EXTRA_INSTALL += "nfs-utils"
>
> You will then have mount.nfs and the associated userspace daemon stuff for
> NFS. And nfs should then just work.
>
> Regards,
> Nathan
>
I added the line to my local.conf:
rw at linux-cyy8:~/poky-dora/build> grep nfs conf/local.conf
DISTRO_FEATURES_append = " nfs"
CORE_IMAGE_EXTRA_INSTALL += "nfs-utils"
rw at linux-cyy8:~/poky-dora/build>
Then
rw at linux-cyy8:~/Downloads/poky-dora-10.0.1/build> bitbake core-image-basic
Loading cache: 100%
|#################################################################| ETA:
00:00:00
Loaded 1194 entries from dependency cache.
Parsing recipes: 100%
|###############################################################| Time:
00:00:00
Parsing of 862 .bb files complete (861 cached, 1 parsed). 1194 targets, 54
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "openSUSE-project-12.3"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "zedboard-zynq7"
DISTRO = "poky"
DISTRO_VERSION = "1.5.1"
TUNE_FEATURES = " armv7a vfp neon zynq"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp = "<unknown>:<unknown>"
meta-xilinx = "dora:aa7d677515ab7d45bbd3bdd6c5383f4143147c6d"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3078 tasks of which 3073 didn't need to be
rerun and all succeeded.
rw at linux-cyy8:~/Downloads/poky-dora-10.0.1/build>
(this was not the first time I had run this command; the previous one was a
...-c clean)
I still seem to be missing things: There is no mount.nfs that I can find
rw at linux-cyy8:~/Downloads/poky-dora-10.0.1/build/tmp/deploy/images/zedboard-zynq7>
tar -tzf core-image-basic-zedboard-zynq7.tar.gz | grep nfs
./etc/init.d/nfsserver
./etc/init.d/umountnfs.sh
./etc/init.d/mountnfs.sh
./etc/rc0.d/K20nfsserver
./etc/rc0.d/S31umountnfs.sh
./etc/nfs-utils.conf
./etc/rc5.d/S20nfsserver
./etc/rc2.d/S20nfsserver
./etc/rc4.d/S20nfsserver
./etc/rc6.d/K20nfsserver
./etc/rc6.d/S31umountnfs.sh
./etc/network/if-pre-up.d/nfsroot
./etc/rcS.d/S45mountnfs.sh
./etc/rc1.d/K20nfsserver
./etc/rc3.d/S20nfsserver
./usr/sbin/rpc.nfsd
./usr/sbin/nfsstat
./usr/lib/libnfsidmap.so.0.3.0
./usr/lib/libnfsidmap.so.0
./usr/lib/libnfsidmap/
./usr/lib/libnfsidmap/static.so
./usr/lib/libnfsidmap/nsswitch.so
./var/lib/nfs/
./var/lib/nfs/rmtab
./var/lib/nfs/sm/
./var/lib/nfs/xtab
./var/lib/nfs/etab
./var/lib/nfs/state
./var/lib/nfs/v4recovery/
./var/lib/nfs/statd/
./var/lib/nfs/sm.bak/
rw at linux-cyy8
:~/Downloads/poky-dora-10.0.1/build/tmp/deploy/images/zedboard-zynq7>
???
I even tried deleting tmp and sstate-cache and starting over...
Same result.
==============================================================
Ok, how about using eclipse?
I tried following the project development manual documentation, and got as
far as 4.2.2.3 step 3:
Select "Reconfigure Project" from the "Project" menu.
There does not seem to be such a menu item. Oh, that should have read
'Select "Reconfigure Project" from the Project right-click menu'
So, reconfigure project: That fails.
configure:3166: arm-poky-linux-gnueabi-gcc -march=armv7-a
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon
--sysroot=/opt/poky/1.5.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi
-qversion >&5
arm-poky-linux-gnueabi-gcc: error: unrecognized command line option
'-qversion'
arm-poky-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
???
Sigh.
==============================================================
And for some reason I can't get minicom to work. Or even picocom, for that
matter.
I set the device to /dev/ttyUSB0, the baud rate to 115200. Nothing.
Here's the picocom try:
rw at linux-cyy8:~/eclipse> picocom -b 115200 /dev/ttyUSB0
picocom v1.6
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,
Terminal ready
Return does nothing. And Ctrl/A doesn't seem to do anything, either.
I've been using my laptop & windows to connect to the console.
When I was using Suse 13.1, minicom was working once. If I cycled
power on the zedboard, I couldn't reconnect. When I went back to
13.1, it didn't seem to work at all. Reboot to windows and it works fine.
???
Sigh.
============================================================
and the boot process is unreliable.
I'll start a separate thread on that.
--
Rich Wilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140428/7c3ad268/attachment.html>
More information about the meta-xilinx
mailing list