hi
i project use mpc8313
uboot printf
U-Boot 1.1.6-gacb2702c-dirty (Apr 1 2021 - 16:03:35) MPC83XX
Board LF7511
CPU: MPC8313, Rev: 21 at 333.333 MHz
INFO: Initializing IOMEM for regset 0
INFO: reset phy for M88E1340 card
DRAM: 256 MB
FLASH: 64 MB
NAND: 11111 0x2c, Chip ID: 0xda 0 0 2 ee000000
why nand is 256 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ....TSEC1: PHY is Marvell 88E1340 (1410dc0)
....TSEC2: PHY is Marvell 88E1340 (1410dc0)
TSEC1 [PRIME], TSEC2
Boot in 3 seconds
now
my memory space config :
0x0-0xfffffff is ddr space 256M CAN ACCESS
0x80000000-0x8fffffff is PCIMEM space 256M CAN ACCESS
0x90000000-0x9fffffff is PCIMEMIO space 256M CAN ACCESS
0xE0000000-0xEfffffff is IMMR NOR NAND space 256M CAN ACCESS
BUT else space can't access
ex
md 0xee000000
ee000000: ffffffff ffffffff ffffffff ffffffff
but
md 0xd0000000
d0000000:Bus Fault @ 0x0000111c, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 0ff65c18 Unknown values in msr
**bleep**: 0000111C XER: 20000000 LR: 0FFCFFE8 REGS: 0ff65c18 TRAP: 0200 DAR: 00000000
MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
GPR00: 0FFCFFE8 0FF65D08 00000080 0FFECA34 00000001 00000010 FFFFFFFF 00000030
GPR08: 00000001 00000020 00000000 00000009 0FF65810 121BEED4 0FFF9000 0FFECA34
GPR16: 0FFECA2C 0FFECA24 0FFECB58 0FFECB60 48024028 FEDFEEFF 0FF65D10 0FF65D10
GPR24: 00000000 00000100 00000010 00000004 D0000000 0FF65F58 0FFF9F2C 0FF65D10
Call backtrace:
0FFCFFE8 0FFD9650 0FFD8CC0 0FFD8E70 0FFC974C 0FFB9FA0 0FFA966C
5D4ABCFA
machine check
resetting the board, address: 0ff00120
md 0xf0000000
f0000000:Bus Fault @ 0x00000900, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 0ff65c18 Unknown values in msr
**bleep**: 00000900 XER: 20000000 LR: 0FFCFFE8 REGS: 0ff65c18 TRAP: 0200 DAR: 00000000
MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
GPR00: 7C9FA0AE 0FF65D08 00000080 0FFECA24 00000001 00000010 FFFFFFFF 00000030
GPR08: 00000001 00000020 00000000 00000009 0FF65810 121BEED4 0FFF9000 0FFECA34
GPR16: 0FFECA2C 0FFECA24 0FFECB58 0FFECB60 0FF65D10 00000040 0FF65D10 0FF65D10
GPR24: 00000000 00000100 00000010 00000004 F0000000 0FF65F58 0FFF9F2C 0FF65D10
Call backtrace:
0FFCFFE8 0FFD9650 0FFD8CC0 0FFD8E70 0FFC974C 0FFB9FA0 0FFA966C
5D4ABCFA
machine check
resetting the board, address: 0ff00120
why?
how about it
Is related to the macro below
#define CFG_DBAT0L CFG_IBAT0L
#define CFG_DBAT0U CFG_IBAT0U
#define CFG_DBAT1L CFG_IBAT1L
#define CFG_DBAT1U CFG_IBAT1U
#define CFG_DBAT2L CFG_IBAT2L
#define CFG_DBAT2U CFG_IBAT2U
#define CFG_DBAT3L CFG_IBAT3L
#define CFG_DBAT3U CFG_IBAT3U
#define CFG_DBAT4L CFG_IBAT4L
#define CFG_DBAT4U CFG_IBAT4U
#define CFG_DBAT5L CFG_IBAT5L
#define CFG_DBAT5U CFG_IBAT5U
#define CFG_DBAT6L CFG_IBAT6L
#define CFG_DBAT6U CFG_IBAT6U
#define CFG_DBAT7L CFG_IBAT7L
#define CFG_DBAT7U CFG_IBAT7U
thanks
Solved! Go to Solution.
The addresses 0xd0000000 and 0xf0000000 are not defined in the memory map.
Please define LAWs configuration for these addresses.
Please define CONFIG_SYS_LBLAWBARx_PRELIM and CONFIG_SYS_LBLAWARx_PRELIM in include/configs/MPC8313ERDB.h in u-boot source code.
The addresses 0xd0000000 and 0xf0000000 are not defined in the memory map.
Please define LAWs configuration for these addresses.
Please define CONFIG_SYS_LBLAWBARx_PRELIM and CONFIG_SYS_LBLAWARx_PRELIM in include/configs/MPC8313ERDB.h in u-boot source code.
ok that's good idea
thank you very much
yipingwang