3 Replies Latest reply on Nov 4, 2014 6:31 AM by DiegoV_Intel

    Cannot flash latest version of Yocto complete image

    DylanG

      I am trying to flash the latest image (Rel-1-Maint-WW42), but it doesn't appear to work. I have followed the instructions outlined here: Flashing Edison (wired) - Mac


      I can made sure to remove all of the previous data after mounting the Edison drive, as well as the hidden directories, and was left with only references to current and previous directories.


      It does appear that flashing the drive fails, according to this output, but I am not sure why. There also appear to be some errors when bootstrapping the kernel. If anyone can help, it would be greatly appreciated.


      root@dylangleason:~# reboot ota

               Unmounting /factory...

               Unmounting /home...

      [  OK  ] Stopped target Sound Card.

      [  OK  ] Removed slice system-systemd\x2dfsck.slice.

               Stopping Watchdog sample daemon...

      [  OK  ] Stopped target Multi-User System.

               Stopping Edison RM button handler...

               Stopping Kernel Logging Service...

               Stopping Bluetooth rf kill event daemon...

               Stopping Daemon to handle arduino sketches...

               Stopping Mosquitto - lightweight server implementati...SN protocols...

               Stopping Zero-configuration networking...

               Stopping System Logging Service...

               Stopping Intel_XDK_Daemon...

               Stopping Network Name Resolution...

      [  OK  ] Stopped target Login Prompts.

           [  533.785665] recv IRQ when we are not startup yet

               Stopping Login Service...

               Stopping D-Bus System Message Bus...

      [  OK  ] Stopped Watchdog sample daemon.

      [  OK  ] Stopped Edison RM button handler.

      [  OK  ] Stopped Kernel Logging Service.

      [  OK  ] Stopped Bluetooth rf kill event daemon.

      [  OK  ] Stopped Daemon to handle arduino sketches.

      [  OK  ] Stopped System Logging Service.

      [  OK  ] Stopped Login Service.

      [  OK  ] Stopped D-Bus System Message Bus.

      [  OK  ] Stopped Mosquitto - lightweight server implementatio...T-SN protocols.

      [  OK  ] Stopped Zero-configuration networking.

      [  OK  ] Stopped Intel_XDK_Daemon.

      [  OK  ] Stopped Network Name Resolution.

      [  OK  ] Stopped Getty on tty1.

      [  OK  ] Stopped Serial Getty on ttyMFD2.

      [  OK  ] Unmounted /factory.

      [  OK  ] Failed unmounting /home.

      [  OK  ] Removed slice system-serial\x2dgetty.slice.

      [  OK  ] Removed slice system-getty.slice.

               Stopping Permit User Sessions...

      [  OK  ] Stopped target Network.

      [  OK  ] Stopped Permit User Sessions.

      [  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 Syslog Socket.

      [  OK  ] Closed D-Bus System Message Bus Socket.

      [  OK  ] Stopped target System Initialization.

               Stopping Load/Save RF Kill Switch Status of rfkill2...

               Stopping Load/Save RF Kill Switch Status of rfkill1...

               Stopping Load/Save RF Kill Switch Status of rfkill0...

               Stopping Network Time Synchronization...

               Stopping Load Kernel Modules...

      [  OK  ] Stopped Load Kernel Modules.

               Stopping Update UTMP about System Boot/Shutdown...

               Stopping Load/Save Random Seed...

               Stopping Apply Kernel Variables...

      [  OK  ] Stopped Apply Kernel Variables.

      [  OK  ] Stopped target Swap.

      [  OK  ] Stopped target Remote File Systems.

      [  OK  ] Stopped Network Time Synchronization.

      [  OK  ] Stopped Load/Save RF Kill Switch Status of rfkill2.

      [  OK  ] Stopped Load/Save RF Kill Switch Status of rfkill1.

      [  OK  ] Stopped Load/Save RF Kill Switch Status of rfkill0.

      [  OK  ] Stopped Update UTMP about System Boot/Shutdown.

      [  OK  ] Stopped Load/Save Random Seed.

      [  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 factory.automount.

      [  OK  ] Unset automount home.automount.

      [  OK  ] Unset automount boot.automount.

               Unmounting /var/volatile...

               Unmounting Temporary Directory...

      [  OK  ] Unmounted /etc/machine-id.

      [  OK  ] Failed unmounting /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 (Aug 20 2014 - 16:08:32)

       

       

             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 14 ms (1 MiB/s)

      ## Executing script at 00100000

      === OTA update script ===

      Ota previously failed retry

      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 ==> 7238ee6962289f24c6b8328a017264bf30607f82

      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 33 ms (7.1 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 ==> ccf73381d6bc33d59d25bd01a46a789528fd2117

       

       

      Validating edison-image-edison.hddimg hash for boot partition

      fatload mmc 0:9 0x6400000 edison-image-edison.hddimg;

      reading edison-image-edison.hddimg

      ** Unable to read file edison-image-edison.hddimg **

      Saving Environment to MMC...

      Writing to MMC(0)... done

      resetting ...

       

       

       

       

      ******************************

      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 (Aug 20 2014 - 16:08:32)

       

       

             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

      5124192 bytes read in 127 ms (38.5 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@ncsndgbuild04) #1 SMP PREEMPT Wed Aug 20 16:09:18 CEST 2014

      Building boot_params at 0x00090000

      Loading bzImage at address 00100000 (5108832 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=multi-user.target hardware_id=00 g_multi.iSerialNumber=fafe110bc7f7e673ee0c453216ebeb3d"

       

       

      Starting kernel ...

       

       

      [    0.768648] pca953x 1-0020: failed reading register

      [    0.773903] pca953x 1-0021: failed reading register

      [    0.774295] pca953x 1-0022: failed reading register

      [    0.783817] pca953x 1-0023: failed reading register

      [    1.637831] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

      [    1.647648] pmic_ccsm pmic_ccsm: Battery Over heat exception

      [    1.657719] pmic_ccsm pmic_ccsm: Battery0 temperature outside boundary

       

       

      Welcome to Linux!

       

       

      [  OK  ] Reached target Remote File Systems.

               Expecting device dev-ttyMFD2.device...

               Expecting device dev-mmcblk1p1.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  ] Set up automount home.automount.

      [  OK  ] Created slice Root Slice.

      [  OK  ] Listening on Delayed Shutdown Socket.

      [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.

      [  OK  ] Listening on Syslog Socket.

      [  OK  ] Listening on udev Kernel Socket.

      [  OK  ] Listening on udev Control Socket.

      [  OK  ] Created slice User and Session Slice.

      [  OK  ] Listening on Journal Socket.

      [  OK  ] Created slice System Slice.

               Starting Remount Root and Kernel File Systems...

               Starting Load Kernel Modules...

               Starting udev Coldplug all Devices...

               Starting Create list of required static device nodes...rrent kernel...

               Mounting Debug File System...

               Starting Apply Kernel Variables...

               Mounting POSIX Message Queue File System...

      [  OK  ] Created slice system-getty.slice.

      [  OK  ] Created slice system-serial\x2dgetty.slice.

               Starting Journal Service...

      [  OK  ] Started Journal Service.

      [  OK  ] Reached target Slices.

               Mounting Temporary Directory...

      [  OK  ] Set up automount factory.automount.

      [  OK  ] Mounted POSIX Message Queue File System.

      [  OK  ] Mounted Debug File System.

      [  OK  ] Mounted Temporary Directory.

      [  OK  ] Started Remount Root and Kernel File Systems.

      [  OK  ] Started Create list of required static device nodes ...current kernel.

      [  OK  ] Started Apply Kernel Variables.

      [  OK  ] Started Load Kernel Modules.

      [  OK  ] Started udev Coldplug all Devices.

               Mounting FUSE Control File System...

               Mounting Configuration File System...

               Starting Create Static Device Nodes in /dev...

               Starting Load/Save Random Seed...

      [  OK  ] Mounted Configuration File System.

      [  OK  ] Mounted FUSE Control File System.

      [  OK  ] Started Create Static Device Nodes in /dev.

      [  OK  ] Started Load/Save Random Seed.

               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  ] Created slice system-systemd\x2drfkill.slice.

               Starting Load/Save RF Kill Switch Status of rfkill0...

               Starting Load/Save RF Kill Switch Status of rfkill1...

               Starting Load/Save RF Kill Switch Status of rfkill2...

               Starting Network Time Synchronization...

               Starting Update UTMP about System Boot/Shutdown...

      [  OK  ] Started Load/Save RF Kill Switch Status of rfkill0.

      [  OK  ] Started Load/Save RF Kill Switch Status of rfkill1.

      [  OK  ] Started Load/Save RF Kill Switch Status of rfkill2.

      [  OK  ] Started Network Time Synchronization.

      [  OK  ] Found device /dev/ttyMFD2.

      [  OK  ] Started Update UTMP about System Boot/Shutdown.

      [  OK  ] Reached target System Initialization.

      [  OK  ] Reached target Timers.

      [  OK  ] Listening on D-Bus System Message Bus Socket.

      [  OK  ] Listening on sshd.socket.

      [  OK  ] Reached target Sound Card.

      [  OK  ] Reached target Sockets.

      [  OK  ] Reached target Basic System.

               Starting Watchdog sample daemon...

      [  OK  ] Started Watchdog sample daemon.

               Starting USB Ethernet gadget...

      [    7.128605] dwc3-device dwc3-device.1: dwc3-gadget is already bound to g_multi

               Starting Crashlog service...

      [  OK  ] Started Crashlog service.

               Starting Edison RM button handler...

      [  OK  ] Started Edison RM button handler.

               Starting Kernel Logging Service...

      [  OK  ] Started Kernel Logging Service.

               Starting Bluetooth rf kill event daemon...

      [  OK  ] Started Bluetooth rf kill event daemon.

               Starting Daemon to handle arduino sketches...

      [  OK  ] Started Daemon to handle arduino sketches.

               Starting Daemon to reset sketches...

      [  OK  ] Started Daemon to reset sketches.

               Starting System Logging Service...

      [  OK  ] Started System Logging Service.

               Starting Login Service...

               Starting Permit User Sessions...

               Starting D-Bus System Message Bus...

      [  OK  ] Started D-Bus System Message Bus.

               Starting Network Service...

      [  OK  ] Started Permit User Sessions.

      [  OK  ] Started USB Ethernet gadget.

      [  OK  ] Started Network Service.

      [  OK  ] Reached target Network.

               Starting Mosquitto - lightweight server implementati...SN protocols...

      [  OK  ] Started Mosquitto - lightweight server implementatio...T-SN protocols.

               Starting Zero-configuration networking...

      [  OK  ] Started Zero-configuration networking.

               Starting Intel_XDK_Daemon...

      [  OK  ] Started Intel_XDK_Daemon.

               Starting Network Name Resolution...

      [  OK  ] Created slice system-systemd\x2dfsck.slice.

               Starting File System Check on /dev/disk/by-partlabel/factory...

               Starting Getty on tty1...

      [  OK  ] Started Getty on tty1.

               Starting Serial Getty on ttyMFD2...

      [  OK  ] Started Serial Getty on ttyMFD2.

      [  OK  ] Reached target Login Prompts.

               Starting HSU runtime pm service...

      [  OK  ] Started Network Name Resolution.

      [  OK  ] Started File System Check on /dev/disk/by-partlabel/factory.

      [  OK  ] Started HSU runtime pm service.

      [  OK  ] Started Login Service.

               Mounting /factory...

      [  OK  ] Mounted /factory.

      [    9.491329] systemd-fsck[211]: /dev/mmcblk0p5: clean, 13/128 files, 40/1024 blocks

       

       

      Poky (Yocto Project Reference Distro) 1.6 dylangleason ttyMFD2

       

       

      dylangleason login: