Les images Système Arduino Yun - 3 - Upgrade LininoOs to LininoIo

LES IMAGES ARDUINO YUN.

#########################################
# YUN IMAGE LININOIO (nécessite upgrade from lininoOS to lininoIO)
# (LININOIO)
# http://wiki.linino.org/doku.php?id=wiki:upgradetolininoio
#########################################
via ssh et non com5 (serial)
 cd /tmp &&
 wget http://download.linino.org/linino_distro/master/latest/openwrt-ar71xx-generic-linino-yun-16M-250k-squashfs-sysupgrade.bin &&
 sysupgrade -v openwrt-ar71xx-generic-linino-yun-16M-250k-squashfs-sysupgrade.bin

si ne passe pas, verifier badCRC dans uboot (voir images Système n°2)
après reboot

 root@linino:~# linup latest lininoIO

 overriding branch with lininoIO

 Verifying internet connection...

 The current kernel date is : 05 03 2015
 Linino OS image date is : 02 06 2016

 A new upgrade is available for your system !

 Do you want to upgrade your board now ? (y/n)

 y

 --2018-01-04 15:00:29--  http://download.linino.org/linino_distro/lininoIO/latest/lininoIO-generic-linino-yun-squashfs-sysupgrade.bin
 Resolving download.linino.org... 2a01:4f8:131:49::3, 88.198.63.58
 Connecting to download.linino.org|2a01:4f8:131:49::3|:80... failed: Address family not supported by protocol.
 Connecting to download.linino.org|88.198.63.58|:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 16161183 (15M) [application/octet-stream]
 Saving to: 'lininoIO-generic-linino-yun-squashfs-sysupgrade.bin'

 lininoIO-generic-lin 100%[=======================>]  15.41M  2.43MB/s   in 6.8s

 2018-01-04 15:00:36 (2.27 MB/s) - 'lininoIO-generic-linino-yun-squashfs-sysupgrade.bin' saved [16161183/16161183]


 Calculating MD5 checksums...

 lininoIO-generic-linino-yun-squashfs-sysupgrade.bin: OK


 1. Upgrade and keep your current setting
 2. Upgrade and revert to default settings
 0. Exit

 Choose :
1

1
Saving config files...
etc/uhttpd.crt
etc/uhttpd.key
etc/uhttpd.key
etc/uhttpd.crt
etc/sysctl.conf
etc/shells
etc/rc.local
etc/profile
etc/passwd
etc/inittab
etc/hosts
etc/group
etc/dropbear/dropbear_rsa_host_key
etc/dropbear/dropbear_dss_host_key
etc/config/wireless
etc/config/uhttpd
etc/config/ucitrack
etc/config/ubootenv
etc/config/system
etc/config/network
etc/config/luci
etc/config/fstab
etc/config/firewall
etc/config/dropbear
etc/config/dhcp
etc/config/arduino
etc/config/alljoyn
etc/avahi/services/http.service
Sending TERM to remaining processes ... uSDaemon uhttpd dbus-daemon dnsmasq alljoyn-daemon thd ntpd exe Terminated
root@linino:~# sleep syslogd klogd hotplug2 ubusd netifd
Sending KILL to remaining processes ... uhttpd
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...

Writing from <stdin> to firmware ...
Appending jffs2 data from /tmp/sysupgrade.tgz to firmware...
Writing from <stdin> to firmware ...  [w]TRX header not found
Error fixing up TRX header
Upgrade completed
Rebooting system...

--> reboot
--> u-boot bad CRC
-->

U-Boot 1.1.4-linino-g335e76c8-dirty (Mar  5 2015 - 09:56:20)

Linino Board (ar9331) U-boot
DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 217k for U-Boot at: 83fc8000
Reserving 192k for malloc() at: 83f98000
Reserving 44 Bytes for Board Info at: 83f97fd4
Reserving 36 Bytes for Global Data at: 83f97fb0
Reserving 128k for boot params() at: 83f77fb0
Stack Pointer at: 83f77f98
Now running in RAM - U-Boot at: 83fc8000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16777216, sector count = 256
Flash: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: b4:21:8a:00:00:00
eth1: b4:21:8a:00:00:01
eth0, eth1
autoboot in 4 seconds (stop with 'lin')...
linino>

linino> pri

bootargs=console=ttyATH0,115200 board=linino-yun mem=64M rootfstype=squashfs,jffs2 noinitrd mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware)
bootcmd=bootm 0x9fea0000
bootdelay=4
baudrate=115200
ethaddr=0xb4:0x21:0x8a:0x00:0x00:0x10
ipaddr=192.168.1.2
serverip=192.168.1.1
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 399/65532 bytes
linino>
(help / mii utile parfois pour fixer bad CRC )
saveenv
-->
U-Boot 1.1.4-linino-g335e76c8-dirty (Mar  5 2015 - 09:56:20)

Linino Board (ar9331) U-boot
DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 217k for U-Boot at: 83fc8000
Reserving 192k for malloc() at: 83f98000
Reserving 44 Bytes for Board Info at: 83f97fd4
Reserving 36 Bytes for Global Data at: 83f97fb0
Reserving 128k for boot params() at: 83f77fb0
Stack Pointer at: 83f77f98
Now running in RAM - U-Boot at: 83fc8000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16777216, sector count = 256
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   eth0: b4:21:8a:00:00:00
eth1: b4:21:8a:00:00:01
eth0, eth1
autoboot in 4 seconds (stop with 'lin')...
linino>

linino> pri

bootargs=console=ttyATH0,115200 board=linino-yun mem=64M rootfstype=squashfs,jffs2 noinitrd mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware)
bootcmd=bootm 0x9fea0000
bootdelay=4
baudrate=115200
ethaddr=0xb4:0x21:0x8a:0x00:0x00:0x10
ipaddr=192.168.1.2
serverip=192.168.1.1
ethact=eth0
stdin=serial
stdout=serial
stderr=serial

Environment size: 399/65532 bytes
linino>


Environment size: 399/65532 bytes
linino> reset


U-Boot 1.1.4-linino-g335e76c8-dirty (Mar  5 2015 - 09:56:20)

Linino Board (ar9331) U-boot
DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 217k for U-Boot at: 83fc8000
Reserving 192k for malloc() at: 83f98000
Reserving 44 Bytes for Board Info at: 83f97fd4
Reserving 36 Bytes for Global Data at: 83f97fb0
Reserving 128k for boot params() at: 83f77fb0
Stack Pointer at: 83f77f98
Now running in RAM - U-Boot at: 83fc8000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16777216, sector count = 256
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   eth0: b4:21:8a:00:00:00
eth1: b4:21:8a:00:00:01
eth0, eth1
autoboot in 4 seconds (stop with 'lin')...
## Booting image at 9fea0000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2016-06-02  10:29:02 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1153375 Bytes =  1.1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9fea0040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 3.3.8 (build@build-base) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu Jun 2 12:28:33 CEST 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  console=ttyATH0,115200 board=linino-yun mem=64M rootfstype=squashfs,jffs2 noinitrd mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60960k/65536k available (2509k kernel code, 4576k reserved, 678k data, 176k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is Arduino Yun
[    0.110000] ds_common_setup-162: wlan0 MAC:f6:4a:f0:8a:21:b4
[    0.120000] ds_common_setup-172: eth1 MAC:f6:4a:f8:8a:21:b4
[    0.550000] mach-linino: setting GPIO
[    0.550000] Setting GPIO OE 21
[    0.560000] Setting GPIO OE2 22
[    0.560000] Setting GPIO UART-ENA 23
[    0.560000] mach-linino: enabling GPIO SPI Controller
[    0.580000] bio: create slab <bio-0> at 0
[    0.590000] usbcore: registered new interface driver usbfs
[    0.590000] usbcore: registered new interface driver hub
[    0.600000] usbcore: registered new device driver usb
[    0.600000] Switching to clocksource MIPS
[    0.610000] NET: Registered protocol family 2
[    0.610000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.620000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.620000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.630000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.640000] TCP reno registered
[    0.640000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.650000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.650000] NET: Registered protocol family 1
[    0.680000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.680000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.690000] msgmni has been set to 119
[    0.700000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.700000] io scheduler noop registered
[    0.710000] io scheduler deadline registered (default)
[    0.710000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.720000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) i⸮ a AR933X UART
[    0.730000] console [ttyATH0] enabled, bootconsole disabled
[    0.730000] console [ttyATH0] enabled, bootconsole disabled
[    0.740000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.750000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.750000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.760000] Creating 7 MTD partitions on "spi0.0":
[    0.760000] 0x000000000000-0x000000040000 : "u-boot"
[    0.770000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.770000] 0x000000050000-0x000000ea0000 : "rootfs"
[    0.780000] mtd: partition "rootfs" set to be root filesystem
[    0.780000] mtd: partition "rootfs_data" created automatically, ofs=9E0000, len=4C0000
[    0.790000] 0x0000009e0000-0x000000ea0000 : "rootfs_data"
[    0.800000] 0x000000ea0000-0x000000fe0000 : "kernel"
[    0.800000] 0x000000fe0000-0x000000ff0000 : "nvram"
[    0.810000] 0x000000ff0000-0x000001000000 : "art"
[    0.810000] 0x000000050000-0x000000fe0000 : "firmware"
[    0.840000] ag71xx_mdio: probed
[    0.840000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.400000] eth0: Found an AR7240/AR9330 built-in switch
[    2.430000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    2.980000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.990000] usbcore: registered new interface driver usbserial
[    2.990000] USB Serial support registered for generic
[    3.000000] usbcore: registered new interface driver usbserial_generic
[    3.000000] usbserial: USB Serial Driver core
[    3.010000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    3.020000] TCP cubic registered
[    3.020000] NET: Registered protocol family 17
[    3.030000] Bridge firewalling registered
[    3.030000] 8021q: 802.1Q VLAN Support v1.8
[    3.040000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.050000] Freeing unused kernel memory: 176k freed
[    5.530000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[   10.040000] JFFS2 notice: (535) jffs2_build_xattr_subsystem: complete building xattr subsystem, 23 of xdatum (1 unchecked, 22 orphan) and 36 of xref (0 dead, 22 orphan) found.
[   10.850000] SCSI subsystem initialized
[   11.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.660000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   11.660000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   11.700000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   11.720000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   11.720000] hub 1-0:1.0: USB hub found
[   11.720000] hub 1-0:1.0: 1 port detected
[   11.840000] Initializing USB Mass Storage driver...
[   11.850000] usbcore: registered new interface driver usb-storage
[   11.850000] USB Mass Storage support registered.
[   12.060000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   12.210000] hub 1-1:1.0: USB hub found
[   12.210000] hub 1-1:1.0: 4 ports detected
[   12.490000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[   12.620000] scsi0 : usb-storage 1-1.4:1.0
[   13.620000] scsi 0:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
[   13.630000] sd 0:0:0:0: [sda] Attached SCSI removable disk
switching to jffs2
- init -

Please press Enter to activate this console. [   39.590000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   39.600000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   39.770000] cfg80211: Calling CRDA to update world regulatory domain
[   39.780000] cfg80211: World regulatory domain updated:
[   39.780000] cfg80211:  DFS Master region: unset
[   39.790000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   39.800000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   39.800000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   39.810000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   39.820000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   39.830000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   39.840000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   40.770000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   40.780000] cfg80211: Calling CRDA for country: US
[   40.780000] cfg80211: Regulatory domain changed to country: US
[   40.790000] cfg80211:  DFS Master region: FCC
[   40.790000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   40.800000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   40.810000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   40.820000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   40.830000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   40.830000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   41.190000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   41.470000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   41.550000] loop: module loaded
[   41.770000] PPP generic driver version 2.4.2
[   42.020000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   42.150000] NET: Registered protocol family 24
[   42.270000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[   42.800000] i2c /dev entries driver
[   42.950000] Linux video capture interface: v2.00
[   43.200000] fuse init (API version 7.18)
[   45.700000] No need to change console settings
[   60.280000] wlan0-1: authenticate with 64:7c:34:2f:f1:9c
[   60.290000] wlan0-1: send auth to 64:7c:34:2f:f1:9c (try 1/3)
[   60.290000] wlan0-1: authenticated
[   60.300000] Start uSDaemon
[   60.450000] wlan0-1: associate with 64:7c:34:2f:f1:9c (try 1/3)
[   60.670000] wlan0-1: RX AssocResp from 64:7c:34:2f:f1:9c (capab=0xc11 status=0 aid=3)
[   60.670000] wlan0-1: associated
[   62.080000] uSDaemon ... UP
[   76.710000] warning: `alljoyn-daemon' uses 32-bit capabilities (legacy support in use)
[   77.800000] not exporting...
[   77.870000] not exporting...


--> mot de passe arduino
(lininoio )
setenv bootargs 'console=spicons board=linino-yun mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) mem=64M rootfstype=squashfs,jffs2 noinitrd'
ou (recuperer la console)
setenv bootargs 'console=ttyATH0 board=linino-yun mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) mem=64M rootfstype=squashfs,jffs2 noinitrd'
setenv bootargs 'console=ttyATH0 board=linino-yun mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) mem=64M rootfstype=squashfs,jffs2 noinitrd'

si erreur : Can't open /dev/mtd1: Permission denied
lancer setenv avec spicons et rootfs / u-boot-env sans ro (readonly)
--> ensuite , on peut lancer lininoio start

#########################

root@linino:~# lininoio -s

STATUS : DISABLED

root@linino:~# lininoio start

WARNING ! Please be sure to run lininoio when connected by means of SSH to your board, otherwise you could damage your board !

Do you want to proceed ? [y/n] y

Do you want to enable the LininoIO OS features ? [y/n] y


avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9587
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "0xFF"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xFF:
avrdude: load data lfuse data from input file 0xFF:
avrdude: input file 0xFF contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xD8"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xD8:
avrdude: load data hfuse data from input file 0xD8:
avrdude: input file 0xD8 contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xFB"
avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xFB:
avrdude: load data efuse data from input file 0xFB:
avrdude: input file 0xFB contains 1 bytes
avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of efuse verified
avrdude: reading input file "/etc/linino/bathos-yun.hex"
avrdude: writing flash (32618 bytes):

Writing | ################################################## | 100% 16.90s

avrdude: 32618 bytes of flash written
avrdude: verifying flash memory against /etc/linino/bathos-yun.hex:
avrdude: load data flash data from input file /etc/linino/bathos-yun.hex:
avrdude: input file /etc/linino/bathos-yun.hex contains 32618 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 15.59s

avrdude: verifying ...
avrdude: 32618 bytes of flash verified

avrdude: safemode: Fuses OK (E:FB, H:D8, L:FF)

avrdude done.  Thank you.


To fully enable the LininoIO features you must reboot your system. Reboot now ? [y/n] y


Rebooting...

root@linino:~#

copier smagYun-22-10-17-squashfs-sysupgrade.bin dans /tmp
sysupgrade -v smagYun-22-10-17-squashfs-sysupgrade.bin

opkg update
opkg install node node-express node-socket.io node-serialport ideino ideinoIO node-ideino-linino-lib
node . donne une erreur : error: BOARD PIN MODE ERROR - EINVAL, invalid argument --> lininoio stop / lininoio start
https://github.com/ideino/ideino-linino-lib/issues/2





#########################
BusyBox v1.19.4 (2016-06-01 23:26:44 CEST) built-in shell (ash)
root@linino:~# uname -a
Linux linino 3.3.8 #1 Thu Jun 2 12:28:33 CEST 2016 mips GNU/Linux
root@linino:~#


root@linino:~# lininoio start

WARNING ! Please be sure to run lininoio when connected by means of SSH to your board, otherwise you could damage your board !

Do you want to proceed ? [y/n] y

Do you want to enable the LininoIO OS features ? [y/n] y

Can't open /dev/mtd1: Permission denied
Error: can't write fw_env to flash

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "0xFF"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xFF:
avrdude: load data lfuse data from input file 0xFF:
avrdude: input file 0xFF contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xD8"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xD8:
avrdude: load data hfuse data from input file 0xD8:
avrdude: input file 0xD8 contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xFB"
avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xFB:
avrdude: load data efuse data from input file 0xFB:
avrdude: input file 0xFB contains 1 bytes
avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of efuse verified
avrdude: reading input file "/etc/linino/bathos-yun.hex"
avrdude: writing flash (32618 bytes):

Writing | ################################################## | 100% 16.91s

avrdude: 32618 bytes of flash written
avrdude: verifying flash memory against /etc/linino/bathos-yun.hex:
avrdude: load data flash data from input file /etc/linino/bathos-yun.hex:
avrdude: input file /etc/linino/bathos-yun.hex contains 32618 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 15.54s

avrdude: verifying ...
avrdude: 32618 bytes of flash verified

avrdude: safemode: Fuses OK (E:FB, H:D8, L:FF)

avrdude done.  Thank you.


To fully enable the LininoIO features you must reboot your system. Reboot now ? [y/n] y


Rebooting...

root@linino:~# lininoio -s

Commentaires