linux4sam / buildroot-external-microchip Goto Github PK
View Code? Open in Web Editor NEWBuildroot External for Microchip SoC
Home Page: https://www.linux4microchip.com
License: Other
Buildroot External for Microchip SoC
Home Page: https://www.linux4microchip.com
License: Other
Hi ,
There was an error message showing as following when I tried to use buildroot-external-microchip-linux4sam-2021.04 with buildroot-at91-linux4sam-2021.04 to generate a ROOTFS for SAM9X60-EK. I used the default configuration for SAM9X60-EK and it failed at generating sam9x60.itb file.
~/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04$ make
dt-overlay-at91 linux4sam-2021.04 Building
PATH="/home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/linux-linux4sam-2021.04/scripts/dtc:/home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/host/bin:/home/kevin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/microchip/xc32/v2.10/bin:/opt/microchip/xc32/v2.15/bin:/opt/microchip/xc32/v2.20/bin:/opt/microchip/xc32/v2.10/bin:/opt/microchip/xc32/v2.15/bin:/opt/microchip/xc32/v2.20/bin" /usr/bin/make -j5 DTC="/home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/linux-linux4sam-2021.04/scripts/dtc/dtc" KERNEL_DIR="/home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/linux-linux4sam-2021.04" -C /home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/dt-overlay-at91-linux4sam-2021.04 "sam9x60ek".itb
mkimage -D "-i/home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/linux-linux4sam-2021.04/arch/arm/boot/ -i/home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/linux-linux4sam-2021.04/arch/arm/boot/dts -p 1000 -@ -Wno-unit_address_vs_reg -Wno-graph_child_address -Wno-pwms_property" -f sam9x60ek.its sam9x60ek.itb
mkimage: unsupported type Flat Device Tree
make[2]: *** [Makefile:30: sam9x60ek.itb] Error 1
make[1]: *** [package/pkg-generic.mk:250: /home/kevin/atmel/egt/buildroot-at91-linux4sam-sam9x60-2021.04/output/build/dt-overlay-at91-linux4sam-2021.04/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2
I did the same test for SAMA5D2-XULT, it also has the same error message while generating itb file.
Kevin L.
Thanks & Best Rds
When I run NodeJS on an empty script, it takes 26 seconds to complete:
time node -e ""
If I download, unpack and run a precompiled NodeJS from [https://nodejs.org/download/release/latest-v15.x/node-v15.3.0-linux-armv7l.tar.gz], it takes 2 seconds to complete.
I can print the configuration that each node was built with with 'node -e "console.log(process.config)" '
The Slow Node has this configuration:
{
target_defaults: {
cflags: [],
default_configuration: 'Release',
defines: [],
include_dirs: [],
libraries: [
'-L/home/rdeml/microchip/buildroot-at91/output/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/lib',
'-lz',
'-L/home/rdeml/microchip/buildroot-at91/output/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/lib',
'-luv',
'-L/home/rdeml/microchip/buildroot-at91/output/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/lib',
'-lcares',
'-L/home/rdeml/microchip/buildroot-at91/output/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/lib',
'-lnghttp2',
'-L/home/rdeml/microchip/buildroot-at91/output/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/lib',
'-lcrypto',
'-lssl'
]
},
variables: {
arm_float_abi: 'hard',
arm_fpu: 'vfpv3-d16',
arm_thumb: 0,
arm_version: '7',
asan: 0,
build_v8_with_gn: false,
coverage: false,
dcheck_always_on: 0,
debug_nghttp2: false,
debug_node: false,
enable_lto: false,
enable_pgo_generate: false,
enable_pgo_use: false,
force_dynamic_crt: 0,
host_arch: 'arm',
icu_small: false,
is_debug: 0,
llvm_version: '0.0',
napi_build_version: '6',
node_byteorder: 'little',
node_debug_lib: false,
node_enable_d8: false,
node_install_npm: true,
node_module_version: 72,
node_no_browser_globals: false,
node_prefix: '/usr',
node_release_urlbase: '',
node_shared: false,
node_shared_brotli: false,
node_shared_cares: true,
node_shared_http_parser: false,
node_shared_libuv: true,
node_shared_nghttp2: true,
node_shared_openssl: true,
node_shared_zlib: true,
node_tag: '',
node_target_type: 'executable',
node_use_bundled_v8: true,
node_use_dtrace: false,
node_use_etw: false,
node_use_node_code_cache: false,
node_use_node_snapshot: false,
node_use_openssl: true,
node_use_v8_platform: true,
node_with_ltcg: false,
node_without_node_options: false,
openssl_fips: '',
openssl_is_fips: false,
shlib_suffix: 'so.72',
target_arch: 'arm',
v8_enable_gdbjit: 0,
v8_enable_i18n_support: 0,
v8_enable_inspector: 0,
v8_enable_lite_mode: 0,
v8_no_strict_aliasing: 1,
v8_optimized_debug: 1,
v8_promise_internal_field_count: 1,
v8_random_seed: 0,
v8_trace_maps: 0,
v8_use_siphash: 1,
v8_use_snapshot: 0,
want_separate_host_toolset: 0
}
}
The fast Node has this config:
{
target_defaults: {
cflags: [],
default_configuration: 'Release',
defines: [],
include_dirs: [],
libraries: []
},
variables: {
arm_float_abi: 'hard',
arm_fpu: 'vfpv3',
arm_thumb: 0,
arm_version: '7',
asan: 0,
coverage: false,
dcheck_always_on: 0,
debug_nghttp2: false,
debug_node: false,
enable_lto: false,
enable_pgo_generate: false,
enable_pgo_use: false,
error_on_warn: false,
experimental_quic: false,
force_dynamic_crt: 0,
gas_version: '2.28',
host_arch: 'ia32',
icu_data_in: '../../deps/icu-tmp/icudt67l.dat',
icu_endianness: 'l',
icu_gyp_path: 'tools/icu/icu-generic.gyp',
icu_path: 'deps/icu-small',
icu_small: false,
icu_ver_major: '67',
is_debug: 0,
llvm_version: '0.0',
napi_build_version: '7',
node_byteorder: 'little',
node_debug_lib: false,
node_enable_d8: false,
node_install_npm: true,
node_module_version: 88,
node_no_browser_globals: false,
node_prefix: '/',
node_release_urlbase: 'https://nodejs.org/download/release/',
node_section_ordering_info: '',
node_shared: false,
node_shared_brotli: false,
node_shared_cares: false,
node_shared_http_parser: false,
node_shared_libuv: false,
node_shared_nghttp2: false,
node_shared_openssl: false,
node_shared_zlib: false,
node_tag: '',
node_target_type: 'executable',
node_use_bundled_v8: true,
node_use_dtrace: false,
node_use_etw: false,
node_use_node_code_cache: false,
node_use_node_snapshot: false,
node_use_openssl: true,
node_use_v8_platform: true,
node_with_ltcg: false,
node_without_node_options: false,
openssl_fips: '',
openssl_is_fips: false,
ossfuzz: false,
shlib_suffix: 'so.88',
target_arch: 'arm',
v8_enable_31bit_smis_on_64bit_arch: 0,
v8_enable_gdbjit: 0,
v8_enable_i18n_support: 1,
v8_enable_inspector: 1,
v8_enable_lite_mode: 0,
v8_enable_object_print: 1,
v8_enable_pointer_compression: 0,
v8_no_strict_aliasing: 1,
v8_optimized_debug: 1,
v8_promise_internal_field_count: 1,
v8_random_seed: 0,
v8_trace_maps: 0,
v8_use_siphash: 1,
want_separate_host_toolset: 1
}
}
Probably the biggest difference is the version. The Slow Node is at 12.18.4. The fast Node is at 15.3.0. The current LTS version is 14.15.1. It also runs fast.
Can we update the nodejs make file to download and build 14.15.1?
I'm following along with the microchip U course here: https://mu.microchip.com/introduction-to-embedded-linux/606419
I have made it to the step where we need to make the images but I'm getting this error:
make[1]: *** [package/pkg-generic.mk:250: /home/jamesscaggs/Downloads/buildroot-at91/output/build/host-gcc-initial-9.3.0/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2
I've already tried this fix: https://www.linux4sam.org/bin/view/Linux4SAM/BuildIssueOpenWrtUbuntu2004
I'm really just wanting to build the images so I can look for the device tree file to better understand the structure.
Any help is appreciated
SSH login is not possible. My host says.
[email protected]'s password:
Permission denied, please try again.
Have I to do additional steps?
Is it correct that both is on dropbear and OPENSSH?
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
BR2_PACKAGE_OPENSSH=y
Hi all,
Im trying to enable spidev in this board but i dont know how i can enable.
Any help?
Thanks!
linux4sam-buildroot-sama5d4_xplained-6.0.img.bz2 (~ 36 MB)
md5: 6825d010b606a7fdf7f66b381a08b49b
Hello,
This is just an FYI and was tested on the 2020.02 and 2020.04 tags on both the default config sama5d2_xplained_graphics_defconfig that is used throughout the examples as well as on the WLSOM.
It appears that in Host utilities, host mtools is not enabled which causes an error running the post build script.
I resolved this by running make menuconfig and enabled mtools in host utilities, ran make again and the post build script ran fine.
Hope you find this useful. Thanks,
Chuck
hi,
i have enable the dropbear in the networking package of buildroot,in the sshd_config through serial terminal change prohibit password to yes and also i have set the password of the root also but still donot able to do ssh login .please suggest me what i am doing wrong.
Hello, I'm trying to compile buildroot following the guide (Ubuntu 20.04 LTS) and get an error:
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git init .
Reinitialized existing Git repository in /home/ntrx/buildroot-at91/dl/gst1-at91/git/.git/
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git remote set-url origin 'https://github.com/linux4sam/gst1-hantro-g1'
Fetching all references
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git fetch origin
warning: refname '6c016ff4d9173a427a8114290e92c8046389dd5d' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git fetch origin -t
warning: refname '6c016ff4d9173a427a8114290e92c8046389dd5d' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
Could not fetch special ref '6c016ff4d9173a427a8114290e92c8046389dd5d'; assuming it is not special.
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"'
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git checkout -f -q '6c016ff4d9173a427a8114290e92c8046389dd5d'
warning: refname '6c016ff4d9173a427a8114290e92c8046389dd5d' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git clean -ffdx
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git submodule update --init --recursive
Cloning into '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: clone of 'git://github.com/GStreamer/common.git' into submodule path '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common' failed
Failed to clone 'common'. Retry scheduled
Cloning into '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: clone of 'git://github.com/GStreamer/common.git' into submodule path '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common' failed
Failed to clone 'common' a second time, aborting
Detected a corrupted git cache.
Removing it and starting afresh.
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git init .
Initialized empty Git repository in /home/ntrx/buildroot-at91/dl/gst1-at91/git/.git/
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git remote add origin 'https://github.com/linux4sam/gst1-hantro-g1'
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git remote set-url origin 'https://github.com/linux4sam/gst1-hantro-g1'
Fetching all references
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git fetch origin
remote: Enumerating objects: 397, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 397 (delta 16), reused 35 (delta 12), pack-reused 343
Receiving objects: 100% (397/397), 228.90 KiB | 2.63 MiB/s, done.
Resolving deltas: 100% (190/190), done.
From https://github.com/linux4sam/gst1-hantro-g1
* [new branch] master -> origin/master
* [new tag] gstreamer1.0-plugins-hantro_1.8 -> gstreamer1.0-plugins-hantro_1.8
* [new tag] gstreamer1.0-plugins-hantro_1.0 -> gstreamer1.0-plugins-hantro_1.0
* [new tag] gstreamer1.0-plugins-hantro_1.1 -> gstreamer1.0-plugins-hantro_1.1
* [new tag] gstreamer1.0-plugins-hantro_1.2 -> gstreamer1.0-plugins-hantro_1.2
* [new tag] gstreamer1.0-plugins-hantro_1.3 -> gstreamer1.0-plugins-hantro_1.3
* [new tag] gstreamer1.0-plugins-hantro_1.4 -> gstreamer1.0-plugins-hantro_1.4
* [new tag] gstreamer1.0-plugins-hantro_1.5 -> gstreamer1.0-plugins-hantro_1.5
* [new tag] gstreamer1.0-plugins-hantro_1.6 -> gstreamer1.0-plugins-hantro_1.6
* [new tag] gstreamer1.0-plugins-hantro_1.7 -> gstreamer1.0-plugins-hantro_1.7
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git fetch origin -t
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"'
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git checkout -f -q '6c016ff4d9173a427a8114290e92c8046389dd5d'
warning: refname '6c016ff4d9173a427a8114290e92c8046389dd5d' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git clean -ffdx
GIT_DIR=/home/ntrx/buildroot-at91/dl/gst1-at91/git/.git git submodule update --init --recursive
Submodule 'common' (git://github.com/GStreamer/common.git) registered for path 'common'
Cloning into '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: clone of 'git://github.com/GStreamer/common.git' into submodule path '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common' failed
Failed to clone 'common'. Retry scheduled
Cloning into '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: clone of 'git://github.com/GStreamer/common.git' into submodule path '/home/ntrx/buildroot-at91/dl/gst1-at91/git/common' failed
Failed to clone 'common' a second time, aborting
Detected a corrupted git cache.
This is the second time in a row; bailing out
wget --passive-ftp -nd -t 3 -O '/home/ntrx/buildroot-at91/output/build/.gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d-br1.tar.gz.5nRx7d/output' 'http://sources.buildroot.net/gst1-at91/gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d-br1.tar.gz'
--2022-03-26 10:27:30-- http://sources.buildroot.net/gst1-at91/gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d-br1.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 172.67.72.56, 104.26.1.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-03-26 10:27:31 ERROR 404: Not Found.
wget --passive-ftp -nd -t 3 -O '/home/ntrx/buildroot-at91/output/build/.gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d-br1.tar.gz.fyODPY/output' 'http://sources.buildroot.net/gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d-br1.tar.gz'
--2022-03-26 10:27:31-- http://sources.buildroot.net/gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d-br1.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-03-26 10:27:32 ERROR 404: Not Found.
make[1]: *** [package/pkg-generic.mk:189: /home/ntrx/buildroot-at91/output/build/gst1-at91-6c016ff4d9173a427a8114290e92c8046389dd5d/.stamp_downloaded] Error 1
make: *** [Makefile:84: _all] Error 2
Can you guide me where I am doing wrong?
Hi ,
Using buildroot-external-microchip-egt_0.9 with sama5d2_xplained_graphics_defconfig to generate rootfs for sama5d2-xplained and there is erros message as below:
home/kevin/atmel/egt/buildroot-external-microchip-egt_0.9/package/egt-benchmark/egt-benchmark.mk:21: *** EGT_BENCHMARK declares having git sub-modules, but does not use the 'git' method (uses 'https' instead).
Git method declaration should be added to buildroot-external-microchip-egt_0.9/package/egt-benchmark/egt-benchmark.mk
EGT_BENCHMARK_SITE =
EGT_BENCHMARK_SITE_METHOD = git
EGT_BENCHMARK_GIT_SUBMODULES = YES
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.