Sorry, you need to enable JavaScript to visit this website.

Wilink8 Adapter integration with Microzed

Unsolved
1 post / 0 new
aditya's picture
aditya
Junior(0)
Wilink8 Adapter integration with Microzed

Hi,
     You might have seen that i have posted many questions on this forum(including Zedboard). Thanks for all the reply. Right now i need really one great help because i am not able to move forward.
First of all i want to say that i am trying to integrate the Wilink8 modulw with Zedboard and i am following the scripts available at http://zedboard.org/product/wilink-8-adaptor, but basically these scripts were written for Microzed board. So i carefully used these scripts and by the help and support of the answers given by this forum i progressed and right i am able to boot the linux on mine Zedboard by following the scripts available at the webpage mentioned above. Everything is fine but still when i am typing the command "ifconfig  wlan0 up" then i am geting the message :-

root@zedboard:~# ifconfig wlan0 up

ifconfig: SIOCGIFFLAGS: No such device

 

So here is mine serial console dump that u can after this para. What i found unusual (that may or may not be the cause of problem), i have made those lines Bold . For your information, i have used the device tree that has been provided by this script ,which is for microzed board. But after comapring with zedboard device tree i found that everyting is similar except wlcore and fix regulator part that is why i used those.Please have a look on this and please guide  me :- 

 

U-Boot 2014.01 (Oct 08 2016 - 12:33:09)

 

I2C:   ready

Memory: ECC disabled

DRAM:  512 MiB

MMC:   zynq_sdhci: 0

SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   Gem.e000b000

Hit any key to stop autoboot:  0

Device: zynq_sdhci

Manufacturer ID: 27

OEM: 5048

Name: SD04G

Tran Speed: 50000000

Rd Block Len: 512

SD version 3.0

High Capacity: Yes

Capacity: 3.7 GiB

Bus Width: 4-bit

reading uEnv.txt

203 bytes read in 8 ms (24.4 KiB/s)

Loaded environment from uEnv.txt

Importing environment from SD ...

Running uenvcmd ...

Device: zynq_sdhci

Manufacturer ID: 27

OEM: 5048

Name: SD04G

Tran Speed: 50000000

Rd Block Len: 512

SD version 3.0

High Capacity: Yes

Capacity: 3.7 GiB

Bus Width: 4-bit

reading uImage

4150864 bytes read in 403 ms (9.8 MiB/s)

reading devicetree.dtb

9583 bytes read in 17 ms (549.8 KiB/s)

reading uramdisk.image.gz

18043086 bytes read in 1697 ms (10.1 MiB/s)

## Booting kernel from Legacy Image at 04d00000 ...

   Image Name:   Linux-3.14.0-xilinx-dirty

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4150800 Bytes = 4 MiB

   Load Address: 00008000

   Entry Point:  00008000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 02000000 ...

   Image Name:   ZED filesystem

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    18043022 Bytes = 17.2 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 04c00000

   Booting using the fdt blob at 0x4c00000

   Loading Kernel Image ... OK

   Loading Ramdisk to 1e9fa000, end 1fb2f08e ... OK

   Loading Device Tree to 1e9f4000, end 1e9f956e ... OK

 

Starting kernel ...

 

Uncompressing Linux... done, booting the kernel.

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Linux version 3.14.0-xilinx-dirty (architech@architech) (gcc version 4.9.1 (GCC) ) #4 SMP PREEMPT Wed Oct 26 19:27:18 BST 2016

[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine model: Xilinx Zynq

[    0.000000] bootconsole [earlycon0] enabled

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] PERCPU: Embedded 8 pages/cpu @dfbdd000 s10752 r8192 d13824 u32768

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048

[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/ram rw earlyprintk

[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)

[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

[    0.000000] Memory: 488456K/524288K available (5670K kernel code, 348K rwdata, 1964K rodata, 206K init, 5340K bss, 35832K reserved, 0K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .text : 0xc0008000 - 0xc077ca60   (7635 kB)

[    0.000000]       .init : 0xc077d000 - 0xc07b0a00   ( 207 kB)

[    0.000000]       .data : 0xc07b2000 - 0xc08092b8   ( 349 kB)

[    0.000000]        .bss : 0xc08092c4 - 0xc0d404a0   (5341 kB)

[    0.000000] Preemptible hierarchical RCU implementation.

[    0.000000]  RCU lockdep checking is enabled.

[    0.000000]  Dump stacks of tasks blocking RCU-preempt GP.

[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] ps7-slcr mapped to e0802000

[    0.000000] zynq_clock_init: clkc starts at e0802100

[    0.000000] Zynq clock init

[    0.000015] sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 3298534883328ns

[    0.008544] ps7-ttc #0 at e0804000, irq=43

[    0.013590] Console: colour dummy device 80x30

[    0.017952] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar

[    0.026055] ... MAX_LOCKDEP_SUBCLASSES:  8

[    0.030102] ... MAX_LOCK_DEPTH:          48

[    0.034299] ... MAX_LOCKDEP_KEYS:        8191

[    0.038745] ... CLASSHASH_SIZE:          4096

[    0.043122] ... MAX_LOCKDEP_ENTRIES:     16384

[    0.047619] ... MAX_LOCKDEP_CHAINS:      32768

[    0.052150] ... CHAINHASH_SIZE:          16384

[    0.056616]  memory used by lock dependency info: 3695 kB

[    0.062095]  per task-struct memory footprint: 1152 bytes

[    0.067573] Calibrating delay loop... 1325.46 BogoMIPS (lpj=6627328)

[    0.111010] pid_max: default: 32768 minimum: 301

[    0.116353] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.122932] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.138528] CPU: Testing write buffer coherency: ok

[    0.144761] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.150431] Setting up static identity map for 0x565610 - 0x565668

[    0.156848] L310 cache controller enabled

[    0.160823] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72760000, Cache size: 512 kB

[    0.250408] CPU1: Booted secondary processor

[    0.338317] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.339282] Brought up 2 CPUs

[    0.352225] SMP: Total of 2 processors activated.

[    0.356954] CPU: All CPU(s) started in SVC mode.

[    0.364975] devtmpfs: initialized

[    0.375513] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

[    0.389710] regulator-dummy: no parameters

[    0.396040] NET: Registered protocol family 16

[    0.401653] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.415120] cpuidle: using governor ladder

[    0.419124] cpuidle: using governor menu

[    0.449125] syscon f8000000.ps7-slcr: regmap [mem 0xf8000000-0xf8000fff] registered

[    0.462038] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

[    0.470036] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.476251] zynq-ocm f800c000.ps7-ocmc: ZYNQ OCM pool: 256 KiB @ 0xe0880000

[    0.556050] bio: create slab <bio-0> at 0

[    0.563820] wlan-en-regulator: 3300 mV

[    0.571639] vgaarb: loaded

[    0.576126] SCSI subsystem initialized

[    0.582273] usbcore: registered new interface driver usbfs

[    0.588115] usbcore: registered new interface driver hub

[    0.593896] usbcore: registered new device driver usb

[    0.600430] media: Linux media interface: v0.10

[    0.605288] Linux video capture interface: v2.00

[    0.610693] pps_core: LinuxPPS API ver. 1 registered

[    0.615554] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    0.625317] PTP clock support registered

[    0.630195] EDAC MC: Ver: 3.0.0

[    0.639967] Bluetooth: Core ver 2.18

[    0.643910] NET: Registered protocol family 31

[    0.648259] Bluetooth: HCI device and connection manager initialized

[    0.654858] Bluetooth: HCI socket layer initialized

[    0.659654] Bluetooth: L2CAP socket layer initialized

[    0.664932] Bluetooth: SCO socket layer initialized

[    0.671647] cfg80211: Calling CRDA to update world regulatory domain

[    0.683935] DMA-API: preallocated 4096 debug entries

[    0.688800] DMA-API: debugging enabled by kernel config

[    0.694770] Switched to clocksource arm_global_timer

[    0.755927] NET: Registered protocol family 2

[    0.762684] TCP established hash table entries: 4096 (order: 2, 16384 bytes)

[    0.770737] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)

[    0.778680] TCP: Hash tables configured (established 4096 bind 4096)

[    0.785194] TCP: reno registered

[    0.788344] UDP hash table entries: 256 (order: 2, 20480 bytes)

[    0.794491] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)

[    0.802067] NET: Registered protocol family 1

[    0.807903] RPC: Registered named UNIX socket transport module.

[    0.813717] RPC: Registered udp transport module.

[    0.818548] RPC: Registered tcp transport module.

[    0.823232] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.830757] Trying to unpack rootfs image as initramfs...

[    0.837517] rootfs image is not initramfs (no cpio magic); looks like an initrd

[    0.956475] Freeing initrd memory: 17620K (de9fa000 - dfb2f000)

[    0.962606] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

[    0.976610] futex hash table entries: 512 (order: 3, 32768 bytes)

[    0.990094] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.

[    0.997659] msgmni has been set to 988

[    1.003961] io scheduler noop registered

[    1.007870] io scheduler deadline registered

[    1.012209] io scheduler cfq registered (default)

[    1.034020] dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-267056

[    1.041002] dma-pl330 f8003000.ps7-dma:      DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16

[    1.052677] xuartps e0001000.serial: clock name 'aper_clk' is deprecated.

[    1.059568] xuartps e0001000.serial: clock name 'ref_clk' is deprecated.

[    1.066761] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82, base_baud = 6249999) is a xuartps

[    1.076145] console [ttyPS0] enabled

[    1.076145] console [ttyPS0] enabled

[    1.083197] bootconsole [earlycon0] disabled

[    1.083197] bootconsole [earlycon0] disabled

[    1.093967] xuartps e0000000.serial: clock name 'aper_clk' is deprecated.

[    1.100774] xuartps e0000000.serial: clock name 'ref_clk' is deprecated.

[    1.107593] e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 59, base_baud = 6249999) is a xuartps

[    1.118455] xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to e0866000

[    1.143620] brd: module loaded

[    1.165249] loop: module loaded

[    1.181342] m25p80 spi0.0: found s25fl256s1, expected n25q128

[    1.187741] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)

[    1.192782] 5 ofpart partitions found on MTD device spi0.0

[    1.198523] Creating 5 MTD partitions on "spi0.0":

[    1.203243] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"

[    1.216861] 0x000000100000-0x000000600000 : "qspi-linux"

[    1.226970] 0x000000600000-0x000000620000 : "qspi-device-tree"

[    1.237411] 0x000000620000-0x000000c00000 : "qspi-rootfs"

[    1.247544] 0x000000c00000-0x000001000000 : "qspi-bitstream"

[    1.267297] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k

[    1.273052] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.

[    1.285256] libphy: XEMACPS mii bus: probed

[    1.291783] xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54

[    1.303099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    1.310365] ehci-pci: EHCI PCI platform driver

[    1.315614] ULPI transceiver vendor/product ID 0x0451/0x1507

[    1.321193] Found TI TUSB1210 ULPI transceiver.

[    1.325911] ULPI integrity check: passed.

[    1.330696] zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller

[    1.338098] zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1

[    1.374765] zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000

[    1.394725] zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00

[    1.407441] hub 1-0:1.0: USB hub found

[    1.411416] hub 1-0:1.0: 1 port detected

[    1.419378] usbcore: registered new interface driver usb-storage

[    1.428247] mousedev: PS/2 mouse device common for all mice

[    1.435883] i2c /dev entries driver

[    1.448702] Bluetooth: HCI UART driver ver 2.2

[    1.453071] Bluetooth: HCI H4 protocol initialized

[    1.457927] Bluetooth: HCI BCSP protocol initialized

[    1.462806] Bluetooth: HCILL protocol initialized

[    1.467546] Bluetooth: HCIATH3K protocol initialized

[    1.472441] Bluetooth: HCI Three-wire UART (H5) protocol initialized

[    1.479148] zynq-edac f8006000.ps7-ddrc: ecc not enabled

[    1.485350] cpufreq_cpu0: failed to get cpu0 regulator: -19

[    1.493805] Xilinx Zynq CpuIdle Driver started

[    1.500146] sdhci: Secure Digital Host Controller Interface driver

[    1.506300] sdhci: Copyright(c) Pierre Ossman

[    1.510589] sdhci-pltfm: SDHCI platform and OF driver helper

[    1.517833] mmc0: no vqmmc regulator found

[    1.521857] mmc0: no vmmc regulator found

[    1.564674] mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA

[    1.572783] mmc1: no vqmmc regulator found

[    1.615694] mmc0: new high speed SDHC card at address 0007

[    1.623622] mmcblk0: mmc0:0007 SD04G 3.70 GiB

[    1.633540]  mmcblk0: p1

[    1.694669] mmc1: SDHCI controller on e0101000.ps7-sdio [e0101000.ps7-sdio] using ADMA

[    1.705603] usbcore: registered new interface driver usbhid

[    1.711097] usbhid: USB HID core driver

[    1.716570] TCP: cubic registered

[    1.719813] NET: Registered protocol family 17

[    1.724708] Bluetooth: RFCOMM TTY layer initialized

[    1.729537] Bluetooth: RFCOMM socket layer initialized

[    1.734751] Bluetooth: RFCOMM ver 1.11

[    1.738456] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[    1.743739] Bluetooth: BNEP socket layer initialized

[    1.748699] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[    1.754635] Bluetooth: HIDP socket layer initialized

[    1.759875] Registering SWP/SWPB emulation handler

[    1.767189] wlan-en-regulator: disabling

[    1.771041] regulator-dummy: disabling

[    1.775391] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

[    1.808619] RAMDISK: gzip image found at block 0

[    3.837559] VFS: Mounted root (ext2 filesystem) on device 1:0.

[    3.844242] devtmpfs: mounted

[    3.847648] Freeing unused kernel memory: 204K (c077d000 - c07b0000)

INIT: version 2.88 booting

Starting udev

[    4.689221] udevd[626]: starting version 182

bootlogd: cannot allocate pseudo tty: No such file or directory

[    5.933101] random: dd urandom read with 21 bits of entropy available

Populating dev cache

hwclock: can't open '/dev/misc/rtc': No such file or directory

Fri Sep 30 10:05:57 UTC 2016

hwclock: can't open '/dev/misc/rtc': No such file or directory

INIT: Entering runlevel: 5

Configuring network interfaces... udhcpc (v1.22.1) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

done.

Starting system message bus: dbus.

hwclock: can't open '/dev/misc/rtc': No such file or directory

Starting syslogd/klogd: done

Starting Lighttpd Web Server: lighttpd.

Starting tcf-agent: OK

 

Poky (Yocto Project Reference Distro) 1.7.1 zedboard /dev/ttyPS0

 

zedboard login: root

root@zedboard:~# ifconfig wlan0 up

 

 

regards

Aditya