Re: Device Tree setup for 8272-based board

2008-12-23 Thread Daniel Ng
Scott Wood freescale.com> writes: > Yes, if u-boot is providing junk, then you'll probably want to hack up > the wrapper to ignore it. Or just upgrade u-boot to one that works. > Thanks for your advice Scott. Looks like upgrading u-boot will be the easiest way forward. _

Re: Device Tree setup for 8272-based board

2008-12-23 Thread Scott Wood
Daniel Ng wrote: Scott Wood freescale.com> writes: cuboot-824x is for 8240, 8245, and similar chips. You want cuboot-pq2. Hi Scott et al, I seem to get further with the cuboot-824x file- with the cuboot-pq2 file Nonetheless, cuboot-pq2 is the correct one. the boot sequence doesn't even

Re: Device Tree setup for 8272-based board

2008-12-22 Thread Daniel Ng
Scott Wood freescale.com> writes: > cuboot-824x is for 8240, 8245, and similar chips. You want cuboot-pq2. Hi Scott et al, I seem to get further with the cuboot-824x file- with the cuboot-pq2 file the boot sequence doesn't even reach the 'zImage starting' stage. The machine reboots just befor

Re: Device Tree setup for 8272-based board

2008-12-22 Thread Scott Wood
Daniel Ng wrote: Thanks for your helpful responses Scott and Ming Qian. Now, from reading the docco can you please verify my understanding is correct?- First, I need a basic DTS file which will give me a basic Device Tree. The cuboot*.c file takes care of adding other parameters to the Device

Re: Device Tree setup for 8272-based board

2008-12-21 Thread Daniel Ng
Scott Wood freescale.com> writes: > The cuboot file defines things like TARGET_CPM2 or TARGET_824x, which > influences the compilation of the bd_t struct. It's messy, which is why > we use device trees now. > Thanks for your helpful responses Scott and Ming Qian. Now, from reading the doc

Re: Device Tree setup for 8272-based board

2008-12-19 Thread Scott Wood
Daniel Ng wrote: We are migrating our PowerPC 8272-based board from 2.6.14 to 2.6.27. One of the big changes is the need for a Device Tree for bootup. So far, my bootup looks like the below (using u-boot). I am just using arch/powerpc/boot/cuboot-824x.c cuboot-824x is for 8240, 8245, and si

Re: Device Tree setup for 8272-based board

2008-12-19 Thread mingqian
Hi Daniel, I think you'd better read Documentation/powerpc/bootwrapper.txt, and choose the appropriate image target. -- From: "Daniel Ng" Sent: Friday, December 19, 2008 2:31 PM To: Subject: Device Tree setup for 8272-ba

Device Tree setup for 8272-based board

2008-12-18 Thread Daniel Ng
Hi, We are migrating our PowerPC 8272-based board from 2.6.14 to 2.6.27. One of the big changes is the need for a Device Tree for bootup. So far, my bootup looks like the below (using u-boot). I am just using arch/powerpc/boot/cuboot-824x.c and /arch/powerpc/boot/dts/mpc8272ads.dts for now. Th