Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHi guys,
I'm trying to update the USRP N310 following this guide:
https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide in
particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for manually
performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
- Supported log levels incudes: 'debug', 'info', 'warning', 'error',
'panic' and 'fatal'.
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update in
progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no update
in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup --help'
for command options.
snapshot Create filesystem snapshot -'mender snapshot --help'
for more.
show-artifact Print the current artifact name to the command line
and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path. (default:
"/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE path.
(default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY path.
(default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for
compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog.
(default: false)
--skipverify Skip certificate verification.
(default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
On 2022-02-09 09:31, Giuseppe Santaromita wrote:
Hi guys,
I'm trying to update the USRP N310 following this guide:
https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide in
particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
To be clear, you're running this on the N310 device itself?
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for manually
performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
- Supported log levels incudes: 'debug', 'info', 'warning', 'error',
'panic' and 'fatal'.
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update
in progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no update
in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup --help'
for command options.
snapshot Create filesystem snapshot -'mender snapshot
--help' for more.
show-artifact Print the current artifact name to the command line
and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path. (default:
"/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE path.
(default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY path.
(default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for
compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog.
(default: false)
--skipverify Skip certificate verification.
(default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
Yep. The guideline say:
After copying the Mender file system image to the N3xx, connect to the
N3xx using either the Serial Console, or via SSH to gain shell access.
On the N3xx, run|mender -rootfs /path/to/latest.mender|to update the
file system:
root@ni-n3xx-serial:~# mender -rootfs /home/root/usrp_n3xx_fs.mender
Am I doing something wrong?
Giuseppe
Il 09/02/2022 19:27, Marcus D. Leech ha scritto:
On 2022-02-09 09:31, Giuseppe Santaromita wrote:
Hi guys,
I'm trying to update the USRP N310 following this guide:
https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide
in particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
To be clear, you're running this on the N310 device itself?
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for manually
performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
- Supported log levels incudes: 'debug', 'info', 'warning',
'error', 'panic' and 'fatal'.
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update
in progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no
update in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup
--help' for command options.
snapshot Create filesystem snapshot -'mender snapshot
--help' for more.
show-artifact Print the current artifact name to the command
line and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path.
(default: "/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE path.
(default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY path.
(default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for
compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE
path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog.
(default: false)
--skipverify Skip certificate verification.
(default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
On 2022-02-09 13:31, Giuseppe Santaromita wrote:
Yep. The guideline say:
After copying the Mender file system image to the N3xx, connect to the
N3xx using either the Serial Console, or via SSH to gain shell access.
On the N3xx, run|mender -rootfs /path/to/latest.mender|to update the
file system:
root@ni-n3xx-serial:~# mender -rootfs /home/root/usrp_n3xx_fs.mender
Am I doing something wrong?
Giuseppe
Clearly something is wrong--either the documentation is incomplete or
incorrect.
I've never used mender myself, I always just program a new system image
by writing an SD card image to the uSD card.
Hi Giuseppe,
Could you please try running “mender -install /path/to/x.mender”?
The documentation might be outdated and need to change.
Regards,
Humberto Jimenez
From: Marcus D. Leech patchvonbraun@gmail.com
Sent: Wednesday, February 9, 2022 12:34 PM
To: Giuseppe Santaromita giuseppe.santaromita1@gmail.com; usrp-users@lists.ettus.com
Subject: [EXTERNAL] [USRP-users] Re: Mender Update Process N310
On 2022-02-09 13:31, Giuseppe Santaromita wrote:
Yep. The guideline say:
After copying the Mender file system image to the N3xx, connect to the N3xx using either the Serial Console, or via SSH to gain shell access.
On the N3xx, run mender -rootfs /path/to/latest.mender to update the file system:
root@ni-n3xx-serial:~# mender -rootfs /home/root/usrp_n3xx_fs.mender
Am I doing something wrong?
Giuseppe
Clearly something is wrong--either the documentation is incomplete or incorrect.
I've never used mender myself, I always just program a new system image by writing an SD card image to the uSD card.
INTERNAL - NI CONFIDENTIAL
I have used this way updated successfully.Please checkout your update process.
谢谢,有任何问题请随时与我联系!
——————————————————————
李泽远|研发工程师
北京曾益科技有限公司
手机:13121162044
地址:北京市海淀区中关村大街中关村SOHO 1108
网址: http://www.zengyi-tech.com www.zengyi-tech.com
发件人: Giuseppe Santaromita giuseppe.santaromita1@gmail.com
发送时间: 2022年2月9日 22:32
收件人: usrp-users@lists.ettus.com
主题: [USRP-users] Mender Update Process N310
Hi guys,
I'm trying to update the USRP N310 following this guide: https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide in particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for manually performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update in progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no update in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup --help' for command options.
snapshot Create filesystem snapshot -'mender snapshot --help' for more.
show-artifact Print the current artifact name to the command line and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path. (default: "/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE path. (default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog. (default: false)
--skipverify Skip certificate verification. (default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
What is the correct upgrade process? I update the Linux File System
first and then the FPGA, following the link. The problem is that I think
something went wrong, because in the past the -roofs worked.
Giuseppe
Il 10/2/22 3:34, zeyuan.li@zengyi-tech.com ha scritto:
I have used this way updated successfully.Please checkout your update
process.
谢谢,有任何问题请随时与我联系!
——————————————————————
李泽远|研发工程师
北京曾益科技有限公司
手机:13121162044
地址:北京市海淀区中关村大街中关村SOHO 1108
网址:www.zengyi-tech.com http://www.zengyi-tech.com
*发件人:*Giuseppe Santaromita giuseppe.santaromita1@gmail.com
*发送时间:*2022年2月9日22:32
*收件人:*usrp-users@lists.ettus.com
主题:[USRP-users] Mender Update Process N310
Hi guys,
I'm trying to update the USRP N310 following this guide:
https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide in
particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for manually
performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
- Supported log levels incudes: 'debug', 'info', 'warning', 'error',
'panic' and 'fatal'.
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update
in progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no update
in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup --help'
for command options.
snapshot Create filesystem snapshot -'mender snapshot
--help' for more.
show-artifact Print the current artifact name to the command line
and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path. (default:
"/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE path.
(default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY path.
(default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for
compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog.
(default: false)
--skipverify Skip certificate verification.
(default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
On 2022-02-14 10:56, Giuseppe Santaromita wrote:
What is the correct upgrade process? I update the Linux File System
first and then the FPGA, following the link. The problem is that I
think something went wrong, because in the past the -roofs worked.
Could you try:
mender install /path/to/menderfile
Giuseppe
Il 10/2/22 3:34, zeyuan.li@zengyi-tech.com ha scritto:
I have used this way updated successfully.Please checkout your update
process.
谢谢,有任何问题请随时与我联系!
——————————————————————
李泽远|研发工程师
北京曾益科技有限公司
手机:13121162044
地址:北京市海淀区中关村大街中关村SOHO 1108
网址:www.zengyi-tech.com http://www.zengyi-tech.com
*发件人:*Giuseppe Santaromita giuseppe.santaromita1@gmail.com
*发送时间:*2022年2月9日22:32
*收件人:*usrp-users@lists.ettus.com
主题:[USRP-users] Mender Update Process N310
Hi guys,
I'm trying to update the USRP N310 following this guide:
https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide
in particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for manually
performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
- Supported log levels incudes: 'debug', 'info', 'warning',
'error', 'panic' and 'fatal'.
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update
in progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no
update in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup
--help' for command options.
snapshot Create filesystem snapshot -'mender snapshot
--help' for more.
show-artifact Print the current artifact name to the command
line and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path.
(default: "/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE path.
(default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY path.
(default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for
compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE
path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog.
(default: false)
--skipverify Skip certificate verification.
(default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
Now it works fine, but when I try uhd_usrp_probe this is the result:
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_4.1.0.4-release
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=3211008,fpga=HG,claimed=False,addr=192.168.10.2
[WARNING] [MPM.RPCServer] A timeout event occured!
[INFO] [MPM.PeriphManager] init() called with device args
fpga=HG,mgmt_addr=192.168.10.2,product=n310,clock_source=external,time_source=internal'. [ERROR] [RPC] At least one PLL did not lock! Check the logs for details. [ERROR] [MPM.RPCServer] init() failed with error: At least one PLL did not lock! Check the logs for details. Error: RuntimeError: Error during RPC call to
init'. Error message: At
least one PLL did not lock! Check the logs for details.
Il 14/2/22 17:08, Marcus D. Leech ha scritto:
On 2022-02-14 10:56, Giuseppe Santaromita wrote:
What is the correct upgrade process? I update the Linux File System
first and then the FPGA, following the link. The problem is that I
think something went wrong, because in the past the -roofs worked.
Could you try:
mender install /path/to/menderfile
Giuseppe
Il 10/2/22 3:34, zeyuan.li@zengyi-tech.com ha scritto:
I have used this way updated successfully.Please checkout your
update process.
谢谢,有任何问题请随时与我联系!
——————————————————————
李泽远|研发工程师
北京曾益科技有限公司
手机:13121162044
地址:北京市海淀区中关村大街中关村SOHO 1108
网址:www.zengyi-tech.com http://www.zengyi-tech.com
*发件人:*Giuseppe Santaromita giuseppe.santaromita1@gmail.com
*发送时间:*2022年2月9日22:32
*收件人:*usrp-users@lists.ettus.com
主题:[USRP-users] Mender Update Process N310
Hi guys,
I'm trying to update the USRP N310 following this guide:
https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide
in particolar "Mender Update Process".
The results is the follows.
Can anyone help me?
Giuseppe
mender -rootfs /home/root/usrp_n3xx_fs.mender
Incorrect Usage. flag provided but not defined: -rootfs
NAME:
mender - manage and start the Mender client.
USAGE:
[global options] command [command options] [arguments...]
VERSION:
a78b45e runtime: go1.12.9
DESCRIPTION:
mender integrates both the mender daemon and commands for
manually performing tasks performed by
the daemon (see list of COMMANDS below).
Global flag remarks:
- Supported log levels incudes: 'debug', 'info', 'warning',
'error', 'panic' and 'fatal'.
COMMANDS:
bootstrap Perform bootstrap and exit.
check-update Force update check.
commit Commit current Artifact. Returns (2) if no update
in progress.
daemon Start the client as a background service.
install Mender Artifact to install - local file or a URL
.
rollback Rollback current Artifact. Returns (2) if no
update in progress.
send-inventory Force inventory update.
setup Perform configuration setup - 'mender setup
--help' for command options.
snapshot Create filesystem snapshot -'mender snapshot
--help' for more.
show-artifact Print the current artifact name to the command
line and exit.
help Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Configuration FILE path.
(default: "/etc/mender/mender.conf")
--fallback-config FILE, -b FILE Fallback configuration FILE
path. (default:
"/var/lib/mender/mender.conf")
--data DIR, -d DIR Mender state data DIRECTORY
path. (default: "/var/lib/mender")
--log-file FILE, -L FILE FILE to log to.
--log-level level, -l level Set logging level. (default: "info")
--log-modules value, -m value -log-modules is accepted for
compatibility but has no effect
--trusted-certs FILE, -E FILE Trusted server certificates FILE
path.
--forcebootstrap, -F Force bootstrap. (default: false)
--no-syslog Disable logging to syslog.
(default: false)
--skipverify Skip certificate verification.
(default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
ERRO[0000] flag provided but not defined: -rootfs
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
On 2022-02-14 11:25, Giuseppe Santaromita wrote:
Now it works fine, but when I try uhd_usrp_probe this is the result:
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_4.1.0.4-release
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=3211008,fpga=HG,claimed=False,addr=192.168.10.2
[WARNING] [MPM.RPCServer] A timeout event occured!
[INFO] [MPM.PeriphManager] init() called with device args
fpga=HG,mgmt_addr=192.168.10.2,product=n310,clock_source=external,time_source=internal'. [ERROR] [RPC] At least one PLL did not lock! Check the logs for details. [ERROR] [MPM.RPCServer] init() failed with error: At least one PLL did not lock! Check the logs for details. Error: RuntimeError: Error during RPC call to
init'. Error message:
At least one PLL did not lock! Check the logs for details.
Did you actually have an external clock connected?