mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* IMX6UL: Booting kernel with initramfs blocks
@ 2018-10-26 10:05 Patrick Boettcher
  2018-10-26 10:23 ` Sascha Hauer
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Boettcher @ 2018-10-26 10:05 UTC (permalink / raw)
  To: barebox; +Cc: Mikael Pann

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.

Putting the zImage "kernel-only" on the same volumes and booting works
(except that there is no rootfs).

Our zImage with initramfs is 28MiB big, the kernel alone 7.

Could anyone advise what's wrong with this setup? Is it is
size-problem in barebox? 

Is it a Yocto-problem? I'm aware that asking here might the wrong
thing, as barebox is only one part of the system.

Thanks in advance for any help.

best regards,
--
Patrick.






_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-28 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26 10:05 IMX6UL: Booting kernel with initramfs blocks Patrick Boettcher
2018-10-26 10:23 ` Sascha Hauer
2018-10-26 10:38   ` Patrick Boettcher
2018-10-26 11:24     ` Sascha Hauer
2018-10-26 14:25       ` Patrick Boettcher
2018-10-26 14:36         ` Lucas Stach
2018-10-28 14:29           ` Patrick Boettcher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox