Home > OS >  Uboot guide powerpc startup problem
Uboot guide powerpc startup problem

Time:11-11

Doing now uboot guide powerpc (e300core) starts, chip manual regulation boot vector (first instruction location) to 0 xfff00100 but write uboot burn in nandflash 0 xfff00000 location, uboot can normal boot, this is why!!! Don't understand

CodePudding user response:

If there is a great god under the guidance

CodePudding user response:

Codewarrior, debug to look at the disassembly flash code will know why, instruction execution hardware start position, sometimes the front part of the initialization may not need to also can start the assignment, it is up a jump instruction, such as
Still had better according to the standard operation,
You don't carry out, so it may cause operation instructions start belongs to a coincidence,

CodePudding user response:

Nandflash generally cannot directly take instruction execution, but nandflash can deposit uboot image file,
First instruction must from the CPU chip chip ROM or outside the CPU chip piece norflash,
E300core PowerPC what sort of situation, depending on the manual,
In either case, the nandflash uboot image cannot be directly executed, but before uboot image code is copied into a SDRAM, and then jump to perform,

CodePudding user response:

0 xfff00100 is the starting address of parallel nor flash, nand the start address is not this,
First determine the way you started, started from nor and nand, see your description from nor start, then writes the uboot nand of any position will not affect the original nor flash has some uboot, all does not affect from nor flash start uboot
  • Related