解決済! 解決策の投稿を見る。
##################################################################################
# configure internal SRAM at 0x00000000
# L2CTL
# bit 0 = 0 - L2E: L2 SRAM disabled
# bit 1 = 0 - L2I: L2 invalidate
# bit 2-3 = 10 - L2SIZ: = 512K
# bit 13-15 = 010 - L2SRAM: One half is SRAM (256K)
mem [CCSR 0x20000] = 0x60020000
# L2SRBAR0
# bit 0-17 = BASE addr: 0x00000000
mem [CCSR 0x20100] = 0x00000000
# L2SRBAREA0
# bit 28-31 = EXTENTED BASE addr: 0x00000000
mem [CCSR 0x20104] = 0x00000000
# L2CTL
# bit 0 = 1 - L2E: L2 SRAM enable
mem [CCSR 0x20000] = 0xA0020000
u-boot command:
=> mw.l 0xffe20000 0x60020000
=> mw.l 0xffe20100 0x00000000
=> mw.l 0xffe20104 0x00000000
=> mw.l 0xffe20000 0xA0020000
##################################################################################
# configure internal SRAM at 0x00000000
# L2CTL
# bit 0 = 0 - L2E: L2 SRAM disabled
# bit 1 = 0 - L2I: L2 invalidate
# bit 2-3 = 10 - L2SIZ: = 512K
# bit 13-15 = 010 - L2SRAM: One half is SRAM (256K)
mem [CCSR 0x20000] = 0x60020000
# L2SRBAR0
# bit 0-17 = BASE addr: 0x00000000
mem [CCSR 0x20100] = 0x00000000
# L2SRBAREA0
# bit 28-31 = EXTENTED BASE addr: 0x00000000
mem [CCSR 0x20104] = 0x00000000
# L2CTL
# bit 0 = 1 - L2E: L2 SRAM enable
mem [CCSR 0x20000] = 0xA0020000
u-boot command:
=> mw.l 0xffe20000 0x60020000
=> mw.l 0xffe20100 0x00000000
=> mw.l 0xffe20104 0x00000000
=> mw.l 0xffe20000 0xA0020000