Hello,
I have a custom board which is very similar to SAM9261-EK except that it uses parallel NOR instead of NAND.
I am using the Adeneo's BSP for AT91SAM9261-EK, v1.0.3. I modified the Firstboot and EBoot. It boots up, but after the OEMInit() is called, the CE6 hangs there. Any suggestion on what could be wrong and how to debug this?
Here is the config.bib and the OALAddressTable:
;--------------config.bib ---------------------------
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
NK 90080000 01F80000 RAMIMAGE
BLDR 80000000 00058000 RESERVED
DRVGLOB 80058000 00001000 RESERVED
RAM 80059000 01EA7000 RAM ; ~30.65MB
GDIRAM 81F00000 00078000 RESERVED ; use for gdi
CONFIG
AUTOSIZE=ON
KERNELFIXUPS=ON
; @CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
; @CESYSGEN ENDIF !NK_NKNOCOMP
; @CESYSGEN IF NK_NKNOCOMP
COMPRESSION=OFF
; @CESYSGEN ENDIF NK_NKNOCOMP
IF IMGPROFILER
PROFILE=ON
ELSE
PROFILE=OFF
ENDIF
;
; ROMFLAGS is a bitmask of options for the kernel
; ROMFLAGS 0x0001 Disallow Paging
; ROMFLAGS 0x0002 Not all KMode
; ROMFLAGS 0x0010 Trust Module only
;
IF IMGTRUSTROMONLY
IF IMGNOTALLKMODE
ROMFLAGS=12
ELSE
ROMFLAGS=10
ENDIF
ELSE
IF IMGNOTALLKMODE
ROMFLAGS=02
ELSE
ROMFLAGS=00
ENDIF
ENDIF
FSRAMPERCENT=0x40404040
ROMSTART=80059000
ROMWIDTH=32
ROMSIZE=01E80000
;------------ OALAddressTable -------------------
CUSTOM_VA_BASE_REG EQU 0x9FF00000
CUSTOM_VA_BASE_SRAM EQU 0x9E000000
CUSTOM_VA_BASE_NOR EQU 0x90000000
CUSTOM_VA_BASE_SDRAM EQU 0x80000000
CUSTOM_BASE_SRAM EQU 0x00300000
CUSTOM_BASE_SDRAM EQU 0x20000000
CUSTOM_BASE_NOR EQU 0x10000000
CUSTOM_BASE_REG EQU 0xFFF00000
ALIGN
g_oalAddressTable
DCD CUSTOM_VA_BASE_REG, CUSTOM_BASE_REG, 1 ; Internal registers.
DCD CUSTOM_VA_BASE_SRAM, CUSTOM_BASE_SRAM, 1 ; INTERNAL SRAM (160KB).
DCD CUSTOM_VA_BASE_SDRAM, CUSTOM_BASE_SDRAM, 32 ; vSDRAM (32MB).
DCD CUSTOM_VA_BASE_NOR, CUSTOM_BASE_NOR, 32 ; NOR Flash memory (32MB).
DCD 0x00000000, 0x00000000, 0 ; end of table
Thanks.
CE6 Bootup Issue on SAM9261 with Adeneo CE6BSP
Moderator: nferre
Who is online
Users browsing this forum: No registered users and 1 guest