Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-02 Thread Iván Castell
I have modified poky/meta/recipes-core/initrdscripts/initramfs-framework/init to force a shell script when the "fatal" function is called: # Prints a message and start a endless loop fatal() { echo $1 >/dev/console echo >/dev/console sh #if [ -n "$bootparam_init_fatal_sh" ]; then

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-02 Thread Iván Castell
First of all, thank you for your support Mr. Anuj. I extracted "initrd" image contents: $ binwalk initrd DECIMAL HEXADECIMAL DESCRIPTION 0 0x0 ASCII cpio archive (SVR4 with no

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-02 Thread Anuj Mittal
On 03/02/2018 03:41 PM, Iván Castell wrote: > > 2018-03-02 0:41 GMT+01:00 Anuj Mittal >: > > Hi, > > On 03/01/2018 07:20 PM, Iván Castell wrote: > >       > > Is this the proper way to install the generated image in the hard

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-01 Thread Iván Castell
2018-03-02 0:41 GMT+01:00 Anuj Mittal : > Hi, > > On 03/01/2018 07:20 PM, Iván Castell wrote: > > > > Is this the proper way to install the generated image in the hard disk? > > Maybe I am doing something wrong? > > Does the image boot up if you select 'boot'? I tested

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-01 Thread Anuj Mittal
Hi, On 03/01/2018 07:20 PM, Iván Castell wrote: > Hello forum. > > Working with 'rocko' yocto branch. Yocto generates .ext4, .hddimg and > .wic images. I want to install the proper image to the HDD of my PC, in > order to use it as my default Linux distro. > > I have been using the .wic image

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-01 Thread Iván Castell
After writting the .hddimg file to a USB-pendrive I have mounted the pendrive to analyze contents in my laptop. It contains the following files: ./EFI/BOOT/grub.cfg ./EFI/BOOT/bootx64.efi ./initrd ./ldlinux.sys ./libcom32.c32 ./libutil.c32 ./rootfs.img

[yocto] Yocto procedure to write generated image to hdd

2018-03-01 Thread Iván Castell
Hello forum. Working with 'rocko' yocto branch. Yocto generates .ext4, .hddimg and .wic images. I want to install the proper image to the HDD of my PC, in order to use it as my default Linux distro. I have been using the .wic image to boot from the USB pendrive until now, writing it to the USB