u-boot doesn't receive packets over ethernet
#1
Hi,

I try to boot my rock64 board over network but unsuccessfully:

Code:
=> tftpboot boot.img
Speed: 100, full duplex
Using [email protected] device
TFTP from server 192.168.15.151; our IP address is 192.168.15.20
Filename 'boot.img'.
Load address: 0x800800
Loading: *
ARP Retry count exceeded; starting again

this is what I see with tcpdump on another board

Code:
[email protected]:~$ sudo tcpdump src 192.168.15.20
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
21:12:37.998173 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:12:42.998551 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:12:47.999351 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:12:53.000215 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46

Code:
[email protected]:~$ sudo tcpdump -i eth0  ether host 86e0c0eafaa9
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
21:29:57.672793 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:29:57.672902 ARP, Reply odroidc1 is-at 00:1e:06:10:01:65 (oui Unknown), length 28
21:30:02.673599 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:30:02.673730 ARP, Reply odroidc1 is-at 00:1e:06:10:01:65 (oui Unknown), length 28
21:30:07.674456 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:30:07.674581 ARP, Reply odroidc1 is-at 00:1e:06:10:01:65 (oui Unknown), length 28
21:30:12.675321 ARP, Request who-has odroidc1 tell 192.168.15.20, length 46
21:30:12.675452 ARP, Reply odroidc1 is-at 00:1e:06:10:01:65 (oui Unknown), length 28

This is u-boot environment
Code:
=> printenv
arch=arm
baudrate=115200
board=rock64_rk3328
board_name=rock64_rk3328
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=mmc0 mmc1 usb0 pxe dhcp
bootcmd=run distro_bootcmd
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_o;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=2
cpu=armv8
cpuid#=00000000000000000000000000000000
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
eth1addr=86:e0:c0:ea:fa:c9
[email protected]
ethaddr=86:e0:c0:ea:fa:a9
fdt_addr_r=0x01f00000
fdtcontroladdr=7df0fba8
fdtfile=rockchip/rk3328-rock64.dtb
ipaddr=192.168.15.20
kernel_addr_r=0x02000000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
partitions=uuid_disk=${uuid_gpt_disk};name=loader1,start=32K,size=4000K,uuid=${uuid_gpt_loader1};name=loader2,start=8MB,size=4MB,uuid=${uuid_gpt_loader2};
pxefile_addr_r=0x00600000
ramdisk_addr_r=0x04000000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_fo;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; de
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fe
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.confi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot scrie
scriptaddr=0x00500000
serial#=0
serverip=192.168.15.151
soc=rockchip
[email protected]
[email protected]
[email protected]
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
vendor=rockchip

Environment size: 4094/32764 bytes

If I don't interrupt booting and boot to linux then I have network.

Has anybody else this problem?
  Reply
#2
Hi, what image are you using?
Come have a chat in the Pine A64 IRC channel >>
  Reply
#3
You have to use latest u-boot from 0.6.14/15. This one works for me stable.
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
  Reply
#4
I used version from January 3.

The recent update works for me well.
Thanks ayufan.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Bug u-boot (forks) status mcerveny 6 874 10-14-2019, 12:50 PM
Last Post: ayufan
  doesn't boot, no video cjyar 6 195 09-17-2019, 12:41 PM
Last Post: cjyar
  4 Uarts and 2 Ethernet possiblities gops 9 396 06-27-2019, 03:47 PM
Last Post: richardk
  Unable to boot from SPI stevefan1999 4 770 05-01-2019, 04:47 PM
Last Post: rhens1
  Tracking info doesn't make sense cslycord 4 155 04-29-2019, 05:32 PM
Last Post: cslycord
  No green Ethernet LED sanis 2 193 03-06-2019, 11:21 PM
Last Post: sanis
  flash image to sd/emmc through ethernet LMM 0 221 02-04-2019, 07:36 AM
Last Post: LMM
  No Boot, Red Green and White flash at 1 sec intervals wesleykonrad 2 299 01-28-2019, 11:54 PM
Last Post: wesleykonrad
  boot priority - has precedence changed? jovval 1 696 09-22-2018, 02:02 AM
Last Post: mcerveny
  Enable I2C, I2s, SPI in boot-config file? HelgeMK 3 1,591 08-14-2018, 10:59 AM
Last Post: pas059

Forum Jump:


Users browsing this thread: 1 Guest(s)