From: David Tao <david_xtao@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC8313 with 512MB SDRAM, u-boot version 1.3.0
Date: Thu, 17 Dec 2009 15:29:43 -0800 (PST) [thread overview]
Message-ID: <235622.16573.qm@web32106.mail.mud.yahoo.com> (raw)
In-Reply-To: <20091217214311.16FA0D43F21@gemini.denx.de>
Hi,
Did anybody get 512MB DDR SDRAM working on MPC8313?
My board here didn't work. In u-boot source, I changed CFG_DDRCONFIG to handle the 512MB ICs, changed CFG_IBAT_0U and CFG_DBAT_0U to handle 512MB, defined CONFIG_VERY_LAGE_RAM and CONFIG_MAX_MEM_MAPPED. When I set the CFG_DDR_SIZE to 256 to use only half memory, u-boot and Linux kernel (2.6.23) worked fine on this board. When I change CFG_DDR_SIZE to 512 to use all the memory, u-boot seems happy without error reporting, but crashed when booting the kernel.
Any help is highly appreciated.
Following is the boot log:
U-Boot 1.3.0 (Dec 17 2009 - 15:04:24) MPC83XX
Reset Status: External/Internal Soft, External/Internal Hard
CPU: e300c3, MPC8313E, Rev: 21 at 333.333 MHz, CSB: 166 MHz
Board: ePM8313
I2C: ready
DRAM: 512 MB
FLASH: 32 MB
NAND: 64 MiB
In: serial
Out: serial
Err: serial
Net: TSEC0 [PRIME], TSEC1
Hit any key to stop autoboot: 0
## Booting image at f8080000 ...
Image Name: Linux-2.6.23
Created: 2009-12-02 18:38:53 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1685120 Bytes = 1.6 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at f8320000 ...
Image Name: Ramdisk Image
Created: 2009-10-29 0:30:48 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 5136056 Bytes = 4.9 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Booting using the fdt at 0xf8300000
Loading Ramdisk to 0fa52000, end 0ff37eb8 ... OK
Loading Device Tree to 007fc000, end 007fefff ... OK
Using ePM8313 machine description
Linux version 2.6.23 (root at DavidLaptopDuo) (gcc version 4.2.2) #49 Wed Dec 2 10:38:51 PST 2009
Found initrd at 0xcfa52000:0xcff37eb8
console [udbg0] enabled
setup_arch: bootmem
epm8313e_setup_arch()
arch: exit
Zone PFN ranges:
DMA 0 -> 131072
Normal 131072 -> 131072
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 131072
Built 1 zonelists in Zone order. Total pages: 130048
Kernel command line: root=/dev/ram rw ramdisk_size=81976
PID hash table entries: 2048 (order: 11, 8192 bytes)
I-pipe 2.0-02: pipeline enabled.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 510592k/524288k available (3376k kernel code, 13300k reserved, 152k data, 212k bss, 160k init)
Mount-cache hash table entries: 512
------------[ cut here ]------------
Badness at c017e7b8 [verbose debug info unavailable]
NIP: c017e7b8 LR: c000d6a8 CTR: 00000000
REGS: c0373e70 TRAP: 0700 Not tainted (2.6.23)
MSR: 00029032 <EE,ME,IR,DR> CR: 84042048 XER: 00000000
TASK = c034f208[0] 'swapper' THREAD: c0372000
GPR00: 00000001 c0373f20 c034f208 dffff00c 00000000 00000000 dffe5e08 00000000
GPR08: 00000000 00000005 dffe8778 003fffff 24042022 100aec40 0fffb000 ffffffff
GPR16: 00000000 007ffc00 004e5eb8 007ffbb0 f8320040 0ff37eb8 0fff7298 00000000
GPR24: 00000000 0fa52000 c037741c c034e000 dfffeee8 dfffef3a 00000000 dfffefd8
Call Trace:
[c0373f20] [c00df258] (unreliable)
[c0373f30] [c022f4dc]
[c0373f40] [c00df324]
[c0373f60] [c00df318]
[c0373f80] [c00df318]
[c0373fa0] [c00df48c]
[c0373fb0] [c03385f8]
[c0373fc0] [c03249c8]
[c0373ff0] [00003438]
Instruction dump:
409e0010 7c8903a6 4e800421 38000001 7c030378 80010014 38210010 7c0803a6
4e800020 80030000 7c000034 5400d97e <0f000000> 7d201828 31290001 7d20192d
WARNING: Bad of_node_put() on
Call Trace:
[c0373ec0] [c0007b5c] (unreliable)
[c0373f00] [c000db50]
[c0373f20] [c017e794]
[c0373f30] [c000d678]
[c0373f40] [c00df390]
[c0373f60] [c00df318]
[c0373f80] [c00df318]
[c0373fa0] [c00df48c]
[c0373fb0] [c03385f8]
[c0373fc0] [c03249c8]
[c0373ff0] [00003438]
------------[ cut here ]------------
Badness at c017e7b8 [verbose debug info unavailable]
NIP: c017e7b8 LR: c000d6a8 CTR: 00000009
REGS: c0373e90 TRAP: 0700 Not tainted (2.6.23)
MSR: 00029032 <EE,ME,IR,DR> CR: 84042048 XER: 00000000
TASK = c034f208[0] 'swapper' THREAD: c0372000
GPR00: 00000001 c0373f40 c034f208 dffff0b4 dfffeee8 00000009 dffe5984 00000000
GPR08: dffe8888 00000004 dffe8778 0000006e 22042042 100aec40 0fffb000 ffffffff
GPR16: 00000000 007ffc00 004e5eb8 007ffbb0 f8320040 0ff37eb8 0fff7298 00000000
GPR24: 00000000 0fa52000 c037741c c034e000 dfffecd8 dfffef3a dfffeee8 dffff080
Call Trace:
[c0373f40] [c00df3b0] (unreliable)
[c0373f50] [c022f4dc]
[c0373f60] [c00df324]
[c0373f80] [c00df318]
[c0373fa0] [c00df48c]
[c0373fb0] [c03385f8]
[c0373fc0] [c03249c8]
[c0373ff0] [00003438]
Instruction dump:
409e0010 7c8903a6 4e800421 38000001 7c030378 80010014 38210010 7c0803a6
4e800020 80030000 7c000034 5400d97e <0f000000> 7d201828 31290001 7d20192d
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc0014a08
Oops: Kernel access of bad area, sig: 11 [#1]
ePM8313e
Modules linked in:
NIP: c0014a08 LR: c01810e8 CTR: 00000009
REGS: c0373e90 TRAP: 0300 Not tainted (2.6.23)
MSR: 00009032 <EE,ME,IR,DR> CR: 84042044 XER: 20000000
DAR: 00000000, DSISR: 20000000
TASK = c034f208[0] 'swapper' THREAD: c0372000
GPR00: c00df33c c0373f40 c034f208 00000000 ffffffff 00000009 dffe5984 00000000
GPR08: dffe8888 00000000 dffe8778 0000006e 22042042 100aec40 0fffb000 ffffffff
GPR16: 00000000 007ffc00 004e5eb8 007ffbb0 f8320040 0ff37eb8 0fff7298 00000000
GPR24: 00000000 0fa52000 c037741c c034e000 dfffecd8 0000002f dffe63e0 00000000
Call Trace:
[c0373f40] [c000d678] (unreliable)
[c0373f60] [c00df33c]
[c0373f80] [c00df318]
[c0373fa0] [c00df48c]
[c0373fb0] [c03385f8]
[c0373fc0] [c03249c8]
[c0373ff0] [00003438]
Instruction dump:
4082fff4 4e800020 38a3ffff 3884ffff 8c650001 2c830000 8c040001 7c601851
4d860020 4182ffec 4e800020 3883ffff <8c040001> 2c000000 4082fff8 7c632050
Kernel panic - not syncing: Attempted to kill the idle task!
Rebooting in 180 seconds..
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.
next prev parent reply other threads:[~2009-12-17 23:29 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 2:43 [U-Boot] [PATCH 00/25] Blackfin updates for v2010.03-rc0 Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 01/25] Blackfin: tweak embedded LDR env config option Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 02/25] Blackfin: update tiny board settings (voltage/default env) Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 03/25] Blackfin: bf537-stamp: rename SPI/MMC define Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 04/25] Blackfin: ADI settings: enable silent console support Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 05/25] Blackfin: bf561-acvilon: new board port Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 06/25] Blackfin: move section length calculation to linker script Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 07/25] Blackfin: do not require CONFIG_BAUDRATE Mike Frysinger
2009-12-17 21:32 ` Wolfgang Denk
2009-12-17 22:34 ` Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 08/25] Blackfin: kill off useless initdram() usage Mike Frysinger
2009-12-17 21:33 ` Wolfgang Denk
2009-12-17 22:23 ` Mike Frysinger
2009-12-17 22:48 ` Wolfgang Denk
2009-12-17 22:55 ` Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 09/25] Blackfin: global_data.h: make pull in needed headers Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 10/25] Blackfin: re-architecture initcode Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 11/25] Blackfin: support boards with no external memory Mike Frysinger
2009-12-17 21:36 ` Wolfgang Denk
2009-12-17 2:43 ` [U-Boot] [PATCH 12/25] Blackfin: bf527-ezkit: auto-select NAND settings Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 13/25] Blackfin: fix L1 Instruction sizes on BF52x/BF54x Mike Frysinger
2009-12-17 2:43 ` [U-Boot] [PATCH 14/25] Blackfin: move watchdog config check to Makefile Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 15/25] Blackfin: use new bfin read/write mmr helper funcs Mike Frysinger
2009-12-17 21:39 ` Wolfgang Denk
2009-12-17 2:44 ` [U-Boot] [PATCH 16/25] Blackfin: asm/string.h: drop useless includes Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 17/25] Blackfin: bfin_spi: let boards control idle value Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 18/25] Blackfin: convert bfin_sdh to generic mmc Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 19/25] Blackfin: bf533-stamp: split and cleanup CF/IDE code Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 20/25] Blackfin: drop unused funcs from io.h Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 21/25] Blackfin: section off the CF/IDE io.h hacks Mike Frysinger
2009-12-17 21:41 ` Wolfgang Denk
2009-12-17 2:44 ` [U-Boot] [PATCH 22/25] Blackfin: pull io funcs from linux Mike Frysinger
2009-12-17 21:43 ` Wolfgang Denk
2009-12-17 22:26 ` Mike Frysinger
2009-12-17 23:29 ` David Tao [this message]
2009-12-17 2:44 ` [U-Boot] [PATCH 23/25] Blackfin: bfin_spi: round up clock divider Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 24/25] Blackfin: bf527-ezkit/bf548-ezkit: add musb board specific initialization Mike Frysinger
2009-12-17 2:44 ` [U-Boot] [PATCH 25/25] Blackfin: add support for BF527-EZKIT v2.1 Mike Frysinger
2009-12-17 21:47 ` Wolfgang Denk
2009-12-17 22:27 ` Mike Frysinger
2009-12-22 0:55 ` [U-Boot] [PATCH 1/3] Blackfin: add a netconsole helper Mike Frysinger
2009-12-22 0:55 ` [U-Boot] [PATCH 2/3] Blackfin: keep hwtrace on CPLB miss Mike Frysinger
2009-12-22 0:55 ` [U-Boot] [PATCH 3/3] Blackfin: handle anomaly 05000257 Mike Frysinger
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=235622.16573.qm@web32106.mail.mud.yahoo.com \
--to=david_xtao@yahoo.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox