Hi Patrick, On Fri, Oct 26, 2018 at 12:05:58PM +0200, Patrick Boettcher wrote: > Hi, > > we are using a Phytec IMX6UL-module and would like to use a > kernel+initramfs as a rescue/recovery system (when bootchooser bails > out). > > We are building the initramfs-zIamge with Yocto using a > customized Phytec-distribution (not many changes). > > What we added to get an initramfs'd kernel is > > INITRAMFS_IMAGE = "<image-name>" > INITRAMFS_IMAGE_BUNDLE = "1" > > to local.conf. > > bitbaking the thing gives us the zImage-initramfs-file. > > Then we created two static volumes within the UBI-partition on the > NAND one for the image, one for the dtb. > > When trying to boot the image with bootm -o .. .. it takes some time > (to load I guess) and then blocks. Could you copy the image out from UBI to /somefile first to get UBI out of the equation first? Doing bootm -v -v might reveal some more information then. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox