How to convert the initrd.img during buiding the kernel snap.

Oliver Grawert ogra at
Tue Mar 21 10:42:31 UTC 2017

Am Dienstag, den 21.03.2017, 18:26 +0800 schrieb Madper Xie:
> > Yes I noticed that in the README.txt. So I modified the boot cmd to
> `autoboot=bootz ${loadaddr} ${ramdisk_addr}:1c5 ${fdt_addr}`  ...
> Still
> doesn't boot.
where does that 1c5 come from ?
please take a look at [1] where we use:

loadinitrd=fatload mmc 1:8 ${ramdisk_addr}\
${snap_kernel}/${initrd_file}; setenv initrd_size ${filesize}


booti ${linux_addr} ${ramdisk_addr}:${initrd_size} ${fdt_addr}

that way the initrd_size variable has the correct value...

> > 
> > also a look at your and a serial log might be useful
> > ...
> > 
> The serial log doesn't provide useful message:
heh, i was hoping for a full log so i could also see your uboot version
etc :) perhaps it is to old and does not support raw initrds yet.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Snapcraft mailing list