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

2 Intel Edison R2 firmware

admin to intel edison  


$ cat /etc/version
edison-rel1-maint-weekly_build_16_2014-10-14_14-56-19



$ reboot ota


root@redbull:~# reboot ota
Unmounting /home...
[ OK ] Stopped target Sound Card.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
Stopping Daemon to receive the wpa_supplicant event...
[ OK ] Stopped target Multi-User System.
Stopping The Edison status and configuration service...
Unmounting Mount for factory...
Stopping Edison PWR button handler...
Stopping Disable the Runtime power management of SPI...
Stopping Intel_XDK_Daemon...
Stopping Bluetooth rf kill event daemon...
Stopping Mosquitto - lightweight server implementati...SN protocols...
Stopping Daemon to reset sketches...
Stopping Network Name Resolution...
Stopping WPA supplicant service...
[ OK ] Stopped target Login Prompts.
Stopping Serial Getty on ttyMFD2...
bull ttyMFD2

Stopping Login Service...
Stopping D-Bus System Message Bus...
Stopping Kernel Logging Service...
Stopping System Logging Service...
Stopping Watchdog sample daemon...
[ OK ] Stopped Edison PWR button handler.
[ OK ] Stopped Bluetooth rf kill event daemon.
[ OK ] Stopped Daemon to reset sketches.
[ OK ] Stopped Login Service.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Kernel Logging Service.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped Watchdog sample daemon.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Intel_XDK_Daemon.
[ OK ] Stopped Mosquitto - lightweight server implementatio...T-SN protocols.
[ OK ] Stopped The Edison status and configuration service.
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped Serial Getty on ttyMFD2.
[ OK ] Failed unmounting /home.
[ OK ] Unmounted Mount for factory.
[ OK ] Stopped Disable the Runtime power management of SPI.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Zero-configuration networking...
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
Stopping Daemon to handle arduino sketches...
[ OK ] Stopped Daemon to handle arduino sketches.
[ OK ] Stopped Daemon to receive the wpa_supplicant event.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped WPA supplicant service.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Zero-configuration networking.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped target Timers.
[ OK ] Stopped target Sockets.
[ OK ] Closed sshd.socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target System Initialization.
Stopping Load/Save RF Kill Switch Status of rfkill0...
Stopping Load/Save RF Kill Switch Status of rfkill2...
Stopping Load/Save RF Kill Switch Status of rfkill1...
Stopping Network Time Synchronization...
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
Stopping Load/Save Random Seed...
Stopping Update UTMP about System Boot/Shutdown...
Stopping Load Kernel Modules...
[ OK ] Stopped Load Kernel Modules.
[ OK ] Stopped target Swap.
[ OK ] Stopped target Network.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill0.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill2.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill1.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Removed slice system-systemd\x2drfkill.slice.
Stopping Create Volatile Files and Directories...
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /etc/machine-id...
[ OK ] Unset automount home.automount.
[ OK ] Unset automount boot.automount.
Unmounting /var/volatile...
Unmounting Temporary Directory...
[ OK ] Unmounted /etc/machine-id.
[ OK ] Unmounted /var/volatile.
[ OK ] Unmounted Temporary Directory.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.

******************************
PSH KERNEL VERSION: b0182727
WR: 20104000
******************************

SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 23:15:13 Apr 24 2014

******* 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 (Oct 14 2014 - 15:19:04)

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...
reading ota_update.scr
14747 bytes read in 27 ms (533.2 KiB/s)
## Executing script at 00100000
=== OTA update script ===
Validating Ota package
part find mmc 0 label:update u_part_num;
ota drive is mmc 0:9

Validating edison_ifwi-dbg-00-dfu.bin hash for boot0 and boot1 partitions

fatload mmc 0:9 0x6400000 edison_ifwi-dbg-00-dfu.bin;
reading edison_ifwi-dbg-00-dfu.bin
4194304 bytes read in 107 ms (37.4 MiB/s)
hash sha1 0x6400000 400000 sha1_sum;
sha1 for 06400000 ... 067fffff ==> 16af670731ef43d8e415adebd93a841ab6763236
edison_ifwi-dbg-00-dfu.bin size is 0x400000 bytes and 0x2000 block

Validating u-boot-edison.bin hash for u-boot0 partition

fatload mmc 0:9 0x6400000 u-boot-edison.bin;
reading u-boot-edison.bin
245760 bytes read in 31 ms (7.6 MiB/s)
part find mmc 0 label:u-boot0 u_part_num;
part info mmc 0:1 u_part_start u_part_sz u_part_blksz;
Partition u-boot0 Start:0x800 Size:0x1000 BlockSize:0x200
u-boot-edison.bin size is 0x3c000 bytes and 0x1e0 block

hash sha1 0x6400000 3c000 sha1_sum;
sha1 for 06400000 ... 0643bfff ==> b7a923600f15c369602cd1911e9bc3eaf2ac348d

Validating edison-image-edison.hddimg hash for boot partition
fatload mmc 0:9 0x6400000 edison-image-edison.hddimg;
reading edison-image-edison.hddimg
6029312 bytes read in 149 ms (38.6 MiB/s)
part find mmc 0 label:boot u_part_num;
part info mmc 0:7 u_part_start u_part_sz u_part_blksz;
Partition boot Start:0x10000 Size:0x10000 BlockSize:0x200
edison-image-edison.hddimg size is 0x5c0000 bytes and 0x2e00 block

hash sha1 0x6400000 5c0000 sha1_sum;
sha1 for 06400000 ... 069bffff ==> 4ad11552197f84f5f4abaebde55f43acb880f559

Validating edison-image-edison.ext4 hash for rootfs partition

fatload mmc 0:9 0x6400000 edison-image-edison.ext4;
reading edison-image-edison.ext4
536870912 bytes read in 11939 ms (42.9 MiB/s)
part find mmc 0 label:rootfs u_part_num;
part info mmc 0:8 u_part_start u_part_sz u_part_blksz;
Partition rootfs Start:0x20000 Size:0x100000 BlockSize:0x200
edison-image-edison.ext4 size is 0x20000000 bytes and 0x100000 block

hash sha1 0x6400000 20000000 sha1_sum;
sha1 for 06400000 ... 263fffff ==> e541cc9f0c81b868942b4ae1e4133cdab41351bf

Ota Pakage validated going to process it
## Executing script at 00100000
=== OTA update script ===
Processing Ota update
part find mmc 0 label:update u_part_num;
ota drive is mmc 0:9

Update IFWI on boot0 and boot1 partitions

fatload mmc 0:9 0x6400000 edison_ifwi-dbg-00-dfu.bin;
reading edison_ifwi-dbg-00-dfu.bin
4194304 bytes read in 107 ms (37.4 MiB/s)
edison_ifwi-dbg-00-dfu.bin size is 0x400000 bytes and 0x2000 block
mmc dev 0 1;
switch to partitions #1, OK
mmc0(part 1) is current device
mmc write 0x6400000 0x0 2000;

MMC write: dev # 0, block # 0, count 8192 ... 8192 blocks write: OK
mmc dev 0 2;
switch to partitions #2, OK
mmc0(part 2) is current device
mmc write 0x6400000 0x00 2000;

MMC write: dev # 0, block # 0, count 8192 ... 8192 blocks write: OK
switch to partitions #0, OK
mmc0(part 0) is current device

Update of edison_ifwi-dbg-00-dfu.bin to boot0 and boot1 partitions Done

Update of u-boot-edison.bin to u-boot0 partition

fatload mmc 0:9 0x6400000 u-boot-edison.bin;
reading u-boot-edison.bin
245760 bytes read in 31 ms (7.6 MiB/s)
part find mmc 0 label:u-boot0 u_part_num;
part info mmc 0:1 u_part_start u_part_sz u_part_blksz;
Partition u-boot0 Start:0x800 Size:0x1000 BlockSize:0x200
u-boot-edison.bin size is 0x3c000 bytes and 0x1e0 block

mmc write 0x6400000 800 1e0;

MMC write: dev # 0, block # 2048, count 480 ... 480 blocks write: OK

Update of u-boot-edison.bin to u-boot0 partition Done

Update of edison-image-edison.hddimg to boot partition
fatload mmc 0:9 0x6400000 edison-image-edison.hddimg;
reading edison-image-edison.hddimg
6029312 bytes read in 149 ms (38.6 MiB/s)
part find mmc 0 label:boot u_part_num;
part info mmc 0:7 u_part_start u_part_sz u_part_blksz;
Partition boot Start:0x10000 Size:0x10000 BlockSize:0x200
edison-image-edison.hddimg size is 0x5c0000 bytes and 0x2e00 block

mmc write 0x6400000 10000 2e00;

MMC write: dev # 0, block # 65536, count 11776 ... 11776 blocks write: OK

Update of edison-image-edison.hddimg to boot partition Done

Update of edison-image-edison.ext4 to rootfs partition

fatload mmc 0:9 0x6400000 edison-image-edison.ext4;
reading edison-image-edison.ext4
536870912 bytes read in 11939 ms (42.9 MiB/s)
part find mmc 0 label:rootfs u_part_num;
part info mmc 0:8 u_part_start u_part_sz u_part_blksz;
Partition rootfs Start:0x20000 Size:0x100000 BlockSize:0x200
edison-image-edison.ext4 size is 0x20000000 bytes and 0x100000 block

mmc write 0x6400000 20000 100000;

MMC write: dev # 0, block # 131072, count 1048576 ... 1048576 blocks write: OK

Update of edison-image-edison.ext4 to rootfs partition Done

Ota Success going to reboot
Saving Environment to MMC...
Writing to redundant MMC(0)... done
Saving Environment to MMC...
Writing to MMC(0)... done
resetting ...

******************************
PSH KERNEL VERSION: b0182929
WR: 20104000
******************************

SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 10:14:01 Jan 13 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 (Jan 30 2015 - 14:15:53)

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
5348960 bytes read in 132 ms (38.6 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 Jan 30 14:16:35 CET 2015
Building boot_params at 0x00090000
Loading bzImage at address 00100000 (5333600 bytes)
Magic signature found
Kernel command line: "root=PARTUUID=012b3303-34ac-284d-99b4-34e03a2335f4 rootfstype=ext4 console=ttyMFD2 earlyprintk=ttyMFD2,keep loglevel=4 systemd.unit=ota-update.target hardware_id=00 g_multi.iSerialNumber=da3656a35eeffe3c5d0973e21496fc52"

Starting kernel ...

[ 1.681610] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk
[ 1.688728] pmic_ccsm pmic_ccsm: Battery Over heat exception
[ 1.688818] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

Welcome to Linux!

Expecting device sys-subsystem-net-devices-usb0.device...
Expecting device dev-disk-by\x2dpartlabel-update.device...
Expecting device dev-disk-by\x2dpartlabel-home.device...
[ OK ] Reached target Paths.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Reached target Swap.
[ OK ] Set up automount boot.automount.
[ OK ] Created slice Root Slice.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Created slice System Slice.
Starting Create list of required static device nodes...rrent kernel...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
Starting Journal Service...
[ OK ] Started Journal Service.
Mounting Debug File System...
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Load Kernel Modules...
Mounting POSIX Message Queue File System...
[ OK ] Reached target Slices.
Starting Remount Root and Kernel File Systems...
Starting Create Volatile Files and Directories...
Mounting Temporary Directory...
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Mounted Temporary Directory.
[ 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 Create Volatile Files and Directories.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
Starting Load/Save Random Seed...
Starting Update UTMP about System Boot/Shutdown...
Starting Create Static Device Nodes in /dev...
Starting Network Time Synchronization...
Starting Opkg first boot configure...
[ OK ] Started Network Time Synchronization.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Opkg first boot configure.
Mounting Configuration File System...
Mounting FUSE Control File System...
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
[ OK ] Mounted Configuration File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted /var/volatile.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting Restore Sound Card State...
[ OK ] Found device /dev/disk/by-partlabel/home.
[ OK ] Started Restore Sound Card State.
[ OK ] Found device /dev/disk/by-partlabel/update.
[ OK ] Reached target Sound Card.
[ OK ] Created slice system-systemd\x2drfkill.slice.
Starting Load/Save RF Kill Switch Status of rfkill1...
[ OK ] Found device /sys/subsystem/net/devices/usb0.
[ OK ] Started Load/Save RF Kill Switch Status of rfkill1.
Starting Load/Save RF Kill Switch Status of rfkill2...
Starting Load/Save RF Kill Switch Status of rfkill0...
[ OK ] Listening on sshd.socket.
[ OK ] Started Load/Save RF Kill Switch Status of rfkill2.
[ OK ] Started Load/Save RF Kill Switch Status of rfkill0.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting OTA update service...
[ OK ] Started OTA update service.
[ OK ] Reached target OTA update target.
Starting Watchdog sample daemon...
[ OK ] Started Watchdog sample daemon.
Starting Generate unique machine-id...
[ 8.423070] sh[189]: Starting OTA update (try: 0)
Starting Crashlog service...
[ OK ] Started Crashlog service.
Starting Cleanjournal service...
[ OK ] Started Cleanjournal service.
[ 8.670760] systemd-machine-id-setup[219]: Initializing machine ID from random generator.
[ 8.762509] systemctl[221]: rm '/etc/systemd/system/basic.target.wants/edison-machine-id.service'
[ OK ] Started Generate unique machine-id.
[ OK ] Created slice system-systemd\x2dfsck.slice.
Starting File System Check on /dev/disk/by-partlabel/boot...
Starting OpenSSH Key Generation...
Mounting Arbitrary Executable File Formats File System...
[ 9.819357] systemd-fsck[231]: dosfsck 2.11, 12 Mar 2005, FAT32, LFN
[ 9.872390] systemd-fsck[231]: /dev/mmcblk0p7: 5 files, 2700/2931 clusters
[ OK ] Mounted Arbitrary Executable File Formats File System.
[ OK ] Started File System Check on /dev/disk/by-partlabel/boot.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Started OpenSSH Key Generation.
[ 22.265535] sh[189]: Generating sshd keys : Success
[ 22.290726] sh[189]: Update file system table /etc/fstab : Success
[ 23.674984] sh[189]: Generating Wifi Access Point SSID and passphrase : Success
[ 23.703132] sh[189]: OTA update success
[ 23.742610] sh[189]: Rebooting....
[ 23.792403] sh[189]: No journal files were found.
Application available at (physical) address 0x04819000
VRL mapped to 0xff213000
App size = 11484 bytes

App Authentication feature is disabled!
Resetting IPC

*** Ready to receive application ***
[ 24.683861] resize2fs[288]: resize2fs 1.42.9 (28-Dec-2013)
[ 24.883765] resize2fs[288]: The filesystem is already 131072 blocks long. Nothing to do!
[ 25.400353] systemctl[322]: rm '/etc/systemd/system/default.target.wants/resize-rootfs.service'
[ 26.361741] systemd-fsck[345]: /dev/mmcblk0p10: clean, 868/152608 files, 29308/610299 blocks

Poky (Yocto Project Reference Distro) 1.6.1 edison ttyMFD2

edison login:


root@edison:~# cat /etc/version
weekly-120
root@edison:~#

コメントをどうぞ