
Dear Shaohui Xie,
In message 1289897403-24602-1-git-send-email-b21989@freescale.com you wrote:
+The P4080 is capable of booting from SPI. The bootup process can be divided into +two stages: the first stage will load RCW and write configuration registers to +initialize SPI interface, and configure one CPC as 1M SRAM, and loads U-boot image +to CPC. The second stage will configure all the hardware and boot up to U-Boot +command line.
+The PBL image contains three parts, the first is RCW, the second is PBI commands +performs configuration registers write, the third is the 512KB u-boot image. The +PBL image is produced by tool pbl_image_tool.html.
Please explain abbreviations. What's PBI? CPC?
What is "pbl_image_tool.html"? I doubt that a HTML page can be used as tool?
And where can this tool be found? And why is it not part of the U-Boot distribution?
+1. Producing RCW +Copy RCW of u-boot dump and paste it to tab "Tools" of the tool and choose +"Boot" and change PBI_SRC to "0b0101 - SPI 24b Addressing", change BOOT_LOC to
You really mean one has to go to some web page and manually copy and paste information there?
To build some image?
May I ask how you do automatic regression testing?
+2. Producing ACS File
What is ACS?
- make P4080DS_PBL_BOOT_INDIRECT_config
- make CROSS_COMPILE=powerpc-none-linux-gnuspe- all
- xxd u-boot.bin > u-boot.xxd
+3. Producing PBI commands +Switch to tab "PBI" and paste commands below into text field (please note these +commands are for CPC1 used as SRAM only, change corresponding register setting +if CPC2 need to be used as SRAM), then choose "ACS File (XXD Object Dump)", +change Offset to "f80000", and click "Browse" to select the u-boot.xxd file +produced in step 2, and click "Add PBI Data", after it finished, paste +"09138000 00000000" and "091380c0 00000000" at the end.
This must be a bad joke.
Can you not provide a plain and simple AUTOMATIC way to get this result? some plain stupid command line tool? Something that works as a simple "make XXX" ? So it can be scripted / automatized / used?
Best regards,
Wolfgang Denk