Is CCSRBAR relocation broken on P2020?
Hi Ira,
Quoted 26 lines · Felix Radensky
Hello Timur, Kumar, U-Boot List,
I'm working on porting U-Boot to the Freescale P2020 COM-Express board. See the ML post from 2011-09-27 titled "[PATCH 0/2] mpc85xx: support for
Freescale COM Express P2020".When it was posted, the port was working on the top of tree U-Boot. This
included relocation of the CCSRBAR from the power on location of0xff700000to0xffe00000.Today I updated U-Boot to top of tree to address the comments in the initial mailing list posting. Upon attempting to boot the board, I get no console output. I have traced this to commit
6ca88b0958("powerpc/85xx: relocate CCSR before creating the initial RAM area").Indeed, making sure that the code does not run by adding the following to my board config file causes U-Boot to start correctly. Though the CCSRBAR is not relocated, as expected.
#define
CONFIG_SYS_CCSR_DO_NOT_RELOCATEAs an alternative, reverting the commit causes my board to work again. The CCSRBAR is relocated correctly.
Quoted 8 lines
The P2020DS board is very similar to the board I am using. It performs the same relocation of the CCSRBAR that I want to use as well. Does anyone have a P2020DS that they can test with the current top of tree U-Boot? Does it boot? Can you send the output of "md
ffe000001"?Thanks,
Ira
I have P2020DS and can test it. Which configuration exactly, P2020DS or P2020DS_SDCARD ?
Felix.
Quoted 34 lines · Felix Radensky
Hi Ira,
Quoted 31 lines · Felix Radensky
Hello Timur, Kumar, U-Boot List,
I'm working on porting U-Boot to the Freescale P2020 COM-Express board. See the ML post from 2011-09-27 titled "[PATCH 0/2] mpc85xx: support for
Freescale COM Express P2020".When it was posted, the port was working on the top of tree U-Boot. This
included relocation of the CCSRBAR from the power on location of0xff700000to0xffe00000.Today I updated U-Boot to top of tree to address the comments in the initial mailing list posting. Upon attempting to boot the board, I get no console output. I have traced this to commit
6ca88b0958("powerpc/85xx: relocate CCSR before creating the initial RAM area").Indeed, making sure that the code does not run by adding the following to my board config file causes U-Boot to start correctly. Though the CCSRBAR is not relocated, as expected.
#define
CONFIG_SYS_CCSR_DO_NOT_RELOCATEAs an alternative, reverting the commit causes my board to work again. The CCSRBAR is relocated correctly.
The P2020DS board is very similar to the board I am using. It performs the same relocation of the CCSRBAR that I want to use as well. Does anyone have a P2020DS that they can test with the current top of tree U-Boot? Does it boot? Can you send the output of "md
ffe000001"?
Quoted 7 lines
Quoted 3 lines
Thanks,
IraI have P2020DS and can test it. Which configuration exactly, P2020DS or
P2020DS_SDCARD?
The issue I've had with CCSR relocation has been fixed by Timur's patchset titled "powerpc/85xx: fix definition of MAS register macros". So you don't really need to test this.
If you'd like to test it anyway, use P2020DS_SDCARD, where you use the boot_format tool + configuration file to write the U-Boot image to the SD card. It should be booting with the help of the Freescale On-Chip ROM.
Thanks,
Ira