Jump to content

jrtaylor

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by jrtaylor

  1. I have the same problem on v7 board. u-boot see's the emmc but it's not there after buster starts. TIM-1.0 WTMI-devel-18.12.1-e6bb176 WTMI: system early-init SVC REV: 5, CPU VDD voltage: 1.132V NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.5(release):1f8ca7e (Marvell-devel-18.12.2) NOTICE: BL1: Built : 16:26:25, May 21 2019 NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.5(release):1f8ca7e (Marvell-devel-18.12.2) NOTICE: BL2: Built : 16:26:26, May 21 2019 NOTICE: BL1: Booting BL31 NOTICE: BL31: v1.5(release):1f8ca7e (Marvell-devel-18.12.2) NOTICE: BL31: Built : 16:2 U-Boot 2018.03-devel-18.12.3-gc9aa92c-armbian (Feb 20 2019 - 09:45:04 +0100) Model: Marvell Armada 3720 Community Board ESPRESSOBin CPU 1000 [MHz] L2 800 [MHz] TClock 200 [MHz] DDR 800 [MHz] DRAM: 1 GiB Comphy chip #0: Comphy-0: USB3 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 6 Gbps SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link down MMC: sdhci@d0000: 0, sdhci@d8000: 1 Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB OK Model: Marvell Armada 3720 Community Board ESPRESSOBin Net: eth0: neta@30000 [PRIME] Hit any key to stop autoboot: 0 starting USB... USB0: Register 2000104 NbrPorts 2 Starting the controller USB XHCI 1.00 USB1: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found / ** File not found /boot.scr ** ## Executing script at 06d00000 Wrong image format for "source" command /boot/ 1119 bytes read in 26 ms (42 KiB/s) ## Executing script at 06d00000 240 bytes read in 10 ms (23.4 KiB/s) 18246144 bytes read in 1004 ms (17.3 MiB/s) 8541019 bytes read in 482 ms (16.9 MiB/s) ** File not found /boot/dtb/marvell/armada-3720-community.dtb ** 10619 bytes read in 16 ms (647.5 KiB/s) ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 8540955 Bytes = 8.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 06000000 Booting using the fdt blob at 0x6000000 Loading Ramdisk to 3ee05000, end 3f62a31b ... OK Using Device Tree in place at 0000000006000000, end 000000000600597a Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.6.19-mvebu64 (root@7H1YD42) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architect ure 9.2-2019.12 (arm-9.10))) #trunk SMP PREEMPT Tue Aug 25 02:23:13 CDT 2020 [ 0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board [ 0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '') [ 0.000000] printk: bootconsole [ar3700_uart0] enabled Loading, please wait... Starting version 241 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Begin: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext4 (1) -- /dev/sda1] fsck.ext4 -a -C0 /dev/sda1 /dev/sda1: clean, 39102/455952 files, 361706/1916700 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Armbian 20.08.0-trunk Buster! Marvell>> mmc dev 1 switch to partitions #0, OK mmc1(part 0) is current device Marvell>> mmc info Device: sdhci@d8000 Manufacturer ID: 15 OEM: 100 Name: 8GTF4 Bus Speed: 52000000 Mode : MMC High Speed (52MHz) Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: 7.3 GiB Bus Width: 8-bit Erase Group Size: 512 KiB HC WP Group Size: 8 MiB User Capacity: 7.3 GiB WRREL Boot Capacity: 4 MiB ENH RPMB Capacity: 512 KiB ENH
  2. Nope I loaded the new image. Then did a reset and then env default -a.
  3. The new values you posted worked and it booted on Armbian_5.59_Espressobin_Debian_stretch_next_4.18.5.img.
  4. Loaded correct u-boot image but same problem. TIM-1.0 WTMI-devel-18.07.0-6050fd5 WTMI: system early-init SVC REV: 4, CPU VDD voltage: 1.143V NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.5(release):711ecd3 (Marvell-armada-18.09.4) NOTICE: BL1: Built : 21:52:23, Sep 5 2018 NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.5(release):711ecd3 (Marvell-armada-18.09.4) NOTICE: BL2: Built : 21:52:26, Sep 5 2018 NOTICE: BL1: Booting BL31 NOTICE: BL31: v1.5(release):711ecd3 (Marvell-armada-18.09.4) NOTICE: BL31: Built : 21:5 U-Boot 2017.03-armada-18.09.1-ga92bd86-armbian (Sep 05 2018 - 21:49:34 +0200) Model: Marvell Armada 3720 Community Board ESPRESSOBin CPU 1000 [MHz] L2 1000 [MHz] NB AXI 250 [MHz] SB AXI 250 [MHz] DDR 800 [MHz] DRAM: 1 GiB U-Boot DT blob at : 000000003f7142d8 Comphy chip #0: Comphy-0: USB3 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 6 Gbps SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link up MMC: sdhci@d0000: 0 SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB Net: eth0: neta@30000 [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device ext4load - load binary file from a Ext4 filesystem Usage: ext4load <interface> [<dev[:part]> [addr [filename [bytes [pos]]]]] - load binary file 'filename' from 'dev' on 'interface' to address 'addr' from ext4 filesystem 4589284 bytes read in 212 ms (20.6 MiB/s) ext4load - load binary file from a Ext4 filesystem Usage: ext4load <interface> [<dev[:part]> [addr [filename [bytes [pos]]]]] - load binary file 'filename' from 'dev' on 'interface' to address 'addr' from ext4 filesystem Bad Linux ARM64 Image magic! Marvell>> printenv arch=arm baudrate=115200 board=mvebu_armada-37xx board_name=mvebu_armada-37xx 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_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf boot_interface=mmc boot_net_pci_enum=pci enum boot_net_usb_start=usb start boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_targets=mmc1 mmc0 usb0 scsi0 pxe dhcp bootargs=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/mmcblk1p1 rw rootwait bootcmd=mmc dev 0; ext4load mmc 0:1 $kernel_addr $image_name;ext4load mmc 0:1 $initrd_addr $initrd_image; ext4load mmc 0:1 $fdt_addr $fdt_name; setenv bootargs $console root=$rootdev rw rootwait; booti $kernel_addr $initrd_addr $fdt_addr bootcmd_dhcp=run boot_net_usb_start; run boot_net_pci_enum; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci; bootcmd_mmc0=setenv devnum 0; run mmc_boot bootcmd_mmc1=setenv devnum 1; run mmc_boot bootcmd_nfs=run get_images; run set_bootargs; booti $kernel_addr_r $ramdisk_addr_r $fdt_addr_r bootcmd_pxe=run boot_net_usb_start; run boot_net_pci_enum; dhcp; if pxe get; then pxe boot; fi bootcmd_scsi0=setenv devnum 0; run scsi_boot bootcmd_usb0=setenv devnum 0; run usb_boot bootdelay=2 console=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 cpu=armv8 distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done efi_dtb_prefixes=/ /dtb/ /dtb/current/ eth1addr=F0:AD:4E:... eth2addr=F0:AD:4E:... eth3addr=F0:AD:4E:... ethact=neta@30000 ethaddr=F0:AD:4E:... ethprime=eth0 extra_params=pci=pcie_bus_safe fdt_addr=0x6000000 fdt_addr_r=0x6f00000 fdt_high=0xffffffffffffffff fdt_name=boot/dtb/marvell/armada-3720-espressobin.dtb fdtcontroladdr=3f7142d8 fileaddr=1100000 filesize=4606e4 gatewayip=10.4.50.254 get_images=tftpboot $kernel_addr_r $image_name; tftpboot $fdt_addr_r $fdt_name; run get_ramdisk get_ramdisk=if test "${ramdisk_name}" != "-"; then tftpboot $ramdisk_addr_r $ramdisk_name; else setenv ramdisk_addr_r -;fi hostname=marvell image_name=boot/Image initrd_addr=0x1100000 initrd_image=boot/uInitrd initrd_size=0x2000000 ipaddr=0.0.0.0 kernel_addr=0x7000000 kernel_addr_r=0x7000000 load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} loadaddr=0x8000000 mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi netdev=eth0 netmask=255.255.255.0 pxefile_addr_r=0x6e00000 ramdisk_addr_r=0xa000000 ramdisk_name=- root=root=/dev/nfs rw rootdev=/dev/mmcblk1p1 rootfstype=ext4 rootpath=/srv/nfs scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0x6d00000 scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi serverip=0.0.0.0 set_bootargs=setenv bootargs $console $root ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:none nfsroot=$serverip:$rootpath $extra_params $cpuidle soc=mvebu stderr=serial@12000 stdin=serial@12000 stdout=serial@12000 usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u vendor=Marvell verbosity=2 Environment size: 5575/65532 bytes
  5. Unable to boot with new u-boot image 1g-2cs-1000_800 using Armbian_5.59_Espressobin_Debian_stretch_next_4.18.5.img. https://dl.armbian.com/espressobin/u-boot/archive/flash-image-1g-2cs-1000_800_boot_sd_and_usb.bin TIM-1.0 WTMI-armada-17.10.5-177ba47 WTMI: system early-init SVC REV: 4, CPU VDD voltage: 1.143V Fill memory before self refresh...done Fill memory before self refresh...done Now in Self-refresh Mode Restore termination values to original values Exited self-refresh ... Self refresh Pass. DDR self test mode test done!! Self refresh Pass. DDR self test mode test done!! QS GATING ============= Calibration done: cycle = 0x00 tap =0x62 CH0_PHY_RL_Control_CS0_B0[0xC0001180]: 0x00000062 CH0_PHY_RL_Control_CS0_B1[0xC0001184]: 0x00000062 QS GATING ============= Calibration done: cycle = 0x00 tap =0x61 CH0_PHY_RL_Control_CS1_B0[0xC00011A4]: 0x00000061 CH0_PHY_RL_Control_CS1_B1[0xC00011A8]: 0x00000061 DLL TUNING ============== DLL 0xc0001050[21:16]: [0,20,10] DLL 0xc0001050[29:24]: [6,30,1b] DLL 0xc0001054[21:16]: [0,23,11] DLL 0xc0001054[29:24]: [6,33,1c] DLL 0xc0001074[21:16]: [0,3f,1f] DLL 0xc0001074NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL1: Built : 19:00:29, Aug 26 2NOTICE: BL2: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL2: Built : 19:00:29, Aug 26 2018 NNOTICE: BL31: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL31: U-Boot 2017.03-armada-17.10.3-g06ad760 (Aug 26 2018 - 19:00:03 +0200) Model: Marvell Armada 3720 Community Board ESPRESSOBin CPU @ 1000 [MHz] L2 @ 800 [MHz] TClock @ 200 [MHz] DDR @ 800 [MHz] DRAM: 1 GiB U-Boot DT blob at : 000000003f7182d8 Comphy-0: USB3 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 6 Gbps SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link up MMC: sdhci@d0000: 0 SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB Net: eth0: neta@30000 [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device ext4load - load binary file from a Ext4 filesystem Usage: ext4load <interface> [<dev[:part]> [addr [filename [bytes [pos]]]]] - load binary file 'filename' from 'dev' on 'interface' to address 'addr' from ext4 filesystem 4589284 bytes read in 212 ms (20.6 MiB/s) 8607 bytes read in 18 ms (466.8 KiB/s) Bad Linux ARM64 Image magic! printenv baudrate=115200 boot_interface=mmc bootargs=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=UUID=d556ab78-e4f7-4914-bfd1-7e3fb44f7a54 rw rootwait bootcmd=mmc dev 0; ext4load mmc 0:1 $kernel_addr $image_name;ext4load mmc 0:1 $initrd_addr $initrd_image; ext4load mmc 0:1 $fdt_addr $fdt_name; setenv bootargs $console root=$rootdev rw rootwait; booti $kernel_addr $initrd_addr $fdt_addr bootdelay=2 bootmmc=mmc dev 0; ext4load mmc 0:1 $kernel_addr $image_name;ext4load mmc 0:1 $fdt_addr $fdt_name;setenv bootargs $console root=/dev/mmcblk0p1 initrd=initrd.img rw rootwait; booti $kernel_addr - $fdt_addr console=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 default=-a emmc_fix=off eth1addr=00:50:43:... eth2addr=00:50:43:... eth3addr=00:50:43:... ethact=neta@30000 ethaddr=F0:AD:4E:... ethaddr=F0:AD:4E:... ethprime=eth0 fdt_addr=0x6000000 fdt_addr=0x6000000 fdt_high=0xffffffffffffffff fdt_name=boot/dtb/marvell/armada-3720-espressobin.dtb fdt_name_a=boot/dtb/marvell/armada-3720-community.dtb fdt_name_b=boot/dtb/marvell/armada-3720-espressobin.dtb fdtcontroladdr=3f7182d8 fileaddr=6000000 filesize=219f gatewayip=10.4.50.254 get_images=tftpboot $kernel_addr $image_name; tftpboot $fdt_addr $fdt_name; run get_ramfs get_ramfs=if test "${ramfs_name}" != "-"; then setenv ramfs_addr 0x8000000; tftpboot $ramfs_addr $ramfs_name; else setenv ramfs_addr -;fi hostname=marvell image_name=boot/Image initrd_addr=0x1100000 initrd_image=boot/uInitrd initrd_size=0x2000000 ipaddr=0.0.0.0 kernel_addr=0x7000000 load_script=if test -e mmc 0:1 boot/boot.scr; then echo "... booting from SD";setenv boot_interface mmc;else echo "... booting from USB/SATA";usb start;setenv boot_interface usb;fi;if test -e $boot_interface 0:1 boot/boot.scr;then ext4load $boot_interface 0:1 0x00800000 boot/boot.scr; source; fi loadaddr=0x8000000 netdev=eth0 netmask=255.255.255.0 ramfs_addr=- ramfs_name=- root=root=/dev/nfs rw rootdev=UUID=d556ab78-e4f7-4914-bfd1-7e3fb44f7a54 rootfstype=ext4 rootpath=/srv/nfs/ serverip=0.0.0.0 set_bootargs=setenv bootargs $console $root ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:none nfsroot=$serverip:$rootpath $extra_params stderr=serial@12000 stdin=serial@12000 stdout=serial@12000 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u verbosity=1 Environment size: 2440/65532 bytes
  6. Looks like master might broken right now? [ o.k. ] Building boot image clock.c: In function ‘set_tbg_clock’: clock.c:397:6: warning: implicit declaration of function ‘get_ref_clk’ [-Wimplicit-function-declaration] if (get_ref_clk() == 40) { ^ truncate: cannot open '../../marvell-tools/wtmi/fuse/build/fuse.bin' for writing: No such file or directory ../../marvell-tools/script/buildtim.sh: line 241: ../../marvell-tools/ddrparser.pl: No such file or directory make: *** [fip] Error 1 cp: cannot stat 'build/a3700/debug/flash-image.bin': No such file or directory [ error ] ERROR in function compile_uboot [ compilation.sh:185 ] [ error ] U-boot file not found [ flash-image.bin ] [ o.k. ] Process terminated
  7. I have lots of time. I am a retired communications engineer. I need stuff to do.
  8. This is a test with ingress tc filter that is the exact same as wondershaer, astshape and arnos-firewall. This is on a 60mb x 12mb connection. root@espressobin:~# iperf3 -c speedtest.serverius.net -p 5002 -P 10 -4 -R Connecting to host speedtest.serverius.net, port 5002 Reverse mode, remote host speedtest.serverius.net is sending [ 4] local 10.1.10.66 port 54222 connected to 178.21.16.76 port 5002 [ 6] local 10.1.10.66 port 54224 connected to 178.21.16.76 port 5002 [ 8] local 10.1.10.66 port 54226 connected to 178.21.16.76 port 5002 [ 10] local 10.1.10.66 port 54228 connected to 178.21.16.76 port 5002 [ 12] local 10.1.10.66 port 54230 connected to 178.21.16.76 port 5002 [ 14] local 10.1.10.66 port 54232 connected to 178.21.16.76 port 5002 [ 16] local 10.1.10.66 port 54234 connected to 178.21.16.76 port 5002 [ 18] local 10.1.10.66 port 54236 connected to 178.21.16.76 port 5002 [ 20] local 10.1.10.66 port 54238 connected to 178.21.16.76 port 5002 [ 22] local 10.1.10.66 port 54240 connected to 178.21.16.76 port 5002 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 17.0 KBytes 139 Kbits/sec [ 6] 0.00-1.00 sec 18.4 KBytes 151 Kbits/sec [ 8] 0.00-1.00 sec 22.6 KBytes 185 Kbits/sec [ 10] 0.00-1.00 sec 17.0 KBytes 139 Kbits/sec [ 12] 0.00-1.00 sec 21.2 KBytes 174 Kbits/sec [ 14] 0.00-1.00 sec 1.41 KBytes 11.6 Kbits/sec [ 16] 0.00-1.00 sec 2.83 KBytes 23.2 Kbits/sec [ 18] 0.00-1.00 sec 2.83 KBytes 23.2 Kbits/sec [ 20] 0.00-1.00 sec 2.83 KBytes 23.2 Kbits/sec [ 22] 0.00-1.00 sec 4.24 KBytes 34.7 Kbits/sec [SUM] 0.00-1.00 sec 110 KBytes 903 Kbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - This is with the tc filter removed. root@espressobin:~# iperf3 -c speedtest.serverius.net -p 5002 -P 10 -4 -R Connecting to host speedtest.serverius.net, port 5002 Reverse mode, remote host speedtest.serverius.net is sending [ 4] local 10.1.10.66 port 54246 connected to 178.21.16.76 port 5002 [ 6] local 10.1.10.66 port 54248 connected to 178.21.16.76 port 5002 [ 8] local 10.1.10.66 port 54250 connected to 178.21.16.76 port 5002 [ 10] local 10.1.10.66 port 54252 connected to 178.21.16.76 port 5002 [ 12] local 10.1.10.66 port 54254 connected to 178.21.16.76 port 5002 [ 14] local 10.1.10.66 port 54256 connected to 178.21.16.76 port 5002 [ 16] local 10.1.10.66 port 54258 connected to 178.21.16.76 port 5002 [ 18] local 10.1.10.66 port 54260 connected to 178.21.16.76 port 5002 [ 20] local 10.1.10.66 port 54262 connected to 178.21.16.76 port 5002 [ 22] local 10.1.10.66 port 54264 connected to 178.21.16.76 port 5002 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 274 KBytes 2.25 Mbits/sec [ 6] 0.00-1.00 sec 263 KBytes 2.15 Mbits/sec [ 8] 0.00-1.00 sec 270 KBytes 2.21 Mbits/sec [ 10] 0.00-1.00 sec 430 KBytes 3.52 Mbits/sec [ 12] 0.00-1.00 sec 293 KBytes 2.40 Mbits/sec [ 14] 0.00-1.00 sec 240 KBytes 1.97 Mbits/sec [ 16] 0.00-1.00 sec 191 KBytes 1.56 Mbits/sec [ 18] 0.00-1.00 sec 235 KBytes 1.92 Mbits/sec [ 20] 0.00-1.00 sec 232 KBytes 1.90 Mbits/sec [ 22] 0.00-1.00 sec 199 KBytes 1.63 Mbits/sec [SUM] 0.00-1.00 sec 2.57 MBytes 21.5 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ 4] 1.00-2.00 sec 522 KBytes 4.27 Mbits/sec [ 6] 1.00-2.00 sec 506 KBytes 4.15 Mbits/sec [ 8] 1.00-2.00 sec 512 KBytes 4.19 Mbits/sec [ 10] 1.00-2.00 sec 792 KBytes 6.49 Mbits/sec [ 12] 1.00-2.00 sec 535 KBytes 4.38 Mbits/sec [ 14] 1.00-2.00 sec 518 KBytes 4.24 Mbits/sec [ 16] 1.00-2.00 sec 305 KBytes 2.50 Mbits/sec [ 18] 1.00-2.00 sec 557 KBytes 4.56 Mbits/sec [ 20] 1.00-2.00 sec 549 KBytes 4.49 Mbits/sec [ 22] 1.00-2.00 sec 351 KBytes 2.87 Mbits/sec [SUM] 1.00-2.00 sec 5.03 MBytes 42.2 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ 4] 2.00-3.00 sec 768 KBytes 6.29 Mbits/sec [ 6] 2.00-3.00 sec 642 KBytes 5.26 Mbits/sec [ 8] 2.00-3.00 sec 636 KBytes 5.21 Mbits/sec [ 10] 2.00-3.00 sec 980 KBytes 8.03 Mbits/sec [ 12] 2.00-3.00 sec 707 KBytes 5.79 Mbits/sec [ 14] 2.00-3.00 sec 744 KBytes 6.09 Mbits/sec [ 16] 2.00-3.00 sec 585 KBytes 4.80 Mbits/sec [ 18] 2.00-3.00 sec 789 KBytes 6.46 Mbits/sec [ 20] 2.00-3.00 sec 809 KBytes 6.63 Mbits/sec [ 22] 2.00-3.00 sec 481 KBytes 3.94 Mbits/sec [SUM] 2.00-3.00 sec 6.97 MBytes 58.5 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ 4] 3.00-4.00 sec 987 KBytes 8.09 Mbits/sec [ 6] 3.00-4.00 sec 690 KBytes 5.65 Mbits/sec [ 8] 3.00-4.00 sec 699 KBytes 5.72 Mbits/sec [ 10] 3.00-4.00 sec 943 KBytes 7.73 Mbits/sec [ 12] 3.00-4.00 sec 744 KBytes 6.09 Mbits/sec [ 14] 3.00-4.00 sec 650 KBytes 5.33 Mbits/sec [ 16] 3.00-4.00 sec 725 KBytes 5.94 Mbits/sec [ 18] 3.00-4.00 sec 546 KBytes 4.47 Mbits/sec [ 20] 3.00-4.00 sec 769 KBytes 6.30 Mbits/sec [ 22] 3.00-4.00 sec 594 KBytes 4.87 Mbits/sec [SUM] 3.00-4.00 sec 7.18 MBytes 60.2 Mbits/sec ^C- - - - - - - - - - - - - - - - - - - - - - - - -
  9. That will not help. The marvell chip only has 1 mac. It really is just a switch not 3 ethernet ports. Netfilter and iptables cannot tell which direction the traffic is going. Without being able to add an extra net card this device will never work correctly as a router or bridged monitoring device. An external usb net card does work. I have tried several but really need a mini pcie one to keep everything in one box. Just need r8168 drivers. I think this will help others.
  10. http://ix.io/1kY2 This is the same problem I am seeing. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/699761 and here http://lkml.iu.edu/hypermail/linux/kernel/1804.1/05440.html more reference to the problem here https://groups.google.com/forum/#!topic/fa.linux.kernel/NmsoSQ2ZvEo
  11. Still having some problems but I can compile image and source kernel from git build. What I am still having problems with is the realtek r8169 drivers that are build. I looks like because of the version chip I have I need to compile the r8168 drivers. I have tried but the build fails. This is also why I thought there was a problem with armbian-config. The r8169 driver makes the chip I have go to about 1kbit. After doing some digging I found this is a problem. This person is having the same problem that I have with the topaz switch. The fix is to use another ethernet interface. I have tried 2 different usb adapters and they both work. I need an adapter that I can keep inside the box I have for the espressobin. Can I get some help compiling these drivers? I have both jessie and stretch built to test on. root@espressobin:/usr/src/r8168-8.046.00# make make -C src/ clean make[1]: Entering directory '/usr/src/r8168-8.046.00/src' make -C /lib/modules/4.4.139-mvebu64/build SUBDIRS=/usr/src/r8168-8.046.00/src clean make[2]: Entering directory '/lib/modules/4.4.139-mvebu64/build' make[2]: Leaving directory '/lib/modules/4.4.139-mvebu64/build' make[1]: Leaving directory '/usr/src/r8168-8.046.00/src' make -C src/ modules make[1]: Entering directory '/usr/src/r8168-8.046.00/src' make -C /lib/modules/4.4.139-mvebu64/build SUBDIRS=/usr/src/r8168-8.046.00/src modules make[2]: Entering directory '/lib/modules/4.4.139-mvebu64/build' CC [M] /usr/src/r8168-8.046.00/src/r8168_n.o scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: "(" unexpected scripts/Makefile.build:269: recipe for target '/usr/src/r8168-8.046.00/src/r8168_n.o' failed make[3]: *** [/usr/src/r8168-8.046.00/src/r8168_n.o] Error 2 Makefile:1425: recipe for target '_module_/usr/src/r8168-8.046.00/src' failed make[2]: *** [_module_/usr/src/r8168-8.046.00/src] Error 2 make[2]: Leaving directory '/lib/modules/4.4.139-mvebu64/build' Makefile:104: recipe for target 'modules' failed make[1]: *** [modules] Error 2 make[1]: Leaving directory '/usr/src/r8168-8.046.00/src' Makefile:40: recipe for target 'modules' failed make: *** [modules] Error 2
  12. I do not know how to push stuff with git only pull's. Here is the file. espressobin-1g-2cs-1000.config
  13. Yes it's about Stretch. The 4 img files I tested all had problems from here. https://www.armbian.com/espressobin/ The u-boot update 1g-2cs-1000-800 is working fine. I read in some other forums, not on this site, that people have had problems running this board at 1200. I have read all the links you posted. Including all 22 pages of the one.
  14. I am using a mPCI-e realtek network card to get around the problems with netfilter and the topaz switch. Here is the card. https://www.amazon.com/Syba-SD-MPE24031-Gigabit-Ethernet-1-Port/dp/B00B524102 http://www.sybausa.com/index.php?route=product/product&amp;product_id=126 u-boot info. This is a 1Gb 2 chip board. TIM-1.0 WTMI-armada-17.10.5-34ce216 WTMI: system early-init SVC REV: 4, CPU VDD voltage: 1.143V Fill memory before self refresh...done Fill memory before self refresh...done Now in Self-refresh Mode Restore termination values to original values Exited self-refresh ... Self refresh Pass. DDR self test mode test done!! Self refresh Pass. DDR self test mode test done!! QS GATING ============= Calibration done: cycle = 0x00 tap =0x62 CH0_PHY_RL_Control_CS0_B0[0xC0001180]: 0x00000062 CH0_PHY_RL_Control_CS0_B1[0xC0001184]: 0x00000062 QS GATING ============= Calibration done: cycle = 0x00 tap =0x62 CH0_PHY_RL_Control_CS1_B0[0xC00011A4]: 0x00000062 CH0_PHY_RL_Control_CS1_B1[0xC00011A8]: 0x00000062 DLL TUNING ============== DLL 0xc0001050[21:16]: [0,21,10] DLL 0xc0001050[29:24]: [6,31,1b] DLL 0xc0001054[21:16]: [0,23,11] DLL 0xc0001054[29:24]: [6,38,1f] DLL 0xc0001074[21:16]: [0,3f,1f] DLL 0xc0001074NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL1: Built : 16:46:16, May 10 2NOTICE: BL2: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL2: Built : 16:46:16, May 10 2018 NNOTICE: BL31: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL31: U-Boot 2017.03-armada-17.10.3-g06ad760-armbian (May 10 2018 - 16:45:48 +0200) Model: Marvell Armada 3720 Community Board ESPRESSOBin CPU @ 1000 [MHz] L2 @ 800 [MHz] TClock @ 200 [MHz] DDR @ 800 [MHz] DRAM: 1 GiB U-Boot DT blob at : 000000003f7182d8 Comphy-0: USB3 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 6 Gbps SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link up MMC: sdhci@d0000: 0 SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB Net: eth0: neta@30000 [PRIME] Hit any key to stop autoboot: 2 1 0 *** ERROR: `serverip' not set *** ERROR: `serverip' not set ... booting from SD 1176 bytes read in 7 ms (164.1 KiB/s) ## Executing script at 00800000 221 bytes read in 2 ms (107.4 KiB/s) 15481344 bytes read in 667 ms (22.1 MiB/s) 4599425 bytes read in 205 ms (21.4 MiB/s) ** File not found boot/dtb/marvell/armada-3720-community.dtb ** 8607 bytes read in 9 ms (933.6 KiB/s) ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 4599361 Bytes = 4.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 04f00000 Booting using the fdt blob at 0x4f00000 Loading Ramdisk to 3f2b3000, end 3f715e41 ... OK Using Device Tree in place at 0000000004f00000, end 0000000004f0519e Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 4.18.2-mvebu64 (root@armbian-build) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Fri Aug 17 18:29:21 CDT 2018 [ 0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board [ 0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '') [ 0.000000] bootconsole [ar3700_uart0] enabled Loading, please wait... starting version 232 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.29.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1 /dev/mmcblk1p1: clean, 37788/919456 files, 427014/3849616 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Debian GNU/Linux 9 (stretch) DMESG from my build.
  15. Problem fixed. The public build that are listed are broken. I built my own _next build with extra drives and everything work, including armbian-config. I can share my build if anyone wants it.
  16. Thank you for the reply. I need to compile the r8168 drivers for the card I have. The r8169 drivers work but no gigabit. On the orange pi that I have I used armbian-config to install the kernel sources so I could compile other things. That worked perfect. The Armbian_5.54_Espressobin_Debian_stretch_default_4.4.138.img and the Armbian_5.54_Espressobin_Debian_stretch_next_4.17.9.img images do not seem to work. Armbian-config never gives a menu. I am more than happy to try an updated image. The only other thing I found with the _next image is that the netfilter module had performance issues. Not sure if it was my config or what. That's a problem for another day. Here is the u-boot info. The first thing I did was update u-boot WTMI-armada-17.10.5-34ce216 WTMI: system early-init SVC REV: 4, CPU VDD voltage: 1.143V Fill memory before self refresh...done Fill memory before self refresh...done Now in Self-refresh Mode Restore termination values to original values Exited self-refresh ... Self refresh Pass. DDR self test mode test done!! Self refresh Pass. DDR self test mode test done!! QS GATING ============= Calibration done: cycle = 0x00 tap =0x62 CH0_PHY_RL_Control_CS0_B0[0xC0001180]: 0x00000062 CH0_PHY_RL_Control_CS0_B1[0xC0001184]: 0x00000062 QS GATING ============= Calibration done: cycle = 0x00 tap =0x62 CH0_PHY_RL_Control_CS1_B0[0xC00011A4]: 0x00000062 CH0_PHY_RL_Control_CS1_B1[0xC00011A8]: 0x00000062 DLL TUNING ============== DLL 0xc0001050[21:16]: [0,20,10] DLL 0xc0001050[29:24]: [6,32,1c] DLL 0xc0001054[21:16]: [0,23,11] DLL 0xc0001054[29:24]: [7,37,1f] DLL 0xc0001074[21:16]: [0,3f,1f] DLL 0xc0001074NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL1: Built : 16:46:16, May 10 2NOTICE: BL2: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL2: Built : 16:46:16, May 10 2018 NNOTICE: BL31: v1.3(release):armada-17.10.8:34247e0 NOTICE: BL31: U-Boot 2017.03-armada-17.10.3-g06ad760-armbian (May 10 2018 - 16:45:48 +0200) Model: Marvell Armada 3720 Community Board ESPRESSOBin CPU @ 1000 [MHz] L2 @ 800 [MHz] TClock @ 200 [MHz] DDR @ 800 [MHz] DRAM: 1 GiB U-Boot DT blob at : 000000003f7182d8 Comphy-0: USB3 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 6 Gbps SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link up MMC: sdhci@d0000: 0 SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB Net: eth0: neta@30000 [PRIME] Hit any key to stop autoboot: 0 *** ERROR: `serverip' not set *** ERROR: `serverip' not set ... booting from SD 1176 bytes read in 5 ms (229.5 KiB/s) ## Executing script at 00800000 221 bytes read in 5 ms (43 KiB/s) 14370816 bytes read in 620 ms (22.1 MiB/s) 5008581 bytes read in 220 ms (21.7 MiB/s) 12011 bytes read in 23 ms (509.8 KiB/s) ** File not found boot/dtb/marvell/armada-3720-espressobin.dtb ** ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 5008517 Bytes = 4.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 04f00000 Booting using the fdt blob at 0x4f00000 Loading Ramdisk to 3f24f000, end 3f715c85 ... OK Using Device Tree in place at 0000000004f00000, end 0000000004f05eea Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.138-mvebu64 (root@nightly) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11) ) #56 SMP PREEMPT Tue Jul 24 15:24:52 UTC 2018 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: Early serial console at MMIO 0xd0012000 (options '') [ 0.000000] bootconsole [uart0] enabled Loading, please wait... starting version 232 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.29.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: recovering journal /dev/mmcblk0p1: clean, 38746/947776 files, 351639/3849616 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done.
  17. Yes I have and no where does it talk about a problem with armbian-config utility.
  18. So I have a new board that I am working with. I cannot get armbian-config to display anything. I have tried both the Ubuntu and Debian images. I also tried the default and next images with not luck. The default image has the drivers that I need for a mpcie network card. The final goal is to install the kernel source so I can update drivers. [ 2.037420] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 2.048872] r8169 0000:00:00.0 eth1: RTL8168evl/8111evl at 0xffffff8000376000, 00:13:3b:21:4b:62, XID 0c900800 IRQ 108 [ 2.048931] r8169 0000:00:00.0 eth1: jumbo features [frames: 9200 bytes, tx checksumming: ko] [ 2.653362] r8169 0000:00:00.0 enp0s0: renamed from eth1 [ 20.069026] r8169 0000:00:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2 [ 20.069052] r8169 0000:00:00.0 enp0s0: unable to load firmware patch rtl_nic/rtl8168e-3.fw (-2)
  19. OK got it working. Part of the problem is I commented out the serial line. So after it booted there was no console output. Next questions is how can I get it to boot without unlocking the rootfs?
  20. Created an empty .next in /boot like on the original image that I downloaded. Now it goes to starting kernel and after 30 sec it reboots. Does this mean it could not mount the rootfs? U-Boot 2017.11-armbian (Jan 25 2018 - 07:59:18 +0100) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 256 MiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 3764 bytes read in 93 ms (39.1 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 209 bytes read in 46 ms (3.9 KiB/s) 7412851 bytes read in 865 ms (8.2 MiB/s) 6968976 bytes read in 858 ms (7.7 MiB/s) Found mainline kernel configuration 31935 bytes read in 1151 ms (26.4 KiB/s) 504 bytes read in 1474 ms (0 Bytes/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 504 bytes read in 1629 ms (0 Bytes/s) Applying kernel provided DT overlay sun8i-h3-usbhost3.dtbo 4179 bytes read in 1494 ms (2 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7412787 Bytes = 7.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 498ee000, end 49fffc33 ... OK reserving fdt memory region: addr=43000000 size=6e000 Loading Device Tree to 4987d000, end 498edfff ... OK Starting kernel ...
  21. The guide listed above is what I used. Not sure were to go from here.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines