* [U-Boot] Questions about U-boot of customized MPC8315E board
@ 2013-04-25 14:27 du zhenhuan
2013-04-25 19:36 ` Wolfgang Denk
2013-05-21 22:03 ` Scott Wood
0 siblings, 2 replies; 5+ messages in thread
From: du zhenhuan @ 2013-04-25 14:27 UTC (permalink / raw)
To: u-boot
Hello,
I'm a newbie using U-boot and met several problems
with a customized board based on MPC8315E-RDB board.
On the new board, I have changed the Ethernet PHY to TI's DP83848
and NAND FLASH to 64Mbit (from old 32Mbit).
During U-boot form NOR FLASH , I met two problems :
1, if NAND flash support is enabled,
U-boot just print out "NAND : " without size info and then print out text like "machine check ...,",
then print out "resetting board ..."
So the board keep resetting again and again.
Does this have anything to do with NAND FLASH size change or NAND PART types?
2.if NAND flash support is disabled,
U-boot just go to Ethernet PHY initialization part and print out that DP83848 is not supported ,
Where can I put new driver to support it?
3.How can I watch more ouput infomation during U-boot boot process to debug these problems ?
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Questions about U-boot of customized MPC8315E board
2013-04-25 14:27 [U-Boot] Questions about U-boot of customized MPC8315E board du zhenhuan
@ 2013-04-25 19:36 ` Wolfgang Denk
2013-04-26 4:42 ` zhenhuan
2013-05-21 22:03 ` Scott Wood
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2013-04-25 19:36 UTC (permalink / raw)
To: u-boot
Dear "du zhenhuan",
In message <202dafde.df1f.13e4197224a.Coremail.dev_du@163.com> you wrote:
>
> 1, if NAND flash support is enabled,
> U-boot just print out "NAND : " without size info and then print out text like "machine check ...,",
> then print out "resetting board ..."
> So the board keep resetting again and again.
> Does this have anything to do with NAND FLASH size change or NAND PART types?
It has probably nothing to do with the NAND flash size, but with the
NAND chip type, and/or with other changes you did for your port.
>
> 2.if NAND flash support is disabled,
> U-boot just go to Ethernet PHY initialization part and print out that DP83848 is not supported ,
> Where can I put new driver to support it?
PHY support is in drivers/net/phy/
Are you sure generic PHY support does not work for you?
> 3.How can I watch more ouput infomation during U-boot boot process to debug these problems ?
Define DEBUG for the interesting files?
Attach a JTAG debugger und fire up GDB?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Reader, suppose you were an idiot. And suppose you were a member of
Congress. But I repeat myself. - Mark Twain
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Questions about U-boot of customized MPC8315E board
2013-04-25 19:36 ` Wolfgang Denk
@ 2013-04-26 4:42 ` zhenhuan
2013-04-26 7:05 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: zhenhuan @ 2013-04-26 4:42 UTC (permalink / raw)
To: u-boot
Hi,
About debug,
Where should I define the macro to enable debug() function definition?
Is there a place in makefile or head file?
On 2013/4/26 3:36, Wolfgang Denk wrote:
> Dear "du zhenhuan",
>
> In message <202dafde.df1f.13e4197224a.Coremail.dev_du@163.com> you wrote:
>> 1, if NAND flash support is enabled,
>> U-boot just print out "NAND : " without size info and then print out text like "machine check ...,",
>> then print out "resetting board ..."
>> So the board keep resetting again and again.
>> Does this have anything to do with NAND FLASH size change or NAND PART types?
> It has probably nothing to do with the NAND flash size, but with the
> NAND chip type, and/or with other changes you did for your port.
>
>> 2.if NAND flash support is disabled,
>> U-boot just go to Ethernet PHY initialization part and print out that DP83848 is not supported ,
>> Where can I put new driver to support it?
> PHY support is in drivers/net/phy/
>
> Are you sure generic PHY support does not work for you?
>
>> 3.How can I watch more ouput infomation during U-boot boot process to debug these problems ?
> Define DEBUG for the interesting files?
>
> Attach a JTAG debugger und fire up GDB?
>
> Best regards,
>
> Wolfgang Denk
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Questions about U-boot of customized MPC8315E board
2013-04-26 4:42 ` zhenhuan
@ 2013-04-26 7:05 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2013-04-26 7:05 UTC (permalink / raw)
To: u-boot
Dear zhenhuan,
Please follow the nteiquette: do not top post / full quote!!
If you need help, please see
http://www.netmeister.org/news/learn2quote.html
In message <517A05CC.60003@163.com> you wrote:
>
> Where should I define the macro to enable debug() function definition?
> Is there a place in makefile or head file?
Enable it (either on the compile command line or as a #define which
must go _before_ the first #include) for/in the files for which you
want to see debug information.
Note: it is usually not a good idea to enable it globally.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report! - Ken Burchill?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Questions about U-boot of customized MPC8315E board
2013-04-25 14:27 [U-Boot] Questions about U-boot of customized MPC8315E board du zhenhuan
2013-04-25 19:36 ` Wolfgang Denk
@ 2013-05-21 22:03 ` Scott Wood
1 sibling, 0 replies; 5+ messages in thread
From: Scott Wood @ 2013-05-21 22:03 UTC (permalink / raw)
To: u-boot
On 04/25/2013 09:27:03 AM, du zhenhuan wrote:
> Hello,
> I'm a newbie using U-boot and met several problems
> with a customized board based on MPC8315E-RDB board.
> On the new board, I have changed the Ethernet PHY to TI's DP83848
> and NAND FLASH to 64Mbit (from old 32Mbit).
>
>
> During U-boot form NOR FLASH , I met two problems :
>
>
> 1, if NAND flash support is enabled,
> U-boot just print out "NAND : " without size info and then print
> out text like "machine check ...,",
> then print out "resetting board ..."
> So the board keep resetting again and again.
> Does this have anything to do with NAND FLASH size change or NAND
> PART types?
Make sure that the physical address you're trying to map NAND at is
covered by a LAW that points to eLBC, and that the LAW, eLBC, and TLB
physical addresses match.
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-21 22:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-25 14:27 [U-Boot] Questions about U-boot of customized MPC8315E board du zhenhuan
2013-04-25 19:36 ` Wolfgang Denk
2013-04-26 4:42 ` zhenhuan
2013-04-26 7:05 ` Wolfgang Denk
2013-05-21 22:03 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox