I have dug a little more, and if I well understand, the initramfs_data.cpio.gz should be <br>expanded from __initramfs_start (defined in vmlinux.lds.S)<br><br>But when and how is it done? <br>And by who? <br>Architecture specific code? bootloader, or setup_arch() memory initialisation function?<br>
Or the kernel itself and automatically during kernel build? Or during boot? <br><br>In my case, the initramfs_data.cpio.gz is not present at __initramfs_start.<br>When the kernel tries to find the compression magic number (&quot;decompress_method() function),<br>
it complains and panic with the following message:<br><br>kernel panic: junk in compressed archive<br><br>(I precise that I am porting Linux-2.6.37 to a new architecture)<br><br>Thanks in advance for your help and advices.<br>