Forum Discussion
Altera_Forum
Honored Contributor
17 years agoBoot failures when zImage size goes a little over 3MB?
Has anyone else seen an issue like this? A zImage that's 3.0MB (4.6MB uncompressed), the kernel boots without fault. The vmlinux image, when stored as a u-boot uImage also boots. When ...
Altera_Forum
Honored Contributor
17 years agoPlease try this patch instead. And let me know if it fix your problem.
Cheer, Hippodiff --git a/arch/nios2/kernel/vmlinux.lds.S b/arch/nios2/kernel/vmlinux.lds.S
index a169ed6..13f289a 100644
--- a/arch/nios2/kernel/vmlinux.lds.S
+++ b/arch/nios2/kernel/vmlinux.lds.S
@@ -117,6 +117,7 @@ SECTIONS
. = ALIGN(4);
__initramfs_start = .;
*(.init.ramfs)
+ . = ALIGN(4);
__initramfs_end = .;
}
__init_end = .;