Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Data abort problem on TCI6636K2H ev board.

$
0
0

How to run sys/bios example after uboot on TCI6636K2H ev board ?

I would like to run simple example after uboot without gel file.

 - I don't want to use default gel file ( xtcievmk2x_arm.gel )

-  Import hello_TCI6638K2K_CortexA from ccs resource browser and build & make bin file 

-  mkimage -A arm -T kernel -C none -a 0x80000000 -e 0x800050ec -d hello_TCI6638K2K_CortexA.bin hello_TCI6638K2K_CortexA _for_uboot.bin
-  Power on TCI6636K2H ev board.
-  Download hello_TCI6638K2K_CortexA _for_uboot.bin @0x80000000
-  bootm 0x80000000
   but It is not working

When I did same test with Trace 32 to monitor detailed information, I found data abort between _c_int00 and main().

The aborted line was auto generated code by sys/bios.

   vmsr fpexc, r0 

At that time, Arm Core Regsiter NSACR was 0x0 and arm was nosec mode.

Please let me know what is correct way to run sys/bios example after uboot.

 

U-Boot SPL 2016.09-rc2 (Jan 09 2017 - 20:44:29)
Trying to boot from SPI


U-Boot 2013.01-00004-g0c2f8a2 (Aug 16 2013 - 19:04:15)

I2C: ready
DRAM: 2 GiB
NAND: 512 MiB
Net: TCI6638_EMAC
Warning: TCI6638_EMAC using MAC address from net device
, TCI6638_EMAC1
Hit any key to stop autoboot: 0
TCI6638 EVM #

TCI6638 EVM # loadb 0x80000000
## Ready for binary (kermit) download to 0x80000000 at 115200 bps...
## Total Size = 0x0001e9b0 = 125360 Bytes
## Start Addr = 0x80000000
TCI6638 EVM # bootm 0x80000000
## Booting kernel from Legacy Image at 80000000 ...
Image Name:
Created: 2017-01-09 8:57:33 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 125296 Bytes = 122.4 KiB
Load Address: 80000000
Entry Point: 800050ec
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK

Starting kernel ...

 


Viewing all articles
Browse latest Browse all 262198

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>