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 ethernet@ff540000 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:
mik@odroidc1:~$ 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:
mik@odroidc1:~$ 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
ethact=ethernet@ff540000
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
stderr=serial@ff130000
stdin=serial@ff130000
stdout=serial@ff130000
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
Sad No boot, garbage console text and blinking red light ... jean_bruder 0 52 07-09-2020, 02:15 PM
Last Post: jean_bruder
Bug u-boot (forks) status mcerveny 10 1,668 06-19-2020, 03:40 PM
Last Post: XmAz
  No boot up after power on Whoopsadaisy 2 195 05-26-2020, 11:24 PM
Last Post: Whoopsadaisy
  Graphical boot manager john3voltas 0 134 03-25-2020, 02:27 PM
Last Post: john3voltas
  doesn't boot, no video cjyar 7 575 11-15-2019, 03:45 PM
Last Post: ab1jx
  4 Uarts and 2 Ethernet possiblities gops 9 731 06-27-2019, 03:47 PM
Last Post: richardk
  Unable to boot from SPI stevefan1999 4 1,035 05-01-2019, 04:47 PM
Last Post: rhens1
  Tracking info doesn't make sense cslycord 4 307 04-29-2019, 05:32 PM
Last Post: cslycord
  No green Ethernet LED sanis 2 363 03-06-2019, 11:21 PM
Last Post: sanis
  flash image to sd/emmc through ethernet LMM 0 336 02-04-2019, 07:36 AM
Last Post: LMM

Forum Jump:


Users browsing this thread: 1 Guest(s)