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.

8148 EVM PCIe Boot



I have tested the PCIe Boot to use DM8148EVM 2EA

I used the wiki(http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_PCI_Express_Endpoint_Boot_Driver_User_Guide#Setting_up_the_DM814x_RC)

and I got the below result(TI81XX EP Boot completed) but I can't see console message from EP.

How can check EP state? if run EP, can I see console message on EP?

[RC]

root@dm814x-evm:~# insmod ti81xx_pcie_bootdrv.ko
ti81xx_pcie_ep: No TI81xx PCIe EP [0xb800] found
ti81xx_pcie_ep: Found TI81xx PCIe EP @0xc481d000, DEVICE ID = b801
pci 0000:01:00.0: This driver supports booting the first TI816x or TI814x target found on the bus
pci 0000:01:00.0: Major number 252 assigned
pci 0000:01:00.0: Added device to the sys file system
pci 0000:01:00.0: BAR Configuration -
Start | Length | Flags
pci 0000:01:00.0: 0x21800000 | 4096 | 0x00040200
pci 0000:01:00.0: 0x21000000 | 8388608 | 0x00042208
pci 0000:01:00.0: 0x20000000 | 16777216 | 0x00042208
pci 0000:01:00.0: TI81XX registers mapped to 0xc88f6000
pci 0000:01:00.0: TI81XX OCMC mapped to 0xcd000000
pci 0000:01:00.0: TI81XX DDR mapped to 0xce000000
root@dm814x-evm:~# ./saBootApp u-boot.bin boot.scr uImage
pci 0000:01:00.0: Mapping 0x800000 bytes from address 0x21000000
MLO file opened
Size of MLO file = 68840
68840 bytes read from file MLO
pci 0000:01:00.0: Bootflag clear timed out
PCIe: U-Boot faipci 0000:01:00.0: Mapping 0x1000000 bytes from address 0x20000000
led to execute properly
Still continuing...
u-boot.bin file opened
Size of u-boot.bin file = 210392
210392 bytes reapci 0000:01:00.0: Mapping 0x1000000 bytes from address 0x20000000
d from file u-boot.bin
boot.scr file opened
Size of bopci 0000:01:00.0: Mapping 0x1000000 bytes from address 0x20000000
ot.scr file = 881
881 bytes read from file boot.scr
uImage file opened
Size of uImage file = 2352412
2352412 bytes read from file uImage
TI81XX EP Boot completed
root@dm814x-evm:~#

[bootscript.txt]

# Ramdisk boot (default)
# setenv bootargs 'console=ttyO2,115200n8 root=/dev/ram initrd=0x81000000,16M rw mem=128M'

setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.2.198:/home/rickie/targetfs,nolock rw mem=128M earlyprintk notifyk.vpssm3_sva=0xBFD00000 ip=192.168.2.197:192.168.2.198:192.168.0.254:255.255.0.0:rickie:eth0:off'

# Add some delay to allow ramdisk to be loaded from RC
sleep 1

# NFS Boot example
# setenv bootargs 'console=ttyO2,115200n8 root=/dev/nfs nfsroot=172.24.190.72:/srv/nfs/ti81xx,nolock rw mem=128M ip=dhcp'
# setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.2.198:/home/rickie/targetfs,nolock rw mem=128M earlyprintk notifyk.vpssm3_sva=0xBFD00000 ip=192.168.2.197:192.168.2.198:192.168.0.254:255.255.0.0:rickie:eth0:off'

bootm 0x80900000