Jump to content

jmandawg

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by jmandawg

  1. Hi all, I can't find any documentation (i prob just don't know where to look), so just a quick question: I have a Mi Box S, and i can run Armbian fine on it, it uses "booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}" to load the kernel images, i'm assuming they are all unsigned. But i would also like to run unsigned app images (openElec/emuElec/etc) which use "bootm <kernel_addr>" but those return an error: aml log : Sig Check 1467 So my question is are you guys doing any "magic" to get it to load, or does "booti" not do a signature check where as "bootm" does? Thanks.
  2. Hi can anyone explain how this can load on a secure box (mi box S) but i cannot load android based images such as libreElec or lakka? I'm guessing it's has something to do with the dtb signing but just wondering if someone can explain or if it's documented anywhere. Thanks.
  3. I figured it out, basically there is zero power going to the USB port, so i had to use a usb splitter cable and a hub. 1: Hub, USB Revision 3.0 - u-boot XHCI Host Controller - Class: Hub - PacketSize: 9 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
  4. Hi all I have UART connected to my MiBox S (which doesn't have a SD card slot only 1 usb). I'm trying to see if it can boot from USB, but it says there are no storage devices connected. Is it possible or am i just wasting my time: U-Boot 2015.01-g9a75fc5-dirty (Jul 11 2019 - 19:46:21), Build: jenkins-oneday-699 DRAM: 2 GiB Relocation Offset is: 76ed3000 gpio: pin gpiodv_24 (gpio 43) value is 1 gpio: pin gpioh_3 (gpio 52) value is 1 register usb cfg[0][1] = 0000000077f5db98 [CANVAS]canvas init MMC: aml_priv->desc_buf = 0x0000000073ed3b40 aml_priv->desc_buf = 0x0000000073ed5e60 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x3ff2800 emmc/sd response timeout, cmd55, status=0x3ff2800 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success aml log : R1024 check pass! Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: oneday variant: dcdc dtb 0 soc: gxl plat: oneday vari: dcdc dtb 1 soc: gxl plat: oneday vari: pmic Find match dtb: 0 start dts,buffer=0000000073ed8690,dt_addr=0000000073ed8e90 get_partition_from_dts() 103: ret 0 Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: oneday variant: dcdc dtb 0 soc: gxl plat: oneday vari: dcdc dtb 1 soc: gxl plat: oneday vari: pmic Find match dtb: 0 parts: 14 00: logo 0000000000800000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dto 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 07: rsv 0000000001000000 1 08: tee 0000000002000000 1 09: vendor 0000000006400000 1 10: oem 0000000012c00000 1 11: system 0000000046000000 1 12: cache 0000000010000000 2 13: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x17400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-2610: calc b35f8ed, store b35f8ed _verify_dtb_checksum()-2610: calc b35f8ed, store b35f8ed dtb_read()-2827: total valid 2 update_old_dtb()-2808: do nothing aml log : R1024 check pass! Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: oneday variant: dcdc dtb 0 soc: gxl plat: oneday vari: dcdc dtb 1 soc: gxl plat: oneday vari: pmic Find match dtb: 0 vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off finish vpp: vpp_init hpd_state=1 [1080p60hz] is invalid for cvbs. set hdmitx VIC = 16 config HPLL = 2970000 HPLL: 0xc000027b config HPLL done j = 6 vid_clk_div = 1 hdmitx: set enc for VIC: 16 HDMITX-DWC addr=0x10004006 rd_data=0x40 Error: HDMITX-DWC exp_data=0xff mask=0x9f rx version is 2.0 div=10 hdmtix: set audio hdmitx phy setting done amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [BL31]: tee size: 0 [BL31]: tee size: 0 [BL31]: tee size: 0 [KM]Error:f[keymanage_dts_get_key_device]L85:carrier key name is not exist [KM]Error:f[_get_km_ops_by_name]L231:key carrier not know device 4 [KM]Error:f[key_manage_query_exist]L546:There isn't dts cfg for key[carrier] [KM]Error:f[key_manage_query_size]L503:Fail in query key exist Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=0 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f800000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f800000 [CANVAS]addr=0x7f800000 width=5760, height=2160 pull down bt_reset pull up bt_reset set hci reset set scan parameters set scan enable pull down bt_enable Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 oneday#<INTERRUPT> oneday#<INTERRUPT> oneday#usb start (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found oneday#usb dev USB device -1: device type unknown oneday#usb storage No storage devices, perhaps not 'usb start'ed..? oneday#
  5. I do not have /proc/sys/crypto on my x86 box (running debian) or my renegade (running armbian) or my rpi (running raspian). My guess is it's installed with the FIPS module, which i believe is not free.
  6. over scp, i average around 30-35MBs: root@chromebox:/home/jmandawg# scp random500MBfile renegade:/mnt/data/ root@renegade's password: random500MBfile 100% 500MB 31.5MB/s 00:15
  7. There is a patch here: https://www.mail-archive.com/freeipa-users@lists.fedorahosted.org/msg03711.html I would suggest asking on freeIpa forum.
  8. try: mkdir /proc/sys/crypto echo "0" > /proc/sys/crypto/fips_enabled then start it.
  9. ssh in and reconfigure it or fail safe method: re-flash the sd card
  10. What are the results with openssl with the patches applied?
  11. Start-Date: 2018-09-21 17:34:12 Commandline: apt-get upgrade Upgrade: armbian-firmware-full:arm64 (5.45, 5.60), linux-u-boot-renegade-default:arm64 (5.59.180915, 5.60), armbian-tools-stretch:arm64 (5.59.180915, 5.60), sunxi-tools:arm64 (1.4.2-2~armbian5.59.180915+1, 1.4.2-2~armbian5.60+1), linux-stretch-root-renegade:arm64 (5.59.180915, 5.60), armbian-config:arm64 (5.59.180915, 5.60), hostapd:arm64 (3:2.6-99~armbian5.59.180915+1, 3:2.6-99~armbian5.60+1) End-Date: 2018-09-21 17:39:56 I updated and it's stll showing the same info after reboot no 1.51GHz: root@renegade:~# uname -r 4.4.152-rk3328 root@renegade:~# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Model: 4 CPU max MHz: 1392.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 root@renegade:~# ls -al /boot/dtb lrwxrwxrwx 1 root root 23 Sep 15 16:24 /boot/dtb -> dtb-4.4.155-rockchip64/ Do i need to switch to nightly development build?
  12. Quick question, what happened to Debian Stretch images for Renegade, it seems there is only ubuntu images for download now. Does armbian perfer ubuntu rootfs for server images now?
  13. I guess it's not there yet, my dtb points to 4.4.155: root@renegade:/boot# ls -al dtb lrwxrwxrwx 1 root root 23 Sep 15 16:24 dtb -> dtb-4.4.155-rockchip64/ root@renegade:/boot# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Model: 4 CPU max MHz: 1392.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32
  14. I've actully did more test this morning and i'm getting full 100mbs over vpn (with the isolated cpu). There is probably less traffic on a sunday morning. Also i think i might be connected to a better server. when you run your speed test make sure it uses a different core than the openvpn: taskset -c 0 python3 speedtest.py root@renegade:/mnt/data# taskset -c 0 python3 speedtest.py Retrieving speedtest.net configuration... Testing from Amanah Tech (104.254.93.181)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Ookla (Toronto, ON) [2.60 km]: 62.424 ms Testing download speed................................................................................ Download: 95.08 Mbit/s Testing upload speed...................................................................................................... Upload: 10.55 Mbit/s Another option to prevent anything from being scheduled on your openvpn core is to modify the /boot/boot.cmd and add isolcpus=2 to the bootargs (you will still need the CPUAffinity setting in the systemd openvpn.services file to run it on core 2): setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} panic=10 consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs} isolcpus=2" Then run: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr and reboot. Let us know what speeds you get from wireguard, i wish my provider supported it, but you shouldn't have to do any of this crap to get full speed with wireguard.
  15. Looks like the latest download on that page is bionic, i'm on stretch any easy way to update or better to just do a clean install.
  16. Thanks, I think there are too many variables at play using the Windscribe servers, as even the iperf3 results vary from 20-60Mps...
  17. Hi, on the renegade page: https://www.armbian.com/renegade/ It says we can run this cpu at 1.51Ghz, but when i follow the instructions nothing happens, is there a step i'm missing?: root@renegade:/mnt/config# sed -i "s/MAX_SPEED=.*/MAX_SPEED=1510000/" /etc/default/cpufrequtils root@renegade:/mnt/config# service cpufrequtils restart root@renegade:/mnt/config# cpufreq-set -g performance root@renegade:/mnt/config# armbianmonitor -m Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU C.St. 12:41:39: 1392MHz 1.37 17% 4% 7% 0% 3% 1% 65.4°C 0/6^C Is there an updated dtb file or overlay somewhere?
  18. So I ended up isolating cpu core 2 in systemd so that the only thing that runs on it is openvpn, and confirmed in htop. Now i'm getting much better performance but it flucuates ALOT depending on which server i get connected to (between 30mbs and 70mbps). I don't know how accurate the speedtest-cli is compared to just downloading a file. Hopefully WIndscribe starts supporting wireguard soon. Hopefully this helps the OP. root@renegade:/mnt/data# python3 speedtest.py Retrieving speedtest.net configuration... Testing from QuadraNet Enterprises LLC (167.160.172.18)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Windstream (Chicago, IL) [2.57 km]: 79.21 ms Testing download speed................................................................................ Download: 68.82 Mbit/s Testing upload speed...................................................................................................... Upload: 10.80 Mbit/s Modify /etc/systemd/system.conf uncomment the CPUAffinity line and set it to use cores 0 1 3 CPUAffinity=0 1 3 Modify /etc/systemd/system/openvpn.service add the CPUAffinity line under [service] and set it to use core 2 [Service] CPUAffinity=2 Finally reboot
  19. I don't think the tinkerboard has hardware crypto. I think the VPN connection should be a lot faster with the RK3288 hardware crypto.
  20. Thanks for the suggestion but my vpn provider doesn't support wireguard yet.
  21. Another comparison: Desktop PC over vpn: $ python3 speedtest.py Retrieving speedtest.net configuration... Testing from QuadraNet Enterprises LLC (173.44.36.71)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Comcast (Miami, FL) [4.24 km]: 66.318 ms Testing download speed................................................................................ Download: 94.07 Mbit/s Testing upload speed...................................................................................................... Upload: 10.90 Mbit/s Renegade over vpn: root@renegade:/mnt/data# python3 speedtest.py Retrieving speedtest.net configuration... Testing from QuadraNet Enterprises LLC (173.44.36.69)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Comcast (Miami, FL) [4.24 km]: 72.5 ms Testing download speed................................................................................ Download: 21.30 Mbit/s Testing upload speed...................................................................................................... Upload: 10.33 Mbit/s
  22. I'm not the OP but i'm getting the same types of speed as him, here is the output of the command: root@renegade:/mnt/data# (nohup iostat 5 &) ; time python3 speedtest.py ; pkill iostat nohup: appending output to 'nohup.out' Retrieving speedtest.net configuration... Testing from M247 Europe SRL (185.232.22.136)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Optimum Online (New York City, NY) [0.97 km]: 85.704 ms Testing download speed................................................................................ Download: 21.54 Mbit/s Testing upload speed...................................................................................................... Upload: 7.50 Mbit/s real 0m30.789s user 0m4.183s sys 0m1.082s root@renegade:/mnt/data# ping -c 5 185.232.22.136 PING 185.232.22.136 (185.232.22.136) 56(84) bytes of data. 64 bytes from 185.232.22.136: icmp_seq=1 ttl=64 time=45.0 ms 64 bytes from 185.232.22.136: icmp_seq=2 ttl=64 time=45.0 ms 64 bytes from 185.232.22.136: icmp_seq=3 ttl=64 time=55.6 ms 64 bytes from 185.232.22.136: icmp_seq=4 ttl=64 time=44.3 ms 64 bytes from 185.232.22.136: icmp_seq=5 ttl=64 time=52.1 ms --- 185.232.22.136 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4000ms rtt min/avg/max/mdev = 44.370/48.444/55.608/4.577 ms root@renegade:/mnt/data# cat nohup.out Linux 4.4.138-rk3328 (renegade) 09/14/2018 _aarch64_ (4 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 1.46 0.00 0.57 0.18 0.00 97.79 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.05 1.38 0.30 1683297 372672 sda 1.74 53.31 42.73 65187331 52244848 avg-cpu: %user %nice %system %iowait %steal %idle 1.81 0.00 0.50 0.00 0.00 97.69 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 1.00 11.20 4.80 56 24 avg-cpu: %user %nice %system %iowait %steal %idle 1.81 0.00 0.60 2.36 0.00 95.23 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 2.20 25.60 12.80 128 64 Linux 4.4.138-rk3328 (renegade) 09/14/2018 _aarch64_ (4 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 1.46 0.00 0.57 0.18 0.00 97.79 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.05 1.38 0.30 1683653 372672 sda 1.74 53.31 42.72 65189319 52245796 avg-cpu: %user %nice %system %iowait %steal %idle 8.30 0.00 1.06 0.00 0.00 90.64 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 1.00 20.80 0.00 104 0 avg-cpu: %user %nice %system %iowait %steal %idle 6.78 0.00 6.93 0.35 0.00 85.93 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.20 1.60 0.00 8 0 sda 2.00 21.60 5.60 108 28 avg-cpu: %user %nice %system %iowait %steal %idle 6.64 0.00 7.14 0.35 0.00 85.87 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 1.00 13.60 8.00 68 40 avg-cpu: %user %nice %system %iowait %steal %idle 5.07 0.00 4.00 0.30 0.00 90.63 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 1.20 17.60 2.40 88 12 avg-cpu: %user %nice %system %iowait %steal %idle 3.10 0.00 3.71 0.36 0.00 92.83 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 0.40 0.00 2.40 0 12 avg-cpu: %user %nice %system %iowait %steal %idle 2.32 0.00 1.82 0.35 0.00 95.51 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk1 0.00 0.00 0.00 0 0 sda 1.00 13.60 2.40 68 12 root@renegade:/mnt/data# Here are my speed w/o open vpn: root@renegade:/mnt/data# python3 speedtest.py Retrieving speedtest.net configuration... Testing from REMOVED (xx.xx.xxx.xxx)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by <REMOVED> [26.96 km]: 27.688 ms Testing download speed................................................................................ Download: 110.04 Mbit/s Testing upload speed...................................................................................................... Upload: 7.74 Mbit/s
  23. I would use something a little more reliable than speedtest.net, try using curl. Here are my results using my renegade (almost same hw as rock64): Without vpn (direct connection): root@renegade:~# curl -L http://www.gtlib.gatech.edu/pub/ubuntu-releases/18.04/ubuntu-18.04.1-live-server-amd64.iso > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 812M 100 812M 0 0 2948k 0 0:04:41 0:04:41 --:--:-- 4202k With openvpn: root@renegade:~# curl -L http://www.gtlib.gatech.edu/pub/ubuntu-releases/18.04/ubuntu-18.04.1-live-server-amd64.iso > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 812M 100 812M 0 0 1758k 0 0:07:52 0:07:52 --:--:-- 1856k This is using windscribe vpn. I think the only way to truly test openvpn speed would be on your internal network. I may try it when i have time.
  24. Thanks, got one off amazon, it dropped the temps by more than 10 degrees.
  25. Hi all. Is heatsink required for the libre 3328? When I log in to armbiam temp says 60 but it is in red text.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines