Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI'm not sure why this fixes the problem, but this does indeed result in a bootable kernel, even when I built a zImage that came out to 4.7MB.
Could someone pass the info on to the nios2-dev list? Thanks, --Steve diff --git a/arch/nios2/kernel/vmlinux.lds.S b/arch/nios2/kernel/vmlinux.lds.S --- a/arch/nios2/kernel/vmlinux.lds.S +++ b/arch/nios2/kernel/vmlinux.lds.S @@ -112,6 +112,7 @@ SECTIONS __con_initcall_end = .; } SECURITY_INIT + . = ALIGN(PAGE_SIZE); .init.ramfs : { . = ALIGN(4); @@ -119,6 +120,7 @@ SECTIONS *(.init.ramfs) __initramfs_end = .; } + . = ALIGN(PAGE_SIZE); __init_end = .; _end = . ;