Android Things - Aplicativos IoT padronizado para Indústria 4.0
Neste artigo veremos como trabalhar com o Android Things. Esta tecnologia pode ser a padronização de soluções IoT, como também uma luz para a segurança neste setor, pois a padronização de um sistema operacional torna mais gerenciável as correções de vulnerabilidades para a Indústria 4.0.
[ Hits: 8.273 ]
Por: Alessandro de Oliveira Faria (A.K.A. CABELO) em 23/09/2017 | Blog: http://assuntonerd.com.br
05/06/17 21:37:45.039 INFO : Intel(R) Platform Flash Tool Lite V 5.8.3.0 x64 (build on Friday February 24th 2017, 05:21:16 UTC) 05/06/17 21:37:45.040 INFO : Using xFSTK Downloader version: 2.0.0 05/06/17 21:37:45.044 INFO : Using DFU Downloader version: 0.8.4 05/06/17 21:37:45.044 INFO : Using DnX Firmware Downloader version: 1.0.0.0 (API: 3.0.0.1108(DBG)) " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 05/06/17 21:38:19.630 INFO : [Port 3] Command `Notify Run 'flash-all.sh' to flash and boot the device.` succeed 05/06/17 21:38:19.630 INFO : [Port 3] Flash success (duration=00:00:34.440) 05/06/17 21:38:19.642 INFO : Platform Flash Tool Lite exited with code 0Se habilitou com o comando screen o monitoramento do console anteriormente, teremos as seguintes informações durante a atualização do firmware/bootloader:
******* PSH loader ******* PCM page cache size = 192 KB Cache Constraint = 0 Pages Arming IPC driver .. Adding page store pool .. PagestoreAddr(IMR Start Address) = 0x04899000 pageStoreSize(IMR Size) = 0x00080000 *** Ready to receive application *** Edison IA32 CPU Firmware Copyright (C) 1999-2016, Intel Corporation. All rights reserved. IA32 FW: CPU 3.1 (INTELFDK) [2016.02.24:15.14] Other FW: OEM 3.1 (OEMHOOKS); SCU BS 00B0.0003, RT 00B0.0049; C 0000.0045 PSH B018.2B2B; IFWI 00ED.1D0E; PL 824 Hardware: SOC B0 800; 406A8; 50504:292929:505:4E4E Starting OS recovery OS recovery complete Resetting platformApós gravar o bootloader (ou firmware), o sistema reiniciará, para verificar se tudo esta funcionando corretamente, execute o comando a seguir:
1b2f21d4e1fe0129 fastbootAgora descompacte o arquivo androidthings_edison_devpreview_3.zip, entre na pasta recém criada e execute o comando flash-all para gravar a imagem do Android.
target reported max download size of 117440512 bytes sending 'gpt' (33 KB)... OKAY [ 0.010s] writing 'gpt'... OKAY [ 0.148s] " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " OKAY [ 0.195s] writing 'oem_b'... OKAY [ 0.864s] finished. total time: 2.122s Successfully flashed your Edison. rebooting... finished. total time: 0.101sSe habilitou com o comando screen o monitoramento do console, novamente teremos as seguintes informações durante a atualização do firmware/bootloader:
****************************** PSH KERNEL VERSION: b0182b2b WR: 20104000 ****************************** SCU IPC: 0x800000d0 0xfffce92c PSH miaHOB version: TNG.B0.VVBD.0000000c microkernel built 11:24:08 Feb 5 2015 ******* PSH loader ******* PCM page cache size = 192 KB Cache Constraint = 0 Pages Arming IPC driver .. Adding page store pool .. PagestoreAddr(IMR Start Address) = 0x04899000Starting download of 34304 bytes downloading of 34304 bytes finished fb_mmc_flash_write: updating MBR, Primary and Backup GPT(s) ........ success Erasing blocks 1024 to 9216 due to alignment ........ erased 4194304 bytes from 'u-boot' Starting download of 384180 bytes .. downloading of 384180 bytes finished Flashing Raw Image ........ wrote 384512 bytes to 'u-boot' Starting download of 10625024 bytes .......................................................................... " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " downloading of 61493312 bytes finished Flashing Sparse Image ........ wrote 61493248 bytes to 'gapps_b' Starting download of 4788468 bytes .................................... downloading of 4788468 bytes finished Flashing Sparse Image ........ wrote 4788224 bytes to 'oem_a' Starting download of 4788468 bytes .................................... downloading of 4788468 bytes finished Flashing Sparse Image ........ wrote 4788224 bytes to 'oem_b' resetting ...Se tudo foi atualizado com sucesso a ferramenta ADB apresentara o seguinte resultado:
List of devices attached Edisonb74661ad device@Pronto! Vamos para a configuração do Android Things!
Stopmotion: Crie animações com objetos inanimados e brinquedos
SIAGES: Uma oportunidade de negócio com software livre
Detectando assalto na multidão com visão computacional
MrProject: O gerenciador de projetos (MSProject) para Linux
Processing - Interagindo com o usuário
KaiOS: A ressurreição do FirefoxOS e o fim da segregação digital
Como customizar sua ROM Android
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
Criando uma Infraestrutura para uma micro Empresa
Criar entrada (menuentry) ISO no Grub
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalando o Pi-Hole versão v5.18.4 depois do lançamento da versão v6.0
Instalar o VIM 9.1 no Debian 12
Como saber o range de um IP público?
Muitas dificuldades ao instalar distro Linux em Notebook Sony Vaio PCG-6131L (VPCEA24FM)
Discussão sobre monitoramento da integridade de arquivos (6)
Problema no boot do Linux Mint Cinnamon 22 (4)
Atualização do Google Chrome do Ubuntu [RESOLVIDO] (2)
Instalei Windows 11 e não alterou o Grub do Debian (1)
Jogos baixados na Central de Aplicativos mas que não abrem (0)