Comments (15)
my board is adrv9361z7035
from openwifi.
Thanks for trying openwifi. Could you please send your information to my email [email protected] to let us know who we are helping? Thanks!
from openwifi.
Hello,
Thanks for reaching me, I'm a communication specialty student of nanchuang university in China,just interested on Verilog and wireless.
my email: [email protected]
from openwifi.
Can you try our latest SD card image and the latest quick start? In the latest quick start, we use fosdem-11ag.sh
from openwifi.
hello:
After I do the following steps:
”Setup environment variables (use absolute path):
export XILINX_DIR=your_Xilinx_directory
export OPENWIFI_DIR=your_openwifi_directory
export BOARD_NAME=your_board_name
Get the latest FPGA bitstream from openwifi-hw, generate BOOT.BIN and transfer it on board via ssh channel:
$OPENWIFI_DIR/user_space/get_fpga.sh $OPENWIFI_DIR
For Zynq 7000:
$OPENWIFI_DIR/user_space/boot_bin_gen.sh $OPENWIFI_DIR $XILINX_DIR $BOARD_NAME“
generate new BOOT.BIN file,but after I replace old BOOT.BIN file and run ‘fosdem-11ag.sh‘, above questions still exist。
Thanks!
from openwifi.
What is the output of get_fpga.sh?
What is the output of boot_bin_gen.sh?
from openwifi.
the execution of get_fpga.sh is fetch the latest openwifi-hw contents.
the execution of boot_bin_gen.sh generate a new BOOT.BIN in folder of "output_boot_bin".
from openwifi.
I know.
You need to paste your command line output of those command.
Because you generate your own BOOT.BIN,this could be the issue. So I need to take a look at the procedure/output of generating BOOT.BIN (get_fpga.sh and boot_bin_gen.sh)。If you run quick start directly after flashing your SD card with our image (don't update FPGA), fosdem-11ag.sh it should work out of the box.
from openwifi.
I already send a email to you
from openwifi.
can you run quick start directly after flashing your SD card with our image (don't update FPGA and copy boot.bin). In this case fosdem-11ag.sh is successful or not?
from openwifi.
I just repeated the steps you took, and everything is OK at my side.
Would you please paste your complete output of fosdem-11ag.sh?
from openwifi.
hello:
Here is the commands/operation record:
root@ubuntu:/home/openwifi-master# export XILINX_DIR=/home/Xilinx
root@ubuntu:/home/openwifi-master# export BOARD_NAME=adrv9361z7035root@ubuntu:/home/openwifi-master# export OPENWIFI_DIR=/home/openwifi-master
root@ubuntu:/home/openwifi-master# ./user_space/get_fpga $OPENWIFI_DIR
bash: ./user_space/get_fpga: No such file or directory
root@ubuntu:/home/openwifi-master# ./user_space/get_fpga.sh $OPENWIFI_DIR
$OPENWIFI_DIR is found!
-
cd /home/openwifi-master/
-
git submodule init openwifi-hw
-
git submodule update openwifi-hw
-
cd openwifi-hw
-
git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
- git pull
Already up-to-date.
- cd /home/openwifi-master
root@ubuntu:/home/openwifi-master# ./user_space/boot_bin_gen.sh $OPENWIFI_DIR $XILINX_DIR $BOARD_NAME
$OPENWIFI_DIR is found!
$XILINX_DIR is found!
$BOARD_NAME is found!
- source /home/Xilinx/SDK/2018.3/settings64.sh
++ source /home/Xilinx/DocNav/.settings64-DocNav.sh
+++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ']'
+++ export PATH=/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+++ PATH=/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++ source /home/Xilinx/Vivado/2018.3/.settings64-Vivado.sh
+++ export XILINX_VIVADO=/home/Xilinx/Vivado/2018.3
+++ XILINX_VIVADO=/home/Xilinx/Vivado/2018.3
+++ '[' -n /home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ']'
+++ export PATH=/home/Xilinx/Vivado/2018.3/bin:/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+++ PATH=/home/Xilinx/Vivado/2018.3/bin:/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++ source /home/Xilinx/SDK/2018.3/.settings64-SDK_Core_Tools.sh
+++ '[' -n /home/Xilinx/Vivado/2018.3/bin:/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ']'
+++ export PATH=/home/Xilinx/SDK/2018.3/bin:/home/Xilinx/SDK/2018.3/gnu/microblaze/lin/bin:/home/Xilinx/SDK/2018.3/gnu/arm/lin/bin:/home/Xilinx/SDK/2018.3/gnu/microblaze/linux_toolchain/lin64_le/bin:/home/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/home/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/Xilinx/SDK/2018.3/gnu/aarch64/lin/aarch64-linux/bin:/home/Xilinx/SDK/2018.3/gnu/aarch64/lin/aarch64-none/bin:/home/Xilinx/SDK/2018.3/gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/Xilinx/SDK/2018.3/tps/lnx64/cmake-3.3.2/bin:/home/Xilinx/Vivado/2018.3/bin:/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+++ PATH=/home/Xilinx/SDK/2018.3/bin:/home/Xilinx/SDK/2018.3/gnu/microblaze/lin/bin:/home/Xilinx/SDK/2018.3/gnu/arm/lin/bin:/home/Xilinx/SDK/2018.3/gnu/microblaze/linux_toolchain/lin64_le/bin:/home/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/home/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/Xilinx/SDK/2018.3/gnu/aarch64/lin/aarch64-linux/bin:/home/Xilinx/SDK/2018.3/gnu/aarch64/lin/aarch64-none/bin:/home/Xilinx/SDK/2018.3/gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/Xilinx/SDK/2018.3/tps/lnx64/cmake-3.3.2/bin:/home/Xilinx/Vivado/2018.3/bin:/home/Xilinx/DocNav:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
-
cd /home/openwifi-master/kernel_boot
-
./build_boot_bin.sh adrv9361z7035
$BOARD_NAME is found!
-
HDF_FILE=../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf
-
UBOOT_FILE=./boards/adrv9361z7035/u-boot.elf
-
BUILD_DIR=./boards/adrv9361z7035/build_boot_bin
-
OUTPUT_DIR=./boards/adrv9361z7035/output_boot_bin
-
echo ../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf
-
grep -q .hdf
-
echo ./boards/adrv9361z7035/u-boot.elf
-
grep -q -e .elf -e uboot
-
'[' '!' -f ../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf ']'
-
'[' '!' -f ./boards/adrv9361z7035/u-boot.elf ']'
-
command -v xsdk
-
command -v bootgen
-
rm -Rf ./boards/adrv9361z7035/build_boot_bin ./boards/adrv9361z7035/output_boot_bin
-
mkdir -p ./boards/adrv9361z7035/output_boot_bin
-
mkdir -p ./boards/adrv9361z7035/build_boot_bin
-
cp ../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf ./boards/adrv9361z7035/build_boot_bin/
-
cp ./boards/adrv9361z7035/u-boot.elf ./boards/adrv9361z7035/output_boot_bin/u-boot.elf
-
cp ../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf ./boards/adrv9361z7035/output_boot_bin/
++ basename ../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf
-
echo 'hsi open_hw_design system.hdf'
-
echo 'set cpu_name [lindex [hsi get_cells -filter {IP_TYPE==PROCESSOR}] 0]'
-
echo 'sdk setws ./build/sdk'
++ basename ../openwifi-hw/boards/adrv9361z7035/sdk/system_top_hw_platform_0/system.hdf
-
echo 'sdk createhw -name hw_0 -hwspec system.hdf'
-
echo 'sdk createapp -name fsbl -hwproject hw_0 -proc $cpu_name -os standalone -lang C -app {Zynq FSBL}'
-
echo 'configapp -app fsbl build-config release'
-
echo 'sdk projects -build -type all'
-
echo the_ROM_image:
-
echo '{'
-
echo '[bootloader] fsbl.elf'
-
echo system_top.bit
-
echo u-boot.elf
-
echo '}'
-
cd ./boards/adrv9361z7035/build_boot_bin
-
xsdk -batch -source create_fsbl_project.tcl
INFO: [Hsi 55-1698] elapsed time for repository loading 7 seconds
hsi::open_hw_design: Time (s): cpu = 00:00:05 ; elapsed = 00:00:15 . Memory (MB): peak = 716.695 ; gain = 115.781 ; free physical = 2926 ; free virtual = 5515
Starting xsdk. This could take few seconds... done
hsi::generate_bsp: Time (s): cpu = 00:00:01 ; elapsed = 00:00:06 . Memory (MB): peak = 806.840 ; gain = 9.484 ; free physical = 2611 ; free virtual = 5291
WARNING: [Hsi 61-9] Current Software design may not be compatible with "zynq_fsbl" app. Tool is ignoring the MSS file specified in the app directory
generate_target: Time (s): cpu = 00:00:05 ; elapsed = 00:00:05 . Memory (MB): peak = 806.840 ; gain = 0.000 ; free physical = 2570 ; free virtual = 5279
hsi::generate_app: Time (s): cpu = 00:00:05 ; elapsed = 00:00:06 . Memory (MB): peak = 806.840 ; gain = 0.000 ; free physical = 2573 ; free virtual = 5279
Application project 'fsbl' created successfully.
Building '/fsbl_bsp'
Invoking Make Builder...fsbl_bsp
19:45:40 **** Build of project fsbl_bsp ****
make -k all
Running Make include in ps7_cortexa9_0/libsrc/ddrps_v1_0/src
make -C ps7_cortexa9_0/libsrc/ddrps_v1_0/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/sdps_v3_6/src
make -C ps7_cortexa9_0/libsrc/sdps_v3_6/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/standalone_v6_8/src
make -C ps7_cortexa9_0/libsrc/standalone_v6_8/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/dmaps_v2_4/src
make -C ps7_cortexa9_0/libsrc/dmaps_v2_4/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/cpu_cortexa9_v2_7/src
make -C ps7_cortexa9_0/libsrc/cpu_cortexa9_v2_7/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/emacps_v3_8/src
make -C ps7_cortexa9_0/libsrc/emacps_v3_8/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/gpiops_v3_4/src
make -C ps7_cortexa9_0/libsrc/gpiops_v3_4/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/qspips_v3_5/src
make -C ps7_cortexa9_0/libsrc/qspips_v3_5/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/xilrsa_v1_5/src
make -C ps7_cortexa9_0/libsrc/xilrsa_v1_5/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/axidma_v9_8/src
make -C ps7_cortexa9_0/libsrc/axidma_v9_8/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/xilffs_v4_0/src
make -C ps7_cortexa9_0/libsrc/xilffs_v4_0/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/scugic_v3_10/src
make -C ps7_cortexa9_0/libsrc/scugic_v3_10/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/iic_v3_5/src
make -C ps7_cortexa9_0/libsrc/iic_v3_5/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/xadcps_v2_3/src
make -C ps7_cortexa9_0/libsrc/xadcps_v2_3/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/spips_v3_1/src
make -C ps7_cortexa9_0/libsrc/spips_v3_1/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/devcfg_v3_5/src
make -C ps7_cortexa9_0/libsrc/devcfg_v3_5/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/scuwdt_v2_1/src
make -C ps7_cortexa9_0/libsrc/scuwdt_v2_1/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/uartps_v3_7/src
make -C ps7_cortexa9_0/libsrc/uartps_v3_7/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/usbps_v2_4/src
make -C ps7_cortexa9_0/libsrc/usbps_v2_4/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/coresightps_dcc_v1_4/src
make -C ps7_cortexa9_0/libsrc/coresightps_dcc_v1_4/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make include in ps7_cortexa9_0/libsrc/scutimer_v2_1/src
make -C ps7_cortexa9_0/libsrc/scutimer_v2_1/src -s include "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make libs in ps7_cortexa9_0/libsrc/ddrps_v1_0/src
make -C ps7_cortexa9_0/libsrc/ddrps_v1_0/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling ddrps
arm-none-eabi-ar: creating ../../../lib/libxil.a
Running Make libs in ps7_cortexa9_0/libsrc/sdps_v3_6/src
make -C ps7_cortexa9_0/libsrc/sdps_v3_6/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling sdps
Running Make libs in ps7_cortexa9_0/libsrc/standalone_v6_8/src
make -C ps7_cortexa9_0/libsrc/standalone_v6_8/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling standalone
In file included from sleep.c:53:0:
xtime_l.h:87:9: note: #pragma message: For the sleep routines, Global timer is being used
#pragma message ("For the sleep routines, Global timer is being used")
^~~~~~~
In file included from xtime_l.c:49:0:
xtime_l.h:87:9: note: #pragma message: For the sleep routines, Global timer is being used
#pragma message ("For the sleep routines, Global timer is being used")
^~~~~~~
In file included from xil_sleeptimer.c:51:0:
xtime_l.h:87:9: note: #pragma message: For the sleep routines, Global timer is being used
#pragma message ("For the sleep routines, Global timer is being used")
^~~~~~~
In file included from usleep.c:56:0:
xtime_l.h:87:9: note: #pragma message: For the sleep routines, Global timer is being used
#pragma message ("For the sleep routines, Global timer is being used")
^~~~~~~
Running Make libs in ps7_cortexa9_0/libsrc/dmaps_v2_4/src
make -C ps7_cortexa9_0/libsrc/dmaps_v2_4/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling dmaps
Running Make libs in ps7_cortexa9_0/libsrc/cpu_cortexa9_v2_7/src
make -C ps7_cortexa9_0/libsrc/cpu_cortexa9_v2_7/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling cpu_cortexa9
Running Make libs in ps7_cortexa9_0/libsrc/emacps_v3_8/src
make -C ps7_cortexa9_0/libsrc/emacps_v3_8/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling emacps
Running Make libs in ps7_cortexa9_0/libsrc/gpiops_v3_4/src
make -C ps7_cortexa9_0/libsrc/gpiops_v3_4/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling gpiops
Running Make libs in ps7_cortexa9_0/libsrc/qspips_v3_5/src
make -C ps7_cortexa9_0/libsrc/qspips_v3_5/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling qspips
Running Make libs in ps7_cortexa9_0/libsrc/xilrsa_v1_5/src
make -C ps7_cortexa9_0/libsrc/xilrsa_v1_5/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Running Make libs in ps7_cortexa9_0/libsrc/axidma_v9_8/src
make -C ps7_cortexa9_0/libsrc/axidma_v9_8/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling axidma
Running Make libs in ps7_cortexa9_0/libsrc/xilffs_v4_0/src
make -C ps7_cortexa9_0/libsrc/xilffs_v4_0/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling XilFFs Library
Running Make libs in ps7_cortexa9_0/libsrc/scugic_v3_10/src
make -C ps7_cortexa9_0/libsrc/scugic_v3_10/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling scugic
Running Make libs in ps7_cortexa9_0/libsrc/iic_v3_5/src
make -C ps7_cortexa9_0/libsrc/iic_v3_5/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling iic
Running Make libs in ps7_cortexa9_0/libsrc/xadcps_v2_3/src
make -C ps7_cortexa9_0/libsrc/xadcps_v2_3/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling xadcps
Running Make libs in ps7_cortexa9_0/libsrc/spips_v3_1/src
make -C ps7_cortexa9_0/libsrc/spips_v3_1/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling spips
Running Make libs in ps7_cortexa9_0/libsrc/devcfg_v3_5/src
make -C ps7_cortexa9_0/libsrc/devcfg_v3_5/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling devcfg
Running Make libs in ps7_cortexa9_0/libsrc/scuwdt_v2_1/src
make -C ps7_cortexa9_0/libsrc/scuwdt_v2_1/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling scuwdt
Running Make libs in ps7_cortexa9_0/libsrc/uartps_v3_7/src
make -C ps7_cortexa9_0/libsrc/uartps_v3_7/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling uartps
Running Make libs in ps7_cortexa9_0/libsrc/usbps_v2_4/src
make -C ps7_cortexa9_0/libsrc/usbps_v2_4/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling usbps
Running Make libs in ps7_cortexa9_0/libsrc/coresightps_dcc_v1_4/src
make -C ps7_cortexa9_0/libsrc/coresightps_dcc_v1_4/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling coresightps_dcc
Running Make libs in ps7_cortexa9_0/libsrc/scutimer_v2_1/src
make -C ps7_cortexa9_0/libsrc/scutimer_v2_1/src -s libs "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"
Compiling scutimer
Finished building libraries
19:45:58 Build Finished (took 17s.677ms)
Building '/fsbl'
19:45:58 **** Build of configuration Release for project fsbl ****
make pre-build main-build
a9-linaro-pre-build-step
Building file: ../src/fsbl_handoff.S
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/fsbl_handoff.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/fsbl_handoff.d" -MT"src/fsbl_handoff.o" -o "src/fsbl_handoff.o" "../src/fsbl_handoff.S"
Finished building: ../src/fsbl_handoff.S
Building file: ../src/fsbl_hooks.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/fsbl_hooks.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/fsbl_hooks.d" -MT"src/fsbl_hooks.o" -o "src/fsbl_hooks.o" "../src/fsbl_hooks.c"
Finished building: ../src/fsbl_hooks.c
Building file: ../src/image_mover.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/image_mover.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/image_mover.d" -MT"src/image_mover.o" -o "src/image_mover.o" "../src/image_mover.c"
Finished building: ../src/image_mover.c
Building file: ../src/main.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/main.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
In file included from ../src/main.c:137:0:
../../fsbl_bsp/ps7_cortexa9_0/include/xtime_l.h:87:9: note: #pragma message: For the sleep routines, Global timer is being used
#pragma message ("For the sleep routines, Global timer is being used")
^~~~~~~
Finished building: ../src/main.c
Building file: ../src/md5.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/md5.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/md5.d" -MT"src/md5.o" -o "src/md5.o" "../src/md5.c"
Finished building: ../src/md5.c
Building file: ../src/nand.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/nand.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/nand.d" -MT"src/nand.o" -o "src/nand.o" "../src/nand.c"
Finished building: ../src/nand.c
Building file: ../src/nor.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/nor.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/nor.d" -MT"src/nor.o" -o "src/nor.o" "../src/nor.c"
Finished building: ../src/nor.c
Building file: ../src/pcap.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/pcap.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/pcap.d" -MT"src/pcap.o" -o "src/pcap.o" "../src/pcap.c"
In file included from ../src/pcap.c:100:0:
../../fsbl_bsp/ps7_cortexa9_0/include/xtime_l.h:87:9: note: #pragma message: For the sleep routines, Global timer is being used
#pragma message ("For the sleep routines, Global timer is being used")
^~~~~~~
Finished building: ../src/pcap.c
Building file: /home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0/ps7_init.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/ps7_init.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/ps7_init.d" -MT"src/ps7_init.o" -o "src/ps7_init.o" "/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0/ps7_init.c"
Finished building: /home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0/ps7_init.c
Building file: ../src/qspi.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/qspi.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/qspi.d" -MT"src/qspi.o" -o "src/qspi.o" "../src/qspi.c"
Finished building: ../src/qspi.c
Building file: ../src/rsa.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/rsa.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/rsa.d" -MT"src/rsa.o" -o "src/rsa.o" "../src/rsa.c"
Finished building: ../src/rsa.c
Building file: ../src/sd.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O2 -I"/home/openwifi-master/kernel_boot/boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0" -c -fmessage-length=0 -MT"src/sd.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/sd.d" -MT"src/sd.o" -o "src/sd.o" "../src/sd.c"
Finished building: ../src/sd.c
Building target: fsbl.elf
Invoking: ARM v7 gcc linker
arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../../fsbl_bsp/ps7_cortexa9_0/lib -o "fsbl.elf" ./src/fsbl_handoff.o ./src/fsbl_hooks.o ./src/image_mover.o ./src/main.o ./src/md5.o ./src/nand.o ./src/nor.o ./src/pcap.o ./src/ps7_init.o ./src/qspi.o ./src/rsa.o ./src/sd.o -Wl,--start-group,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lxilffs,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lrsa,-lxil,-lgcc,-lc,--end-group
Finished building target: fsbl.elf
Invoking: ARM v7 Print Size
arm-none-eabi-size fsbl.elf |tee "fsbl.elf.size"
text data bss dec hex filename
74316 12328 74712 161356 2764c fsbl.elf
Finished building: fsbl.elf.size
19:46:01 Build Finished (took 2s.423ms)
Invoking scanner config builder on project
Building '/hw_0'
-
cp ./boards/adrv9361z7035/build_boot_bin/build/sdk/fsbl/Release/fsbl.elf ./boards/adrv9361z7035/output_boot_bin/fsbl.elf
-
cp ./boards/adrv9361z7035/build_boot_bin/build/sdk/hw_0/system_top.bit ./boards/adrv9361z7035/output_boot_bin/system_top.bit
-
cd ./boards/adrv9361z7035/output_boot_bin
-
bootgen -arch zynq -image zynq.bif -o BOOT.BIN -w
****** Xilinx Bootgen v2018.3
**** Build date : Dec 6 2018-23:41:49
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
-
rm ./boards/adrv9361z7035/build_boot_bin -rf
-
cd /home/openwifi-master
root@ubuntu:/home/openwifi-master#
Finally,generate a new BOOT.BIN in folder of "output_boot_bin"
Thanks!
from openwifi.
The following contents is complete output of fosdem-11ag.sh:
U-Boot 2014.07-dirty (Nov 20 2014 - 17:05:21)
Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 512 MiB
MMC: zynq_sdhci: 0
SF: Detected N25Q256A with page size 256 Bytes, erase size 4 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: 9c
OEM: 534f
Name: USD00
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.7 GiB
Bus Width: 4-bit
reading uEnv.txt
392 bytes read in 8 ms (47.9 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
reading uImage
4553040 bytes read in 445 ms (9.8 MiB/s)
reading devicetree.dtb
20715 bytes read in 24 ms (842.8 KiB/s)
reading uramdisk.image.gz
** Unable to read file uramdisk.image.gz **
Booting kernel from Legacy Image at 03000000 ...
Image Name: Linux-4.14.0-gb6e379910a11-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4552976 Bytes = 4.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Flattened Device Tree blob at 02a00000
Booting using the fdt blob at 0x2a00000
Loading Kernel Image ... OK
Loading Device Tree to 1ed1b000, end 1ed230ea ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.14.0-gb6e379910a11-dirty (jxj@xps15) (gcc version 7.3.1 20180314 (Linaro GCC 7.3-2018.04-rc3)) #1 SMP PREEMPT Thu Dec 17 17:41:33 CET 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Analog Devices ADRV9361-Z7035 (Z7035/AD9361)
OF: fdt: earlycon: stdout-path /amba@0/uart@E0001000 not found
Memory policy: Data cache writealloc
cma: Reserved 128 MiB at 0x38000000
random: fast init done
percpu: Embedded 16 pages/cpu @ef7c8000 s33036 r8192 d24308 u65536
Built 1 zonelists, mobility grouping on. Total pages: 260608
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait cpuidle.off=1
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 895988K/1048576K available (7168K kernel code, 340K rwdata, 2376K rodata, 1024K init, 160K bss, 21516K reserved, 131072K cma-reserved, 131072K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0800000 (8160 kB)
.init : 0xc0b00000 - 0xc0c00000 (1024 kB)
.data : 0xc0c00000 - 0xc0c551e0 ( 341 kB)
.bss : 0xc0c5ab38 - 0xc0c82e84 ( 161 kB)
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
Tasks RCU enabled.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
efuse mapped to f0802000
slcr mapped to f0804000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at f0804100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at f080c000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 6249999) is a xuartps
console [ttyPS0] enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
PTP clock support registered
FPGA manager framework
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
workingset: timestamp_bits=30 max_order=18 bucket_order=0
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
brd: module loaded
loop: module loaded
m25p80 spi1.0: SPI-NOR-UniqueID 104473e26991000e0a0038005da78b8007
m25p80 spi1.0: n25q256a (32768 Kbytes)
6 ofpart partitions found on MTD device spi1.0
Creating 6 MTD partitions on "spi1.0":
0x000000000000-0x0000000e0000 : "qspi-fsbl-uboot"
0x0000000e0000-0x000000100000 : "qspi-uboot-env"
0x000000100000-0x000000600000 : "qspi-linux"
0x000000600000-0x000000620000 : "qspi-device-tree"
0x000000620000-0x000001300000 : "qspi-rootfs"
0x000001300000-0x000002000000 : "qspi-bitstream"
MACsec IEEE 802.1AE
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:01:22)
Marvell 88E1510 e000b000.ethernet-ffffffff:00: attached PHY driver [Marvell 88E1510] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:00, irq=POLL)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 ULPI transceiver.
ULPI integrity check: passed.
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
gspca_main: v2.14.0 registered
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f0963000 with timeout 10s
Xilinx Zynq CpuIdle Driver started
failed to register cpuidle driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ad7291: probe of 0-002f failed with error -5
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
Netfilter messages via NETLINK v0.30.
nfnl_acct: registering with nfnetlink.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
nf_tables: (c) 2007-2009 Patrick McHardy [email protected]
nf_tables_compat: (c) 2012 Pablo Neira Ayuso [email protected]
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
arp_tables: arp_tables: (C) 2002 David S. Miller
mmc0: new high speed SDHC card at address 1388
mmcblk0: mmc0:1388 USD00 14.7 GiB
NET: Registered protocol family 17
mmcblk0: p1 p2 p3
Registering SWP/SWPB emulation handler
input: gpio_keys as /devices/soc0/gpio_keys/input/input0
hctosys: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
init: hwclock main process (927) terminated with status 1
[ OK ]ting up X socket directories...
- STARTDISTCC is set to false in /etc/default/distcc
- /usr/bin/distccd not starting
[ OK ]rting httpd daemon webfsd
[ OK ]rting IIO Daemon iiod
Last login: Thu Jan 1 00:00:10 UTC 1970 on ttyPS0
Welcome to Linaro 14.04 (GNU/Linux 4.14.0-gb6e379910a11-dirty armv7l)
- Documentation: https://wiki.analog.com/ https://ez.analog.com/
root@analog:~# ~/openwifi/fosdem-11ag.sh
hostapd: no process found
network-manager stop/waiting
num_arg 0
last_input xxxxxxxxx
test_mode 0
rmmod: ERROR: Module sdr is not currently loaded
rmmod: ERROR: Module xilinx_dma is not currently loaded
check xilinx_dma module is loaded or not
xilinx_dma is loaded!
rmmod: ERROR: Module tx_intf is not currently loaded
check tx_intf module is loaded or not
tx_intf is loaded!
rmmod: ERROR: Module ad9361_drv is not currently loaded
check ad9361_drv module is loaded or not
ad9361_drv is loaded!
set RF frontend
Found openwifi_ad9361_fir.ftr
- test -f /sys/bus/iio/devices/iio:device0/in_voltage_rf_bandwidth
- test -f /sys/bus/iio/devices/iio:device1/in_voltage_rf_bandwidth
- cd /sys/bus/iio/devices/iio:device1/
- set +x
FIR Rx: 32,1 Tx: 32,1
1
0
rx0 agc fast_attack
slow_attack
fast_attack
rx1 agc fast_attack
slow_attack
fast_attack
40000000
17500000
40000000
37500000
rssi
117.25 dB
100.75 dB
rx0 gain to 70
57.000000 dB
sh: echo: I/O error
57.000000 dB
rx1 gain to 70
38.000000 dB
sh: echo: I/O error
38.000000 dB
tx0 gain -89dB
-10.000000 dB
-89.000000 dB
tx1 gain 0dB
-10.000000 dB
0.000000 dB
rmmod: ERROR: Module rx_intf is not currently loaded
check rx_intf module is loaded or not
rx_intf is loaded!
rmmod: ERROR: Module openofdm_tx is not currently loaded
check openofdm_tx module is loaded or not
openofdm_tx is loaded!
rmmod: ERROR: Module openofdm_rx is not currently loaded
check openofdm_rx module is loaded or not
openofdm_rx is loaded!
rmmod: ERROR: Module xpu is not currently loaded
check xpu module is loaded or not
xpu is loaded!
rmmod: ERROR: Module sdr is not currently loaded
insert sdr.ko test_mode=0
check sdr module is loaded or not
sdr is loaded!
the end
Booting Linux on physical CPU 0x0
Linux version 4.14.0-gb6e379910a11-dirty (jxj@xps15) (gcc version 7.3.1 20180314 (Linaro GCC 7.3-2018.04-rc3)) #1 SMP PREEMPT Thu Dec 17 17:41:33 CET 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Analog Devices ADRV9361-Z7035 (Z7035/AD9361)
OF: fdt: earlycon: stdout-path /amba@0/uart@E0001000 not found
Memory policy: Data cache writealloc
cma: Reserved 128 MiB at 0x38000000
On node 0 totalpages: 262144
free_area_init_node: node 0, pgdat c0c54340, node_mem_map ef7f7000
Normal zone: 1536 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 196608 pages, LIFO batch:31
HighMem zone: 65536 pages, LIFO batch:15
random: fast init done
percpu: Embedded 16 pages/cpu @ef7c8000 s33036 r8192 d24308 u65536
pcpu-alloc: s33036 r8192 d24308 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists, mobility grouping on. Total pages: 260608
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait cpuidle.off=1
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 895988K/1048576K available (7168K kernel code, 340K rwdata, 2376K rodata, 1024K init, 160K bss, 21516K reserved, 131072K cma-reserved, 131072K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0800000 (8160 kB)
.init : 0xc0b00000 - 0xc0c00000 (1024 kB)
.data : 0xc0c00000 - 0xc0c551e0 ( 341 kB)
.bss : 0xc0c5ab38 - 0xc0c82e84 ( 161 kB)
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
Tasks RCU enabled.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
efuse mapped to f0802000
slcr mapped to f0804000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at f0804100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at f080c000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 6249999) is a xuartps
console [ttyPS0] enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
PTP clock support registered
FPGA manager framework
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
workingset: timestamp_bits=30 max_order=18 bucket_order=0
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
brd: module loaded
loop: module loaded
m25p80 spi1.0: SPI-NOR-UniqueID 104473e26991000e0a0038005da78b8007
m25p80 spi1.0: n25q256a (32768 Kbytes)
6 ofpart partitions found on MTD device spi1.0
Creating 6 MTD partitions on "spi1.0":
0x000000000000-0x0000000e0000 : "qspi-fsbl-uboot"
0x0000000e0000-0x000000100000 : "qspi-uboot-env"
0x000000100000-0x000000600000 : "qspi-linux"
0x000000600000-0x000000620000 : "qspi-device-tree"
0x000000620000-0x000001300000 : "qspi-rootfs"
0x000001300000-0x000002000000 : "qspi-bitstream"
MACsec IEEE 802.1AE
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:01:22)
Marvell 88E1510 e000b000.ethernet-ffffffff:00: attached PHY driver [Marvell 88E1510] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:00, irq=POLL)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 ULPI transceiver.
ULPI integrity check: passed.
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
gspca_main: v2.14.0 registered
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f0963000 with timeout 10s
Xilinx Zynq CpuIdle Driver started
failed to register cpuidle driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ad7291: probe of 0-002f failed with error -5
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
Netfilter messages via NETLINK v0.30.
nfnl_acct: registering with nfnetlink.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
nf_tables: (c) 2007-2009 Patrick McHardy [email protected]
nf_tables_compat: (c) 2012 Pablo Neira Ayuso [email protected]
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
arp_tables: arp_tables: (C) 2002 David S. Miller
mmc0: new high speed SDHC card at address 1388
mmcblk0: mmc0:1388 USD00 14.7 GiB
NET: Registered protocol family 17
mmcblk0: p1 p2 p3
Registering SWP/SWPB emulation handler
input: gpio_keys as /devices/soc0/gpio_keys/input/input0
hctosys: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
init: hwclock main process (927) terminated with status 1
systemd-udevd[1017]: starting version 204
Registered mathworks_ip class
mwipcore 43c00000.mwipcore: Dev memory resource found at 43c00000 0000FFFF.
mwipcore 43c00000.mwipcore: 'mwipcore' device not found, creating
mwipcore 43c00000.mwipcore: Char dev region registered: major num:242
mwipcore 43c00000.mwipcore: 'mwipcore' device created
init: udev-fallback-graphics main process (1453) terminated with status 1
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Segment Routing with IPv6
init: failsafe main process (1548) killed by TERM signal
init: samba-ad-dc main process (1669) terminated with status 1
init: alsa-restore main process (1761) terminated with status 19
init: isc-dhcp-server main process (1755) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (1846) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (1869) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (1905) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: lightdm main process (1702) terminated with status 1
init: tty1 main process (1925) killed by TERM signal
init: isc-dhcp-server main process (1943) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (1979) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (2005) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (2013) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (2021) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (2029) terminated with status 1
init: isc-dhcp-server main process ended, respawning
init: isc-dhcp-server main process (2037) terminated with status 1
init: isc-dhcp-server respawning too fast, stopped
xilinx-vdma 80400000.dma: Xilinx AXI DMA Engine Driver Probed!!
xilinx-vdma 80410000.dma: Xilinx AXI DMA Engine Driver Probed!!
tx_intf: loading out-of-tree module taints kernel.
sdr,tx_intf dev_probe match!
sdr,tx_intf dev_probe io start 0x83c0ffff83c00000 end 0x200ef7f4ec4 name (null) flags 0xbf1f901c desc 0xbf1f901c
sdr,tx_intf dev_probe base_addr 0xf3b20000
sdr,tx_intf dev_probe tx_intf_driver_api_inst 0xbf1f9284
sdr,tx_intf dev_probe tx_intf_api 0xbf1f9284
sdr,tx_intf dev_probe succeed!
sdr,tx_intf hw_init mode 6
sdr,tx_intf hw_init mode TX_INTF_BW_20MHZ_AT_N_10MHZ_ANT1
sdr,tx_intf hw_init err 0
ad9361 spi0.0: ad9361_probe : enter (ad9361)
ad9361 spi0.0: ad9361_probe : AD936x Rev 2 successfully initialized
cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.01.b) at 0x79020000 mapped to 0xf3ad8000, probed ADC AD9361 as MASTER
cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x79024000 mapped to 0xf3ab9000, probed DDS AD9361
random: crng init done
sdr,rx_intf dev_probe match!
sdr,rx_intf dev_probe io start 0x83c20000 end 0x83c2ffff name /fpga-axi@0/rx_intf@83c20000 flags 0x00000200 desc 0x00000000
sdr,rx_intf dev_probe base_addr 0xf3c10000
sdr,rx_intf dev_probe rx_intf_driver_api_inst 0xbf229284
sdr,rx_intf dev_probe rx_intf_api 0xbf229284
sdr,rx_intf dev_probe succeed!
sdr,rx_intf hw_init mode 2
sdr,rx_intf hw_init mode DDC_BW_20MHZ_AT_0MHZ
sdr,rx_intf hw_init err 0
sdr,openofdm_tx dev_probe match!
sdr,openofdm_tx dev_probe io start 0x83c10000 end 0x83c1ffff name /fpga-axi@0/openofdm_tx@83c10000 flags 0x00000200 desc 0x00000000
sdr,openofdm_tx dev_probe base_addr 0xf3c50000
sdr,openofdm_tx dev_probe openofdm_tx_driver_api_inst 0xbf232284
sdr,openofdm_tx dev_probe openofdm_tx_api 0xbf232284
sdr,openofdm_tx dev_probe succeed!
sdr,openofdm_tx hw_init mode 1
sdr,openofdm_tx hw_init mode OPENOFDM_TX_NORMAL
sdr,openofdm_tx hw_init err 0
sdr,openofdm_rx dev_probe match!
sdr,openofdm_rx dev_probe io start 0x83c30000 end 0x83c3ffff name /fpga-axi@0/openofdm_rx@83c30000 flags 0x00000200 desc 0x00000000
sdr,openofdm_rx dev_probe base_addr 0xf3c90000
sdr,openofdm_rx dev_probe openofdm_rx_driver_api_inst 0xbf23a284
sdr,openofdm_rx dev_probe openofdm_rx_api 0xbf23a284
sdr,openofdm_rx dev_probe succeed!
sdr,openofdm_rx hw_init mode 1
sdr,openofdm_rx hw_init mode OPENOFDM_RX_NORMAL
sdr,openofdm_rx hw_init input:
power_thres 0
min_plateau 100
sdr,openofdm_rx hw_init err 0
sdr,xpu dev_probe match!
sdr,xpu dev_probe io start 0x83c40000 end 0x83c4ffff name /fpga-axi@0/xpu@83c40000 flags 0x00000200 desc 0x00000000
sdr,xpu dev_probe base_addr 0xf3cf0000
sdr,xpu dev_probe xpu_driver_api_inst 0xbf243284
sdr,xpu dev_probe xpu_api 0xbf243284
sdr,xpu dev_probe reset tsf timer
sdr,xpu dev_probe XPU_REG_TSF_RUNTIME_VAL_LOW_read 1 33887 100894us
sdr,xpu dev_probe succeed!
sdr,xpu hw_init mode 1
sdr,xpu hw_init mode XPU_NORMAL
sdr,xpu hw_init err 0
sdr: no symbol version for openofdm_rx_api
sdr,sdr openwifi_dev_probe: match!
sdr,sdr custom_match_spi_dev ad9361-phy ad9361-phy 1
sdr,sdr bus_find_device ad9361-phy: ad9361. driver_data pointer eea00010
sdr,sdr ad9361_spi_to_phy ad9361-phy: ad9361
sdr,sdr openwifi_dev_probe: ad9361_ctrl_outs_setup en_mask 0xff index 0x16
sdr,sdr openwifi_dev_probe: ad9361_spi_read REG_CTRL_OUTPUT_POINTER 0x16
sdr,sdr openwifi_dev_probe: ad9361_spi_read REG_CTRL_OUTPUT_ENABLE 0xff
sdr,sdr custom_match_platform_dev 79024000.cf-ad9361-dds-core-lpc
sdr,sdr openwifi_dev_probe: cf-ad9361-dds-core-lpc dds_st->version 00090162 chip_info->name AD9361
sdr,sdr openwifi_dev_probe: cf_axi_dds_datasel DATA_SEL_DMA
sdr,sdr openwifi_dev_probe: priv->rf_bw == 40000000Hz. bool for 20000000 0, 40000000 1
sdr,sdr openwifi_dev_probe: test_mode 0
sdr,sdr openwifi_dev_probe: rfkill radio on
sdr,sdr openwifi_dev_probe: band_2GHz.n_channels 14 n_bitrates 12 band_5GHz.n_channels 11 n_bitrates 12
sdr,sdr openwifi_dev_probe: mac_addr 66:55:44:33:22:b7
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
sdr,sdr openwifi_dev_probe: ieee80211_register_hw 0
ieee80211 phy0: hwaddr 6655443322b7, ZYNQ + ad9361
sdr,sdr openwifi_rfkill_init: wireless switch is on
sdr,sdr fpga-axi@0:sdr sdr0: renamed from wlan0
stop: Unknown instance:
isc-dhcp-server start/running, process 2233
Configuration file: hostapd-openwifi-11ag.conf
sdr0: interface state UNINITIALIZED->COUNTRY_UPDATE
Using interface sdr0 with hwaddr 66:55:44:33:22:b7 and ssid "openwifi"
Unable to handle kernel paging request at virtual address 00001ff8
pgd = c0004000
[00001ff8] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in: 8021q arc4 sdr(O) xpu(O) openofdm_rx(O) openofdm_tx(O) rx_intf(O) ad9361_drv(O) tx_intf(O) xilinx_dma mac80211 cfg80211 ipv6 mwipcore mwipcore_iio_streaming mwipcore_dma_streaming mathworks_ip_common
CPU: 0 PID: 908 Comm: kworker/0:2 Tainted: G O 4.14.0-gb6e379910a11-dirty #1
Hardware name: Xilinx Zynq Platform
Workqueue: events linkwatch_event
task: ef17d340 task.stack: ef290000
PC is at openwifi_tx_interrupt+0xd8/0x344 [sdr]
LR is at openwifi_tx_interrupt+0x94/0x344 [sdr]
pc : [] lr : [] psr: a00c0193
sp : ef291cf8 ip : 00000001 fp : 00000001
r10: 0007ffff r9 : ee04ee40 r8 : bf1f9004
r7 : ee0cee30 r6 : 00000000 r5 : ffffffff r4 : ee0f3b40
r3 : 00001ff8 r2 : 000003ff r1 : eea43a18 r0 : ef163410
Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
Control: 18c5387d Table: 2e7d404a DAC: 00000051
Process kworker/0:2 (pid: 908, stack limit = 0xef290210)
Stack: (0xef291cf8 to 0xef292000)
1ce0: 00000000 ee8b1e5c
1d00: ee8b1e58 600c0193 ef291d8c 0000001a ee04e460 00007fff 0007fff0 c0801438
1d20: ee04f638 bf252000 ef291d64 ee71d600 ef15d200 00000000 ef291d8c 00000035
1d40: c0c54fae c0995e28 c0995e00 c015c36c d863b018 c01450c4 ffff9bc4 ef15d200
1d60: 00000000 ef15d200 ef15d200 c0c0534c 00000000 ef003600 f8f01100 ef17d340
1d80: ef291e84 c015c454 ef291db4 00000000 00208040 ef15d200 ef15d264 c015c4c8
1da0: ef15d200 ef15d264 c0c0534c c015fa38 c0b48280 00000035 00000000 c015b700
1dc0: c0b48280 c015bc04 c0c05344 c0c1a194 f8f0010c f8f00100 ef291e00 c0101424
1de0: c070a14c 600c0013 ffffffff ef291e34 c0705ae8 ef290000 ef17d340 c010c20c
1e00: ef7cf6c0 ef290000 00000000 000031e2 ef7cf6c0 eea41540 ef3919c0 00000002
1e20: c0705ae8 c0705e90 ef17d340 ef291e84 00000000 ef291e50 c013dd68 c070a14c
1e40: 600c0013 ffffffff 00000051 00000000 ee44a000 c013a270 c0c5abbc 00000002
1e60: ee44a000 ef7cf6c0 ef17d340 eea41540 ef3bc600 eea41540 c0705e90 00000000
1e80: ef291ec4 c0705ae8 ef7cf6c0 00000004 ef17d3c0 ef14fd00 ef14fd64 c015c4c8
1ea0: ef14fd00 ffffe000 ffffe000 ef291ee8 c0c4f77c 00000000 00000002 00000000
1ec0: ef291ed4 c0705e90 ffffe000 ffffe000 ef291ee4 c07063dc c0c4f778 ffffe000
1ee0: c0c4f784 c0707b20 c0c4f784 c0c4f784 ef17d340 ef290000 00000008 c0c4f7e0
sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_CTS_PROT 0
sdrs,dsrd0r: oipnetnewriffaic_eb ssst_aitnef oC_OcUhNaTnRgYe_dU WARNING BSS_CHANGED_BASIC_RATES f0
sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_SLOT 8 BSS_CHANGED_ERP_PREAMBLE 4 short slot 1
sdr,sdr openwifi_conf_tx: WARNING [queue 0], aifs: 1, cw_min: 3, cw_max: 7, txop: 47
sdr,sdr openwifi_conf_tx: WARNING [queue 1], aifs: 1, cw_min: 7, cw_max: 15, txop: 94
sdr,sdr openwifi_conf_tx: WARNING [queue 2], aifs: 3, cw_min: 15, cw_max: 63, txop: 0
sdr,sdr openwifi_conf_tx: WARNING [queue 3], aifs: 7, cw_min: 15, cw_max: 1023, txop: 0
1f00: eea34f80 ef7cf2c0 ef7d2300 00000000 00000000 00000008 ef7cf2c0 c0611268
1f20: c0c4f7e0 c0133358 00000008 ef7cf2c0 eea34f80 ef7cf2c0 eea34f98 c0c02d00
1f40: ef7cf2d8 ffffe000 00000008 c0134064 ffffe000 c0c54f60 c099404c 00000000
1f60: ffffe000 ef2ff5c0 ee816880 00000000 ef290000 eea34f80 c0134018 ef045ed8
1f80: ef2ff5dc c0138de0 00000000 ee816880 c0138c94 00000000 00000000 00000000
1fa0: 00000000 00000000 00000000 c0107a30 00000000 00000000 00000000 00000000
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 70745242 44424011
[] (openwifi_tx_interrupt [sdr]) from [] (__handle_irq_event_percpu+0x50/0x11c)
[] (__handle_irq_event_percpu) from [] (handle_irq_event_percpu+0x1c/0x58)
[] (handle_irq_event_percpu) from [] (handle_irq_event+0x38/0x5c)
[] (handle_irq_event) from [] (handle_fasteoi_irq+0xa4/0x158)
[] (handle_fasteoi_irq) from [] (generic_handle_irq+0x24/0x34)
[] (generic_handle_irq) from [] (__handle_domain_irq+0x5c/0xb4)
[] (__handle_domain_irq) from [] (gic_handle_irq+0x4c/0x90)
[] (gic_handle_irq) from [] (__irq_svc+0x6c/0xa8)
Exception stack(0xef291e00 to 0xef291e48)
1e00: ef7cf6c0 ef290000 00000000 000031e2 ef7cf6c0 eea41540 ef3919c0 00000002
1e20: c0705ae8 c0705e90 ef17d340 ef291e84 00000000 ef291e50 c013dd68 c070a14c
1e40: 600c0013 ffffffff
[] (__irq_svc) from [] (_raw_spin_unlock_irq+0x1c/0x4c)
[] (_raw_spin_unlock_irq) from [] (finish_task_switch+0x90/0x20c)
[] (finish_task_switch) from [] (__schedule+0x1d8/0x52c)
[] (__schedule) from [] (schedule+0x54/0xc0)
[] (schedule) from [] (schedule_preempt_disabled+0x28/0x40)
[] (schedule_preempt_disabled) from [] (__mutex_lock.constprop.4+0x2d0/0x5dc)
[] (__mutex_lock.constprop.4) from [] (linkwatch_event+0x8/0x34)
[] (linkwatch_event) from [] (process_one_work+0x1d8/0x410)
[] (process_one_work) from [] (worker_thread+0x4c/0x598)
[] (worker_thread) from [] (kthread+0x14c/0x154)
[] (kthread) from [] (ret_from_fork+0x14/0x24)
Code: e597371c e5911000 e0833182 e5910040 (e5934000)
---[ end trace 7d5289f881892316 ]---
Kernel panic - not syncing: Fatal exception in interrupt
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D O 4.14.0-gb6e379910a11-dirty #1
Hardware name: Xilinx Zynq Platform
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x8c/0xa0)
[] (dump_stack) from [] (ipi_cpu_stop+0x64/0x74)
[] (ipi_cpu_stop) from [] (handle_IPI+0x6c/0x7c)
[] (handle_IPI) from [] (gic_handle_irq+0x8c/0x90)
[] (gic_handle_irq) from [] (__irq_svc+0x6c/0xa8)
Exception stack(0xef05ff78 to 0xef05ffc0)
ff60: 00000001 00000000
ff80: 00000001 c01179e0 ffffe000 c0c050f4 c0c050a8 c0b47a48 c0c54fa0 00000000
ffa0: 00000000 00000000 2ec97000 ef05ffc8 c0108480 c0108484 60030013 ffffffff
[] (__irq_svc) from [] (arch_cpu_idle+0x38/0x3c)
[] (arch_cpu_idle) from [] (do_idle+0x16c/0x1f8)
[] (do_idle) from [] (cpu_startup_entry+0x18/0x1c)
[] (cpu_startup_entry) from [<0010174c>] (0x10174c)
---[ end Kernel panic - not syncing: Fatal exception in interrupt
from openwifi.
According to your print, you are not using our latest SD card image. In this case, if you update FPGA, it will mean that you try to use the latest FPGA with the old driver and Linux kernel. You have 3 ways to fix:
- Use our latest SD card image. Please download it from the openwifi README. or
- Not only update FPGA, but also driver: https://github.com/open-sdr/openwifi#update-driver or
- Build your SD card image locally from scratch: https://github.com/open-sdr/openwifi#build-openwifi-linux-img-from-scratch
from openwifi.
Hello:
Thanks very much,I tried second method,program normar working。
from openwifi.
Related Issues (20)
- Why can't openwifi work in lower frequency? such as 1.6/1.5/1.4 G… HOT 1
- enable 802.11p HOT 7
- Problems with the data in the side_info.txt file that records CSI information.
- CSI Phase keeps changing Despite relatively stable environment HOT 7
- extracting CSI results from two RX antennas HOT 2
- adrv9361z7035 can't connect 'openwifi'
- Modifying the bandwidth can impact the stability of work HOT 1
- capturing CSI for 2 antenas HOT 4
- XC7Z015 support?
- Some questions about clock tree
- ADRV9361Z7035 reports wrong amount of available memory HOT 1
- rssi correction HOT 2
- Instability in CSI Data Obtained by OpenWiFi When Monitoring Mobile Phone WiFi Signals in a Stable Environment HOT 6
- In the IQ capture experiment, running ./monitor_ch.sh will change the master of sdr0, causing the phone connection to disconnect.
- How to use packet-iq-self-loopback-test HOT 1
- Cannot find the E310v2 kernel in BOOT/openwifi/ after burning the SD card HOT 5
- How to extracting CSI results from two RX antennas for the phase difference HOT 2
- Error reporting about CSI radar HOT 5
- is:issue is:open May I ask how to change the RF power of OpenWiFi? The current board used is Antsdr, and I want to increase the RF power to improve communication quality and distance
- [Feature request] Support of SoapySDR as a neutral and platform independent SDR support library HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwifi.