AnsweredAssumed Answered

ls1012ardb rev-b : uboot ping issue

Question asked by srinivas reddy reddy on Mar 24, 2017
Latest reply on Apr 3, 2017 by srinivas reddy reddy

Hi,

I am working on  NXP board Model: LS1012A RDB Board, RevB and in processing of programming u-boot in QSPI, I have observed that, ls1012ardb was able to ping the server ip(PC configured static ip: 192.168.1.1, connected back to back to the board ) and from the server(PC), the device ip (192.168.1.3)  was not reachable. I suspect that there is some issue with the default u-boot code which is available with the board,  since i was able to ping from both the sides from kernel prompt.  More over there is an ERROR message in the uboot log "Error: pfe_eth0 address not set., pfe_eth1"...  I was referring QorIQ LS1012A BSP v0.5 pdf, and as per the section "3.5.2.9 Basic Networking Ping Test"   the u-boot log dost not show any error, which i am encountering....Below are my u-boot environment variables and uboot logs respectively...

Please suggest.. and is there any way to boot (uboot, kerenl and file system )from SD card. if so, how to do it?  

 

=================

baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500
bootcmd=pfe stop; sf probe 0:0; sf read $kernel_load $kernel_start $kernel_size && bootm $kernel_load
bootdelay=10
console=ttyAMA0,38400n8
eth0addr=00:04:9f:04:70:76
eth1addr=00:04:9f:04:70:77
ethact=pfe_eth0
fdt_high=0xffffffffffffffff
fdtcontroladdr=bfc84348
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
ipaddr=192.168.1.3
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0xa00000
loadaddr=0x80100000
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.1.1
stderr=serial
stdin=serial
stdout=serial
verify=no

=================

 

=====================U-Boot log ====================
U-Boot 2016.01 (May 30 2016 - 18:29:20 +0530)

SoC: LS1012E (0x87040010)
Clock Configuration:
CPU0(A53):800 MHz
Bus: 250 MHz DDR: 500 MT/s
Reset Configuration Word (RCW):
00000000: 08000008 00000000 00000000 00000000
00000010: 35080000 c000000c 40000000 00001800
00000020: 00000000 00000000 00000000 000147f1
00000030: 00000000 18c2a120 00000096 00000000
I2C: ready
DRAM: 1022 MiB
MMU warning: gd->secure_ram is not maintained, disabled.
SEC: RNG instantiated
Using SERDES1 Protocol: 13576 (0x3508)
MMC: FSL_SDHC: 0
SF: Detected S25FS512S_256K with page size 512 Bytes, erase size 128 KiB, total 64 MiB
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
PCIe1: Root Complex no link, regs @ 0x3400000
In: serial
Out: serial
Err: serial
Model: LS1012A RDB Board
Board: LS1012ARDB Version: RevB, boot from QSPI: bank1
SATA link 0 timeout.
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
Found 0 device(s).
SCSI: Net: cbus_baseaddr: 0000000004000000, ddr_baseaddr: 0000000083800000, ddr_phys_baseaddr: 03800000
class init complete
tmu init complete
bmu1 init: done
bmu2 init: done
GPI1 init complete
GPI2 init complete
HGPI init complete
hif_tx_desc_init: Tx desc_base: 0000000083e40400, base_pa: 03e40400, desc_count: 64
hif_rx_desc_init: Rx desc base: 0000000083e40000, base_pa: 03e40000, desc_count: 64
HIF tx desc: base_va: 0000000083e40400, base_pa: 03e40400
HIF init complete
bmu1 enabled
bmu2 enabled
pfe_hw_init: done
pfe_firmware_init
pfe_load_elf: no of sections: 13
pfe_firmware_init: class firmware loaded
pfe_load_elf: no of sections: 10
pfe_firmware_init: tmu firmware loaded
ls1012a_configure_serdes 0
pfe_eth0
Error: pfe_eth0 address not set.
, pfe_eth1
Hit any key to stop autoboot: 0
====================U-Boot log ends=====================

Outcomes