Jump to content

jmandawg

Members
  • Posts

    32
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines