Hi Team,

Recently, I am able to integrate SWUPDATE on my Linux target.
After building successfully, I tried to do a local update using SD_CARD.

Getting below error after doing the update. Please guide me on how to resolve 
this.

////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// /////////////
////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// ////////////////
Starting swupdate ...
dd: writing to '/dev/fb0': No space left on device
8001+0 records in
8000+0 records out
4096000 bytes (4.1 MB, 3.9 MiB) copied, 0.0848937 s, 48.2 MB/s
/etc/rc5.d/S99MyBoard: line 5: /HelloWorld: No such file or directory
Swupdate v2018.3.0

Licensed under GPLv2. See source distribution for detailed copyright notices.

[TRACE] : SWUPDATE running :  [start_swupdate_subprocess] : Started webserver 
with pid 581 and fd 4
[TRACE] : SWUPDATE running :  [start_swupdate_subprocess] : Started suricatta 
with pid 582 and fd 5
Running on imx6s-comgx-MyBoard Revision 1.0
Registered handlers:
archive
tar
raw
rawfile
lua
shellscript
preinstall
postinstall
remote
uboot
bootloader
[TRACE] : SWUPDATE running :  [listener_create] : creating socket at 
/tmp/swupdateprog
[TRACE] : SWUPDATE running :  [network_initializer] : Main loop Daemon
[TRACE] : SWUPDATE running :  [listener_create] : creating socket at 
/tmp/sockinstctrl
[TRACE] : SWUPDATE running :  [suricatta_configdata_ settings] : Identify for 
configData: board --> imx6s-comgx-MyBoard

Mongoose web server version 6.11 with pid 581 started on port(s) 8080 with web 
root [/www] and API v2
*Cannot parse config file '/etc/fw_env.config': No such file or directory*
*[ERROR] : SWUPDATE failed [0] ERROR bootloader/uboot.c : bootloader_env_get : 
93 : Error: environment not initialized, No such file or directory*

[INFO ] : SWUPDATE running :  [read_state] : Key 'ustate' not found in 
Bootloader's environment.

[TRACE] : SWUPDATE running :  [get_state] : Read state=4 from persistent 
storage.

[DEBUG] : SWUPDATE running :  [server_handle_initial_state] : State is 
STATE_OK/STATE_NOT_AVAILABLE, nothing to report to server.

[TRACE] : SWUPDATE running :  [start_suricatta] : Server initialized, entering 
suricatta main loop.

[DEBUG] : SWUPDATE running :  [server_get_device_info] : Getting information 
for device 'imx6s-comgx-MyBoard'

[DEBUG] : SWUPDATE running :  [channel_set_options] : cURL's low download speed 
timeout is disabled, this is most probably not what you want. Adapted it to 
300s instead.

[DEBUG] : SWUPDATE running :  [channel_get] : Trying to GET 
http://varupdate:8080/default/ controller/v1/imx6s-comgx- MyBoard ( 
http://varupdate:8080/default/controller/v1/imx6s-comgx-MyBoard )
Trying to connect to SWUpdate...
*Connected to SWUpdate via /tmp/swupdateprog
* Could not resolve host: varupdate
* Closing connection 0
[ERROR] : SWUPDATE failed [0] ERROR corelib/channel_curl.c : channel_get : 955 
: Channel get operation failed (6): 'Couldn't resolve host name'*

[TRACE] : SWUPDATE running :  [server_send_target_data] : KEYVALUE= "board": 
"imx6s-comgx-MyBoard" board imx6s-comgx-MyBoard
[TRACE] : SWUPDATE running :  [server_send_target_data] : CONFIGDATA= "board": 
"imx6s-comgx-MyBoard"
[TRACE] : SWUPDATE running :  [server_send_target_data] : URL= 
http://varupdate:8080/ default/controller/v1/imx6s- comgx-MyBoard/configData ( 
http://varupdate:8080/default/controller/v1/imx6s-comgx-MyBoard/configData ) 
JSON={ "id": "", "time": "20211129T102651", "status": { "result": { "finished": 
"success" }, "execution": "closed", "details" : [ "" ] }, "data" : {  "board": 
"imx6s-comgx-MyBoard" } }
[DEBUG] : SWUPDATE running :  [channel_set_options] : cURL's low download speed 
timeout is disabled, this is most probably not what you want. Adapted it to 
300s instead.

* Could not resolve host: varupdate
* Closing connection 1
*[ERROR] : SWUPDATE failed [0] ERROR corelib/channel_curl.c : 
channel_put_method : 659 : Channel put operation failed (6): 'Couldn't resolve 
host name'*

[DEBUG] : SWUPDATE running :  [suricatta_wait] : Sleeping for 3600 seconds.

////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// ///////
////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// 
////////////////////////////// ////////////////////////////// ////////

Thanks in advance .
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55454): https://lists.yoctoproject.org/g/yocto/message/55454
Mute This Topic: https://lists.yoctoproject.org/mt/87422206/21656
Mute #swupdate:https://lists.yoctoproject.org/g/yocto/mutehashtag/swupdate
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to