Bescottee苦しいときは伸びてるとき、楽なときは伸びていないとき

2 2015/11/21時点の Intel Edison Firmware

admin to Uncategorized, intel edison — Tags:  

Intel Edison のファームウェアが更新されたという情報を得たので、焼いてみました。

Intel® Edison Board Software Downloadsから以下をダウンロードしました。

  • PhoneFlashToolLite_5.3.2.0_mac64.pkg
  • m_iot_dev_kit_2015.0.023.tar.gz
  • edison-iotdk-image-280915.zip
  • HoRNDIS-rel7.pkg

MBP の左のUSBポートに電源向けUSB、右のポートにシリアルコンソール向けUSBを挿したら ./flashall.sh がうまく動きました。
逆の場合は./flassall.sh が


Did you plug and reboot your board?

のまま進まない症状が出ました。

備忘のため、コマンドとログをメモしておきます。


$ ./flashall.sh
Using U-Boot target: edison-blankcdc
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Timed out while waiting for dfu device 8087:0a99
DEBUG: lsusb
Bus 021 Device 001: ID 05ac:8406 Apple Inc. Internal Memory Card Reader Serial: 000000000820
Bus 020 Device 005: ID 0403:6001 Future Technology Devices International Limited FT232R USB UART Serial: AJ035GT1
Bus 020 Device 018: ID 05ac:0259 Apple Inc. Apple Internal Keyboard / Trackpad
Bus 020 Device 002: ID 0a5c:4500 Broadcom Corp. BRCM20702 Hub
Bus 020 Device 004: ID 05ac:8289 Apple Inc. Bluetooth USB Host Controller
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
DEBUG: dfu-util -l
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Did you plug and reboot your board?
If yes, please try a recovery by calling this script with the --recovery option
taro:edison-iotdk-image-280915 tkawashita$ ./flashall.sh
Using U-Boot target: edison-blankcdc
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
dfu-util: Device has DFU interface, but has no DFU functional descriptor
Flashing IFWI
dfu-util: Device has DFU interface, but has no DFU functional descriptor
Transfer size must be specified
Flashing U-Boot
Flashing U-Boot Environment
Flashing U-Boot Environment Backup
Rebooting to apply partition changes
Now waiting for dfu device 8087:0a99
Flashing boot partition (kernel)
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
Rebooting
U-boot & Kernel System Flash Success...
Your board needs to reboot to complete the flashing procedure, please do not unplug it for 2 minutes.


*** Ready to receive application ***

U-Boot 2014.04 (Jun 19 2015 - 12:05:55)

Watchdog enabled
DRAM: 980.6 MiB
MMC: tangier_sdhci: 0
In: serial
Out: serial
Err: serial
Writing to redundant MMC(0)... done
Writing to MMC(0)... done
Hit any key to stop autoboot: 0
Target:ifwi
Partitioning using GPT
Writing GPT: success!
Saving Environment to MMC...
Writing to redundant MMC(0)... done
Partitioning already done...
Saving Environment to MMC...
Writing to MMC(0)... done
GADGET DRIVER: usb_dnl_dfu
#
DFU complete CRC32: 0x6ad212b0
DOWNLOAD ... OK
Ctrl+C to exit ...
#
DFU complete CRC32: 0x9cb56567
DOWNLOAD ... OK
Ctrl+C to exit ...
#
DFU complete CRC32: 0x9cb56567
DOWNLOAD ... OK
Ctrl+C to exit ...
resetting ...

******************************
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) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000

*** Ready to receive application ***

U-Boot 2014.04 (Jun 19 2015 - 12:05:55)

Watchdog enabled
DRAM: 980.6 MiB
MMC: tangier_sdhci: 0
In: serial
Out: serial
Err: serial
Writing to redundant MMC(0)... done
Writing to MMC(0)... done
Hit any key to stop autoboot: 0
Target:blank
Partitioning using GPT
Writing GPT: success!
Saving Environment to MMC...
Writing to redundant MMC(0)... done
Flashing already done...
GADGET DRIVER: usb_dnl_dfu
#
DFU complete CRC32: 0xb98db2f8
DOWNLOAD ... OK
Ctrl+C to exit ...
######################################################################################################################
DFU complete CRC32: 0x5601e158
DOWNLOAD ... OK
Ctrl+C to exit ...
resetting ...

******************************
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) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000

*** Ready to receive application ***

U-Boot 2014.04 (Jun 19 2015 - 12:05:55)

Watchdog enabled
DRAM: 980.6 MiB
MMC: tangier_sdhci: 0
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
Target:blank
Partitioning already done...
Flashing already done...
GADGET DRIVER: usb_dnl_dfu
reading vmlinuz
5434848 bytes read in 134 ms (38.7 MiB/s)
Valid Boot Flag
Setup Size = 0x00003c00
Magic signature found
Using boot protocol version 2.0c
Linux kernel version 3.10.17-poky-edison+ (sys_dswci@tlsndgbuild004) #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015
Building boot_params at 0x00090000
Loading bzImage at address 00100000 (5419488 bytes)
Magic signature found
Kernel command line: "rootwait root=PARTUUID=012b3303-34ac-284d-99b4-34e03a2335f4 rootfstype=ext4 console=ttyMFD2 earlyprintk=ttyMFD2,keep loglevel=4 g_multi.ethernet_config=rndis systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=8211587d07244d27cfb43ab8989dc867 g_multi.dev_addr=02:00:86:9d:c8:67 platform_mrfld_audio.audio_codec=dummy"

Starting kernel ...

[ 1.602492] snd_soc_sst_platform: Enter:sst_soc_probe
[ 2.006424] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk
[ 2.024564] pmic_ccsm pmic_ccsm: Battery Over heat exception
[ 2.024656] pmic_ccsm pmic_ccsm: Battery0 temperature outside boundary

Welcome to Linux!

Expecting device dev-ttyMFD2.device...
[ OK ] Reached target Remote File Systems.
Expecting device dev-disk-by\x2dpartlabel-rootfs.device...
Expecting device dev-disk-by\x2dpartlabel-factory.device...
Expecting device dev-disk-by\x2dpartlabel-update.device...
Expecting device dev-disk-by\x2dpartlabel-home.device...
Expecting device sys-subsystem-net-devices-usb0.device...
[ OK ] Reached target Paths.
[ OK ] Reached target Swap.
[ OK ] Created slice Root Slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on Journal Socket.
[ OK ] Created slice System Slice.
Mounting Temporary Directory...
Starting Load Kernel Modules...
Starting Create list of required static device nodes...rrent kernel...
Starting udev Coldplug all Devices...
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting Debug File System...
Mounting POSIX Message Queue File System...
Starting Apply Kernel Variables...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Slices.
Starting Remount Root and Kernel File Systems...
[ OK ] Set up automount boot.automount.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Mounted Temporary Directory.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Create list of required static device nodes ...current kernel.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started udev Coldplug all Devices.
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
Mounting Configuration File System...
Mounting FUSE Control File System...
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Mounted /var/volatile.
[ OK ] Reached target Local File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Found device /sys/subsystem/net/devices/usb0.
[ OK ] Found device /dev/ttyMFD2.
[ OK ] Created slice system-systemd\x2drfkill.slice.
Starting Load/Save RF Kill Switch Status of rfkill2...
Starting Load/Save RF Kill Switch Status of rfkill0...
Starting Load/Save RF Kill Switch Status of rfkill1...
Starting Opkg first boot configure...
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Load/Save RF Kill Switch Status of rfkill2.
[ OK ] Started Load/Save RF Kill Switch Status of rfkill0.
[ OK ] Started Load/Save RF Kill Switch Status of rfkill1.
[ OK ] Started Network Time Synchronization.
[ OK ] Found device /dev/disk/by-partlabel/factory.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Found device /dev/disk/by-partlabel/update.
[ OK ] Found device /dev/disk/by-partlabel/rootfs.
[ OK ] Found device /dev/disk/by-partlabel/home.
[ OK ] Started Opkg first boot configure.
Mounting Mount for factory...
[ OK ] Reached target System Initialization.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Reached target Timers.
Starting Restore Sound Card State...
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Mounted Mount for factory.
[ OK ] Listening on sshd.socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Edison PWR button handler...
[ OK ] Started Edison PWR button handler.
Starting Telephony service...
Starting Daemon to load edison mcu app binary...
[ OK ] Started Daemon to load edison mcu app binary.
Starting Daemon to handle arduino sketches...
Application available at (physical) address 0x04819000
VRL mapped to 0xff217000
App size = 11508 bytes

App Authentication feature is disabled!
Resetting IPC

*** Ready to receive application ***
[ OK ] Started Daemon to handle arduino sketches.
Starting Daemon to reset sketches...
[ OK ] Started Daemon to reset sketches.
Starting Bluetooth rf kill event daemon...
[ OK ] Started Bluetooth rf kill event daemon.
Starting Start or stop WiFI AP Mode in Edison...
[ OK ] Started Start or stop WiFI AP Mode in Edison.
Starting Login Service...
Starting Permit User Sessions...
Starting Post install service...
Starting Watchdog sample daemon...
[ OK ] Started Watchdog sample daemon.
Starting Crashlog service...
[ OK ] Started Crashlog service.
Starting Generate unique machine-id...
Starting Cleanjournal service...
[ OK ] Started Cleanjournal service.
Starting D-Bus System Message Bus...
[ 9.913329] sh[218]: Starting Post Install (try: 0)
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Telephony service.
Starting Network Service...
[ OK ] Started Restore Sound Card State.
[ OK ] Started Permit User Sessions.
[ OK ] Started Network Service.
[ 10.368966] systemd-machine-id-setup[247]: Initializing machine ID from random generator.
[ 10.682053] systemctl[250]: rm '/etc/systemd/system/basic.target.wants/edison-machine-id.service'
[ OK ] Started Generate unique machine-id.
[ OK ] Started Login Service.
Starting Bluetooth service...
Starting Edison Arduino board LED Blinker...
[ OK ] Started Edison Arduino board LED Blinker.
Starting Network Name Resolution...
[ 11.864772] sh[218]: Backup home/root contents of rootfs : Success
Starting PulseAudio Sound System...
[ OK ] Created slice system-systemd\x2dfsck.slice.
Starting File System Check on /dev/disk/by-partlabel/boot...
[ OK ] Reached target Network.
Starting Zero-configuration networking...
[ 11.930911] sh[218]: mke2fs 1.42.9 (28-Dec-2013)
Starting Mosquitto - lightweight server implementati...SN protocols...
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
[ OK ] Started Network Name Resolution.
[ OK ] Started Mosquitto - lightweight server implementatio...T-SN protocols.
[ OK ] Started Bluetooth service.
[ OK ] Started Zero-configuration networking.
[ 12.552068] systemd-fsck[271]: dosfsck 2.11, 12 Mar 2005, FAT32, LFN
[ 12.554520] systemd-fsck[271]: /dev/mmcblk0p7: 5 files, 2742/2971 clusters
[ OK ] Started File System Check on /dev/disk/by-partlabel/boot.
Mounting /boot...
Starting The Edison status and configuration service...
[ OK ] Started The Edison status and configuration service.
Starting Intel_XDK_Daemon...
[ OK ] Started Intel_XDK_Daemon.
Starting Hostname Service...
[ OK ] Mounted /boot.
[ OK ] Started Hostname Service.
[ 13.577704] sh[218]: Discarding device blocks: done
[ 13.606481] sh[218]: Filesystem label=
[ 13.649554] sh[218]: OS type: Linux
[ 13.680311] sh[218]: Block size=4096 (log=2)
[ 13.712396] sh[218]: Fragment size=4096 (log=2)
[ 13.782400] sh[218]: Stride=0 blocks, Stripe width=0 blocks
[ 13.815728] sh[218]: 87120 inodes, 348155 blocks
[ 13.892418] sh[218]: 0 blocks (0.00%) reserved for the super user
[ 13.982537] sh[218]: First data block=0
[ 14.052355] sh[218]: Maximum filesystem blocks=356515840
[ 14.082910] sh[218]: 11 block groups
[ 14.152498] sh[218]: 32768 blocks per group, 32768 fragments per group
[ 14.220999] sh[218]: 7920 inodes per group
[ 14.272610] sh[218]: Superblock backups stored on blocks:
[ 14.312192] sh[218]: 32768, 98304, 163840, 229376, 294912
[ 14.344848] sh[218]: Allocating group tables: done
[ 14.432545] sh[218]: Writing inode tables: done
[ 14.508934] sh[218]: Creating journal (8192 blocks): done
[ OK ] Started PulseAudio Sound System.
[ 17.161726] sh[218]: Writing superblocks and filesystem accounting information: done
[ 17.236067] sh[218]: Formatting home partition : Success
[ 17.257604] sh[218]: Mount /home partition : Success
[ 17.294885] sh[218]: Restore home/root contents on new /home partition : Success
[ 17.327314] sh[218]: The number of cylinders for this disk is set to 24576.
[ 17.346005] sh[218]: There is nothing wrong with that, but this is larger than 1024,
[ 17.376037] sh[218]: and could in certain setups cause problems with:
[ 17.423802] sh[218]: 1) software that runs at boot time (e.g., old versions of LILO)
[ 17.451555] sh[218]: 2) booting and partitioning software from other OSs
[ 17.493093] sh[218]: (e.g., DOS FDISK, OS/2 FDISK)
[ 17.541465] sh[218]: Command (m for help): Command action
[ 17.590630] sh[218]: e extended
[ 17.638059] sh[218]: p primary partition (1-4)
[ 17.700937] sh[218]: Partition number (1-4): Partition 1 is already defined, delete it before re-adding
[ 17.732539] sh[218]: Command (m for help): Command (m for help): Command (m for help): Selected partition 1
[ 17.812052] sh[218]: Hex code (type L to list codes):
[ 17.882447] sh[218]: Command (m for help):
[ 17.971526] sh[218]: Disk /dev/disk/by-partlabel/update: 805 MB, 805306368 bytes
[ 18.032447] sh[218]: 4 heads, 16 sectors/track, 24576 cylinders
[ 18.092569] sh[218]: Units = cylinders of 64 * 512 = 32768 bytes
[ 18.106560] sh[218]: Device Boot Start End Blocks Id System
[ 18.142419] sh[218]: /dev/disk/by-partlabel/update1 1 24576 786424 b Win95 FAT32
[ 18.497023] sh[218]: Command (m for help): The partition table has been altered.
[ 18.532201] sh[218]: Calling ioctl() to re-read partition table
[ 18.582221] sh[218]: fdisk: WARNING: rereading partition table failed, kernel still uses old table: Invalid argument
[ 18.668649] sh[218]: Formatting update partition Step 1 : Success
[ 18.725650] sh[218]: Formatting update partition Step 2 : Success
[ 18.803499] sh[218]: mkfs.vfat 2.11 (12 Mar 2005)
[ 18.873781] sh[218]: Loop device does not match a floppy size, using default hd params
[ 18.927481] sh[218]: Formatting update partition Step 3 : Success
[ 18.978933] sh[218]: Formatting update partition Step 4 final : Success
[ 32.565980] sh[218]: Generating sshd keys : Success
[ 32.614420] sh[218]: Update file system table /etc/fstab : Success
[ 33.892588] sh[218]: Generating Wifi Access Point SSID and passphrase : Success
[ 33.955371] sh[218]: Post install success
[ 34.075310] sh[218]: No journal files were found.
[ 35.265506] systemctl[389]: rm '/etc/systemd/system/basic.target.wants/post-install.service'
[ OK ] Started Post install service.
Starting Serial Getty on ttyMFD2...
[ OK ] Started Serial Getty on ttyMFD2.
[ OK ] Reached target Login Prompts.
Starting Increases rootfs image size to fit partition...
[ 36.488949] resize2fs[400]: resize2fs 1.42.9 (28-Dec-2013)
[ 36.556575] resize2fs[400]: Filesystem at /dev/disk/by-partlabel/rootfs is mounted on /; on-line resizing required
[ 36.602177] resize2fs[400]: old_desc_blocks = 1, new_desc_blocks = 1
[ 36.652218] resize2fs[400]: The filesystem on /dev/disk/by-partlabel/rootfs is now 393216 blocks long.
[ 36.774761] systemctl[402]: rm '/etc/systemd/system/default.target.wants/resize-rootfs.service'
[ OK ] Started Increases rootfs image size to fit partition.
[ OK ] Reached target Multi-User System.

Poky (Yocto Project Reference Distro) 1.7.2 edison ttyMFD2

edison login: root
root@edison:~# cat /etc/version
weekly-159.devkit-2.0
root@edison:~# uname -a
Linux edison 3.10.17-poky-edison+ #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015 i686 GNU/Linux
root@edison:~#

コメントをどうぞ