Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
Please don't drop the list. I would agree that something is wrong with the grub kernel command line. There is more than just the root= being ignored. I see that the there are kernel messages, despite quiet being on the list. It also lists the mmc devices, but no USB devices, this suggests to me that rootwait is also being ignored. I'm fairly confident you have a problem with your grub.conf file. Did you modify it manually after mkefidisk.sh created the image? I'm wondering if there is a bogus character, bad character set, wrong cr/nl type, something along those lines. Does the gummiboot solution print to the serial console? If so, and I suspect it does, the crash with GRUB is due to rootwait not being passed to the kernel, and all the other parameters as well - but that's the error you hit first. -- Darren Hart Intel Open Source Technology Center From: Yong Li sdliy...@gmail.com Date: Thursday, April 2, 2015 at 10:28 PM To: Darren Hart dvh...@linux.intel.com Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? Thanks Darren for your patience. During the boot process, I cannot use the dmesg or other commands to capture the boot messages. The UART console does not print any message. Since I can boot the device after replaced the grub(with gummiboot), I am thinking the kernel should be okay, this issue is related to the grub(cannot support NUC?). Regarding the boot image, it is the core-image-minimal, I modified the BIOS to set the boot mode as Linux(the default is WIndows 8), then use the USB disk to boot the device. Attached is the screen capture of the kernel panic. I do not know how to capture all these boot messages. 2015-04-03 0:11 GMT+08:00 Darren Hart dvh...@linux.intel.com: From: Yong Li sdliy...@gmail.com Date: Thursday, April 2, 2015 at 6:46 AM To: Darren Hart dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? 2015-04-02 5:16 GMT+08:00 Darren Hart dvh...@linux.intel.com: ge are you building? I am using the intel-corei7-64. That is the machine/bsp, not the image. Which bitbake image (target) did you build? Core-image-minimal? Core-image-sato? Something else? The kernel repots panic on the last step cannot open root device (null), since the kernel commad is incorrect. This is the most common Linux boot error people run into. Prior to that some information is displayed about which devices the kernel did find, and which one it was trying to open. I've asked for full details and logs about four times. If you would provide *all* the information instead of me fishing for it, we would arrive at a solution much more quickly. [1], but specifically [2] The first few lines of boot will display the kernel command line it is using. The last few lines up to the panic will list which block devices the kernel did find. 1. http://www.catb.org/esr/faqs/smart-questions.html 2. http://www.catb.org/esr/faqs/smart-questions.html#beprecise -- Darren -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
2015-04-02 5:16 GMT+08:00 Darren Hart dvh...@linux.intel.com: ge are you building? I am using the intel-corei7-64. The kernel repots panic on the last step cannot open root device (null), since the kernel commad is incorrect. if you perform a test on the NUC DE3815, maybe you can reproduce this issue(use the mkefidisk.sh) -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
From: Yong Li sdliy...@gmail.com Date: Thursday, April 2, 2015 at 6:46 AM To: Darren Hart dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? 2015-04-02 5:16 GMT+08:00 Darren Hart dvh...@linux.intel.com: ge are you building? I am using the intel-corei7-64. That is the machine/bsp, not the image. Which bitbake image (target) did you build? Core-image-minimal? Core-image-sato? Something else? The kernel repots panic on the last step cannot open root device (null), since the kernel commad is incorrect. This is the most common Linux boot error people run into. Prior to that some information is displayed about which devices the kernel did find, and which one it was trying to open. I've asked for full details and logs about four times. If you would provide *all* the information instead of me fishing for it, we would arrive at a solution much more quickly. [1], but specifically [2] The first few lines of boot will display the kernel command line it is using. The last few lines up to the panic will list which block devices the kernel did find. 1. http://www.catb.org/esr/faqs/smart-questions.html 2. http://www.catb.org/esr/faqs/smart-questions.html#beprecise -- Darren -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
Which image are you building? What happens when you boot? (please provide an exact error message or complete dmesg) On 3/31/15 7:29 PM, Yong Li wrote: Thanks Darren! Below is the grub.cfg: # Automatically created by OE serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 default=boot timeout=10 menuentry 'boot'{ linux /vmlinuz root=/dev/sda2 ro rootwait quietconsole=ttyS0,115200 console=tty0 } I use this command to create the USB disk: scripts/contrib/mkefidisk.sh -v /dev/sdc os.hddimg /dev/sda By the way, I found the ISO image is okay(dd the ISO to usb disk), in the ISO, there is initrd in the grub.cfg file, so I think the root cause is the grub cannot boot without initrd. Did you test the hddimg + mkefidisk.sh ? 2015-04-01 0:18 GMT+08:00 Darren Hart dvh...@linux.intel.com mailto:dvh...@linux.intel.com: You'll need to provide more detail for us to help. Exactly how is it failing. Probably a good idea to share your grub.conf. -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com mailto:sdliy...@gmail.com Date: Tuesday, March 31, 2015 at 7:21 AM To: Darren Hart dvh...@linux.intel.com mailto:dvh...@linux.intel.com Cc: YONG LI sdliy...@gmail.com mailto:sdliy...@gmail.com, meta-intel@yoctoproject.org mailto:meta-intel@yoctoproject.org Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? I am using the latest bios 0041, if using grub, it can load and boot the kernel, but cannot pass the command line. The os is 64bit, both the grub and the kernel are built using the same conf On Mar 31, 2015 12:35 AM, Darren Hart dvh...@linux.intel.com mailto:dvh...@linux.intel.com wrote: No, it should work both grub and gummiboot. Are you perhaps mismatching firmware and OS 32b and 64b? -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com mailto:sdliy...@gmail.com Date: Saturday, March 28, 2015 at 7:55 AM To: Darren Hart dvh...@linux.intel.com mailto:dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org mailto:meta-intel@yoctoproject.org, YONG LI sdliy...@gmail.com mailto:sdliy...@gmail.com Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? Thanks for your mail! I just found the root cause. The kernel is OK, but the grub efi has problems. It cannot pass the kernel command to the kernel. I have to switch to gummiboot. Is it a known issue ? On Mar 28, 2015 6:32 AM, Darren Hart dvh...@linux.intel.com mailto:dvh...@linux.intel.com wrote: On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org mailto:meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
Thanks Darren! Below is the grub.cfg: # Automatically created by OE serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 default=boot timeout=10 menuentry 'boot'{ linux /vmlinuz root=/dev/sda2 ro rootwait quietconsole=ttyS0,115200 console=tty0 } I use this command to create the USB disk: scripts/contrib/mkefidisk.sh -v /dev/sdc os.hddimg /dev/sda By the way, I found the ISO image is okay(dd the ISO to usb disk), in the ISO, there is initrd in the grub.cfg file, so I think the root cause is the grub cannot boot without initrd. Did you test the hddimg + mkefidisk.sh ? 2015-04-01 0:18 GMT+08:00 Darren Hart dvh...@linux.intel.com: You'll need to provide more detail for us to help. Exactly how is it failing. Probably a good idea to share your grub.conf. -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com Date: Tuesday, March 31, 2015 at 7:21 AM To: Darren Hart dvh...@linux.intel.com Cc: YONG LI sdliy...@gmail.com, meta-intel@yoctoproject.org Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? I am using the latest bios 0041, if using grub, it can load and boot the kernel, but cannot pass the command line. The os is 64bit, both the grub and the kernel are built using the same conf On Mar 31, 2015 12:35 AM, Darren Hart dvh...@linux.intel.com wrote: No, it should work both grub and gummiboot. Are you perhaps mismatching firmware and OS 32b and 64b? -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com Date: Saturday, March 28, 2015 at 7:55 AM To: Darren Hart dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org, YONG LI sdliy...@gmail.com Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? Thanks for your mail! I just found the root cause. The kernel is OK, but the grub efi has problems. It cannot pass the kernel command to the kernel. I have to switch to gummiboot. Is it a known issue ? On Mar 28, 2015 6:32 AM, Darren Hart dvh...@linux.intel.com wrote: On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
I am using the latest bios 0041, if using grub, it can load and boot the kernel, but cannot pass the command line. The os is 64bit, both the grub and the kernel are built using the same conf On Mar 31, 2015 12:35 AM, Darren Hart dvh...@linux.intel.com wrote: No, it should work both grub and gummiboot. Are you perhaps mismatching firmware and OS 32b and 64b? -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com Date: Saturday, March 28, 2015 at 7:55 AM To: Darren Hart dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org, YONG LI sdliy...@gmail.com Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? Thanks for your mail! I just found the root cause. The kernel is OK, but the grub efi has problems. It cannot pass the kernel command to the kernel. I have to switch to gummiboot. Is it a known issue ? On Mar 28, 2015 6:32 AM, Darren Hart dvh...@linux.intel.com wrote: On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
You'll need to provide more detail for us to help. Exactly how is it failing. Probably a good idea to share your grub.conf. -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com Date: Tuesday, March 31, 2015 at 7:21 AM To: Darren Hart dvh...@linux.intel.com Cc: YONG LI sdliy...@gmail.com, meta-intel@yoctoproject.org Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? I am using the latest bios 0041, if using grub, it can load and boot the kernel, but cannot pass the command line. The os is 64bit, both the grub and the kernel are built using the same conf On Mar 31, 2015 12:35 AM, Darren Hart dvh...@linux.intel.com wrote: No, it should work both grub and gummiboot. Are you perhaps mismatching firmware and OS 32b and 64b? -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com Date: Saturday, March 28, 2015 at 7:55 AM To: Darren Hart dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org, YONG LI sdliy...@gmail.com Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? Thanks for your mail! I just found the root cause. The kernel is OK, but the grub efi has problems. It cannot pass the kernel command to the kernel. I have to switch to gummiboot. Is it a known issue ? On Mar 28, 2015 6:32 AM, Darren Hart dvh...@linux.intel.com wrote: On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
No, it should work both grub and gummiboot. Are you perhaps mismatching firmware and OS 32b and 64b? -- Darren Hart Intel Open Source Technology Center From: LIYONG sdliy...@gmail.com Date: Saturday, March 28, 2015 at 7:55 AM To: Darren Hart dvh...@linux.intel.com Cc: meta-intel@yoctoproject.org, YONG LI sdliy...@gmail.com Subject: Re: [meta-intel] How to support the NUC Kit DE3815TYKHE? Thanks for your mail! I just found the root cause. The kernel is OK, but the grub efi has problems. It cannot pass the kernel command to the kernel. I have to switch to gummiboot. Is it a known issue ? On Mar 28, 2015 6:32 AM, Darren Hart dvh...@linux.intel.com wrote: On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
Thanks for your mail! I just found the root cause. The kernel is OK, but the grub efi has problems. It cannot pass the kernel command to the kernel. I have to switch to gummiboot. Is it a known issue ? On Mar 28, 2015 6:32 AM, Darren Hart dvh...@linux.intel.com wrote: On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] How to support the NUC Kit DE3815TYKHE?
On 3/26/15 7:41 AM, Yong Li wrote: Hi All, I am testing the NUC DE3815TYKHE, Ubuntu 1404 is okay. But the yocto build image does not work. I tested the intel-corei7-64 and valleyisland-64, the kernel cannot boot, it seems that it cannot load the /dev/sda2. Does Yocto + meta-intel supports this NUC? It does and I've booted that board in the past. If you can provide a detailed report of what you are doing, which image you're building, which version, how you're deploying it, etc., we may be able to help. -- Darren Hart Intel Open Source Technology Center -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel