Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
00c60f91
Commit
00c60f91
authored
12 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Minor Coding Style Cleanup.
Signed-off-by:
Wolfgang Denk
<
wd@denx.de
>
parent
b264bcf2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/freescale/p1010rdb/README
+0
-3
0 additions, 3 deletions
board/freescale/p1010rdb/README
doc/README.mpc85xx
+27
-27
27 additions, 27 deletions
doc/README.mpc85xx
with
27 additions
and
30 deletions
board/freescale/p1010rdb/README
+
0
−
3
View file @
00c60f91
...
@@ -146,7 +146,6 @@ Build and burn u-boot to NAND flash
...
@@ -146,7 +146,6 @@ Build and burn u-boot to NAND flash
3. Check SW4[1:4]= 1000 and SW6[4]=1, then power on.
3. Check SW4[1:4]= 1000 and SW6[4]=1, then power on.
Build and burn u-boot to SPI flash
Build and burn u-boot to SPI flash
==================================
==================================
1. Build u-boot-spi.bin image
1. Build u-boot-spi.bin image
...
@@ -166,7 +165,6 @@ Build and burn u-boot to SPI flash
...
@@ -166,7 +165,6 @@ Build and burn u-boot to SPI flash
3. Check SW4[1:4]= 0110 and SW6[4]=0, then power on.
3. Check SW4[1:4]= 0110 and SW6[4]=0, then power on.
CPLD POR setting registers
CPLD POR setting registers
==========================
==========================
1. Set POR switch selection register (addr 0xFFB00011) to 0.
1. Set POR switch selection register (addr 0xFFB00011) to 0.
...
@@ -197,7 +195,6 @@ Switch from NAND to NOR boot with Core/CCB/DDR (800/400/667 MHz):
...
@@ -197,7 +195,6 @@ Switch from NAND to NOR boot with Core/CCB/DDR (800/400/667 MHz):
=> reset
=> reset
Boot Linux from network using TFTP on P1010RDB
Boot Linux from network using TFTP on P1010RDB
==============================================
==============================================
Place uImage, p1010rdb.dtb and rootfs files in the TFTP disk area.
Place uImage, p1010rdb.dtb and rootfs files in the TFTP disk area.
...
...
This diff is collapsed.
Click to expand it.
doc/README.mpc85xx
+
27
−
27
View file @
00c60f91
...
@@ -26,15 +26,15 @@ Major Config Switches during various boot Modes
...
@@ -26,15 +26,15 @@ Major Config Switches during various boot Modes
----------------------------------------------
----------------------------------------------
NOR boot
NOR boot
!defined(CONFIG_SYS_RAMBOOT)
!defined(CONFIG_SYS_RAMBOOT)
NOR boot Secure
NOR boot Secure
!defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_SECURE_BOOT)
!defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_SECURE_BOOT)
RAMBOOT(SD, SPI & NAND boot)
RAMBOOT(SD, SPI & NAND boot)
defined(CONFIG_SYS_RAMBOOT)
defined(CONFIG_SYS_RAMBOOT)
RAMBOOT Secure (SD, SPI & NAND)
RAMBOOT Secure (SD, SPI & NAND)
defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_SECURE_BOOT)
defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_SECURE_BOOT)
NAND SPL BOOT
NAND SPL BOOT
defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_NAND_SPL)
defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_NAND_SPL)
TLB Entries during u-boot execution
TLB Entries during u-boot execution
...
@@ -45,44 +45,44 @@ Note: Sequence number is in order of execution
...
@@ -45,44 +45,44 @@ Note: Sequence number is in order of execution
A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot
A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot
1) TLB entry to overcome e500 v1/v2 debug restriction
1) TLB entry to overcome e500 v1/v2 debug restriction
Location
: Label "_start_e500"
Location
: Label "_start_e500"
TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB
TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_MONITOR_BASE
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_MONITOR_BASE
Properties : 256K, AS0, I, IPROT
Properties : 256K, AS0, I, IPROT
2) TLB entry for working in AS1
2) TLB entry for working in AS1
Location
: Label "create_init_ram_area"
Location
: Label "create_init_ram_area"
TLB Entry : 15
TLB Entry : 15
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_MONITOR_BASE
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_MONITOR_BASE
Properties : 1M, AS1, I, G, IPROT
Properties : 1M, AS1, I, G, IPROT
3) TLB entry for the stack during AS1
3) TLB entry for the stack during AS1
Location
: Lable "create_init_ram_area"
Location
: Lable "create_init_ram_area"
TLB Entry : 14
TLB Entry : 14
EPN -->RPN : CONFIG_SYS_INIT_RAM_ADDR --> CONFIG_SYS_INIT_RAM_ADDR
EPN -->RPN : CONFIG_SYS_INIT_RAM_ADDR --> CONFIG_SYS_INIT_RAM_ADDR
Properties : 16K, AS1, IPROT
Properties : 16K, AS1, IPROT
4) TLB entry for CCSRBAR during AS1 execution
4) TLB entry for CCSRBAR during AS1 execution
Location
: cpu_init_early_f
Location
: cpu_init_early_f
TLB Entry : 13
TLB Entry : 13
EPN -->RPN : CONFIG_SYS_CCSRBAR --> CONFIG_SYS_CCSRBAR
EPN -->RPN : CONFIG_SYS_CCSRBAR --> CONFIG_SYS_CCSRBAR
Properties : 1M, AS1, I, G
Properties : 1M, AS1, I, G
5) Invalidate unproctected TLB Entries
5) Invalidate unproctected TLB Entries
Location
: cpu_init_early_f
Location
: cpu_init_early_f
Invalidated: 13
Invalidated: 13
6) Create TLB entries as per boards/freescale/<board>/tlb.c
6) Create TLB entries as per boards/freescale/<board>/tlb.c
Location
: cpu_init_early_f --> init_tlbs()
Location
: cpu_init_early_f --> init_tlbs()
Properties : ..., AS0, ...
Properties : ..., AS0, ...
Please note It can overwrites previous TLB Entries.
Please note It can overwrites previous TLB Entries.
7) Disable TLB Entries of AS1
7) Disable TLB Entries of AS1
Location
: cpu_init_f --> disable_tlb()
Location
: cpu_init_f --> disable_tlb()
Disable
: 15, 14
Disable
: 15, 14
8) Update Flash's TLB entry
8) Update Flash's TLB entry
Location
: Board_init_r
Location
: Board_init_r
TLB entry : Search from TLB entries
TLB entry : Search from TLB entries
EPN -->RPN : CONFIG_SYS_FLASH_BASE --> CONFIG_SYS_FLASH_BASE_PHYS
EPN -->RPN : CONFIG_SYS_FLASH_BASE --> CONFIG_SYS_FLASH_BASE_PHYS
Properties : Board specific size, AS0, I, G, IPROT
Properties : Board specific size, AS0, I, G, IPROT
...
@@ -91,7 +91,7 @@ A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot
...
@@ -91,7 +91,7 @@ A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot
B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
1) TLB entry to overcome e500 v1/v2 debug restriction
1) TLB entry to overcome e500 v1/v2 debug restriction
Location
: Label "_start_e500"
Location
: Label "_start_e500"
TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB
TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB
#if defined(CONFIG_SECURE_BOOT)
#if defined(CONFIG_SECURE_BOOT)
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_PBI_FLASH_WINDOW
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_PBI_FLASH_WINDOW
...
@@ -102,7 +102,7 @@ B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
...
@@ -102,7 +102,7 @@ B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
#endif
#endif
2) TLB entry for working in AS1
2) TLB entry for working in AS1
Location
: Label "create_init_ram_area"
Location
: Label "create_init_ram_area"
TLB Entry : 15
TLB Entry : 15
#if defined(CONFIG_SECURE_BOOT)
#if defined(CONFIG_SECURE_BOOT)
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_PBI_FLASH_WINDOW
EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_PBI_FLASH_WINDOW
...
@@ -113,54 +113,54 @@ B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
...
@@ -113,54 +113,54 @@ B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
#endif
#endif
3) TLB entry for the stack during AS1
3) TLB entry for the stack during AS1
Location
: Lable "create_init_ram_area"
Location
: Lable "create_init_ram_area"
TLB Entry : 14
TLB Entry : 14
EPN -->RPN : CONFIG_SYS_INIT_RAM_ADDR --> CONFIG_SYS_INIT_RAM_ADDR
EPN -->RPN : CONFIG_SYS_INIT_RAM_ADDR --> CONFIG_SYS_INIT_RAM_ADDR
Properties : 16K, AS1, IPROT
Properties : 16K, AS1, IPROT
4) TLB entry for CCSRBAR during AS1 execution
4) TLB entry for CCSRBAR during AS1 execution
Location
: cpu_init_early_f
Location
: cpu_init_early_f
TLB Entry : 13
TLB Entry : 13
EPN -->RPN : CONFIG_SYS_CCSRBAR --> CONFIG_SYS_CCSRBAR
EPN -->RPN : CONFIG_SYS_CCSRBAR --> CONFIG_SYS_CCSRBAR
Properties : 1M, AS1, I, G
Properties : 1M, AS1, I, G
5) TLB entry for Errata workaround CONFIG_SYS_FSL_ERRATUM_IFC_A003399
5) TLB entry for Errata workaround CONFIG_SYS_FSL_ERRATUM_IFC_A003399
Location
: cpu_init_early_f
Location
: cpu_init_early_f
TLB Entry : 9
TLB Entry : 9
EPN -->RPN : SRAM_BASE_ADDR --> SRAM_BASE_ADDR
EPN -->RPN : SRAM_BASE_ADDR --> SRAM_BASE_ADDR
Properties : 1M, AS1, I
Properties : 1M, AS1, I
6) CONFIG_SYS_FSL_ERRATUM_IFC_A003399 Adjust flash's phys addr
6) CONFIG_SYS_FSL_ERRATUM_IFC_A003399 Adjust flash's phys addr
Location
: cpu_init_early_f --> setup_ifc
Location
: cpu_init_early_f --> setup_ifc
TLB Entry : Get Flash TLB
TLB Entry : Get Flash TLB
EPN -->RPN : Adjusted flash_phys --> Adjusted flash_phys
EPN -->RPN : Adjusted flash_phys --> Adjusted flash_phys
Properties : 4M, AS1, I, G, IPROT
Properties : 4M, AS1, I, G, IPROT
7) CONFIG_SYS_FSL_ERRATUM_IFC_A003399: E500 v1,v2 debug restriction
7) CONFIG_SYS_FSL_ERRATUM_IFC_A003399: E500 v1,v2 debug restriction
Location
: cpu_init_early_f --> setup_ifc
Location
: cpu_init_early_f --> setup_ifc
TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB
TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB
EPN -->RPN : Adjusted flash_phys --> Adjusted flash_phys
EPN -->RPN : Adjusted flash_phys --> Adjusted flash_phys
Properties : 4M, AS0, I, G, IPROT
Properties : 4M, AS0, I, G, IPROT
8) Invalidate unproctected TLB Entries
8) Invalidate unproctected TLB Entries
Location
: cpu_init_early_f
Location
: cpu_init_early_f
Invalidated: 13, 9
Invalidated: 13, 9
9) Create TLB entries as per boards/freescale/<board>/tlb.c
9) Create TLB entries as per boards/freescale/<board>/tlb.c
Location
: cpu_init_early_f --> init_tlbs()
Location
: cpu_init_early_f --> init_tlbs()
Properties : ..., AS0, ...
Properties : ..., AS0, ...
Note: It can overwrites previous TLB Entries
Note: It can overwrites previous TLB Entries
10) Disable TLB Entries of AS1
10) Disable TLB Entries of AS1
Location
: cpu_init_f --> disable_tlb()
Location
: cpu_init_f --> disable_tlb()
Disable
: 15, 14
Disable
: 15, 14
11) Create DDR's TLB entriy
11) Create DDR's TLB entriy
Location
: Board_init_f -> init_func_ram -> initdram
Location
: Board_init_f -> init_func_ram -> initdram
TLB entry : Search free TLB entry
TLB entry : Search free TLB entry
12) Update Flash's TLB entry
12) Update Flash's TLB entry
Location
: Board_init_r
Location
: Board_init_r
TLB entry : Search from TLB entries
TLB entry : Search from TLB entries
EPN -->RPN : CONFIG_SYS_FLASH_BASE --> CONFIG_SYS_FLASH_BASE_PHYS
EPN -->RPN : CONFIG_SYS_FLASH_BASE --> CONFIG_SYS_FLASH_BASE_PHYS
Properties : Board specific size, AS0, I, G, IPROT
Properties : Board specific size, AS0, I, G, IPROT
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment