Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] Unable to boot Arm926t with big endian support
Date: Tue, 18 Nov 2014 14:14:49 +0100	[thread overview]
Message-ID: <87389gr6pi.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <B28B6A721CC23347BBD5566C377D30416461F1CA@se-got-mb01.semcon.se> (Peder Alm's message of "Tue, 18 Nov 2014 11:22:19 +0000")

>>>>> "Peder" == Peder Alm <peder.alm@semcon.com> 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.
 > [<c00136fc>] (unwind_backtrace+0x0/0xf0) from [<c02a2d88>] (panic+0x80/0x1d0)
 > [<c02a2d88>] (panic+0x80/0x1d0) from [<c02a1e80>] (kernel_init+0xc0/0xe4)
 > [<c02a1e80>] (kernel_init+0xc0/0xe4) from [<c000edb0>] (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

  parent reply	other threads:[~2014-11-18 13:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 11:22 [Buildroot] Unable to boot Arm926t with big endian support Peder Alm
2014-11-18 12:36 ` Thomas Petazzoni
2014-11-18 13:20   ` Peder Alm
2014-11-18 22:00     ` Grant Edwards
2014-11-18 13:14 ` Peter Korsgaard [this message]
2014-11-18 13:43   ` Peder Alm
2014-11-18 13:51     ` Peter Korsgaard
2014-11-18 14:48       ` Peder Alm
2014-11-18 14:54         ` Peter Korsgaard
2014-11-18 15:45           ` Peder Alm
2014-11-18 15:51             ` Peter Korsgaard
2014-11-18 22:02             ` Grant Edwards
2014-11-18 13:57 ` Laurent GONZALEZ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87389gr6pi.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox