Tool/software:
I am trying to port linux kernel 6.1.112 to the EVM SK-AM62.
I have used the following steps:
- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=build -j8 mrproper
- copy the config file from the wic file that was provided by TI to the linux tree as .config
- copy the same file to kernel/configs/ as (say) project.config
- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=build project.config
- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=build -j 8
- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=build dtbs
- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=build modules
Then I use the generated Image in the boot directory of the filesystem, with the dtbs inside the dtb directory. I also copy over the modules under usr/lib to the image rootfs.
Following this I flash the image onto an SD card, which has a BOOT partition with the uboot.bin and the ti-binaries for bootloader.
My observation when i boot up the device is as follows:
52.318902] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000002
[ 52.332753] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 52.339304] am65-cpsw-nuss 8000000.ethernet: /bus@f0000/ethernet@8000000/ethernet-ports/port@1 error retrieving port phy: -517
[ 52.353198] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[ 52.396332] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 52.406682] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[ 52.414806] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
[ 52.422942] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000002
[ 52.436860] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 52.443423] am65-cpsw-nuss 8000000.ethernet: /bus@f0000/ethernet@8000000/ethernet-ports/port@1 error retrieving port phy: -517
[ 52.457355] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[ 52.500338] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 52.510666] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[ 52.518797] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
[ 52.526930] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000002
[ 52.540853] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 52.547421] am65-cpsw-nuss 8000000.ethernet: /bus@f0000/ethernet@8000000/ethernet-ports/port@1 error retrieving port phy: -517
Something's not okay here. My .config is attached as config.
The original config is also attached (from the wic provided by TI): labelled config-6.6.32-k3.
Request help on this asap.
THank you and Best regards
-S.