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 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
  boot hdd usb3 philipe 1 409 01-27-2021, 02:12 PM
Last Post: tllim
  4 Uarts and 2 Ethernet possiblities gops 13 5,620 11-13-2020, 08:51 AM
Last Post: LMM
  USB3 to Ethernet adapter giuseppe 0 483 11-11-2020, 05:48 PM
Last Post: giuseppe
  Libreelec Rock64 - 4GB no boot spiker15 3 1,287 11-02-2020, 12:36 AM
Last Post: wilsonYan
  Rock64 - boot helpmerock 2 1,076 10-08-2020, 01:29 PM
Last Post: helpmerock
  No boot up after power on Whoopsadaisy 4 1,973 09-26-2020, 05:14 PM
Last Post: simonsouth
Bug u-boot (forks) status mcerveny 14 6,619 08-27-2020, 01:44 PM
Last Post: globaltree
Sad No boot, garbage console text and blinking red light ... jean_bruder 2 1,286 07-19-2020, 08:37 AM
Last Post: jean_bruder
  Graphical boot manager john3voltas 0 628 03-25-2020, 02:27 PM
Last Post: john3voltas
  doesn't boot, no video cjyar 7 2,455 11-15-2019, 03:45 PM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)