Tool/software: Code Composer Studio
Hi experts,
we have a (another) little problem, now is about the SMP, our SOC architecture is K2H14.
To perform boot of DSPs and ARMs (together) our client want to use MLO (contents in TI PDK).
The used PDK is contents in ti-processor-sdk-rtos-k2hk-evm-05.02.00.10-Linux-x86-Install.bin
I have found a little problem with out2rprc.exe, then I have used an opensource tool elf2rprc
with some correction to able to start ARM and DSP application.
I have configured for our custom board a uboot u-boot-2019.01 (packet content into
ti-processor-sdk-linux-k2hk-evm-06.01.00.08-Linux-x86-Install.bin).
Now, if I configure u-boot with its SPL linux run on all ARM core in SMP mode (as client request).
As you can see here:
U-Boot SPL 2019.01-svn10 (Sep 22 2020 - 20:32:37 +0200)
Trying to boot from SPI
U-Boot 2019.01-svn10 (Sep 22 2020 - 20:32:37 +0200)
CPU: 66AK2Hx SR3.1 (XXX)
Model: XXXXXXXX XXXX board (UBoot)
DRAM: DDR3A memory bank [XXXX-K2H-2G1600SED]
DDR3 speed 1600
DRAM: 2 GiB (includes reported below)
2 GiB
***************************************************************
Relocation Offset is: f3f46000
Relocating to fff46000, new gd at fdf05ed8, sp at fdf05eb0
***************************************************************
usb dr_mode not found
NAND:
Device found, Manufacturer ID: 0x2c, Chip ID: 0xb3
Micron MT29F8G16ADBDAH4
1024 MiB
Loading Environment from SPI Flash... spi_flash_std_probe: slave=fdf0bb98, cs=0
SF: Detected mt25qu256a with page size 256 Bytes, erase size 4 KiB, total 32 MiB
OK
turn_off_all_dsps#34: Called disabling DSP
Net: eth0: netcp@2000000, eth1: netcp@slave-1, eth2: netcp@slave-2, eth3: netcp@slave-3
Net IF Nr: 4
Hit any key to stop autoboot: 1 0
=> run ubiUpgrade
netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.111.150; our IP address is 192.168.111.11
Filename '/tftpboot/XXXXX_RootFS.ubi'.
Load address: 0x80000000
Loading: #################################################################
#################################################################
.....
#################################################################
#################################################################
####
4.5 MiB/s
done
Bytes transferred = 132513792 (7e60000 hex)
NAND erase.part: device 0 offset 0x0, size 0xc800000
Erasing at 0xc7e0000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x7e60000
132513792 bytes written: OK
=> run bootcmd1 bootcmd2 bootcmd3 bootcmd4
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: volume 0 ("rootfs") re-sized from 1009 to 1436 LEBs
ubi0: attached mtd1 (name "ubifs2", size 200 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1600, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 260444989
ubi0: available PEBs: 0, total reserved PEBs: 1600, PEBs reserved for bad PEB handling: 160
<DIR> 7392 Mon Apr 06 14:50:46 2020 bin
<DIR> 160 Mon Apr 06 14:50:46 2020 dev
<DIR> 6648 Tue May 05 16:12:48 2020 etc
<DIR> 7296 Tue May 19 16:59:35 2020 lib
<DIR> 232 Mon Apr 06 14:50:46 2020 mnt
<DIR> 224 Mon Apr 06 14:50:46 2020 opt
<DIR> 160 Mon Apr 06 14:50:47 2020 run
<DIR> 224 Mon Apr 06 14:50:47 2020 srv
<DIR> 160 Mon Apr 06 14:50:47 2020 tmp
<DIR> 160 Mon Apr 06 14:50:47 2020 sys
<DIR> 808 Mon Apr 06 14:50:49 2020 var
<DIR> 752 Mon Apr 06 14:50:48 2020 usr
<DIR> 488 Tue Sep 22 19:35:06 2020 boot
<DIR> 224 Mon Jun 01 13:01:10 2020 home
<LNK> 20 Mon Apr 06 14:50:49 2020 init
<DIR> 160 Mon Apr 06 14:50:47 2020 proc
<DIR> 7744 Mon Apr 06 14:50:47 2020 sbin
<DIR> 160 Mon Apr 06 14:50:46 2020 media
netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.111.150; our IP address is 192.168.111.11
Filename '/tftpboot/XXXXX_multi.itb'.
Load address: 0x90000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
##################################
4.5 MiB/s
done
Bytes transferred = 4310332 (41c53c hex)
## Copying 'firmware-1' subimage from FIT image at 90000000 ...
md5+ sha1+ Loading part 15 ... OK
DEBUG: Message2 from Secure Mode: Core freq - 203450520Hz
K2_BM_15. 07-nogit SoC:k2hk built:20:07:43, Sep 10 2020
## installed monitor @ 0xc5f0000, freq [203450520], status 207552512
## Copying 'fdt-2' subimage from FIT image at 90000000 ...
crc32+ Loading part 253 ... OK
## Copying 'kernel-1' subimage from FIT image at 90000000 ...
md5+ sha1+ Loading part 0 ... OK
## Loading kernel from FIT Image at 90000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: XXXX Kernel
Created: 2020-09-22 19:35:05 UTC
Type: Kernel Image
Compression: uncompressed
Data Start: 0x900a1298
Data Size: 3564032 Bytes = 3.4 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: md5
Hash value: c1254a24db7ddb1584c950d6a1a23907
Hash algo: sha1
Hash value: 10983e72e01c411757da5e1c233c7fe1336b2e6a
Verifying Hash Integrity ... md5+ sha1+ OK
## Flattened Device Tree blob at 81fe0000
Booting using the fdt blob at 0x81fe0000
Loading Kernel Image ... OK
Loading Device Tree to 8fff2000, end 8ffff5f3 ... OK
Starting kernel ...
DEBUG: >>>> skern_poweron_cpu(1) >>>>
DEBUG: Message2 from Secure Mode: Core freq - 203450520Hz
DEBUG: >>>> skern_poweron_cpu(2) >>>>
DEBUG: Message2 from Secure Mode: Core freq - 203450520Hz
DEBUG: >>>> skern_poweron_cpu(3) >>>>
DEBUG: Message2 from Secure Mode: Core freq - 203450520Hz
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-gbde58ab01e (xxxxx@pdaiaeth) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #153 SMP PREEMPT Tue Sep 22 21:31:41 CEST 2020
[ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: XXXXXX board (Linux)
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Switching physical address space to 0x800000000
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x000000087e400000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 16 pages/cpu @de593000 s35468 r8192 d21876 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 455040
[ 0.000000] Kernel command line: console=ttyS0,115200n8 {mtdparts} rootwait=1 root=/dev/zero rw initrd=-,8M rootdelay=4 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs2,2048
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 1760228K/1824768K available (8192K kernel code, 226K rwdata, 2412K rodata, 2048K init, 263K bss, 31772K reserved, 32768K cma-reserved, 1275904K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc1038b00 ( 227 kB)
[ 0.000000] .bss : 0xc103a000 - 0xc107be28 ( 264 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
Instead if I configure the same U-Boot without its SPL and use the PDK MLO:
Board_init@115: OK
**** PDK SBL ****
SBL Revision: 01.00.09.02 (Sep 23 2020 - 17:33:22)
1.8
psc_get_domain_num: Module Number 0x00000006 Domain num 0x00000001
Begin parsing user application
set spiParams.bitRate = 8000000
try open flash 0x0000bb19
Inside Nor_spiReadId manfID: 0x00000020 devID: 0x0000bb19
NOR_open OK
norInfo->deviceId: 47897
norInfo->manufacturerId: 32
norInfo->blockCnt: 512
norInfo->pageCnt: 256
norInfo->pageSize: 256
norInfo->busWidth: 8
Open OK
SBL_MulticoreImageParse@71: Called
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc000000
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc0003c0
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc04f9b8
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc06ae40
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc06ae60
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc073d00
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc07acf4
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc07ad00
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc089048
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc07c298
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc089078
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc08907c
Jumping to user application...
U-Boot 2019.01-svn10 (Sep 23 2020 - 13:54:30 +0200)
CPU: 66AK2Hx SR3.1 (XXX)
Model: XXXXXXX XXXXXX board (UBoot)
DRAM: DDR3A memory bank [XXXX-K2H-2G1600SED]
DDR3 speed 1600
DRAM: 2 GiB (includes reported below)
2 GiB
***************************************************************
Relocation Offset is: f3f46000
Relocating to fff46000, new gd at fdf05ed8, sp at fdf05eb0
***************************************************************
usb dr_mode not found
NAND:
Device found, Manufacturer ID: 0x2c, Chip ID: 0xb3
Micron MT29F8G16ADBDAH4
1024 MiB
Loading Environment from SPI Flash... spi_flash_std_probe: slave=fdf0bb98, cs=0
SF: Detected mt25qu256a with page size 256 Bytes, erase size 4 KiB, total 32 MiB
OK
turn_off_all_dsps#34: Called disabling DSP
Net: eth0: netcp@2000000, eth1: netcp@slave-1, eth2: netcp@slave-2, eth3: netcp@slave-3
Net IF Nr: 4
Hit any key to stop autoboot: 1 0
=> run bootcmd1 bootcmd2 bootcmd3 bootcmd4
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "ubifs2", size 200 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1600, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 260444989
ubi0: available PEBs: 0, total reserved PEBs: 1600, PEBs reserved for bad PEB handling: 160
<DIR> 7392 Mon Apr 06 14:50:46 2020 bin
<DIR> 160 Mon Apr 06 14:50:46 2020 dev
<DIR> 6928 Sun Dec 16 04:29:50 2018 etc
<DIR> 7296 Tue May 19 16:59:35 2020 lib
<DIR> 232 Mon Apr 06 14:50:46 2020 mnt
<DIR> 224 Mon Apr 06 14:50:46 2020 opt
<DIR> 160 Mon Apr 06 14:50:47 2020 run
<DIR> 224 Mon Apr 06 14:50:47 2020 srv
<DIR> 160 Mon Apr 06 14:50:47 2020 tmp
<DIR> 160 Mon Apr 06 14:50:47 2020 sys
<DIR> 880 Sun Dec 16 04:29:50 2018 var
<DIR> 752 Mon Apr 06 14:50:48 2020 usr
<DIR> 488 Tue Sep 22 19:35:06 2020 boot
<DIR> 224 Mon Jun 01 13:01:10 2020 home
<LNK> 20 Mon Apr 06 14:50:49 2020 init
<DIR> 160 Mon Apr 06 14:50:47 2020 proc
<DIR> 7744 Mon Apr 06 14:50:47 2020 sbin
<DIR> 224 Sun Dec 16 04:29:49 2018 media
0 Sun Dec 16 04:31:05 2018 forcefsck
netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.111.150; our IP address is 192.168.111.11
Filename '/tftpboot/XXXXXXX_multi.itb'.
Load address: 0x90000000
Loading: #################################################################
#################################################################
#################################################################
########################################################
623 KiB/s
done
Bytes transferred = 3683489 (3834a1 hex)
## Copying 'firmware-1' subimage from FIT image at 90000000 ...
md5+ sha1+ Loading part 15 ... OK
DEBUG: Message2 from Secure Mode: Core freq - 203450520Hz
K2_BM_15. 07-nogit SoC:k2hk built:20:07:43, Sep 10 2020
## installed monitor @ 0xc5f0000, freq [203450520], status 207552512
## Copying 'fdt-2' subimage from FIT image at 90000000 ...
crc32+ Loading part 253 ... OK
## Copying 'kernel-1' subimage from FIT image at 90000000 ...
md5+ sha1+ Loading part 0 ... OK
## Loading kernel from FIT Image at 90000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: XXXX Kernel
Created: 2020-09-23 12:05:56 UTC
Type: Kernel Image
Compression: uncompressed
Data Start: 0x90008230
Data Size: 3564032 Bytes = 3.4 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: md5
Hash value: c1254a24db7ddb1584c950d6a1a23907
Hash algo: sha1
Hash value: 10983e 72e01c411757da5e1c233c7fe1336b2e6a
Verifying Hash Integrity ... md5+ sha1+ OK
## Flattened Device Tree blob at 81fe0000
Booting using the fdt blob at 0x81fe0000
Loading Kernel Image ... OK
Loading Device Tree to 8fff2000, end 8ffff5f3 ... OK
Starting kernel ... <<<< remain stop here (no ARM 1-3 are activated)
The same problem if I use a VxWorks application (this is a client request, but I suppose
here is also other problem to solve below):
Board_init@115: OK
**** PDK SBL ****
SBL Revision: 01.00.09.02 (Sep 23 2020 - 17:33:22)
1.8
psc_get_domain_num: Module Number 0x00000006 Domain num 0x00000001
Begin parsing user application
set spiParams.bitRate = 8000000
try open flash 0x0000bb19
Inside Nor_spiReadId manfID: 0x00000020 devID: 0x0000bb19
NOR_open OK
norInfo->deviceId: 47897
norInfo->manufacturerId: 32
norInfo->blockCnt: 512
norInfo->pageCnt: 256
norInfo->pageSize: 256
norInfo->busWidth: 8
Open OK
SBL_MulticoreImageParse@71: Called
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc000000
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc0003c0
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc04f9b8
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc06ae40
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc06ae60
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc073d00
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc07acf4
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc07ad00
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc089048
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc07c298
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc089078
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc08907c
Jumping to user application...
U-Boot 2019.01-svn10 (Sep 23 2020 - 13:54:30 +0200)
CPU: 66AK2Hx SR3.1 (XXXX)
Model: XXXXXXXXX board (UBoot)
DRAM: DDR3A memory bank [XXXX-K2H-2G1600SED]
DDR3 speed 1600
DRAM: 2 GiB (includes reported below)
2 GiB
***************************************************************
Relocation Offset is: f3f46000
Relocating to fff46000, new gd at fdf05ed8, sp at fdf05eb0
***************************************************************
usb dr_mode not found
NAND:
Device found, Manufacturer ID: 0x2c, Chip ID: 0xb3
Micron MT29F8G16ADBDAH4
1024 MiB
Loading Environment from SPI Flash... spi_flash_std_probe: slave=fdf0bb98, cs=0
SF: Detected mt25qu256a with page size 256 Bytes, erase size 4 KiB, total 32 MiB
OK
turn_off_all_dsps#34: Called disabling DSP
Net: eth0: netcp@2000000, eth1: netcp@slave-1, eth2: netcp@slave-2, eth3: netcp@slave-3
Net IF Nr: 4
Hit any key to stop autoboot: 1 0
=> run boot_vx
netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.111.150; our IP address is 192.168.111.11
Filename '/tftpboot/XXXX/uVxWorks'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######
3.2 MiB/s
done
Bytes transferred = 6768524 (67478c hex)
netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.111.150; our IP address is 192.168.111.11
Filename '/tftpboot/xxxx/k2hk_xxxx.dtb'.
Load address: 0x88000000
Loading: #
1.7 MiB/s
done
Bytes transferred = 7003 (1b5b hex)
## Booting kernel from Legacy Image at 82000000 ...
Image Name: vxworks
Created: 2020-09-08 14:09:17 UTC
Image Type: ARM VxWorks Kernel Image (uncompressed)
Data Size: 6768460 Bytes = 6.5 MiB
Load Address: 80100000
Entry Point: 80100000
Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Kernel Image ... OK
Loading Device Tree to 8fffb000, end 8ffffb5a ... OK
## Starting vxWorks at 0x80100000, device tree at 0x8fffb000 ...
initialize CPU
start CPU
initialize MMU
initialize base virtual memory support
initialize virtual memory support module
initialize address space library
initialize global mapping
initialize VxBus
install bus types:
vxbMiiBus(MII bus type)
vxbFdtBus(Flattened Device Tree bus type)
vxbNexusBus(Nexus bus type)
install drivers:
armgic(ARM GIC FDT driver)
armGenTimer(ARM Generic Timer)
netcp(Ti keystone Netcp end driver in switch mode)
keystone-fix-clock(TI Keystone fix rate clock FDT driver)
keystone-main-pll-clock(TI Keystone main pll clock FDT driver)
keystone-pll-divder-clock(TI Keystone pll divider clock FDT driver)
keystone-fix-factor-clock(TI Keystone fix factor clock FDT driver)
keystone-power-module-clock(TI Keystone power module clock FDT driver)
ksTimer(TI keystone 64-bit timer)
genericPhy(Generic 10/100/1000 PHY driver)
fdtBus(FDT bus controller)
simpleBus(simple bus controller)
ns16550(ns16550 serial OF driver)
mainbus(Generic Root Nexus Driver)
probe and attach devices
------------------------------------AFI_DEBUG_20200908 vxbLibInit() START
probe mainbus
attach mainbus:0
probe fdtBus
attach fdtBus:0
probe soc
attach simpleBus:0
probe refclksys
attach keystone-fix-clock:0
probe mainpllclk
attach keystone-main-pll-clock:0
probe mainplldiv1
attach keystone-pll-divder-clock:0
probe internaldiv_6
attach keystone-fix-factor-clock:0
probe sharedlocaldiv_6
attach keystone-fix-factor-clock:1
probe interrupt-controller
attach armgic:0
probe timer0
attach ksTimer:0
probe timer1
attach ksTimer:1
probe timer2
attach ksTimer:2
probe generic-timer
attach armGenTimer:0
probe i2c
failed to probe i2c
probe serial0
attach ns16550:0
probe gpio
failed to probe gpio
probe edma0
failed to probe edma0
probe edma1
failed to probe edma1
probe edma2
failed to probe edma2
probe edma3
failed to probe edma3
probe edma4
failed to probe edma4
probe netcp_ethernet_sw
attach netcp:0
probe netcp_ethernet_ip
failed to probe netcp_ethernet_ip
probe cpus
failed to probe cpus
probe virtBus
failed to probe virtBus
------------------------------------AFI_DEBUG_20200908 vxbLibInit() OK
------------------------------------AFI_DEBUG_20200908 cpcInit() START
------------------------------------AFI_DEBUG_20200908 cpcInit() vxIpiConnect = OK
------------------------------------AFI_DEBUG_20200908 cpcInit() vxIpiEnable(0) = OK
------------------------------------AFI_DEBUG_20200908 vxdbgCpuLibInit() START <<<< VxWorks stop here.
If use TI boot-monitor VxWorks stops early:
....
## Booting kernel from Legacy Image at 82000000 ...
Image Name: vxworks
Created: 2020-09-08 14:09:17 UTC
Image Type: ARM VxWorks Kernel Image (uncompressed)
Data Size: 6768460 Bytes = 6.5 MiB
Load Address: 80100000
Entry Point: 80100000
Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Kernel Image ... OK
Loading Device Tree to 8fffb000, end 8ffffb5a ... OK
## Starting vxWorks at 0x80100000, device tree at 0x8fffb000 ... <<<< VxWorks stop here.
I suppose that Linux is not able to activate the slave ARMs and remain in waiting phase.
The question is which code is missing in MLO to activate that cores?
PS: U-Boot start only on ARM Core0.
Now this MLO is able to start an alone U-Boot, a couple of DSPs (core0&1) or U-Boot+DSP
Board_init@115: OK
**** PDK SBL ****
SBL Revision: 01.00.09.02 (Sep 23 2020 - 16:31:56)
1.8
Begin parsing user application
set spiParams.bitRate = 8000000
try open flash 0x0000bb19
Inside Nor_spiReadId manfID: 0x00000020 devID: 0x0000bb19
NOR_open OK
norInfo->deviceId: 47897
norInfo->manufacturerId: 32
norInfo->blockCnt: 512
norInfo->pageCnt: 256
norInfo->pageSize: 256
norInfo->busWidth: 8
Open OK
SBL_MulticoreImageParse@71: Called
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x8003a0
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc0f4200
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc224458
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc1fae40
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc223d00
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x800200
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x80031c
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x80033c
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x800500
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x830000
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x834200
SBL_RprcImageParse@366: DSP0 L2SRAM DestAddr 0x800000
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc211b80
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc1a6060
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x8003a0
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc0f4200
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc224458
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc1fae40
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc223d00
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x800200
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x80031c
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x80033c
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x800500
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x830000
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x834200
SBL_RprcImageParse@366: DSP1 L2SRAM DestAddr 0x800000
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc211b80
SBL_RprcImageParse@353: MSMCSRAM DestAddr 0xc1a6060
Jumping to user application...
No ARM application defiPlatformInit Done...
ne
XXXX Test SW Ver 0.0.1 Build 42 CPU Freq 983 MHz DSP's Core0 Cores 8
DSP hw rev. 0 DSP name "TMS320C66AK2H14" Board Name XXXXX" build date Sep 23 2020 16:28:00
....
Are you some suggestion to solve this problem?
Regards,
Dario