From: "sunrays" <lm_mailbox@sohu.com>
To: "Flavio Pereira" <Flavio.Pereira@za.flextronics.com>
Cc: <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Need help booting linux on my 8265 board
Date: Mon, 19 Apr 2004 17:12:34 +0800 [thread overview]
Message-ID: <001401c425ee$796087b0$061410ac@liu> (raw)
In-Reply-To: 5060AED8FF61F740BBB2CB0E82C192E2A03071@srv-mailrnd.azisa.co.za
Need help booting linux on my 8265 boardHello,Mr Pereira
thanks for your reply.
I'm sure IMMR base is the same for both U-boot and Linux. Uboot mapped at 0xfff00000, but I want to know why linux mapped at 0xC0000000 , the uboot say "## Transferring control to Linux (at address 00000000) ...", so KERNELLOAD should be 0xc0000000 or 0x00000000?
and if I use linux kernel 2.4.20, CONFIG_CLOCKS_IN_MHZ should be 0 or 1?
Best Regards
Ming Liu
----- Original Message -----
From: Flavio Pereira
To: liuming ; linuxppc-embedded@lists.linuxppc.org
Cc: liuming
Sent: Monday, April 19, 2004 3:24 PM
Subject: RE: Need help booting linux on my 8265 board
Hi
Make sure that your IMMR base is the same for both U-boot and Linux. Ensure that they are both mapped above the virtual meomry base (0xC0000000) used by Linux, else you will have problems once ypou start to execute code.
Regards
Flavio Pereira
From: owner-linuxppc-embedded@lists.linuxppc.org on behalf of liuming
Sent: Sun 2004/04/18 06:33 PM
To: linuxppc-embedded@lists.linuxppc.org
Cc: liuming
Subject: Need help booting linux on my 8265 board
Hi,
I have problem booting linux on my 8265 board. Both u-boot and ppcboot
run well, but when I boot the linux kernel, the board be dead. At this
time the registers look like to be some default values(use powertap
pro). I try u-boot1.1, ppcboot1.1.5; linux kernel 2.4.4 2.4.18 2.4.20.
(1)about compile kernel
vim Makefile, arch=ppc CROSS_COMPILE=ppc_82xx-
vim arch/ppc/platforms/ads826x.h, IMAP_ADDR=0x04700000 BCSR=0x04500000
then make mrproper/ make ads826x_config/ make oldconfig/ make dep/ make
pImage (bd info struct is quite same between uboot and linux)
Is there anything I had ignored?
(2)let's see!(I add some "printf" to display values,
"console=ttyS0,9600" is added)
=> bootm ffa00000 ffc00000
## Booting image at ffa00000 ...
Image Name: Linux-2.4.20-pre7ncsd1
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 634729 Bytes = 619 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x03F7FC48 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF23
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFF800000
flashsize = 0x00800000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0x04700000
bootflags = 0x00000001
vco = 266.666 MHz
sccfreq = 66.666 MHz
brgfreq = 16.666 MHz
intfreq = 166.666 MHz
cpmfreq = 133.333 MHz
busfreq = 33.333 MHz
ethaddr = 00:10:EC:00:30:8C
IP addr = 8.6.0.1
baudrate = 9600 bps
## Loading RAMDisk Image at ffc00000 ...
Image Name: Simple Ramdisk-Image
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 567988 Bytes = 554 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## initrd at 0xFFC00040 ... 0xFFC8AAF3 (len=567988=0x8AAB4)
Loading Ramdisk to 03ef4000, end 03f7eab4 ... OK
## Transferring control to Linux (at address 00000000) ...
then the board is dead and the LED(FCC link) coruscate . (I have
modified clock calculations for this board so SCC can output message.
it's the reason?) any ideas? thanks a lot!
--
liu
lm_mailbox@sohu.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2004-04-19 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5060AED8FF61F740BBB2CB0E82C192E2A03071@srv-mailrnd.azisa.co.za>
2004-04-19 9:12 ` sunrays [this message]
2004-04-19 10:21 ` Need help booting linux on my 8265 board Wolfgang Denk
2004-04-18 16:33 liuming
2004-04-18 21:11 ` 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='001401c425ee$796087b0$061410ac@liu' \
--to=lm_mailbox@sohu.com \
--cc=Flavio.Pereira@za.flextronics.com \
--cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).