xlinx
时钟频率问题
axi timer时钟这一块驱动设置为187.5M时,使用1.875e+08的写法时,petalinux编译器无法识别该写法,询问xlinx技术支持,该问题为编译工具问题,只能等工具更新或者避免改写法来解决该问题。
将187.5M改为187500000即可解决。
Realtek
9607cvb系列sdk
Makefile中第43行出现错误,编译不通过。
# SPDX-License-Identifier: GPL-2.0+
ifneq (,$(wildcard ./.config))
_IS_OTTO_FRAMEWORK := $(shell grep "CONFIG_OTTO=y" ./.config)
ifeq ($(_IS_OTTO_FRAMEWORK),CONFIG_OTTO=y)
include otto.makefile
endif
endif
VERSION = 2020
PATCHLEVEL = 01
SUBLEVEL =
EXTRAVERSION =
NAME =
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.
# o Do not use make's built-in rules and variables
# (this increases performance and avoids hard-to-debug behaviour);
# o Look for make include files relative to root of kernel src
MAKEFLAGS += -rR --include-dir=$(CURDIR)
# Determine host architecture
include include/host_arch.h
MK_ARCH="${shell uname -m}"
unexport HOST_ARCH
ifeq ("x86_64", $(MK_ARCH))
export HOST_ARCH=$(HOST_ARCH_X86_64)
else ifneq (,$(findstring $(MK_ARCH), "i386" "i486" "i586" "i686"))
export HOST_ARCH=$(HOST_ARCH_X86)
else ifneq (,$(findstring $(MK_ARCH), "aarch64" "armv8l"))
export HOST_ARCH=$(HOST_ARCH_AARCH64)
else ifeq ("armv7l", $(MK_ARCH))
export HOST_ARCH=$(HOST_ARCH_ARM)
else ifeq ("riscv32", $(MK_ARCH))
export HOST_ARCH=$(HOST_ARCH_RISCV32)
else ifeq ("riscv64", $(MK_ARCH))
export HOST_ARCH=$(HOST_ARCH_RISCV64)
endif
undefine MK_ARCH
# Avoid funny character set dependencies
unexport LC_ALL
LC_COLLATE=C
LC_NUMERIC=C
export LC_COLLATE LC_NUMERIC
# Avoid interference with shell env settings
unexport GREP_OPTIONS
......
......
......
将undefine MK_ARCH
修改为unexport MK_ARCH
。
组播升级功能
Realtek组播升级需要增加组播升级环境变量,当标志位开启后,才会进行组播升级判断。否则编写的组播升级功能不生效。