* mpc 860 boot linux2.6.23 problem
@ 2007-10-15 3:15 keng_629
2007-10-15 17:17 ` Scott Wood
0 siblings, 1 reply; 11+ messages in thread
From: keng_629 @ 2007-10-15 3:15 UTC (permalink / raw)
To: linuxppc-embedded@ozlabs.org
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
i am proting linux2.63.23 to mpc860t board with uboot1.1.4 as bootloader.
my bootargs is root=/dev/ram rw init=/linuxrc.
i use debugger to see the regedits, find pc is run in the cpu_idle().
what is wrong with my kernel, plese give me some advice.thank you .
yours keng_629
keng_629
2007-10-15
[-- Attachment #2: Type: text/html, Size: 1254 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-15 3:15 mpc 860 boot linux2.6.23 problem keng_629
@ 2007-10-15 17:17 ` Scott Wood
2007-10-15 23:38 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: Scott Wood @ 2007-10-15 17:17 UTC (permalink / raw)
To: keng_629; +Cc: linuxppc-embedded@ozlabs.org
keng_629 wrote:
>
> i am proting linux2.63.23 to mpc860t board with uboot1.1.4 as bootloader.
> my bootargs is root=/dev/ram rw init=/linuxrc.
> i use debugger to see the regedits, find pc is run in the cpu_idle().
> what is wrong with my kernel, plese give me some advice.thank you .
Posting the same thing over and over again isn't going to change the
response. Try head-of-Linus's-git, make sure you're using arch/powerpc,
and post the device tree you're using. Without more information, we
can't help you.
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-15 17:17 ` Scott Wood
@ 2007-10-15 23:38 ` Wolfgang Denk
2007-10-16 16:18 ` Scott Wood
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2007-10-15 23:38 UTC (permalink / raw)
To: Scott Wood; +Cc: linuxppc-embedded@ozlabs.org
In message <4713A08C.3060204@freescale.com> you wrote:
> keng_629 wrote:
> >
> > i am proting linux2.63.23 to mpc860t board with uboot1.1.4 as bootloader.
> > my bootargs is root=/dev/ram rw init=/linuxrc.
> > i use debugger to see the regedits, find pc is run in the cpu_idle().
> > what is wrong with my kernel, plese give me some advice.thank you .
>
> Posting the same thing over and over again isn't going to change the
> response. Try head-of-Linus's-git, make sure you're using arch/powerpc,
> and post the device tree you're using. Without more information, we
> can't help you.
Just to point out the obvious: U-Boot 1.1.4 is *way* too old to
support any device-tree based kernel, so the fist step is to update
U-Boot to a somewhat recent version (i. e. 1.3.0-rcX).
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@denx.de
"Faith: not *wanting* to know what is true." - Friedrich Nietzsche
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-15 23:38 ` Wolfgang Denk
@ 2007-10-16 16:18 ` Scott Wood
2007-10-17 2:58 ` Dan Malek
0 siblings, 1 reply; 11+ messages in thread
From: Scott Wood @ 2007-10-16 16:18 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded@ozlabs.org
Wolfgang Denk wrote:
> In message <4713A08C.3060204@freescale.com> you wrote:
>> keng_629 wrote:
>>>
>>> i am proting linux2.63.23 to mpc860t board with uboot1.1.4 as bootloader.
>>> my bootargs is root=/dev/ram rw init=/linuxrc.
>>> i use debugger to see the regedits, find pc is run in the cpu_idle().
>>> what is wrong with my kernel, plese give me some advice.thank you .
>> Posting the same thing over and over again isn't going to change the
>> response. Try head-of-Linus's-git, make sure you're using arch/powerpc,
>> and post the device tree you're using. Without more information, we
>> can't help you.
>
> Just to point out the obvious: U-Boot 1.1.4 is *way* too old to
> support any device-tree based kernel, so the fist step is to update
> U-Boot to a somewhat recent version (i. e. 1.3.0-rcX).
Upgrading to the latest u-boot certainly shouldn't hurt, but I don't
think there's any device tree support for 8xx yet, so for now he should
boot with cuImage.
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-16 16:18 ` Scott Wood
@ 2007-10-17 2:58 ` Dan Malek
2007-10-17 15:31 ` Scott Wood
0 siblings, 1 reply; 11+ messages in thread
From: Dan Malek @ 2007-10-17 2:58 UTC (permalink / raw)
To: Scott Wood; +Cc: linuxppc-embedded@ozlabs.org
On Oct 16, 2007, at 12:18 PM, Scott Wood wrote:
> Upgrading to the latest u-boot certainly shouldn't hurt, but I don't
> think there's any device tree support for 8xx yet,
Have you tried it? Works for me. In fact, most
of the development you see today was done
by Pantelis on the 8xx.
-- Dan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-17 2:58 ` Dan Malek
@ 2007-10-17 15:31 ` Scott Wood
2007-10-17 16:40 ` Dan Malek
2007-10-17 18:54 ` Jochen Friedrich
0 siblings, 2 replies; 11+ messages in thread
From: Scott Wood @ 2007-10-17 15:31 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded@ozlabs.org
Dan Malek wrote:
>
> On Oct 16, 2007, at 12:18 PM, Scott Wood wrote:
>
>> Upgrading to the latest u-boot certainly shouldn't hurt, but I don't
>> think there's any device tree support for 8xx yet,
>
> Have you tried it? Works for me. In fact, most
> of the development you see today was done
> by Pantelis on the 8xx.
I just pulled Wolfgang's latest u-boot tree, and I don't see any fdt or
ft_ calls in cpu/mpc8xx, nor in any 8xx board that I recognize.
I may have been unclear in that I was talking about device tree support
in u-boot, not the kernel. Obviously there's device tree support in the
kernel, as evidenced by my reference to using cuImage.
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-17 15:31 ` Scott Wood
@ 2007-10-17 16:40 ` Dan Malek
2007-10-17 17:26 ` Scott Wood
2007-10-17 18:54 ` Jochen Friedrich
1 sibling, 1 reply; 11+ messages in thread
From: Dan Malek @ 2007-10-17 16:40 UTC (permalink / raw)
To: Scott Wood; +Cc: linuxppc-embedded@ozlabs.org
On Oct 17, 2007, at 11:31 AM, Scott Wood wrote:
> I just pulled Wolfgang's latest u-boot tree, and I don't see any
> fdt or ft_ calls in cpu/mpc8xx, nor in any 8xx board that I recognize.
The STx XTc 885 is supported and was used for
a majority of the FT development in u-boot. I
just built it a few months ago, it worked fine, so
if it isn't working today the changes should be
minimal to bring it up to date.
Thanks.
-- Dan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-17 16:40 ` Dan Malek
@ 2007-10-17 17:26 ` Scott Wood
[not found] ` <200710190724253750363@126.com>
0 siblings, 1 reply; 11+ messages in thread
From: Scott Wood @ 2007-10-17 17:26 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded@ozlabs.org
Dan Malek wrote:
>
> On Oct 17, 2007, at 11:31 AM, Scott Wood wrote:
>
>> I just pulled Wolfgang's latest u-boot tree, and I don't see any fdt
>> or ft_ calls in cpu/mpc8xx, nor in any 8xx board that I recognize.
>
> The STx XTc 885 is supported and was used for
> a majority of the FT development in u-boot. I
> just built it a few months ago, it worked fine, so
> if it isn't working today the changes should be
> minimal to bring it up to date.
OK, that wasn't a board I recognized. :-P
Still, most 8xx boards are not yet converted AFAICT. Not that it'd be
hard to do so, but it might be a bit misleading to say "upgrade u-boot
and get device tree support". :-)
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-17 15:31 ` Scott Wood
2007-10-17 16:40 ` Dan Malek
@ 2007-10-17 18:54 ` Jochen Friedrich
2007-10-17 19:15 ` Scott Wood
1 sibling, 1 reply; 11+ messages in thread
From: Jochen Friedrich @ 2007-10-17 18:54 UTC (permalink / raw)
To: Scott Wood; +Cc: linuxppc-embedded@ozlabs.org
Hi Scott,
> I just pulled Wolfgang's latest u-boot tree, and I don't see any fdt or
> ft_ calls in cpu/mpc8xx, nor in any 8xx board that I recognize.
>
> I may have been unclear in that I was talking about device tree support
> in u-boot, not the kernel. Obviously there's device tree support in the
> kernel, as evidenced by my reference to using cuImage.
>
Can u-boot work on dtb trees embedded in an cuImage, at all?
How would command line arguments work without a chosen
node?
I tried to boot a mpc823 using the 3 argument mboot command.
u-boot processed the dtb and added the chosen node correctly,
however the kernel immediately oopsed with unable to access
virtual memory when accessing the dtb memory as this memory
was not contained in the kernel MMU space.
Thanks,
Jochen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mpc 860 boot linux2.6.23 problem
2007-10-17 18:54 ` Jochen Friedrich
@ 2007-10-17 19:15 ` Scott Wood
0 siblings, 0 replies; 11+ messages in thread
From: Scott Wood @ 2007-10-17 19:15 UTC (permalink / raw)
To: Jochen Friedrich; +Cc: linuxppc-embedded@ozlabs.org
Jochen Friedrich wrote:
> Hi Scott,
>
>> I just pulled Wolfgang's latest u-boot tree, and I don't see any fdt
>> or ft_ calls in cpu/mpc8xx, nor in any 8xx board that I recognize.
>>
>> I may have been unclear in that I was talking about device tree
>> support in u-boot, not the kernel. Obviously there's device tree
>> support in the kernel, as evidenced by my reference to using cuImage.
>>
>
> Can u-boot work on dtb trees embedded in an cuImage, at all?
No. If you want that, you need to use a normal uImage.
> How would command line arguments work without a chosen
> node?
The bad old way: argument registers and the bd_t. The bootwrapper fills
in /chosen/bootargs and other things based on that.
It's just for compatibility; use uImage if you can.
> I tried to boot a mpc823 using the 3 argument mboot command.
> u-boot processed the dtb and added the chosen node correctly,
> however the kernel immediately oopsed with unable to access
> virtual memory when accessing the dtb memory as this memory
> was not contained in the kernel MMU space.
Make sure your version of u-boot understands the new bindings for things
like brg frequency, or (less preferred) set it manually in your dts.
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-10-21 13:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 3:15 mpc 860 boot linux2.6.23 problem keng_629
2007-10-15 17:17 ` Scott Wood
2007-10-15 23:38 ` Wolfgang Denk
2007-10-16 16:18 ` Scott Wood
2007-10-17 2:58 ` Dan Malek
2007-10-17 15:31 ` Scott Wood
2007-10-17 16:40 ` Dan Malek
2007-10-17 17:26 ` Scott Wood
[not found] ` <200710190724253750363@126.com>
2007-10-21 13:43 ` keng_629
2007-10-17 18:54 ` Jochen Friedrich
2007-10-17 19:15 ` Scott Wood
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).