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.

66AK2H12: Starting kernel...

Genius 13655 points
Part Number: 66AK2H12

Hello Champs,

Customer used his own board, the SDK version is ti-processor-sdk-linux-k2hk-evm-06.03.00.106. The kernel is compiled from root@ubuntu:/opt/ti-processor-sdk-linux-k2hk-evm-06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85/arch/arm/boot#

He has a problem about uboot. 

 run bootcmd
interface = SGMII_LINK_MAC_PHYFORCED

priv->slave_port-1 = 0

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.1.203; our IP address is 192.168.1.50
Filename 'uImage'.
Load address: 0x88000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################
         2.5 MiB/s
done
Bytes transferred = 4346432 (425240 hex)
interface = SGMII_LINK_MAC_PHYFORCED

priv->slave_port-1 = 0

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
Using netcp@2000000 device
TFTP from server 192.168.1.203; our IP address is 192.168.1.50
Filename 'storlead.dtb'.
Load address: 0x89000000
Loading: ###
         396.5 KiB/s
done
Bytes transferred = 39066 (989a hex)
## Booting kernel from Legacy Image at 88000000 ...
   Image Name:   storlead
   Created:      2021-01-13   8:58:46 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4346368 Bytes = 4.1 MiB
   Load Address: 88000000
   Entry Point:  88000040
   Verifying Checksum ... OK
## Flattened Device Tree blob at 89000000
   Booting using the fdt blob at 0x89000000
   Loading Kernel Image ... OK
   Loading Device Tree to 8fff3000, end 8ffff899 ... OK

Starting kernel ...

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Convert zImage to u-Image

mkimage -A arm -O linux -T kernel -C none -a 0x82000000 -e 0x82000000 -n "abcdefg" -d zImage uImage

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

u-boot default configuration

args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc);
args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=dhcp
args_ramfs=setenv bootargs ${bootargs} rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

setenv bootcmd tftp 82000000 uImage\;tftp 83000000 storlead.dtb\;bootm 82000000 - 83000000
setenv bootargs root=/dev/nfs nfsroot=192.168.1.203:/home/linux/source/rootfs rw console=ttySAC0,115200  clk_ignore_unused init=/linuxrc ip=192.168.1.100

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Is there something special needing to configure in kernel? Or  need to set address in uboot env variable ?

Thanks.
Rgds
Shine