From: Robert P. J. Day <rpjday@crashcourse.ca>
To: u-boot@lists.denx.de
Subject: [U-Boot] having trouble booting a simple kernel on a TQM860 board
Date: Fri, 2 Dec 2011 19:03:24 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.02.1112021855490.6404@oneiric> (raw)
In-Reply-To: <4ED9641F.9060507@freescale.com>
On Fri, 2 Dec 2011, Scott Wood wrote:
> On 12/02/2011 05:41 PM, Robert P. J. Day wrote:
> > ok, so what's the "make" invocation to get one of those? i'm not a
> > ppc expert so i don't know much about device trees. i tried the
> > following:
> >
> > $ make ARCH=powerpc cuImage.tqm8xx
> > CHK include/linux/version.h
> > CHK include/generated/utsrelease.h
> > CALL scripts/checksyscalls.sh
> > CHK include/generated/compile.h
> > CALL arch/powerpc/kernel/systbl_chk.sh
> > /home/rpjday/karim/el/ws/tqm860/kernel/linux-2.6.37/scripts/dtc/dtc -O
> > dtb -o arch/powerpc/boot/tqm8xx.dtb -b 0 -p 1024
> > /home/rpjday/karim/el/ws/tqm860/kernel/linux-2.6.37/arch/powerpc/boot/dts/tqm8xx.dts
> > DTC: dts->dtb on file
> > "/home/rpjday/karim/el/ws/tqm860/kernel/linux-2.6.37/arch/powerpc/boot/dts/tqm8xx.dts"
> > WRAP arch/powerpc/boot/cuImage.tqm8xx
> > powerpc-unknown-linux-gnu-ld: arch/powerpc/boot/cuboot-tqm8xx.o: No
> > such file: No such file or directory
> > make[1]: *** [arch/powerpc/boot/cuImage.tqm8xx] Error 1
> > rm arch/powerpc/boot/tqm8xx.dtb
> > make: *** [cuImage.tqm8xx] Error 2
> >
> > so i'm open to suggestions.
>
> In the cuboot section of arch/powerpc/boot/wrapper, add "*-tqm8xx" to
> the "*-mpc866ads|*-mpc885ads..." list.
ok, that's looking better as i now have the following:
$ mkimage -l /var/lib/tftpboot/cuImage.tqm8xx
Image Name: Linux-2.6.37
Created: Fri Dec 2 18:53:22 2011
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1325774 Bytes = 1294.70 kB = 1.26 MB
Load Address: 00400000
Entry Point: 00400518
$
which suggests it's safe to TFTP it to 200000 given its size and the
load address, so ...
=> tftp 200000 cuImage.tqm8xx
TFTP from server 192.168.202.100; our IP address is 192.168.202.79
Filename 'cuImage.tqm8xx'.
Load address: 0x200000
Loading:
... snip ...
done
Bytes transferred = 1325838 (143b0e hex)
=> imi 200000
## Checking Image at 00200000 ...
Image Name: Linux-2.6.37
Created: 2011-12-02 23:53:22 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1325774 Bytes = 1.3 MB
Load Address: 00400000
Entry Point: 00400518
Verifying Checksum ... OK
=> setenv bootargs console=ttyCPM0,115000
=> bootm 200000
at which point i get the kernel uncompressing, followed by several
lines of garbage, suggesting that perhaps my minicom setup is not
right. any final suggestions about console port setup? i get the
feeling i'm really close ...
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
next prev parent reply other threads:[~2011-12-03 0:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 23:19 [U-Boot] having trouble booting a simple kernel on a TQM860 board Robert P. J. Day
2011-12-02 23:29 ` Scott Wood
2011-12-02 23:41 ` Robert P. J. Day
2011-12-02 23:49 ` Scott Wood
2011-12-03 0:03 ` Robert P. J. Day [this message]
2011-12-03 0:17 ` Wolfgang Denk
2011-12-05 2:14 ` Robert P. J. Day
2011-12-05 10:09 ` Wolfgang Denk
2011-12-05 10:37 ` Robert P. J. Day
2011-12-05 12:05 ` Robert P. J. Day
2011-12-05 12:58 ` Wolfgang Denk
2011-12-05 17:48 ` Robert P. J. Day
2011-12-05 20:02 ` Wolfgang Denk
2011-12-03 0:16 ` Wolfgang Denk
2011-12-03 0:23 ` Robert P. J. Day
2011-12-03 0:26 ` Wolfgang Denk
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=alpine.DEB.2.02.1112021855490.6404@oneiric \
--to=rpjday@crashcourse.ca \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.