<div dir="ltr"><div class="gmail_extra">Hi Nick, attached is my kernel .bbappend and .cfg files of linux kernel recipe of my own layer. In original meta layer nothing was changed.<br></div><div class="gmail_extra"><br>However, I spent last night trying to resolve the problem and found out that standard core-sato-image was missing <br>meta/recipes-core/initrdscripts<br></div><div class="gmail_extra">I added that to the local.conf file and also added grub to it. <br></div><div class="gmail_extra">I wonder how 'install' was possible without those scripts, well, never mind.<br>After building .hddimg again i was able to boot and install the image from USB device to atom-pc. Installation seemed to work without problems BUT after removing the usb device, boot FAILED: <b>not bootable device</b> - I was crying out loud, belive me!, gave up and went directly to bed...<br><br></div><div class="gmail_extra">The same(built and generated at the same bitbake run) iso image is working in virtual box like a charm.<br></div><div class="gmail_extra">There must be a difference/bug somewhere. <br></div><div class="gmail_extra">Vbox is creating partitions on hda, atom-pc has sda. Should not be a problem, but still a difference. <br></div><div class="gmail_extra">Could you help me on that? There are 3 Partitions on /dev/sda: <br></div><div class="gmail_extra">/dev/sda1 - boot partition (no asterix in partition table visible, but no asterix on Vbox partition table as well)<br></div><div class="gmail_extra">/dev/sda2 - rootfs<br></div><div class="gmail_extra">/dev/sda3 - swap<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">However, I will open another thread for this.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">thank you and best regards<br>simon:-)<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 9, 2015 at 3:17 AM, nick <span dir="ltr"><<a href="mailto:xerofoify@gmail.com" target="_blank">xerofoify@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Simon,<br>
Please send me your kernel bb recipes as there is probably an issue in<br>
them.<br>
Regards,<br>
Nick<br>
<div class="HOEnZb"><div class="h5"><br>
On 2015-01-08 03:58 PM, Simon Bolek wrote:<br>
> NIck, thank you. what do you mean by that? I followed the instructions from<br>
> here:<br>
> <a href="http://www.yoctoproject.org/docs/1.7/kernel-dev/kernel-dev.html#changing-the-configuration" target="_blank">http://www.yoctoproject.org/docs/1.7/kernel-dev/kernel-dev.html#changing-the-configuration</a><br>
> is there something there I might be missing? Where is the part, 'linking<br>
> your kernels to the core-image-sato build'  that you are talking about?<br>
><br>
> thank you and best regards<br>
> simon:-)<br>
><br>
> On Thu, Jan 8, 2015 at 6:50 PM, nick <<a href="mailto:xerofoify@gmail.com">xerofoify@gmail.com</a>> wrote:<br>
><br>
>> Simon,<br>
>> Why are you not linking your kernels to the core-image-sato build.<br>
>> This seems to be the issue.<br>
>> Regards Nick<br>
>><br>
>> On 2015-01-08 05:59 AM, Simon Bolek wrote:<br>
>>> Thank you Nick. I will try that, but this is not the point. I am trying<br>
>> to<br>
>>> figure out why<br>
>>> *bitbake core-image-sato *<br>
>>> does not create /dev/ram nodes, although linux-yocto has them defiined in<br>
>>> .config file.<br>
>>><br>
>>> I also created:<br>
>>> mylayer/recipes-kernel/linux/linux_yocto_3.4.bbapend<br>
>>> mylayer/recipes-kernel/linux/linux_yocto_3.10.bbapend<br>
>>> mylayer/recipes-kernel/linux/linux_yocto_3.14.bbapend<br>
>>><br>
>>> with the following content:<br>
>>><br>
>>> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"<br>
>>> SRC_URI += "file://ramdisk.cfg"<br>
>>><br>
>>> and<br>
>>> mylayer/recipes-kernel/linux/files/ramdisk.cfg<br>
>>><br>
>>> with content:<br>
>>> CONFIG_BLK_DEV_RAM=y<br>
>>> CONFIG_BLK_DEV_RAM_COUNT=16<br>
>>> CONFIG_BLK_DEV_RAM_SIZE=4096<br>
>>><br>
>>> and afterwards run the commands:<br>
>>> bitbake linux-yocto -c cleansstate<br>
>>> bitbake linux-yocto<br>
>>> bitbake core-image-sato<br>
>>><br>
>>> again. Same result, no /dev/ram nodes under rootfs.<br>
>>><br>
>>> What am i doing wrong?<br>
>>><br>
>>> thank you<br>
>>> simon:-)<br>
>>><br>
>>> On Thu, Jan 8, 2015 at 2:03 AM, nick <<a href="mailto:xerofoify@gmail.com">xerofoify@gmail.com</a>> wrote:<br>
>>><br>
>>>> Simon,<br>
>>>> Can you boot this on standard computer with qemu.<br>
>>>> Try that first and report back if that works.<br>
>>>> Nick<br>
>>>><br>
>>>> On 2015-01-07 04:59 PM, Simon Bolek wrote:<br>
>>>>> Hello folks!<br>
>>>>><br>
>>>>> I have the following problem/question.<br>
>>>>> 1) I built a standard .hddimg core-image-sato genericx86 on ubuntu<br>
>> 14.10<br>
>>>>> 2) Afterwards, this .hddimg was deployed to USB device (USB-ZIP method)<br>
>>>>> 3) Tried to boot Atom PC from the USB Device -> *ERROR: cound not found<br>
>>>>> ramdisk*<br>
>>>>><br>
>>>>> so initrd is trying to find /dev/ram0 which does not exist in the<br>
>> image.<br>
>>>> I<br>
>>>>> checked rootfs and there is nothing under<br>
>>>>><br>
>>>><br>
>> ../poky/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0-r0/rootfs/dev<br>
>>>>><br>
>>>>> I googled this up and there is a thread telling to check the .config<br>
>> file<br>
>>>>> for *CONFIG_BLK_DEV_RAM *settings*.*<br>
>>>>> I have the following entries in:<br>
>>>>><br>
>>>><br>
>> ../poky/build/tmp/work/genericx86-poky-linux/linux-yocto/3.10.35+gitAUTOINC+7df9ef8ee4_2ee37bfe73-r0/linux-genericx86-standard-build/.config<br>
>>>>> ...<br>
>>>>> CONFIG_BLK_DEV_RAM=y<br>
>>>>> CONFIG_BLK_DEV_RAM_COUNT=16<br>
>>>>> CONFIG_BLK_DEV_RAM_SIZE=4096<br>
>>>>> ...<br>
>>>>><br>
>>>>> I also *bitbake core-image-sato -c cleansstate* twice already.<br>
>>>>> I also* bitbake core-image-sato -c menuconfig *once more and<br>
>>>>> afterwards *bitbake<br>
>>>>> linux-yocto* again.<br>
>>>>> I also tried IRC channels, but no answer so far...<br>
>>>>><br>
>>>>> Can anyone help me? How can i force bitbake to create /dev/ram0 under<br>
>>>>> rootfs?<br>
>>>>> Or maybe there is another trick to boot the image from USB?<br>
>>>>><br>
>>>>> best regards<br>
>>>>> simon:-)<br>
>>>>><br>
>>>>> Viele Grüsse<br>
>>>>> Simon Bolek<br>
>>>>><br>
>>>>> mit freundlichem Gruss / best regards / pozdrawiam / atentamente<br>
>>>>> Simon P. Bolek<br>
>>>>> ------------------------------------------------------<br>
>>>>> Dipl. Inf. Simon P. Bolek<br>
>>>>> SAP Consultant<br>
>>>>> Business Mobile and IVI Solutions<br>
>>>>> mailto: <a href="mailto:simon.bolek@arcom-ivi.de">simon.bolek@arcom-ivi.de</a><br>
>>>>> <a href="http://www.arcom-ivi.de/" target="_blank">http://www.arcom-ivi.de/</a><br>
>>>>> XING: <a href="https://www.xing.com/profile/SimonP_Bolek" target="_blank">https://www.xing.com/profile/SimonP_Bolek</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>><br>
>>><br>
>><br>
><br>
</div></div></blockquote></div><br></div></div>