Greetings,
I was wondering if someone who has gotten Petalinux and Wilink working could share their instructions. I have tried to modify the system.top.dts with the following
wlcore {
compatible = "wlcore";
interrupt-parent = <&intc>;
irq = <0x0>;
platform-quirks = <0x1>;
board-ref-clock = <0x4>;
};
fixedregulator@1 {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <0x325aa0>;
regulator-max-microvolt = <0x325aa0>;
gpio = <0x4 0x9 0x4>;
startup-delay-us = <0x11170>;
enable-active-high;
linux,phandle = <0x6>;
phandle = <0x6>;
};
per another post but get a syntax error, could someone help with what file this should be added too?
Also I am unable to get the drivers to build I have run the first script with init and everything looks to be checked out.
I have also run the verify script and corrected the one type for CONFIG_CRYPTO_CGM to GCM but I get the following errors
Verifying filesystem skeleton...
ERROR /home/woody/Embedded/software/linux/projects/mz-7z020/build/linux/rootfs/lib/modules/20144317..*/updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko Not found !
md5sum: /home/woody/Embedded/software/linux/projects/mz-7z020/build/linux/rootfs/lib/modules/20144317..*/updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko: No such file or directory
./_build_with_sudo.sh: line 729: [: !=: unary operator expected
ERROR /home/woody/Embedded/software/linux/projects/mz-7z020/build/linux/rootfs/lib/modules/20144317..*/updates/drivers/net/wireless/ti/wlcore/wlcore.ko Not found !
My setup env is as follows...
\\\//
# -(o o)-
#========================oOO==(_)==OOo=======================
# This file contains the exports needed for automating the
# build process of WLAN components.
# Place this file in the same directory with wl18xx_build.sh
# build scripts. No need to run 'source setup-env', the build
# scripts will perfom it internaly.
#===========================================================
# User specific environment settings - use full PATH
# if DEFAULT toolchain path is set toolchain will be downloaded to ./toolchain.
export TOOLCHAIN_PATH=/opt/pkg/petalinux-v2014.4-final/tools/linux-i386/arm-xilinx-linux-gnueabi/bin
# if DEFAULT path to root filesystem is set ./fs folder will be used.
export ROOTFS=~/Embedded/software/linux/projects/mz-7z020/build/linux/rootfs
#if DEFAULT kernel path is set - kernel will be downloaded (set branch to match kernel version)
export KERNEL_PATH=~/Embedded/software/linux/projects/mz-7z020/build/linux/kernel/xlnx-3.17
# if KERNEL_VARIANT below is set the build script will look for kernel specific
# patches under the patches directory:
# - patches under the pathces/driver_patches/$KERNEL_VARIANT directory would be
# applied during "modules" build.
# - patches under the patches/kernel_patches/$/$KERNEL_VARIANT directory would
# be applied to the kernel pointed by KERNEL_PATH in case the "patch_kernel"
# command is used.
# Note: the kernel is not built automatically after the patches are applied
export KERNEL_VARIANT=DEFAULT
export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
export ARCH=arm
[ "$TOOLCHAIN_PATH" != "DEFAULT" ] && export PATH=$TOOLCHAIN_PATH:$PATH
Thanks for any help on this.
John