{"action":"created","issue":{"url":"https://api.github.com/repos/graugans/meta-udoo/issues/30","repository_url":"https://api.github.com/repos/graugans/meta-udoo","labels_url":"https://api.github.com/repos/graugans/meta-udoo/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/graugans/meta-udoo/issues/30/comments","events_url":"https://api.github.com/repos/graugans/meta-udoo/issues/30/events","html_url":"https://github.com/graugans/meta-udoo/issues/30","id":193894678,"number":30,"title":"upload scketch to udooneo not working","user":{"login":"modjo756","id":5494427,"avatar_url":"https://avatars.githubusercontent.com/u/5494427?v=3","gravatar_id":"","url":"https://api.github.com/users/modjo756","html_url":"https://github.com/modjo756","followers_url":"https://api.github.com/users/modjo756/followers","following_url":"https://api.github.com/users/modjo756/following{/other_user}","gists_url":"https://api.github.com/users/modjo756/gists{/gist_id}","starred_url":"https://api.github.com/users/modjo756/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modjo756/subscriptions","organizations_url":"https://api.github.com/users/modjo756/orgs","repos_url":"https://api.github.com/users/modjo756/repos","events_url":"https://api.github.com/users/modjo756/events{/privacy}","received_events_url":"https://api.github.com/users/modjo756/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-06T21:47:47Z","updated_at":"2016-12-09T13:59:22Z","closed_at":null,"body":"Trying to load sketch from arduino ide (from host pc) over network not working (take long times to upload without errors but nothing change on the card, not update of M4 firmware) . If i'm connect to the card and see /var/log/udoofota-server.log i see this : \r\n\r\n_root@udooneo:/var/log# cat udoofota-server.log \r\n[2016-12-05 22:34:59 UTC] (sys) Starting_\r\n\r\nit seems to be ok, and on znmap i can see that port 5152 is open. After that i kill the service and restart it. On pc side relaunch the upload of the sketch, after some times i get this error : \r\n\r\n_root@udooneo:/var/log# udooserver \r\nConnection accepted on 5152 port\r\nUploader command received\r\nReceived fileSize = 110601\r\nCommand = udooneo-m4uploader M4_file.fw\r\n/usr/bin/udooneo-m4uploader: line 93:   522 Bus error               $up \"$INPUT\"\r\nflash: uploading input firmware failed\r\nstatus = 34560\r\nRemote Command [2] done\r\nClose connection on 5152 port_\r\n\r\nAnd this error in dmesg : \r\n_Unhandled fault: external abort on non-linefetch (0x1818) at 0x76d4d000_\r\n\r\nApparently an error with udooneo-m4uploader. Same procedure tested on udoobuntu2.1.1 give me a good result (upload sketch ok)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/graugans/meta-udoo/issues/comments/266020017","html_url":"https://github.com/graugans/meta-udoo/issues/30#issuecomment-266020017","issue_url":"https://api.github.com/repos/graugans/meta-udoo/issues/30","id":266020017,"user":{"login":"fmntf","id":287717,"avatar_url":"https://avatars.githubusercontent.com/u/287717?v=3","gravatar_id":"","url":"https://api.github.com/users/fmntf","html_url":"https://github.com/fmntf","followers_url":"https://api.github.com/users/fmntf/followers","following_url":"https://api.github.com/users/fmntf/following{/other_user}","gists_url":"https://api.github.com/users/fmntf/gists{/gist_id}","starred_url":"https://api.github.com/users/fmntf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmntf/subscriptions","organizations_url":"https://api.github.com/users/fmntf/orgs","repos_url":"https://api.github.com/users/fmntf/repos","events_url":"https://api.github.com/users/fmntf/events{/privacy}","received_events_url":"https://api.github.com/users/fmntf/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T13:59:22Z","updated_at":"2016-12-09T13:59:22Z","body":"In [udooserver.c](https://github.com/UDOOboard/udoofota/blob/master/udooserver.c) `M4_FIRMWARE_RECEIVED_FILE` should become `/var/opt/m4/m4last.fw`. Then `mqx_upload_on_m4SoloX` can be symlinked to `udooneo-m4uploader`, so the script will not be present at all in the rootfs.\r\n\r\nThat's how it is implemented on Android, by direct suggestion of the original `mqx_upload_on_m4SoloX` authors from Seco."}}
{"actor":{"display_login":"fmntf"}}