From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Tue, 18 Nov 2014 14:14:49 +0100 Subject: [Buildroot] Unable to boot Arm926t with big endian support In-Reply-To: (Peder Alm's message of "Tue, 18 Nov 2014 11:22:19 +0000") References: Message-ID: <87389gr6pi.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Peder" == Peder Alm writes: > I'm trying to NFS-boot my Buildroot build for Arm926t with big endian > support without success. I have tried Buildroot version 2013.05 and > 2014.08 with the same result. With little endian support I can boot > successfully for both versions. How can I fix this? > v2013.05 - big endian > ------------------------------- > ... > Linux version 3.9.4 (mrlinux at computer) (gcc version 4.7.3 (Buildroot 2013.05) ) #1 Mon Nov 17 11:26:40 CET 2014 > CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 > ... > VFS: Mounted root (nfs filesystem) on device 0:10. > Freeing init memory: 140K > request_module: runaway loop modprobe binfmt-464c > Failed to execute /sbin/init. Attempting defaults... > request_module: runaway loop modprobe binfmt-464c > request_module: runaway loop modprobe binfmt-464c > Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. > [] (unwind_backtrace+0x0/0xf0) from [] (panic+0x80/0x1d0) > [] (panic+0x80/0x1d0) from [] (kernel_init+0xc0/0xe4) > [] (kernel_init+0xc0/0xe4) from [] (ret_from_fork+0x14/0x24) > v2014.08 - big endian > ------------------------------- > ... > Linux version 3.16.1 (mrlinux at computer) (gcc version 4.8.3 (Buildroot 2014.08) ) #1 Mon Nov 17 17:14:17 CET 2014 > CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f > ... > VFS: Mounted root (nfs filesystem) on device 0:12. > devtmpfs: mounted > Freeing unused kernel memory: 132K (c03c5000 - c03e6000) > request_module: runaway loop modprobe binfmt-464c > Failed to execute /sbin/init (error -8). Attempting defaults... > request_module: runaway loop modprobe binfmt-464c > Starting init: /sbin/init exists but couldn't execute it (error -8) > request_module: runaway loop modprobe binfmt-464c > Starting init: /bin/sh exists but couldn't execute it (error -8) > Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. -8 is ENOEXEC, E.G. most likely invalid ELF variant. Your kernel is running in big endian mode, right? It's been quite some years since I've last used the armeb stuff, but it should work (barring any bugs). -- Bye, Peter Korsgaard