Skip to contentSkip to conversation

implementation of lowboot for pq2fads-zu board

U-Boot-Users Nethra 4 participants 5 messages Nov 3, 2006 – Nov 6, 2006

lore
Share & tools
lore

Nethra

author
#0 lore raw

hi,
i am new to linux, kindly help me to solve my problem.
1. I am using

               u-boot-1.1.1
               pq2fads-zu board
               bdi 2000

now it is in high boot,but i want to change it to lowboot what are all the changes to be made in include/configs/mpc8260ads.h board/mpc8260/config.mk
cpu/mpc8260
Makefile

kindly suggest the changes to be done.

2. if i want do changes in u-boot-1.1.1for custom board what are all the changes to be done.

thanks
Nethra

Signature · 2 lines
View this message in context: http://www.nabble.com/implementation-of-lowboot-for-pq2fads-zu-board-tf2567491.html#a7156253
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw

Nethra,

Quoted 8 lines · Nethra

kindly suggest the changes to be done.

2. if i want do changes in u-boot-1.1.1for custom board what are all the changes to be done.

thanks
Nethra

Here are the initial steps. Once you've completed them, feel free to post follow-on questions:

1. The U-boot code that you have is old. Please get the latest,
nominally version 1.1.6, which is available at
git://www.denx.de/git/u-boot.git

You'll need to install and learn the 'git' source code control application. I'd explain how, but you'll learn much more if you figure it out for yourself. Google will help you here. OK, here's one link:
http://www.kernel.org/pub/software/scm/git/docs/everyday.html#Individual
%20Developer%20(Participant)

2. Read the excellent documentation at
http://www.denx.de/wiki/DULG/Manual

3. Read the README that accompanies the U-boot code. There is a section
on code porting that will be useful. There is also lots of documentation in the /doc directory, some of which may be helpful to you.

4. Read and understand the source code for the 'pq2fads' board that your
custom board is based on.

regards,
Ben

#2 lore raw
Quoted 34 lines · Ben Warren

Nethra,

Quoted 8 lines · Nethra

kindly suggest the changes to be done.

2. if i want do changes in u-boot-1.1.1for custom board what are all the changes to be done.

thanks
Nethra

Here are the initial steps. Once you've completed them, feel free to post follow-on questions:

1. The U-boot code that you have is old. Please get the latest,
nominally version 1.1.6, which is available at
git://www.denx.de/git/u-boot.git

You'll need to install and learn the 'git' source code control application. I'd explain how, but you'll learn much more if you figure it out for yourself. Google will help you here. OK, here's one link:
http://www.kernel.org/pub/software/scm/git/docs/everyday.html#Individual
%20Developer%20(Participant)

2. Read the excellent documentation at
http://www.denx.de/wiki/DULG/Manual

3. Read the README that accompanies the U-boot code. There is a section
on code porting that will be useful. There is also lots of documentation in the /doc directory, some of which may be helpful to you.

Quoted 5 lines

4. Read and understand the source code for the 'pq2fads' board that your
custom board is based on.

regards,
Ben

Do all of the above, then when you make your configuration, use the PQ2FADS-ZU_lowboot_config:

$ make PQ2FADS-ZU_lowboot_config

Look at the top level Makefile to see what it is doing, it is putting some customizing stuff in the include/config.h file (make the configuration and then look in the config.h file).

You need to switch a jumper J7 to short pins 1-2 (default is 2-3) to switch from fetching the HRCW from the BCSR register to fetching the HRCW from flash.

DON'T erase the high boot version of u-boot - by switching the jumper J7 back, you can recover from loading a bad u-boot in the lowboot position by reloading a good lowboot u-boot. DAMHIKT.

gvb

#3 lore raw
In reply to Nethra
Quoted 6 lines · In message <[email protected]> you wrote:

1. I am using

               u-boot-1.1.1
               pq2fads-zu board
               bdi 2000
Quoted 7 lines

now it is in high boot,but i want to change it to lowboot what are all the changes to be made in include/configs/mpc8260ads.h board/mpc8260/config.mk
cpu/mpc8260
Makefile

kindly suggest the changes to be done.

It's a 3 stage procedure.

Step 1 is reading the documentation and understanding the hardware (and I mean *really* understanding it).

Step 2 is updating to current code, i. e. top of tree in the git repo, or at least U-Boot version 1.1.6.

Step 3 is implementing the changes.

Quoted 2 lines

2. if i want do changes in u-boot-1.1.1for custom board what are all the changes to be done.

You don't want to use this ancient version for current work. Please use the *current* version ( top of tree in the git repo) for all new work.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real programmers can write assembly code in any language.   :-)
                      - Larry Wall in  <[email protected]>
author
#4 lore raw

hi,
i am working on pq2fads-zu board.
1. It supports flash of size 8mb.but i want to change to 32 how to do it.
2. it works at 64mb sdram and i want to change it to 128mb.

plz suggest correct the changes to be done....awaiting for early response.

Quoted 5 lines

1. I am using

               u-boot-1.1.1
               pq2fads-zu board
               bdi 2000
Quoted 7 lines

now it is in high boot,but i want to change it to lowboot what are all the changes to be made in include/configs/mpc8260ads.h board/mpc8260/config.mk
cpu/mpc8260
Makefile

kindly suggest the changes to be done.

It's a 3 stage procedure.

Step 1 is reading the documentation and understanding the hardware (and I mean *really* understanding it).

Step 2 is updating to current code, i. e. top of tree in the git repo, or at least U-Boot version 1.1.6.

Step 3 is implementing the changes.

Quoted 2 lines

2. if i want do changes in u-boot-1.1.1for custom board what are all the changes to be done.

You don't want to use this ancient version for current work. Please use the *current* version ( top of tree in the git repo) for all new work.

Best regards,

Wolfgang Denk

Signature · 2 lines
View this message in context: http://www.nabble.com/implementation-of-lowboot-for-pq2fads-zu-board-tf2567491.html#a7193394
Sent from the Uboot - Users mailing list archive at Nabble.com.