LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Embedded PPC Linux list <linuxppc-embedded@ozlabs.org>
Subject: 2.6.11-5 kernel on 8xx -- perhaps i messed up the console port?
Date: Sat, 26 Mar 2005 09:54:21 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0503260953100.12378@localhost.localdomain> (raw)


  to make a long story a little shorter, once upon a time, i had a
2.5.xx kernel running on my 8xx-based board.  i used the latest bk
checkout from bkbits.net and had at least a minimal operational kernel
that would boot, mount its root filesystem, mount JFFS2 and a bit
more.

  finally getting back to that, i grabbed the latest stock (2.6.11-5)
kernel and tried to reproduce that.  by hand, i perused my old config
file, duplicated what i could, made (relatively?) intelligent
decisions about new options and tried again.  to keep things simple, i
left out absolutely *everything* that wasn't essential for just an
initial boot -- no networking, no MTD, not even an initrd -- i just
wanted to see the kernel boot and would be quite happy for it to get
to trying to mount the root filesystem, only to choke and fall over.
no problem.

  however, after (all based on ELDK 3.1 cross-compilation):

	$ make ARCH=ppc menuconfig
	$ make ARCH=ppc
	$ ppc_8xx-objcopy -O binary zImage.elf zImage.bin

download (via planet core boot loader) to 400000 in RAM, and "g
400000", i get:

  loaded at:     00400000 00485160
  board data at: 00483124 00483140
  relocated to:  00405090 004050AC
  zimage at:     004058C8 0048275F
  avail ram:     00486000 02000000

  Linux/PPC load: rw root=/dev/ram0
  Uncompressing Linux...done.
  Now booting the kernel

  ... hangs ...

of course, there are an infinite number of ways i could have screwed
up, but one possibility is that i just messed up configuring the
console port.  the kernel could very well be loading but, as this is a
bare board with no blinkenlights or anything, there's no way to tell.

  has anything changed in the last little while in terms of the
console port?  i tried to reproduce faithfully my earlier config
options for console port support, but no luck.

  thoughts?  the problem could, of course, be elsewhere but i'd like
to check this out first.

rday

             reply	other threads:[~2005-03-26 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-26 14:54 Robert P. J. Day [this message]
2005-03-26 17:32 ` 2.6.11-5 kernel on 8xx -- perhaps i messed up the console port? Robert P. J. Day

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=Pine.LNX.4.61.0503260953100.12378@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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