gcc 4.9: No more output is seen on the console after "Starting Kernel..." #44
Comments
someone says DTB not attached |
based on link: https://developer.ridgerun.com/wiki/index.php/Common_Problems_-_Linux_kernel_doesnt_boot
we need kernel console configuration, machine ID and well-built kernel image to boot, and kernel console information was coded in DTS file. look for: |
https://github.com/wongsyrone/openwrt-1/blob/master/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch#L101 console info here, but this info not passed to linux kernel, maybe DTB corrupted or kernel image corrupted try with
|
try to add buildroot's gcc 4.9.x patches |
check openembedded patches |
Reported: https://dev.openwrt.org/ticket/19916 |
Giving up, and waiting upstream fix |
bootargs = "console=ttyS0,115200"; |
finally openwrt-mirror@53a77a9 , waiting...... |
switching to self-added gcc 5.1 and need test |
failed on gcc 4.9, 5.1 and 5.2 |
Still broken on official GCC 5.2.0 |
can you try to insert / add to KCFLAGS (i dont know where - probably somewhere in kernel make templates)
source: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 also from there: The issue is also present when compiling kernels for OMAP1/2 platforms. Also so changing default flags might be worth a try |
Thanks, I will try. |
nbd pushed a better solution from gcc guys, I will revert my changes. |
official gcc 4.9 and self-added 4.9 -------- kernel boot freeze
MIPS can use gcc 4.9 and works well
http://kmoving.blog.163.com/blog/static/20504919720123151533819/
it should be a linaro gcc bug
https://github.com/gcc-mirror/gcc/commits/linaro/gcc-4_9-branch
The text was updated successfully, but these errors were encountered: