Les images Système Arduino Yun - 2 - Upgrade OpenWrt to LininoOs

LES IMAGES ARDUINO YUN.

#########################################
# Upgrade from Openwrt to lininoOs
# (LININOOS)
# http://wiki.linino.org/doku.php?id=wiki:upgradeimage#upgrade_your_arduino_yun_with_sysupgrade
# BusyBox v1.19.4 (2014-11-13 19:03:47 CET) built-in shell (ash)
# Linux Arduino 3.3.8 #1 Fri Nov 14 08:57:34 CET 2014 mips GNU/Linux

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

setenv serverip 192.168.1.10;
setenv ipaddr 192.168.1.11;
ping 192.168.1.10;

tftp 0x80060000 openwrt-ar71xx-generic-linino-u-boot.bin;

erase 0x9f000000 +0x40000;
cp.b $fileaddr 0x9f000000 $filesize;
erase 0x9f040000 +0x10000;

tftp 0x80060000 openwrt-ar71xx-generic-linino-yun-16M-kernel.bin;

erase 0x9fEa0000 +0x140000;
cp.b $fileaddr 0x9fea0000 $filesize;

tftp 0x80060000 openwrt-ar71xx-generic-linino-yun-16M-squashfs-sysupgrade.bin;

erase 0x9f050000 +0xE50000;
cp.b $fileaddr 0x9f050000 $filesize;

bootm 0x9fea0000
--> hyeroglyphes, ~1,  mais connexion LININO -> reseau local

Connexion

Hostname linino
Model Arduino Yun
Firmware Version Linino Attitude Adjustment devel / LuCI Branch (0.12+git-15.037.36195-f1e2a26)
Kernel Version 3.3.8
BusyBox v1.19.4 (2015-03-04 21:53:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

linup latest lininoIO
bad CRC --> pri --> help --> mii --> saveenv;
~1
#########################
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> 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
*** 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')...
## Booting image at 9fea0000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2015-03-05   9:14:28 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1065892 Bytes =  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 Mar 5 10:12:40 CET 2015
[    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] 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:  board=linino-yun console=ttyATH0,115200 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: 61240k/65536k available (2278k kernel code, 4296k reserved, 593k data, 216k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    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-151: wlan0 MAC:f6:4a:f0:8a:21:b4
[    0.120000] ds_common_setup-161: 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.570000] bio: create slab <bio-0> at 0
[    0.580000] Switching to clocksource MIPS
[    0.590000] NET: Registered protocol family 2
[    0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.590000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.590000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.600000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.610000] TCP reno registered
[    0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] NET: Registered protocol family 1
[    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.660000] msgmni has been set to 119
[    0.660000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.670000] io scheduler noop registered
[    0.670000] io scheduler deadline registered (default)
[    0.680000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.690000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.690000] console [ttyATH0] enabled, bootconsole disabled
[    0.690000] console [ttyATH0] enabled, bootconsole disabled
[    0.710000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.710000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.720000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.720000] Creating 7 MTD partitions on "spi0.0":
[    0.730000] 0x000000000000-0x000000040000 : "u-boot"
[    0.730000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.740000] 0x000000050000-0x000000ea0000 : "rootfs"
[    0.750000] mtd: partition "rootfs" set to be root filesystem
[    0.750000] mtd: partition "rootfs_data" created automatically, ofs=8D0000, len=5D0000
[    0.760000] 0x0000008d0000-0x000000ea0000 : "rootfs_data"
[    0.760000] 0x000000ea0000-0x000000fe0000 : "kernel"
[    0.770000] 0x000000fe0000-0x000000ff0000 : "nvram"
[    0.770000] 0x000000ff0000-0x000001000000 : "art"
[    0.780000] 0x000000050000-0x000000fe0000 : "firmware"
[    0.800000] ag71xx_mdio: probed
[    0.810000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.360000] eth0: Found an AR7240/AR9330 built-in switch
[    2.390000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    2.940000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.950000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    2.960000] TCP cubic registered
[    2.960000] NET: Registered protocol family 17
[    2.960000] Bridge firewalling registered
[    2.970000] 8021q: 802.1Q VLAN Support v1.8
[    2.980000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.980000] Freeing unused kernel memory: 216k freed
[    5.380000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.900000] JFFS2 notice: (472) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 12 of xref (0 dead, 0 orphan) found.
[   10.850000] SCSI subsystem initialized
[   10.990000] usbcore: registered new interface driver usbfs
[   10.990000] usbcore: registered new interface driver hub
[   11.000000] usbcore: registered new device driver usb
[   11.590000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.590000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   11.600000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   11.640000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   11.660000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   11.660000] hub 1-0:1.0: USB hub found
[   11.660000] hub 1-0:1.0: 1 port detected
[   11.800000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   11.920000] Initializing USB Mass Storage driver...
[   11.920000] usbcore: registered new interface driver usb-storage
[   11.930000] USB Mass Storage support registered.
[   12.030000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   12.180000] hub 1-1:1.0: USB hub found
[   12.180000] hub 1-1:1.0: 4 ports detected
[   12.460000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[   12.590000] scsi0 : usb-storage 1-1.4:1.0
[   13.590000] scsi 0:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
[   13.600000] sd 0:0:0:0: [sda] Attached SCSI removable disk
switching to jffs2
- init -

Please press Enter to activate this console.


BusyBox v1.19.4 (2015-03-04 21:53:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

      ___                   ___                       ___           ___
     /\__\      ___        /\__\          ___        /\__\         /\  \
    /:/  /     /\  \      /::|  |        /\  \      /::|  |       /::\  \
   /:/  /      \:\  \    /:|:|  |        \:\  \    /:|:|  |      /:/\:\  \
  /:/  /       /::\__\  /:/|:|  |__      /::\__\  /:/|:|  |__   /:/  \:\  \
 /:/__/     __/:/\/__/ /:/ |:| /\__\  __/:/\/__/ /:/ |:| /\__\ /:/__/ \:\__\
 \:\  \    /\/:/  /    \/__|:|/:/  / /\/:/  /    \/__|:|/:/  / \:\  \ /:/  /
  \:\  \   \::/__/         |:/:/  /  \::/__/         |:/:/  /   \:\  /:/  /
   \:\  \   \:\__\         |::/  /    \:\__\         |::/  /     \:\/:/  /
    \:\__\   \/__/         /:/  /      \/__/         /:/  /       \::/  /
     \/__/                 \/__/                     \/__/         \/__/

            _______                     ________        __
           |       |.-----.-----.-----.|  |  |  |.----.|  |_
           |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
           |_______||   __|_____|__|__||________||__|  |____|
                    |__| W I R E L E S S   F R E E D O M

root@(none):/# [   38.240000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   38.250000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   38.430000] cfg80211: Calling CRDA to update world regulatory domain
[   38.430000] cfg80211: World regulatory domain updated:
[   38.440000] cfg80211:  DFS Master region: unset
[   38.440000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   38.450000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   38.460000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   38.470000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   38.480000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   38.480000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   38.490000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   39.470000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   39.480000] cfg80211: Calling CRDA for country: US
[   39.490000] cfg80211: Regulatory domain changed to country: US
[   39.490000] cfg80211:  DFS Master region: FCC
[   39.490000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   39.500000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   39.510000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   39.520000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   39.530000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   39.530000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   39.860000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   40.120000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   40.230000] loop: module loaded
[   40.460000] PPP generic driver version 2.4.2
[   40.690000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   40.820000] NET: Registered protocol family 24
[   40.960000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[   41.470000] i2c /dev entries driver
[   41.620000] Linux video capture interface: v2.00
[   41.840000] fuse init (API version 7.18)
[   41.990000] spi_tty_init: SPI TTY INIT
root@linino:/#
[   58.750000] wlan0-1: authenticate with 64:7c:34:2f:f1:9c
[   58.760000] wlan0-1: send auth to 64:7c:34:2f:f1:9c (try 1/3)
[   58.770000] wlan0-1: authenticated
[   58.780000] wlan0-1: associate with 64:7c:34:2f:f1:9c (try 1/3)
[   58.780000] wlan0-1: RX AssocResp from 64:7c:34:2f:f1:9c (capab=0xc11 status=0 aid=3)
[   58.790000] wlan0-1: associated
[   58.830000] Start uSDaemon
[   61.860000] uSDaemon ... UP
[   75.840000] warning: `alljoyn-daemon' uses 32-bit capabilities (legacy support in use)

--> Mot de passe doghunter
###################################################








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


copie via Winscp ou connexion à internet puis
 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
ou
sysupgrade -v -n openwrt-ar71xx-generic-linino-yun-16M-250k-squashfs-sysupgrade.bin

[reboot]
[ linup latest]

 Nom du Wifi : LININO.....
 connexion : root / doghunter
 #################################################
 System
Hostname linino
Model Arduino Yun
Firmware Version Linino Attitude Adjustment devel / LuCI Branch (0.12+git-15.037.36195-f1e2a26)
Kernel Version 3.3.8
###################################################



BusyBox v1.19.4 (2015-03-04 21:53:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

      ___                   ___                       ___           ___
     /\__\      ___        /\__\          ___        /\__\         /\  \
    /:/  /     /\  \      /::|  |        /\  \      /::|  |       /::\  \
   /:/  /      \:\  \    /:|:|  |        \:\  \    /:|:|  |      /:/\:\  \
  /:/  /       /::\__\  /:/|:|  |__      /::\__\  /:/|:|  |__   /:/  \:\  \
 /:/__/     __/:/\/__/ /:/ |:| /\__\  __/:/\/__/ /:/ |:| /\__\ /:/__/ \:\__\
 \:\  \    /\/:/  /    \/__|:|/:/  / /\/:/  /    \/__|:|/:/  / \:\  \ /:/  /
  \:\  \   \::/__/         |:/:/  /  \::/__/         |:/:/  /   \:\  /:/  /
   \:\  \   \:\__\         |::/  /    \:\__\         |::/  /     \:\/:/  /
    \:\__\   \/__/         /:/  /      \/__/         /:/  /       \::/  /
     \/__/                 \/__/                     \/__/         \/__/

            _______                     ________        __
           |       |.-----.-----.-----.|  |  |  |.----.|  |_
           |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
           |_______||   __|_____|__|__||________||__|  |____|
                    |__| W I R E L E S S   F R E E D O M

root@linino:/# uname -a
Linux linino 3.3.8 #1 Thu Mar 5 10:12:40 CET 2015 mips GNU/Linux
root@linino:/# done.
ifconfig
eth1      Link encap:Ethernet  HWaddr B4:21:8A:F8:4A:F6
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:189 errors:0 dropped:33 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16899 (16.5 KiB)  TX bytes:11790 (11.5 KiB)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22848 (22.3 KiB)  TX bytes:22848 (22.3 KiB)

wlan0     Link encap:Ethernet  HWaddr B4:21:8A:F0:4A:F6
          inet addr:192.168.240.1  Bcast:192.168.240.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:3675 (3.5 KiB)

root@linino:/#
######################################################

U-Boot 1.1.4-dirty (Nov 13 2014 - 18:54:12)

Arduino Yun (ar9331) U-boot

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 142k for U-Boot at: 83fdc000
Reserving 192k for malloc() at: 83fac000
Reserving 44 Bytes for Board Info at: 83fabfd4
Reserving 36 Bytes for Global Data at: 83fabfb0
Reserving 128k for boot params() at: 83f8bfb0
Stack Pointer at: 83f8bf98
Now running in RAM - U-Boot at: 83fdc000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16777216, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
autoboot in 4 seconds (type 'ard' to enter u-boot console)...
ar7240>

ar7240> pri

bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),14656k(rootfs),1280k(uImage),64k(NVRAM),64k(ART)
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: 360/65532 bytes
ar7240>

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


U-Boot 1.1.4-dirty (Nov 13 2014 - 18:54:12)

Arduino Yun (ar9331) U-boot

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 142k for U-Boot at: 83fdc000
Reserving 192k for malloc() at: 83fac000
Reserving 44 Bytes for Board Info at: 83fabfd4
Reserving 36 Bytes for Global Data at: 83fabfb0
Reserving 128k for boot params() at: 83f8bfb0
Stack Pointer at: 83f8bf98
Now running in RAM - U-Boot at: 83fdc000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16777216, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
autoboot in 4 seconds (type 'ard' to enter u-boot console)...
## Booting image at 9fea0000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2015-03-05   9:14:31 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1065846 Bytes =  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 Mar 5 10:12:40 CET 2015
[    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] 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:  board=linino-yun console=ttyATH0,250000 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: 61240k/65536k available (2278k kernel code, 4296k reserved, 593k data, 216k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    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.080000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.090000] MIPS: machine is Arduino Yun
[    0.100000] ds_common_setup-151: wlan0 MAC:f6:4a:f0:8a:21:b4
[    0.110000] ds_common_setup-161: eth1 MAC:f6:4a:f8:8a:21:b4
[    0.540000] mach-linino: setting GPIO
[    0.540000] Setting GPIO OE 21
[    0.540000] Setting GPIO OE2 22
[    0.540000] Setting GPIO UART-ENA 23
[    0.540000] mach-linino: enabling GPIO SPI Controller
[    0.550000] bio: create slab <bio-0> at 0
[    0.560000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.570000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.570000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.570000] TCP reno registered
[    0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.580000] NET: Registered protocol family 1
[    0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.600000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.610000] msgmni has been set to 119
[    0.610000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.610000] io scheduler noop registered
[    0.610000] io scheduler deadline registered (default)
[    0.620000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.630000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) i{ a AR933X UART
[    0.630000] console [ttyATH0] enabled, bootconsole disabled
[    0.630000] console [ttyATH0] enabled, bootconsole disabled
[    0.640000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.640000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.640000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.640000] Creating 7 MTD partitions on "spi0.0":
[    0.650000] 0x000000000000-0x000000040000 : "u-boot"
[    0.650000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.650000] 0x000000050000-0x000000ea0000 : "rootfs"
[    0.660000] mtd: partition "rootfs" set to be root filesystem
[    0.660000] mtd: partition "rootfs_data" created automatically, ofs=8D0000, len=5D0000
[    0.660000] 0x0000008d0000-0x000000ea0000 : "rootfs_data"
[    0.670000] 0x000000ea0000-0x000000fe0000 : "kernel"
[    0.670000] 0x000000fe0000-0x000000ff0000 : "nvram"
[    0.670000] 0x000000ff0000-0x000001000000 : "art"
[    0.680000] 0x000000050000-0x000000fe0000 : "firmware"
[    0.700000] ag71xx_mdio: probed
[    0.700000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.250000] eth0: Found an AR7240/AR9330 built-in switch
[    2.290000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    2.840000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.840000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    2.850000] TCP cubic registered
[    2.850000] NET: Registered protocol family 17
[    2.850000] Bridge firewalling registered
[    2.850000] 8021q: 802.1Q VLAN Support v1.8
[    2.860000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.870000] Freeing unused kernel memory: 216k freed
[    5.300000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.810000] JFFS2 notice: (472) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 12 of xref (0 dead, 0 orphan) found.
[   10.750000] SCSI subsystem initialized
[   10.890000] usbcore: registered new interface driver usbfs
[   10.890000] usbcore: registered new interface driver hub
[   10.890000] usbcore: registered new device driver usb
[   11.480000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.480000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   11.480000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   11.520000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   11.540000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   11.540000] hub 1-0:1.0: USB hub found
[   11.540000] hub 1-0:1.0: 1 port detected
[   11.670000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   11.790000] Initializing USB Mass Storage driver...
[   11.790000] usbcore: registered new interface driver usb-storage
[   11.790000] USB Mass Storage support registered.
[   11.900000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   12.050000] hub 1-1:1.0: USB hub found
[   12.050000] hub 1-1:1.0: 4 ports detected
[   12.330000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[   12.460000] scsi0 : usb-storage 1-1.4:1.0
[   13.460000] scsi 0:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
[   13.470000] sd 0:0:0:0: [sda] Attached SCSI removable disk
switching to jffs2
- init -

Please press Enter to activate this console. [   38.180000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   38.180000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   38.360000] cfg80211: Calling CRDA to update world regulatory domain
[   38.360000] cfg80211: World regulatory domain updated:
[   38.360000] cfg80211:  DFS Master region: unset
[   38.360000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   38.370000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   38.370000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   38.370000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   38.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   38.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   38.380000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   39.360000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   39.370000] cfg80211: Calling CRDA for country: US
[   39.370000] cfg80211: Regulatory domain changed to country: US
[   39.370000] cfg80211:  DFS Master region: FCC
[   39.380000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   39.380000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   39.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   39.390000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   39.390000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   39.390000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   39.710000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   39.970000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   40.080000] loop: module loaded
[   40.310000] PPP generic driver version 2.4.2
[   40.540000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   40.660000] NET: Registered protocol family 24
[   40.800000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[   41.320000] i2c /dev entries driver
[   41.460000] Linux video capture interface: v2.00
[   41.680000] fuse init (API version 7.18)
[   41.820000] spi_tty_init: SPI TTY INIT
[   49.140000] eth1: link up (100Mbps/Full duplex)
[   56.170000] Start uSDaemon
[   58.810000] uSDaemon ... UP
[   69.240000] warning: `alljoyn-daemon' uses 32-bit capabilities (legacy support in use)
ifconfig


BusyBox v1.19.4 (2015-03-04 21:53:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

      ___                   ___                       ___           ___
     /\__\      ___        /\__\          ___        /\__\         /\  \
    /:/  /     /\  \      /::|  |        /\  \      /::|  |       /::\  \
   /:/  /      \:\  \    /:|:|  |        \:\  \    /:|:|  |      /:/\:\  \
  /:/  /       /::\__\  /:/|:|  |__      /::\__\  /:/|:|  |__   /:/  \:\  \
 /:/__/     __/:/\/__/ /:/ |:| /\__\  __/:/\/__/ /:/ |:| /\__\ /:/__/ \:\__\
 \:\  \    /\/:/  /    \/__|:|/:/  / /\/:/  /    \/__|:|/:/  / \:\  \ /:/  /
  \:\  \   \::/__/         |:/:/  /  \::/__/         |:/:/  /   \:\  /:/  /
   \:\  \   \:\__\         |::/  /    \:\__\         |::/  /     \:\/:/  /
    \:\__\   \/__/         /:/  /      \/__/         /:/  /       \::/  /
     \/__/                 \/__/                     \/__/         \/__/

            _______                     ________        __
           |       |.-----.-----.-----.|  |  |  |.----.|  |_
           |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
           |_______||   __|_____|__|__||________||__|  |____|
                    |__| W I R E L E S S   F R E E D O M

root@linino:/# uname -a
Linux linino 3.3.8 #1 Thu Mar 5 10:12:40 CET 2015 mips GNU/Linux
root@linino:/#


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

Commentaires