4 Replies Latest reply on Feb 27, 2017 1:12 PM by Intel Corporation

    Getting stuck to boot Intel Edison Minibreakout through SDcard

    Ramisha93

      Hello Intel corporation

       

      I am using Intel Edison Mini breakout board. I tried to boot Intel Edison from SDcard via a card reader. I folllowed this link How to boot Edison from an SD card (Linux) .

      Capture.PNG

      In this way i have installed OS on Intel Edison

      After this process How to boot Edison from an SD card (Linux) .

      my hardware setup is like this.

      P_20170219_134440.jpg

      Below I have given my putty log while doing this process.

      Sdcard = 32Gb, class10

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

      Poky (Yocto Project Reference Distro) 1.7.3 RamishaEdison ttyMFD2

       

      RamishaEdison login: root

      Password:

      root@RamishaEdison:~# dmesg |tail -n 10

       

      [   15.191435] wl_bss_connect_done succeeded with d0:17:c2:3b:11:0c

      [   15.259183] wl_bss_connect_done succeeded with d0:17:c2:3b:11:0c

      [   16.126652] ip (374) used greatest stack depth: 5096 bytes left

      [   20.228190] snd_intel_sst: Stop for str 14 pipe 0xe

      [   20.228596] snd_intel_sst: Free for str 14 pipe 0xe

      [   20.325380] snd_intel_sst: Stop for str 1 pipe 0x90

      [   20.325975] snd_intel_sst: Free for str 1 pipe 0x90

      [   20.328622] snd_intel_sst: runtime_idle called

      [   22.327021] snd_intel_sst: runtime_suspend called

      root@RamishaEdison:~# dmesg |tail -n 100

      [    5.732422] usb usb2: Product: xHCI Host Controller

      [    5.732441] usb usb2: Manufacturer: Linux 3.10.98-poky-edison+ dwc-xhci

      [    5.732460] usb usb2: SerialNumber: dwc3-host.2

      [    5.733104] xHCI xhci_add_endpoint called for root hub

      [    5.733132] xHCI xhci_check_bandwidth called for root hub

      [    5.733408] hub 2-0:1.0: USB hub found

      [    5.733460] hub 2-0:1.0: 1 port detected

      [    5.796627] pmic_ccsm pmic_ccsm: USB VBUS Detected. Notifying OTG driver

      [    5.905394] systemd-udevd[142]: starting version 213

      [    6.049054] usb 1-1: new full-speed USB device number 2 using dwc3-host

      [    6.070304] usb 1-1: New USB device found, idVendor=05e3, idProduct=0606

      [    6.070337] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

      [    6.070359] usb 1-1: Product: USB Hub 2.0

      [    6.070378] usb 1-1: Manufacturer: ALCOR

      [    6.075685] usb 1-1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes

      [    6.117086] hub 1-1:1.0: USB hub found

      [    6.117276] hub 1-1:1.0: 4 ports detected

      [    6.286641] systemd-journald[115]: Received request to flush runtime journal from PID 1

      [    6.389005] usb 1-1.1: new full-speed USB device number 3 using dwc3-host

      [    6.410544] usb 1-1.1: New USB device found, idVendor=0d8c, idProduct=013c

      [    6.410575] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

      [    6.410596] usb 1-1.1: Product: USB PnP Sound Device

      [    6.410616] usb 1-1.1: Manufacturer: C-Media Electronics Inc.

      [    7.031713] input: C-Media Electronics Inc.       USB PnP Sound Device as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb1/1-1/1-1.1/1-1.1:1.3/input/input2

      [    7.032872] hid-generic 0003:0D8C:013C.0001: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc.       USB PnP Sound Device] on usb-dwc3-host.2-1.1/input3

      [    7.118988] usb 1-1.2: new full-speed USB device number 4 using dwc3-host

      [    7.139294] usb 1-1.2: not running at top speed; connect to a high speed hub

      [    7.140046] usb 1-1.2: New USB device found, idVendor=aaaa, idProduct=8816

      [    7.140075] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

      [    7.140097] usb 1-1.2: Product: MXT USB Device

      [    7.140115] usb 1-1.2: Manufacturer: MXTronics

      [    7.140134] usb 1-1.2: SerialNumber: 130818v01

      [    7.142525] usb-storage 1-1.2:1.0: USB Mass Storage device detected

      [    7.153012] scsi0 : usb-storage 1-1.2:1.0

      [    7.568992] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: discard,barrier=1,data=ordered,noauto_da_alloc

      [    8.149610] scsi 0:0:0:0: Direct-Access     MXT-USB  Storage Device   1308 PQ: 0 ANSI: 0 CCS

      [    8.151424] sd 0:0:0:0: Attached scsi generic sg0 type 0

      [    8.153802] sd 0:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/28.9 GiB)

      [    8.154251] sd 0:0:0:0: [sda] Write Protect is off

      [    8.154280] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00

      [    8.154697] sd 0:0:0:0: [sda] No Caching mode page found

      [    8.154767] sd 0:0:0:0: [sda] Assuming drive cache: write through

      [    8.158206] sd 0:0:0:0: [sda] No Caching mode page found

      [    8.158277] sd 0:0:0:0: [sda] Assuming drive cache: write through

      [    8.163718]  sda: sda1

      [    8.166645] sd 0:0:0:0: [sda] No Caching mode page found

      [    8.166718] sd 0:0:0:0: [sda] Assuming drive cache: write through

      [    8.166787] sd 0:0:0:0: [sda] Attached SCSI removable disk

      [    9.228604] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

      [    9.278718]

      Dongle Host Driver, version 1.141.59 (r)

      Compiled in /export/users/neck/iotdk_3.5_dev/workdir/build_edison/tmp/work/edison-poky-linux/bcm43340-mod/1.141-r47/git on Jun  6 2016 at 14:51:27

      [    9.278754] wl_android_wifi_on in

      [    9.278772] wifi_platform_set_power = 1

      [    9.964159] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0

      [    9.965776] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      [    9.968100] dhdsdio_download_firmware: firmware path=/etc/firmware/fw_bcmdhd.bin, nvram path=/etc/firmware/bcmdhd.cal

      [   10.160975] sdioh_request_buffer: [1] doing memory copy buf=f4dca000, len=18

      [   10.165448] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      [   10.325531] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

      [   10.331191] wifi_platform_get_mac_addr

      [   10.331234] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt

      [   10.334999] Firmware up: op_mode=0x0015, MAC=78:4b:87:a7:7e:d3

      [   10.352590] Firmware version = wl0: Jan 30 2015 19:22:32 version 6.20.190.3 (r530911) FWID 01-5b07cccc

      [   10.353528] dhd_preinit_ioctls wl ampdu_hostreorder failed -23

      [   10.449909] CFG80211-ERROR) wl_update_wiphybands : bw_cap failed, -23

      [   10.653820] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered

      [   10.675674] WLC_E_IF: NO_IF set, event Ignored

      [   10.885963] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: discard,barrier=1,data=ordered,noauto_da_alloc

      [   13.988119] snd_intel_sst: runtime_resume called

      [   14.038615] snd_intel_sst: FW Version 01.09.00.02

      [   14.038640] snd_intel_sst: Build date Jan 14 2014 Time 20:08:46

      [   14.038753] snd_intel_sst: Alloc for str 14 pipe 0xe

      [   14.282707] snd_intel_sst: Free for str 14 pipe 0xe

      [   14.284274] snd_intel_sst: runtime_idle called

      [   14.290475] snd_intel_sst: Alloc for str 14 pipe 0xe

      [   14.355182] snd_intel_sst: Free for str 14 pipe 0xe

      [   14.356597] snd_intel_sst: runtime_idle called

      [   14.376565] snd_intel_sst: Alloc for str 1 pipe 0x90

      [   14.458885] snd_intel_sst: Alloc for str 14 pipe 0xe

      [   14.464593] snd_intel_sst: Free for str 14 pipe 0xe

      [   14.472255] snd_intel_sst: Alloc for str 14 pipe 0xe

      [   14.478953] snd_intel_sst: Free for str 14 pipe 0xe

      [   14.481861] snd_intel_sst: Free for str 1 pipe 0x90

      [   14.484750] snd_intel_sst: runtime_idle called

      [   14.516419] snd_intel_sst: Alloc for str 1 pipe 0x90

      [   14.582475] snd_intel_sst: Start for str 1 pipe 0x90

      [   14.588352] snd_intel_sst: Alloc for str 14 pipe 0xe

      [   14.651089] snd_intel_sst: Start for str 14 pipe 0xe

      [   15.141641] CFG80211-ERROR) wl_cfg80211_connect : Connectting withd0:17:c2:3b:11:0c channel (1) ssid "My ASUS", len (7)

       

      [   15.191435] wl_bss_connect_done succeeded with d0:17:c2:3b:11:0c

      [   15.259183] wl_bss_connect_done succeeded with d0:17:c2:3b:11:0c

      [   16.126652] ip (374) used greatest stack depth: 5096 bytes left

      [   20.228190] snd_intel_sst: Stop for str 14 pipe 0xe

      [   20.228596] snd_intel_sst: Free for str 14 pipe 0xe

      [   20.325380] snd_intel_sst: Stop for str 1 pipe 0x90

      [   20.325975] snd_intel_sst: Free for str 1 pipe 0x90

      [   20.328622] snd_intel_sst: runtime_idle called

      [   22.327021] snd_intel_sst: runtime_suspend called

      root@RamishaEdison:~# fw_setenv mmc-bootargs 'setenv bootargs root=${myrootfs} rootdelay=3 rootfstype=ext4 ${bootargs_console} ${bootargs_debug} systemd.unit=${bootargs_target}.target hardware_id=${hardware_id} g_multi.iSerialNumber=${serial#} g_multi.dev_addr=${usb0addr}'

      root@RamishaEdison:~# fw_setenv myrootfs_sdcard '/dev/sda1'

      root@RamishaEdison:~# fw_printenv uuid_rootfs

      uuid_rootfs=012b3303-34ac-284d-99b4-34e03a2335f4

      root@RamishaEdison:~# fw_setenv myrootfs_emmc 'PARTUUID=012b3303-34ac-284d-99b4-34e03a2335f4'

      root@RamishaEdison:~# fw_setenv myrootfs '/dev/sda1'

      root@RamishaEdison:~# fw_setenv do_boot_emmc 'setenv myrootfs ${myrootfs_emmc}; run do_boot'

      root@RamishaEdison:~# fw_setenv do_boot_sdcard 'setenv myrootfs ${myrootfs_sdcard}; run do_boot'

      root@RamishaEdison:~# sudo reboot

               Unmounting /home...

      [  OK  ] Stopped target Sound Card.

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

               Stopping User Manager for UID 0...

               Stopping Daemon to receive the wpa_supplicant event...

               Stopping Hostname Service...

               Stopping Bluetooth service...

               Stopping Daemon to receive the wpa_supplicant event...

               Stopping Redis Server...

               Stopping Watchdog sample daemon...

               Starting Store Sound Card State...

      [  OK  ] Stopped Watchdog sample daemon.

      [  OK  ] Stopped Bluetooth service.

      [  OK  ] Stopped Serial Getty on ttyMFD2.

      [  OK  ] Stopped Hostname Service.

      [  OK  ] Stopped The Edison status and configuration service.

      [  OK  ] Stopped User Manager for UID 0.

      [  OK  ] Unmounted /home.

      [  OK  ] Stopped Redis Server.

      [  OK  ] Removed slice user-0.slice.

      [  OK  ] Stopped target Multi-User System.

               Stopping Edison PWR button handler...

               Unmounting Mount for factory...

               Stopping WPA supplicant service...

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

               Stopping Intel_XDK_Daemon...

               Stopping Network Name Resolution...

               Stopping PulseAudio Sound System...

               Stopping Telephony service...

               Stopping OpenSSH Key Generation...

      [  OK  ] Stopped OpenSSH Key Generation.

               Stopping Bluetooth rf kill event daemon...

               Stopping Daemon to handle arduino sketches...

               Stopping Login Service...

               Stopping D-Bus System Message Bus...

      [  OK  ] Stopped target Login Prompts.

               Stopping Getty on tty1...

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

      [  OK  ] Stopped Edison PWR button handler.

      [  OK  ] Stopped Telephony service.

      [  OK  ] Stopped Bluetooth rf kill event daemon.

      [  OK  ] Stopped Daemon to handle arduino sketches.

      [  OK  ] Stopped Login Service.

      [  OK  ] Stopped D-Bus System Message Bus.

      [  OK  ] Stopped Getty on tty1.

      [  OK  ] Stopped Network Name Resolution.

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

      [  OK  ] Stopped PulseAudio Sound System.

      [  OK  ] Stopped Daemon to receive the wpa_supplicant event.

      [  OK  ] Stopped Intel_XDK_Daemon.

      [  OK  ] Stopped Daemon to receive the wpa_supplicant event.

      [  OK  ] Started Store Sound Card State.

      [  OK  ] Unmounted Mount for factory.

      [  OK  ] Stopped Daemon to receive the wpa_supplicant event.

               Stopping Zero-configuration networking...

      [  OK  ] Removed slice system-getty.slice.

               Stopping Permit User Sessions...

      [  OK  ] Stopped Zero-configuration networking.

      [  OK  ] Stopped Permit User Sessions.

      [  OK  ] Stopped Daemon to receive the wpa_supplicant event.

      [  OK  ] Stopped target Remote File Systems.

      [  OK  ] Stopped target Network.

      [  OK  ] Stopped WPA supplicant service.

      [  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 RPCbind Server Activation Socket.

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

      [  OK  ] Stopped target System Initialization.

               Starting Console System Reboot Logging...

               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 Update UTMP about System Boot/Shutdown...

               Stopping Load Kernel Modules...

      [  OK  ] Stopped Load Kernel Modules.

               Stopping Apply Kernel Variables...

      [  OK  ] Stopped Apply Kernel Variables.

               Stopping Load/Save Random Seed...

      [  OK  ] Stopped target Swap.

      [  OK  ] Stopped Network Time Synchronization.

      [  OK  ] Started Console System Reboot Logging.

      [  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 /media/storage...

               Unmounting /run/user/0...

      [  OK  ] Unset automount home.automount.

      [  OK  ] Unset automount boot.automount.

               Unmounting /var/volatile...

               Unmounting Temporary Directory...

      [  OK  ] Unmounted /media/storage.

      [  OK  ] Unmounted /run/user/0.

      [  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: 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 06 2016 - 14:40:07)

       

             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

      5461344 bytes read in 134 ms (38.9 MiB/s)

      Valid Boot Flag

      Setup Size = 0x00003c00

      Magic signature found

      Using boot protocol version 2.0c

      Linux kernel version 3.10.98-poky-edison+ (neck@flax) #1 SMP PREEMPT Mon Jun 6 14:32:08 PDT 2016

      Building boot_params at 0x00090000

      Loading bzImage at address 00100000 (5445984 bytes)

      Magic signature found

      Kernel command line: "root=/dev/sda1 rootdelay=3 rootfstype=ext4 console=ttyMFD2 earlyprintk=ttyMFD2,keep loglevel=4 systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=92108b44bebfbfbba2838a5cbc248b58 g_multi.dev_addr=02:00:86:24:8b:58"

       

      Starting kernel ...

       

      [    0.745692] pca953x 1-0020: failed reading register

      [    0.750759] pca953x 1-0021: failed reading register

      [    0.755777] pca953x 1-0022: failed reading register

      [    0.760794] pca953x 1-0023: failed reading register

      [    1.607413] snd_soc_sst_platform: Enter:sst_soc_probe

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

      [    2.090507] pmic_ccsm pmic_ccsm: Battery Over heat exception

      [    2.090592] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

      [    2.101258] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

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

       

      Here I am stuck.

      I want more memory space. what should I do. I have tried many times.

      What is the mistake I have done here.

      Please let me know.