How to use Linux Kernel version 4.20 in T1040RDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use Linux Kernel version 4.20 in T1040RDB

13,901 次查看
Suraj_Prakash
Contributor II

Hi,

      I am currently working on T1040RDB reference board and i am using SDK 2.0.

The latest linux version supported in the sdk is 4.1.35. I wanted MPLS features in the linux kernel but it is supported in linux version 4.20 and above.

 

Please suggest how to use linux 4.20 or above on my board.

0 项奖励
回复
16 回复数

13,897 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please download the latest Yocto 3.1 release from NXP following the instruction in the following link. Please create a build project for t1042d4rdb to build Linux Kernel. Linux Kernel version in this release is 5.4.3.

https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk/tree/readme?h=dunfell

$: mkdir ~/bin

$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo

$: chmod a+x ~/bin/repo

$: PATH=${PATH}:~/bin

$: mkdir yocto-sdk

$: cd yocto-sdk

$: repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b dunfell

$: repo sync --force-sync

 

0 项奖励
回复

13,890 次查看
Suraj_Prakash
Contributor II

SDK 3.1 does not provide support for T1040RDB (64 bit).

Please suggest how to add receipes in SDK 3.1 for T1040RDB??????

0 项奖励
回复

13,886 次查看
yipingwang
NXP TechSupport
NXP TechSupport

In folder sources/meta-freescale/conf/machine/, please add configuration file t1040d4rdb-64b.conf according to t1042d4rdb-64b.conf.

0 项奖励
回复

13,863 次查看
Suraj_Prakash
Contributor II

Hi,

      I have done according to your suggestion but I m facing the following errors. please suggest.

I have attached conf files of T1040d4rdb-64 and T1042d4rdb-64.

suchita@linux:~/yocto-sdk/build_t1040d4rdb-64b$ bitbake fsl-image-networking-full
Loading cache: 100% |##########################################################################################################| Time: 0:00:00
Loaded 6737 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'hypervisor'. Close matches:
hyperstart
ERROR: Required build target 'fsl-image-networking-full' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-networking-full', 'hypervisor']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

     

0 项奖励
回复

13,859 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please use the following in t1040d4rdb-64b.conf

EXTRA_IMAGEDEPENDS += "fm-ucode rcw qe-ucode"

0 项奖励
回复

13,855 次查看
Suraj_Prakash
Contributor II

Hi,

     i am getting the following errors, please suggest.

bitbake fsl-image-networking-full
Parsing recipes: 100% |########################################################################################################| Time: 0:01:06
Parsing of 2765 .bb files complete (0 cached, 2765 parsed). 6737 targets, 658 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "powerpc64-fsl-linux"
MACHINE = "t1040d4rdb-64b"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "3.1.1"
TUNE_FEATURES = "m64 fpu-hard e5500 bigendian"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:c253fd28ad26b4996666b0794dfee1d59c14e3ca"
meta-oe
meta-multimedia
meta-python
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl = "HEAD:cc155826b0b4f202a8fa4ac103b7c38368d32734"
meta-virtualization = "HEAD:5c2de3daedd3f65171b9debf938683ce6e7746ea"
meta-cloud-services = "HEAD:ba99cce99d248b383871db562d694be5b3d52c77"
meta-security = "HEAD:d83f7cb0c90666fedd127d5173e6c8b972755c32"
meta-selinux = "HEAD:f677a09992413f32e6b2c4c607ae44fb42de72c2"
meta-freescale = "HEAD:682c00566aa3cf0deeff0cfd349494f078f38a04"
meta-freescale-distro = "HEAD:fbd12ff7e5f80a0e1fd71fa217d52a3c96659d16"
meta-qoriq = "HEAD:760e52a9a4c05729689595d4a884ebf97cba81ad"

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:03
WARNING: netbase-1_6.1-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/n/netbase/netbase_6.1.tar.xz, attempting MIRRORS if available
WARNING: iptables-1.8.4-r0 do_fetch: Failed to fetch URL http://netfilter.org/projects/iptables/files/iptables-1.8.4.tar.bz2, attempting MIRRORS if available
WARNING: libmnl-1.0.4-r0 do_fetch: Failed to fetch URL https://netfilter.org/projects/libmnl/files/libmnl-1.0.4.tar.bz2;name=tar, attempting MIRRORS if available
WARNING: fmlib-git-r1 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/qoriq/qoriq-components/fmlib;nobranch=1, attempting MIRRORS if available
ERROR: linux-qoriq-5.4.3+gitAUTOINC+134788b164-r0 do_merge_delta_config: oe_runmake failed
ERROR: linux-qoriq-5.4.3+gitAUTOINC+134788b164-r0 do_merge_delta_config: Execution of '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/temp/run.do_merge_delta_config.2218664' failed with exit code 1:
make: Entering directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source'
make[1]: Entering directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build'
GEN Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/powerpc/configs//home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"!
***
make[2]: *** [/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source/scripts/kconfig/Makefile:90: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig] Error 1
make[1]: *** [/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source/Makefile:567: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig] Error 2
make[1]: Leaving directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build'
make: *** [Makefile:179: sub-make] Error 2
make: Leaving directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source'
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/temp/log.do_merge_delta_config.2218664
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/suchita/yocto-sdk/sources/poky/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot', 'virtual:native:/home/suchita/yocto-sdk/sources/poky/meta/recipes-devtools/bison/bison_3.5.3.bb:do_populate_sysroot', '/home/suchita/yocto-sdk/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/suchita/yocto-sdk/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gcc-cross-powerpc64', 'bison-native', 'quilt-native', 'patch-native', 'attr-native', 'autoconf-native', 'gnu-config-native', 'automake-native', 'libtool-native', 'xz-native', 'texinfo-dummy-native', 'libmpc-native', 'gmp-native', 'linux-libc-headers', 'mpfr-native', 'binutils-cross-powerpc64', 'zlib-native', 'flex-native', 'gettext-minimal-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_merge_delta_config
| NOTE: make HOSTCC=gcc -isystem/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/usr/lib -L/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 HOSTCPP=gcc -E -C /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git O=/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig
| make: Entering directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source'
| make[1]: Entering directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build'
| GEN Makefile
| HOSTCC scripts/basic/fixdep
| HOSTCC scripts/kconfig/conf.o
| HOSTCC scripts/kconfig/confdata.o
| HOSTCC scripts/kconfig/expr.o
| LEX scripts/kconfig/lexer.lex.c
| YACC scripts/kconfig/parser.tab.[ch]
| HOSTCC scripts/kconfig/lexer.lex.o
| HOSTCC scripts/kconfig/parser.tab.o
| HOSTCC scripts/kconfig/preprocess.o
| HOSTCC scripts/kconfig/symbol.o
| HOSTLD scripts/kconfig/conf
| ***
| *** Can't find default configuration "arch/powerpc/configs//home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"!
| ***
| make[2]: *** [/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source/scripts/kconfig/Makefile:90: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig] Error 1
| make[1]: *** [/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source/Makefile:567: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig] Error 2
| make[1]: Leaving directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build'
| make: *** [Makefile:179: sub-make] Error 2
| make: Leaving directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/temp/run.do_merge_delta_config.2218664' failed with exit code 1:
| make: Entering directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source'
| make[1]: Entering directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build'
| GEN Makefile
| HOSTCC scripts/basic/fixdep
| HOSTCC scripts/kconfig/conf.o
| HOSTCC scripts/kconfig/confdata.o
| HOSTCC scripts/kconfig/expr.o
| LEX scripts/kconfig/lexer.lex.c
| YACC scripts/kconfig/parser.tab.[ch]
| HOSTCC scripts/kconfig/lexer.lex.o
| HOSTCC scripts/kconfig/parser.tab.o
| HOSTCC scripts/kconfig/preprocess.o
| HOSTCC scripts/kconfig/symbol.o
| HOSTLD scripts/kconfig/conf
| ***
| *** Can't find default configuration "arch/powerpc/configs//home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"!
| ***
| make[2]: *** [/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source/scripts/kconfig/Makefile:90: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig] Error 1
| make[1]: *** [/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source/Makefile:567: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig] Error 2
| make[1]: Leaving directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build'
| make: *** [Makefile:179: sub-make] Error 2
| make: Leaving directory '/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work-shared/t1040d4rdb-64b/kernel-source'
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/suchita/yocto-sdk/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_5.4.bb:do_merge_delta_config) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1997 tasks of which 534 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/suchita/yocto-sdk/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_5.4.bb:do_merge_delta_config
Summary: There were 6 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 项奖励
回复

13,848 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please modify the following in t1040d4rdb-64b.conf 

 

KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
KBUILD_DEFCONFIG ?= "corenet64_fmanv3l_smp_defconfig

to

KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig"

标记 (1)
0 项奖励
回复

13,825 次查看
Suraj_Prakash
Contributor II

Hi,

          I am getting the following errors, Please suggest

 

suchita@linux:~/yocto-sdk/build_t1040d4rdb-64b$ bitbake fsl-image-networking-full
Parsing recipes: 100% |################################################################################################################| Time: 0:01:06
Parsing of 2765 .bb files complete (0 cached, 2765 parsed). 6737 targets, 658 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "powerpc64-fsl-linux"
MACHINE = "t1040d4rdb-64b"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "3.1.1"
TUNE_FEATURES = "m64 fpu-hard e5500 bigendian"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:c253fd28ad26b4996666b0794dfee1d59c14e3ca"
meta-oe
meta-multimedia
meta-python
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl = "HEAD:cc155826b0b4f202a8fa4ac103b7c38368d32734"
meta-virtualization = "HEAD:5c2de3daedd3f65171b9debf938683ce6e7746ea"
meta-cloud-services = "HEAD:ba99cce99d248b383871db562d694be5b3d52c77"
meta-security = "HEAD:d83f7cb0c90666fedd127d5173e6c8b972755c32"
meta-selinux = "HEAD:f677a09992413f32e6b2c4c607ae44fb42de72c2"
meta-freescale = "HEAD:682c00566aa3cf0deeff0cfd349494f078f38a04"
meta-freescale-distro = "HEAD:fbd12ff7e5f80a0e1fd71fa217d52a3c96659d16"
meta-qoriq = "HEAD:760e52a9a4c05729689595d4a884ebf97cba81ad"

Initialising tasks: 100% |#############################################################################################################| Time: 0:00:03
Sstate summary: Wanted 2740 Found 0 Missed 2740 Current 641 (0% match, 18% complete)
NOTE: Executing Tasks
WARNING: u-boot-qoriq-2019.10+fslgit-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1, attempting MIRRORS if available
WARNING: bjam-native-1.72.0-r0 do_fetch: Failed to fetch URL https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2, attempting MIRRORS if available
WARNING: boot-format-native-git-r6 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/qoriq/qoriq-yocto-sdk/boot-format;nobranch=1, attempting MIRRORS if available
WARNING: qe-ucode-git-r0 do_fetch: Failed to fetch URL git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1, attempting MIRRORS if available
WARNING: rcw-git-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/qoriq/qoriq-components/rcw;nobranch=1, attempting MIRRORS if available
WARNING: fm-ucode-git-r1 do_fetch: Failed to fetch URL git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1, attempting MIRRORS if available
WARNING: man-pages-5.05-r0 do_fetch: Failed to fetch URL https://cdn.kernel.org/pub/linux/docs/man-pages/man-pages-5.05.tar.gz, attempting MIRRORS if available
WARNING: stress-ng-0.11.01-r0 do_fetch: Failed to fetch URL https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-0.11.01.tar.xz, attempting MIRRORS if available
WARNING: linuxptp-2.0-r0 do_fetch: Failed to fetch URL http://sourceforge.net/projects/linuxptp/files/v2.0/linuxptp-2.0.tgz, attempting MIRRORS if available
WARNING: libnfnetlink-1.0.1-r0 do_fetch: Failed to fetch URL http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-1.0.1.tar.bz2;name=tar, attempting MIRRORS if available
WARNING: qemu-qoriq-4.1.0-r0 do_fetch: Failed to fetch URL gitsm://source.codeaurora.org/external/qoriq/qoriq-components/qemu;nobranch=1, attempting MIRRORS if available
ERROR: qemu-qoriq-4.1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export ftp_proxy="ftp://pnc:9qdeESR6@webcache.cdotb.ernet.in:8080/"; export https_proxy="https://pnc:9qdeESR6@webcache.cdotb.ernet.in:8080/"; export http_proxy="http://pnc:9qdeESR6@webcache.cdotb.ernet.in:8080/"; export PATH="/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/suchita/yocto-sdk/sources/poky/scripts:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/usr/bin/powerpc64-fsl-linux:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/usr/sbin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/usr/bin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/sbin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/bin:/home/suchita/yocto-sdk/sources/poky/bitbake/bin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/hosttools"; export HOME="/home/suchita"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://source.codeaurora.org/external/qoriq/qoriq-components/qemu /home/suchita/yocto-sdk/downloads/git2/source.codeaurora.org.external.qoriq.qoriq-components.qemu --progress failed with exit code 128, output:
Cloning into bare repository '/home/suchita/yocto-sdk/downloads/git2/source.codeaurora.org.external.qoriq.qoriq-components.qemu'...
fatal: unable to connect to source.codeaurora.org:
source.codeaurora.org[0: 149.129.177.114]: errno=Connection timed out


ERROR: qemu-qoriq-4.1.0-r0 do_fetch: Fetcher failure for URL: 'gitsm://source.codeaurora.org/external/qoriq/qoriq-components/qemu;nobranch=1'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/temp/log.do_fetch.3457431
ERROR: Task (/home/suchita/yocto-sdk/sources/meta-freescale/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5096 tasks of which 2435 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/suchita/yocto-sdk/sources/meta-freescale/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb:do_fetch
Summary: There were 11 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 项奖励
回复

13,818 次查看
yipingwang
NXP TechSupport
NXP TechSupport

It seems that the Website accessing is not stable, please run the following command to fetch the qemu source code again.

$ bitbake qemu-qoriq -c patch -f

0 项奖励
回复

13,812 次查看
Suraj_Prakash
Contributor II

Hi,

    I m still getting the below errors.

suchita@linux:~/yocto-sdk/build_t1040d4rdb-64b$ bitbake qemu-qoriq -c patch -f
Loading cache: 100% |##################################################################################################################| Time: 0:00:01
Loaded 6737 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "powerpc64-fsl-linux"
MACHINE = "t1040d4rdb-64b"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "3.1.1"
TUNE_FEATURES = "m64 fpu-hard e5500 bigendian"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:c253fd28ad26b4996666b0794dfee1d59c14e3ca"
meta-oe
meta-multimedia
meta-python
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl = "HEAD:cc155826b0b4f202a8fa4ac103b7c38368d32734"
meta-virtualization = "HEAD:5c2de3daedd3f65171b9debf938683ce6e7746ea"
meta-cloud-services = "HEAD:ba99cce99d248b383871db562d694be5b3d52c77"
meta-security = "HEAD:d83f7cb0c90666fedd127d5173e6c8b972755c32"
meta-selinux = "HEAD:f677a09992413f32e6b2c4c607ae44fb42de72c2"
meta-freescale = "HEAD:682c00566aa3cf0deeff0cfd349494f078f38a04"
meta-freescale-distro = "HEAD:fbd12ff7e5f80a0e1fd71fa217d52a3c96659d16"
meta-qoriq = "HEAD:760e52a9a4c05729689595d4a884ebf97cba81ad"

NOTE: Tainting hash to force rebuild of task /home/suchita/yocto-sdk/sources/meta-freescale/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb, do_patch0:00:00
WARNING: /home/suchita/yocto-sdk/sources/meta-freescale/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb:do_patch is tainted from a forced run| ETA: 0:00:00
Initialising tasks: 100% |#############################################################################################################| Time: 0:00:01
Sstate summary: Wanted 0 Found 0 Missed 0 Current 20 (0% match, 100% complete)
NOTE: Executing Tasks
WARNING: qemu-qoriq-4.1.0-r0 do_fetch: Failed to fetch URL gitsm://source.codeaurora.org/external/qoriq/qoriq-components/qemu;nobranch=1, attempting MIRRORS if available
ERROR: qemu-qoriq-4.1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export ftp_proxy="suchita:@U3nSeIXN@wcb.cdotb.ernet.in:8080"; export https_proxy="suchita:@U3nSeIXN@wcb.cdotb.ernet.in:8080"; export http_proxy="suchita:U3nSeIXN@wcb.cdotb.ernet.in:8080"; export PATH="/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/suchita/yocto-sdk/sources/poky/scripts:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/usr/bin/powerpc64-fsl-linux:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/usr/sbin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/usr/bin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/sbin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/recipe-sysroot-native/bin:/home/suchita/yocto-sdk/sources/poky/bitbake/bin:/home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/hosttools"; export HOME="/home/suchita"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://source.codeaurora.org/external/qoriq/qoriq-components/qemu /home/suchita/yocto-sdk/downloads/git2/source.codeaurora.org.external.qoriq.qoriq-components.qemu --progress failed with exit code 128, output:
Cloning into bare repository '/home/suchita/yocto-sdk/downloads/git2/source.codeaurora.org.external.qoriq.qoriq-components.qemu'...
fatal: unable to connect to source.codeaurora.org:
source.codeaurora.org[0: 149.129.177.114]: errno=Connection timed out


ERROR: qemu-qoriq-4.1.0-r0 do_fetch: Fetcher failure for URL: 'gitsm://source.codeaurora.org/external/qoriq/qoriq-components/qemu;nobranch=1'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/suchita/yocto-sdk/build_t1040d4rdb-64b/tmp/work/ppc64e5500-fsl-linux/qemu-qoriq/4.1.0-r0/temp/log.do_fetch.52735
ERROR: Task (/home/suchita/yocto-sdk/sources/meta-freescale/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 91 tasks of which 90 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/suchita/yocto-sdk/sources/meta-freescale/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb:do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 项奖励
回复

13,789 次查看
Suraj_Prakash
Contributor II

Hi,

      Please let me know how to compile linux only in SDK and also also how to open menuconfig window.

0 项奖励
回复

13,770 次查看
yipingwang
NXP TechSupport
NXP TechSupport

1. $ bitbake virtual/kernel -c cleansstate

2. $ bitbake virtual/kernel -c configure

3. Go to folder build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/linux-qoriq/5.4.3+gitAUTOINC+134788b164-r0/build/, run the following command.

$make ARCH=powerpc menuconfig

4. $ bitbake virtual/kernel -c compile -f

5. $ bitbake virtual/kernel

6. Go to step3 to configure Linux Kernel again.

0 项奖励
回复

13,808 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please check whether is is possible to execute the following command on your host PC.

git clone git://source.codeaurora.org/external/qoriq/qoriq-components/qemu

If not, please check the proxy settings  on your host PC.

It seems that all packages from "source.codeaurora.org/external/qoriq/qoriq-components" are not accessible on your host PC.

0 项奖励
回复

13,796 次查看
Suraj_Prakash
Contributor II

Hi,

      I was getting some booting errors and also the mapping of eth* interfaces to fm1-gb* interfaces is also not happening when I tried using the Linux compiled in SDK 3.1 but the Linux which I used earlier from SDK 2.0 (patch SDK-V2.0-1701)  gave no such errors.

Please suggest how to overcome the issue.

Please find attached the bootlogs with Linux from SDK 2.0 and SDK 3.1

0 项奖励
回复

13,895 次查看
Suraj_Prakash
Contributor II

Also I would like to know is there any latest freescale firmware supports mpls in hardware or not ???

0 项奖励
回复

13,885 次查看
yipingwang
NXP TechSupport
NXP TechSupport

I don't have this information, please create a new thread to let the hardware team to answer you.

0 项奖励
回复