2 Replies Latest reply on May 25, 2015 10:52 PM by Nilesh.kadivar

    Intel galileo gen2 board Windriver build process

    Nilesh.kadivar

      Hi

       

      I have Intel galileo gen2 board and i created windriver project environment for intel Quark using  workbench. Now i want to deploy this windriver image (bootloader, kernel, filesystem) in gen2 board using SD card.

      My grub.conf file as below.

      ---------------------------------------------------------------

      default 0

      timeout 5

       

      title Intel Galileo-(SD boot + rootfs)

          root (hd0,0)

          kernel /bzImage root=/dev/mmcblk0p1 console=ttyS1,115200n8 reboot=efi,warm rw rootimage=/wrlinux-image-glibc-std-intel-quark-20150508055221.rootfs.ext3 /core-image-minimal-initramfs-intel-quark.cpio.gz

      ----------------------------------------------------------------

       

      See below kernel log for errors as highlited.

       

       

       

      Initializing USB Mass Storage driver...

      usbcore: registered new interface driver usb-storage

      USB Mass Storage support registered.

      usbcore: registered new interface driver usbserial

      usbcore: registered new interface driver usbserial_generic

      USB Serial support registered for generic

      usbserial: USB Serial Driver core

      rtc_cmos 00:02: RTC can wake from S4

      rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0

      rtc0: alarms up to one day, 242 bytes nvram, hpet irqs

      md: linear personality registered for level -1

      md: raid0 personality registered for level 0

      md: raid1 personality registered for level 1

      md: raid10 personality registered for level 10

      md: multipath personality registered for level -4

      md: faulty personality registered for level -5

      device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com

      cpuidle: using governor ladder

      cpuidle: using governor menu

      sdhci: Secure Digital Host Controller Interface driver

      sdhci: Copyright(c) Pierre Ossman

      sdhci-pci 0000:00:14.0: SDHCI controller found [8086:08a7] (rev 10)

      mmc0: SDHCI controller on PCI [0000:00:14.0] using ADMA

      sdhci-pltfm: SDHCI platform and OF driver helper

      eSRAM: CTRL 0x047f3f91 block 0x00000000

      eSRAM: pages 128

      intel_qrk_esram_test_probe/May  7 2015/12:20:25 complete OK !!

      TCP: cubic registered

      Registering the dns_resolver key type

      Using IPI Shortcut mode

        Magic number: 1:0:0

      rtc_cmos 00:02: setting system clock to 2001-01-01 00:00:22 UTC (978307222)

      mmc0: new high speed SDHC card at address 0001

      md: Waiting for all devices to be available before autodetect

      md: If you don't use raid, use raid=noautodetect

      mmcblk0: mmc0:0001 00000 14.6 GiB

      md: Autodetecting RAID arrays.

      md: Scanned 0 and added 0 devices.

      md: autorun ...

      md: ... autorun DONE.

      mmcblk0: p1

      VFS: Mounted root (vfat filesystem) on device 179:1.

      devtmpfs: error mounting -2

      Freeing unused kernel memory: 320k freed

      Write protecting the kernel text: 3920k

      Write protecting the kernel read-only data: 1492k

      NX-protecting the kernel data: 2224k

      Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

      Pid: 1, comm: swapper Not tainted 3.4.88-WR5.0.1.17_standard #1

      Call Trace:

      [<c13caae5>] ? printk+0x18/0x1a

      [<c13ca9dd>] panic+0x82/0x172

      [<c13c9688>] init_post+0x99/0x99

      [<c1594900>] kernel_init+0x1d5/0x1d5

      [<c159421b>] ? do_early_param+0x74/0x74

      [<c159472b>] ? start_kernel+0x2fc/0x2fc

      [<c13d2746>] kernel_thread_helper+0x6/0xd

       

      Please give me some solution for that.

       

      Thanks in advance.

       

      Regards,

      Nilesh