Hi Microzed,
zedboard, Vivado/SDK 2016.2, QNX Momentics IDE 6.5SP1, QNX BSP for zc702
I am working to port QNX on zedboard by zc702 BSP, which was dated 2014-08-18 and available from
http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/XilinxZc702
After closely follow the previous topic in this forum,
http://microzed.org/content/porting-qnx-zedboard
zedboard hangs on the boot sequence "Starting Network driver...". I have to completely comment out the ethernet portion (both static IP and DHCP) in the build script to get zedboard booted up.
Then I found another topic on QNX devnp in the forum,
http://zedboard.org/content/ethernet-not-running-zedboard
1.hardcode MAC address 00:0a:35:00:01:22 in control.c
2.comment out MIO 11 reset in xzynq.c
3.hardcode phyid=0x01410dd1 in zxynq.c
zedboard bootup with messages:
Starting Network driver...
ifconfig: SIOCAIFADDR: No such process
Unable to access "/dev/socket" (2)
#
below is the complete boot sequence:
CPU1: L1 Dcache: 1024x32 WB
CPU1: VFP-d32 FPSID=41033094
CPU1: NEON MVFR0=10110222 MVFR1=01111111
CPU1: 413fc090: Cortex A9 MPCore rev 0 666MHz
alloc_syspage_memory: syspage size:00000f18 _syspage_ptr:0089b000
callout_io_map_armv7_dev: mapping paddr:f8f02000 returns:fc40d000
callout_io_map: mapping paddr:f8f00200 returns:fc40e200
callout_io_map: mapping paddr:f8f01000 returns:fc40f000
callout_io_map: mapping paddr:f8f00100 returns:fc410100
callout_io_map: mapping paddr:e000a000 returns:fc413000
callout_io_map: mapping paddr:f8f02000 returns:fc414000
callout_io_map: mapping paddr:f8f01000 returns:fc415000
callout_io_map: mapping paddr:f8005000 returns:fc416000
callout_io_map: mapping paddr:f8f00600 returns:fc417600
callout_io_map: mapping paddr:e0001000 returns:fc418000
callout_io_map: mapping paddr:e0001000 returns:fc419000
callout_io_map: mapping paddr:e0001000 returns:fc41a000
cpu_startnext: cpu1 -> fc408c18
System page at phys:0089b000 user:fc408000 kern:fc408000
Starting next program at vfe0471ec
cpu_startnext: cpu0 -> fe0471ec
Starting Clock driver (/dev/clock)...
Welcome to QNX Neutrino 6.5.0 on the Zynq7000 ZC702 (ARM Cortex-A9 MPCore)
Starting SDHC driver (/dev/hd0)...
Starting QSPI Flash memory (/dev/fs0p0)...
(devf t1::f3s_flash_probe:277) Unable to properly identify any flash devices
Path=0 - Generic SDHCI
target=0 lun=0 Direct-Access(0) - SD:116 SMI Rev: 1.0
Unable to access "/dev/fs0p0" (2)
Starting OCM driver (/dev/ocm/)...
Starting XADC driver (/dev/xadc)...
Starting FPGA driver (/dev/fpga)...
Starting USB Host driver (/dev/io-usb/)...
Starting Network driver...
ifconfig: SIOCAIFADDR: No such process
Unable to access "/dev/socket" (2)
# ls /dev
clock mem ptyp2 ser1 tty ttyp6
console null ptyp3 shmem ttyp0 ttyp7
dbgmem ocm ptyp4 slog ttyp1 tymem
fpga pipe ptyp5 stderr ttyp2 xadc
hd0 profiler ptyp6 stdin ttyp3 zero
hd0t11 ptyp0 ptyp7 stdout ttyp4
io-usb ptyp1 sem text ttyp5
#
Please advise, thanks in advance
Mike