This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NOR Boot probrem

I have extended the NOR Flash on BeagleBone.

MLO after startup, expand to the SDRAM EBOOTSD.nb0, I was able to run.

XLDRNOR.nb0 is being written to 0x08000000 of NOR Flash.

EBOOTNOR.nb0 is being written to 0x08006000 of NOR Flash.

SDBOOT version expands to the SDRAM from the SD EBOOTNOR.nb0 file.

NORBOOT version expands to the SDRAM from EBOOTNOR.nb0 file NOR. Other differences are only BIB file.

I got a problem in EBOOTNOR.nb0 ie "memcpy" and "memset" in KernelRelocate function (located in blcommon.c) and OALLocalAllocInit function (located in alloc.c).

 

Please help me.

 

----- Xldrsd.bib -----

MEMORY

   XLDRSD 402F1000 00014FF8 RAMIMAGE    

   RAM 40306000 00004000 RAM    

   STACK 4030A000 00001000 RESERVED

IF IMGHIGHSECURITY    

   nk.exe: dwOEMHighSecurity 00000000 00000001 FIXUPVAR

ELSE    

   nk.exe: dwOEMHighSecurity 00000000 00000002 FIXUPVAR

ENDIF

CONFIG    

   COMPRESSION = OFF    

   PROFILE = OFF    

   KERNELFIXUPS = ON    

   ROMSIZE = 00014FF8

----- Xldrsd.bib -----

 

----- Xldrnor.bib -----

MEMORY

   XLDRNOR 07FFF000 00014FF8 RAMIMAGE    

   RAM 40306000 00004000 RAM    

   STACK 4030A000 00002000 RESERVED    

IF IMGHIGHSECURITY    

   nk.exe: dwOEMHighSecurity 00000000 00000001 FIXUPVAR

ELSE

   nk.exe: dwOEMHighSecurity 00000000 00000002 FIXUPVAR

ENDIF    

   dwEbootECCtype 00000000 00000000 FIXUPVAR

CONFIG    

   COMPRESSION = OFF    

   PROFILE = OFF    

   KERNELFIXUPS = ON

   ROMSTART = 08000000    

   ROMWIDTH = 32    

   ROMSIZE = 00014FF8

   ROMOFFSET = 38207000

----- Xldrnor.bib -----

 

----- Ebootsd.bib -----

MEMORY

   EBOOTSD 8FE00000 00040000 RAMIMAGE    

   RAM 8FE80000 00050000 RAM    

   PTES 8FEE0000 00004000 RESERVED    

   STACK 8FEE4000 0001C000 RESERVED    

   ARGS 80000000 00001000 RESERVED    

IF BSP_OMAP_NAND_ECC_BCH8BIT_ELM    

   dwEbootECCtype 00000000 00000003 FIXUPVAR

ENDIF

CONFIG    

   COMPRESSION = OFF    

   PROFILE = OFF    

   KERNELFIXUPS = ON

   ROMSTART = 8FE00000    

   ROMWIDTH = 32    

   ROMSIZE = 40000

----- Ebootsd.bib -----

 

----- Ebootnor.bib -----

MEMORY

   EBOOTNOR 8FE00000 00040000 RAMIMAGE    

   RAM 8FE80000 00050000 RAM    

   PTES 8FEE0000 00004000 RESERVED    

   STACK 8FEE4000 0001C000 RESERVED    

   ARGS 80000000 00001000 RESERVED

   dwEbootECCtype 00000000 00000000 FIXUPVAR

CONFIG    

   COMPRESSION = OFF    

   PROFILE = OFF    

   KERNELFIXUPS = ON

   ROMSTART = 8FE00000    

   ROMWIDTH = 32    

   ROMSIZE = 40000        

   ROMOFFSET = 0

----- Ebootnor.bib -----

Regards,

  • Beaglebone hardware, completed the remodeling to extend the NOR Flash of 128MB.

    Setting the GPMC and SYSBOOT is configured to match the TRM.
    If there is such settings that affect the configuration other than addrtab_cfg.inc, image_cfg.h / image_cfg.inc, bsp.inc, of XLDRNOR.BIB / EBOOTNOR.BIB, please tell us.

     

    Terry Yam