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.

uboot data abort in Processor SDK 2.0 1.07

Other Parts Discussed in Thread: AM3352

We Have a AM3352 custom board,It base on AM335X EVMSK

The difference with EVMSK is following
1. NO EEPROM
2. NO RTC
3. MMC0_CD pin Change to GPIO 0.15
4. USB0 Change to MUSB_HOST
5. PHY Change to KSZ9031

The Custom Board can work well in SDK6.0

Now , I modify the following files In PROCESSOR SDK2.0.107, But It always keep to restart in u-boot stage

UBOOT/board/ti/am335x/board.c ----> for EEPROM ISSUE
UBOOT/include/configs/am335x_evm.h ----> define MUSB_PERIPHERAL,CONFIG_PHY_MICREL
UBOOT/board/ti/am335x/mux.c ----> for PINMUX
UBOOT//arch/arm/cpu/armv7/am33xx/board.c ----> ////rtc32k_enable();

Does everyone have any suggestions???
Thanks lot!!


Following is bootting log

U-Boot SPL 2015.07-00080-gfa53e9d-dirty (Apr 12 2016 - 03:17:45)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2015.07-00080-gfa53e9d-dirty (Apr 12 2016 - 03:17:45 +0300)

Watchdog enabled
I2C: ready
DRAM: 256 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
data abort
pc : [<8ff656d4>] lr : [<8ff518c7>]
reloc pc : [<808166d4>] lr : [<808028c7>]
sp : 8ef2ee70 ip : 00000000 fp : 00000001
r10: 00000000 r9 : 8ef2eed8 r8 : 4030cdcc
r7 : 8ff98eb0 r6 : 8ff98e28 r5 : 8ff98eb4 r4 : 0f74f000
r3 : 44e3e000 r2 : b0010000 r1 : 8ff9b144 r0 : 00000000
Flags: nZcv IRQs off FIQs on Mode SVC_32
Resetting CPU ...

resetting ...

  • Hi, 

    First you can try to add #define DEBUG in am335x_evm.h to get some more debug output from u-boot. Maybe it would give more information about the error. 

    Try comenting/removing all RTC relevant parts from UBOOT//arch/arm/cpu/armv7/am33xx/board.c.  Then you need to get rid of the RTC related defines in your u-boot config files:

     Cosider include/configs/am335x_evm.h:

          /* Bootcount using the RTC block */
         #define CONFIG_BOOTCOUNT_LIMIT
         #define CONFIG_BOOTCOUNT_AM33XX
         #define CONFIG_SYS_BOOTCOUNT_BE

      include/configs/ti_am335x_common.h:      

          #define CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC   => remove this if you don't use the RTC 32K oscilator

    Consider commenting the bellow part of code: 

          /*
           * RTC related defines. To use bootcount you must set bootlimit in the
           * environment to a non-zero value and enable CONFIG_BOOTCOUNT_LIMIT
           * in the board config.
           */
          #define CONFIG_SYS_BOOTCOUNT_ADDR 0x44E3E000

    Best Regards, 

    Yordan