1 Reply Latest reply on Nov 22, 2014 8:15 PM by deium

    Problems with flashing and yocto linux

    MrMB

      Hi everyone,

       

      I have a few problems with my Edison Yocto build.

      I’ve tried to flash the latest image on my Edison, but I am not sure, if it was successful. The Linux system shows me a few exceptions and I don’t know what they mean.

      Could you please help me to resolve these exceptions.?

       

      The second question I have is regarding the version number. It shows me, that I have the latest version (16) installed and I have seen, that some people already have a later version 68.

      What went wrong with my Edison?
      How can I fix these issues?

       

      Best regards and thanks for your help

       

       

       

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

      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...

      Flashing already done...

      GADGET DRIVER: usb_dnl_dfu

      reading vmlinuz

      5127648 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 Tue Oct 14 15:19:49 CEST 2014

      Building boot_params at 0x00090000

      Loading bzImage at address 00100000 (5112288 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=c693acf49ec2f1eff871d657994172a7"

       

       

      Starting kernel ...

       

       

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

      [    1.675275] pmic_ccsm pmic_ccsm: Battery Over heat exception

       

       

      Welcome to Linux!

       

       

              Expecting device dev-ttyMFD2.device...

              Expecting device sys-subsystem-net-devices-wlan0.device...

      [  OK  ] Reached target Remote File Systems.

              Expecting device dev-mmcblk1p1.device...

              Expecting device dev-disk-by\x2dpartlabel-factory.device...

              Expecting device sys-subsystem-net-devices-usb0.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  ] Created slice User and Session Slice.

      [  OK  ] Listening on Delayed Shutdown Socket.

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

      [  OK  ] Listening on Syslog Socket.

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

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

      [  OK  ] Created slice system-getty.slice.

              Starting udev Coldplug all Devices...

              Starting Apply Kernel Variables...

              Mounting POSIX Message Queue File System...

              Mounting Debug File System...

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

              Starting Load Kernel Modules...

              Starting Journal Service...

      [  OK  ] Started Journal Service.

      [  OK  ] Reached target Slices.

              Starting Remount Root and Kernel File Systems...

      [  OK  ] Set up automount home.automount.

      [  OK  ] Mounted Debug File System.

      [  OK  ] Mounted POSIX Message Queue File System.

      [  OK  ] Mounted Temporary Directory.

      [  OK  ] Started Apply Kernel Variables.

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

      [  OK  ] Started Remount Root and Kernel File Systems.

      [  OK  ] Started udev Coldplug all Devices.

      [  OK  ] Started Load Kernel Modules.

              Mounting Configuration File System...

              Mounting FUSE Control File System...

              Starting Load/Save Random Seed...

              Starting Create Static Device Nodes in /dev...

      [  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  ] Mounted /var/volatile.

      [  OK  ] Started udev Kernel Device Manager.

      [  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  ] Found device /dev/ttyMFD2.

      [  OK  ] Started Trigger Flushing of Journal to Persistent Storage.

      [  OK  ] Found device /dev/disk/by-partlabel/factory.

              Mounting Mount for factory...

              Starting Network Time Synchronization...

              Starting Update UTMP about System Boot/Shutdown...

      [  OK  ] Mounted Mount for factory.

      [  OK  ] Started Network Time Synchronization.

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

      [  OK  ] Reached target System Initialization.

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

      [  OK  ] Reached target Timers.

      [  OK  ] Found device /sys/subsystem/net/devices/wlan0.

      [  OK  ] Found device /sys/subsystem/net/devices/usb0.

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

      [  OK  ] Reached target Sound Card.

      [  OK  ] Listening on sshd.socket.

      [  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  ] Reached target Sockets.

      [  OK  ] Reached target Basic System.

              Starting Edison PWR button handler...

      [  OK  ] Started Edison PWR button handler.

              Starting Disable the Runtime power management of SPI...

              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 WPA supplicant service...

              Starting Login Service...

              Starting D-Bus System Message Bus...

      [  OK  ] Started D-Bus System Message Bus.

              Starting Network Service...

              Starting Kernel Logging Service...

      [  OK  ] Started Kernel Logging Service.

              Starting System Logging Service...

      [  OK  ] Started System Logging Service.

              Starting Crashlog service...

      [  OK  ] Started Crashlog service.

              Starting USB Ethernet gadget...

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

              Starting Watchdog sample daemon...

      [  OK  ] Started Watchdog sample daemon.

              Starting Permit User Sessions...

      [  OK  ] Started Disable the Runtime power management of SPI.

      [  OK  ] Started Permit User Sessions.

              Starting Daemon to receive the wpa_supplicant event...

      [  OK  ] Started Daemon to receive the wpa_supplicant event.

              Starting Serial Getty on ttyMFD2...

      [  OK  ] Started Serial Getty on ttyMFD2.

              Starting Getty on tty1...

      [  OK  ] Started Getty on tty1.

      [  OK  ] Reached target Login Prompts.

      [  OK  ] Started Network Service.

      [  OK  ] Started WPA supplicant service.

      [  OK  ] Started USB Ethernet gadget.

      [  OK  ] Started Login Service.

      [  OK  ] Reached target Network.

              Starting Intel_XDK_Daemon...

      [  OK  ] Started Intel_XDK_Daemon.

              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 The Edison status and configuration service...

      [  OK  ] Started The Edison status and configuration service.

              Starting Network Name Resolution...

      [  OK  ] Started Network Name Resolution.

              Stopping Daemon to receive the wpa_supplicant event...

      [  OK  ] Stopped Daemon to receive the wpa_supplicant event.

              Starting Daemon to receive the wpa_supplicant event...

      [  OK  ] Started Daemon to receive the wpa_supplicant event.

       

       

      Poky (Yocto Project Reference Distro) 1.6 edison ttyMFD2

       

       

      edison login: root

      [  20.319559] systemd-fsck[253]: /dev/mmcblk0p10: recovering journal

      [  20.361483] systemd-fsck[253]: /dev/mmcblk0p10: clean, 15/152608 files, 26870/610299 blocks

      root@edison:~# configure_edison --version

      16

      root@edison:~# configure_edison --latest-version

      16

      root@edison:~#

        • 1. Re: Problems with flashing and yocto linux
          deium

          MrMB

          > [    1.666742] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

          > [    1.675275] pmic_ccsm pmic_ccsm: Battery Over heat exception

          The first didn't detect the battery, the second got a bizzare recharging tempature (no battery/thermo connected)

          This is normal when not using a lipo battery on J2, I get these when powered by USB on J16

          [  20.319559] systemd-fsck[253]: /dev/mmcblk0p10: recovering journal

          [  20.361483] systemd-fsck[253]: /dev/mmcblk0p10: clean, 15/152608 files, 26870/610299 blocks

          The first, Linux found data in the journaling system not yet committed and so recovering

          The second is where the journal has been recovered and the block device is now clean (completed)

          This is common in Linux ensuring data slated to have been written is finally committed to disk

           

          Version 16 is the latest.  There was a version numbering change from 56 to 68 to 16.

           

          Looks good.