
No, I don't think I made changes to let CPU know about this when it branches to the boot vector.
After I posted this message, I learned the reset vector for the PPC architecture lies at 0xFFF00100. Does it mean the u-boot has to start at the address 0xFFF00000? If not, how can I let CPU know to look for u-boot at this new address? Please let me know if it is documented somewhere.
Thanks, Jatin
2008/8/4 Scott Wood scottwood@freescale.com:
On Fri, Aug 01, 2008 at 12:16:13PM -0500, Jatin Sharma wrote:
I have to increase u-boot's partition size on my board to make room for an application to be compiled as part of u-boot binary. I am currently running u-boot version "1.3.1-rc1" and my current NOR partition is as follows:
Partition Address
/dev/mtd0 -RCW, 64k 0xFF800000 /dev/mtd1 Kernel 2M 0xFF810000 /dev/mtd2 cramfs 4.8M 0xFFA10000 /dev/mtd3 U-Boot 384K 0xFFF00000 /dev/mtd4 Env 64K 0xFFF60000 /dev/mtd5 EnvB 64K 0xFFF70000 /dev/mtd6 DTB 64K 0xFFF90000
I have updated to Flattened Device Tree to reflect the new partition as follows. Also, I have updated the TEXT_BASE to 0xFFE60000 in the config.mk under board/<my board> directory.
Partition Address
/dev/mtd0 -RCW, 64k 0xFF800000 /dev/mtd1 Kernel 2M 0xFF810000 /dev/mtd2 cramfs 4.3M 0xFFA10000 /dev/mtd3 U-Boot 1M 0xFFE60000 /dev/mtd4 Env 64K 0xFFF60000 /dev/mtd5 EnvB 64K 0xFFF70000 /dev/mtd6 DTB 64K 0xFFF90000
U-Boot binary with the updated FDT doesn't boot.
You changed the address where u-boot starts. Does the CPU know about this when it branches to the boot vector?
-Scott
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users