QorIQ SDK 2.0-1073 P4080DS ethernet cannot ping

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

QorIQ SDK 2.0-1073 P4080DS ethernet cannot ping

968 次查看
icem
Contributor I

I want to boot p4080ds board with an sdcard. I have created the sdcard image from QorIQ Linux SDK v2.0 PPCE500MC IMAGE.iso file. I can boot the device but ethernet connection not works.

partition map of the sdcard is,

Disk /dev/sda: 29,48 GiB, 31652315136 bytes, 61820928 sectors
Disk model: SD/MMC/MS PRO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe4bc773b

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 83 Linux
/dev/sda2 206848 61820927 61614080 29,4G 83 Linux

both partitions are formatted as ext2

first partition contains dtb and kernel,

drwx------ 2 root root 16384 Nis 23 23:42 lost+found
-rw-rw-r-- 1 root root 4616311 May 15 2016 uImage--4.1-r0-p4080ds-20160514211524.bin
-rw-rw-r-- 1 root root 40410 May 15 2016 uImage--4.1-r0-p4080ds-20160514211524.dtb
-rw-rw-r-- 1 root root 42173 May 15 2016 uImage--4.1-r0-p4080ds-usdpaa-20160514211524.dtb
-rw-rw-r-- 1 root root 42719 May 15 2016 uImage--4.1-r0-p4080ds-usdpaa-shared-interfaces-20160514211524.dtb

second partition contains rootfs. i have extracted the QorIQ_SDK_V2.0_E500MC_20160527_ROOTFS_Image.tar.gz archive to second parition.

i have put the uboot and fman to sdcard with following commands

sudo dd if=u-boot-sdcard-2016.01+fslgit-r0.bin of=/dev/sda bs=512 seek=8 oflag=sync status=progress
sudo dd if=fsl_fman_ucode_p4080_r3.0_106_2_18.bin of=/dev/sda bs=512 seek=1680 oflag=sync

after the u-boot shell comes up i execute following commands to boot linux

setenv bootargs root=/dev/mmcblk0p2 rw console=ttyS0,115200
ext2load mmc 0:1 $loadaddr uImage--4.1-r0-p4080ds-20160514211524.bin
ext2load mmc 0:1 $fdtaddr uImage--4.1-r0-p4080ds-20160514211524.dtb
bootm $loadaddr - $fdtaddr

After linux boots up i execute following commands to init ethernet fm1-gb1 and ping 192.168.1.1

ifconfig fm1-gb1 192.168.1.23 up
ping 192.168.1.1

but i cannot ping,

root@p4080ds:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.23 icmp_seq=1 Destination Host Unreachable
From 192.168.1.23 icmp_seq=2 Destination Host Unreachable
From 192.168.1.23 icmp_seq=3 Destination Host Unreachable
From 192.168.1.23 icmp_seq=4 Destination Host Unreachable
From 192.168.1.23 icmp_seq=5 Destination Host Unreachable
From 192.168.1.23 icmp_seq=6 Destination Host Unreachable

I added the bootlog to attachments.

Thanks in advance

Cem.

0 项奖励
回复
1 回复

911 次查看
khushbur
NXP TechSupport
NXP TechSupport

Hi @icem 

 


Please use the default RCW provided in the pre-built image ISO, the attached is RCW R_PPSXX_0xe, please flash it at current bank
Please make sure that board switch setting is correct.

Please provide output of ifconfig command

 

Thanks

Khushbu

0 项奖励
回复