Jump to content

lampra

Members
  • Posts

    169
  • Joined

  • Last visited

Everything posted by lampra

  1. I did the same and everything works on my cubietruck. Your Armbianmonitor is incomplete, there is no info from the previous boot that you claim no sata, so I can't help anymore.
  2. For anyone failing to build modules using the legacy bullseye image, I succeeded by creating a "source" link in the modules folder root@orangepizero2:/lib/modules/4.9.280-sun50iw9# ln -s /usr/src/linux-source-4.9.280-sun50iw9/ source root@orangepizero2:/lib/modules/4.9.280-sun50iw9# ll total 700 lrwxrwxrwx 1 root root 39 Aug 25 23:03 build -> /usr/src/linux-headers-4.9.280-sun50iw9 drwxr-xr-x 8 root root 4096 Sep 9 05:18 kernel -rw-r--r-- 1 root root 239753 Sep 9 05:19 modules.alias -rw-r--r-- 1 root root 245218 Sep 9 05:19 modules.alias.bin -rw-r--r-- 1 root root 27739 Aug 25 23:03 modules.builtin -rw-r--r-- 1 root root 12 Sep 9 05:19 modules.builtin.alias.bin -rw-r--r-- 1 root root 30895 Sep 9 05:19 modules.builtin.bin -rw-r--r-- 1 root root 24568 Sep 9 05:19 modules.dep -rw-r--r-- 1 root root 39138 Sep 9 05:19 modules.dep.bin -rw-r--r-- 1 root root 110 Sep 9 05:19 modules.devname -rw-r--r-- 1 root root 12338 Aug 25 23:03 modules.order -rw-r--r-- 1 root root 55 Sep 9 05:19 modules.softdep -rw-r--r-- 1 root root 28361 Sep 9 05:19 modules.symbols -rw-r--r-- 1 root root 34978 Sep 9 05:19 modules.symbols.bin lrwxrwxrwx 1 root root 39 Sep 9 05:18 source -> /usr/src/linux-source-4.9.280-sun50iw9/ drwxr-xr-x 3 root root 4096 Sep 9 05:19 updates
  3. **Is this the correct location, or it should be at the other supported boards? It seems that DT overlays are not working root@orangepizero2:~# cat /boot/armbianEnv.txt verbosity=1 console=serial disp_mode=1080p60 fb0_width=1280 fb0_height=720 rootdev=UUID=b8899b39-b6cb-4718-bdbb-e1b39816db74 rootfstype=ext4 overlays=w1-gpio param_w1_pin=PC9 param_w1_pin_int_pullup=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u Boot log:
  4. You could probably downgrade the kernel to a version lower than 5.10.60 using armbian-config and wait until 5.10.62 is available.
  5. I doubt that this is the same case, but I had the same error on an orangepi pc so for future reference I comment here. I had upgraded to buster from strech but it seems that the command lsb_release did not work and probably armian.config could not choose the appropriate debian release. Then the list (/etc/apt/sources.list.d/armbian.list) contained no release info, and I was getting the same error. Just adding the release solved the issue. root@orangepipc:~# cat /etc/apt/sources.list.d/armbian.list #deb http://apt.armbian.com main -utils deb http://apt.armbian.com buster main buster-utils
  6. Did you check for the patches? DO you build the kernel with them or not? If not, just copy the patches to the userpatches folder
  7. https://github.com/armbian/build/tree/428a2087671d6dbc9befc5ffa88b57c2abbf5192/patch/kernel/archive/sunxi-5.13 Some weeks ago they were included by default, and then they were excluded, and I had to include them in the userpatches. Not sure where they reside at this moment.
  8. This is what I did here ATFSOURCE='https://github.com/ARM-software/arm-trusted-firmware' ATFBRANCH='branch:master' edit: You also need all the patches (for h616 and opz2). I did not check if the patches are present or not in armbian master, as I had included them in previous builds. If not, you need to include them.
  9. Tested after changing ATF to mainline master, and it's loading the kernel. Ethernet and usb also working http://ix.io/3woR To me, it seems that we need to stick to 5.13 (which includes all the patches) for a while, as the discussion for the mainline support is far from concluded.
  10. Then this should probably point to the mainline ATF source.
  11. According to apritzel OPI zero2 has - unsupported Allwinner WiFi/BT chip The firmware of the wifi seems to be available here. The schematics of WiFi/BT are available here If I understand correctly, we need a pr for the firmware and a patch(overlay?) of the upcoming DT provided by apritzel. Is anyone skilled enough to write a patch for the DT?
  12. As mentioned by @mantouboji 5.13 is working well for the moment with the relevant patches. Though we are missing, among others, overlays and wifi. Regarding overlays, I tried to compile w1-gpio-cl but I had issues with the headers on 5.13. Did anyone manage to compile anything with 5.13? Regarding wifi, as this is new AW hw, I expect that we need to port the driver from the ventor's legacy sdk. Is anyone familiar with the process?
  13. I probably could, but I am not sure how to handle this without braking everything else. diff --git a/config/sources/families/include/sunxi64_common.inc b/config/sources/families/include/sunxi64_common.inc index bc59438..1082479 100644 --- a/config/sources/families/include/sunxi64_common.inc +++ b/config/sources/families/include/sunxi64_common.inc @@ -27,9 +27,9 @@ case $BRANCH in edge) - KERNELSOURCE="https://github.com/megous/linux" - KERNELBRANCH="branch:orange-pi-5.12" - KERNELPATCHDIR='sunxi-'$BRANCH + KERNELSOURCE="https://github.com/apritzel/linux/" + KERNELBRANCH="branch:h616-v8-rc" + KERNELPATCHDIR='sunxi-orange-pi-5.12' ;; esac diff --git a/config/sources/families/sun50iw6.conf b/config/sources/families/sun50iw6.conf index 0862996..0a04279 100644 --- a/config/sources/families/sun50iw6.conf +++ b/config/sources/families/sun50iw6.conf @@ -8,14 +8,17 @@ ASOUND_STATE='asound.state.sun50iw2-dev' if [[ $BOARD == orangepizero2 ]]; then - ATFSOURCE='https://github.com/apritzel/arm-trusted-firmware' - ATFBRANCH='branch:h616-beta' + ATFSOURCE='https://github.com/ARM-software/arm-trusted-firmware' + ATFBRANCH='branch:master' ATF_PLAT="sun50i_h616"; ATF_TARGET_MAP='PLAT=sun50i_h616 DEBUG=1 bl31;;build/sun50i_h616/debug/bl31.bin' - BOOTSOURCE='https://github.com/jernejsk/u-boot' - BOOTBRANCH='branch:h616-v2' + BOOTSOURCE='https://github.com/trini/u-boot' + BOOTBRANCH='branch:master' [[ -z $CPUMAX ]] && CPUMAX=1512000
  14. Successfully built & booted kernel 5.13.rc1 using mainline ATF, mainline uboot and this kernel source. Ethernet & usb works, reboot does not. More tests in the next few days Armbianmonitor
  15. Please accept my apologies if I should have posted this in a different place. So I have a working local build environment and I want to test the mainline ATF. Which is the correct way to change the source and the tree and define PLAT=sun50i_h616? When I change it at the families folder the and running ./compile.sh, I see the following in htop: ./compile.sh BOARD=orangepizero2 BRANCH=edge RELEASE=hirsute BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img,imgATF_PLAT=sun50i_h6 and it keeps spiting this: Alternative can see an ATF folder in the userscripts folder /build/userpatches/atf/atf-sunxi64$ but I couldn't find any documentation how to use it. Thank you
  16. I am wondering if with the newer 5.12 kernel we need mainline ATF here rather than the beta version in order to boot the kernel. Does anyone know?
  17. As per the documentation I increased verbosity to 7 at armbianEnv.txt but no new output.
  18. The test build (Hirsute 5.12.6 May 23 2021) gets stack at Starting kernel ...
  19. It seems that there is some dev movement for H616 on kernel 5.12 and also a fresh wip branch with many goodies Anyone available for building a test image?
  20. I tried to enable onwire both with stable, edge and factory images, but none worked using overlays. So it seems we are not there yet. [ 5.576315] sun50i-h616-pinctrl 300b000.pinctrl: pin PC9 already requested by onewire@0; cannot claim for 300b000.pinctrl:73 [ 5.587658] sun50i-h616-pinctrl 300b000.pinctrl: pin-73 (300b000.pinctrl:73) status -22 [ 5.595732] w1-gpio onewire@0: gpio_request (pin) failed For anyone who needs to work with onewire on this board until proper support enabled you could use w1-gpio-cl. Just download the headers and build it. Using onewire is then just as easy as: modprobe w1-gpio-cl m1="gdt:73" If @hexdump could provide headers for his kernel, then we could have the edge image with his kernel and support for usb, reboot and onewire until proper support is enabled. PS: Seems that ATF has moved to v4
  21. I had a similar issue with similar output in dmesg on an H6 board Try param_w1_pin_int_pullup=1 In my case including a resistor solved the issue
  22. I tried today the recommended and test(03042021) images. The kernel booted, but I could not pass the password change using UART at 115200 (cu, bootterm, minicom) nor I could connect from ssh using Ethernet cable. I will try with a new sd card next week.
  23. Off-topic: Do we need to open a new thread (in general chit-chat maybe?) if we seek experiences from other forum members and not from the person who started the current thread?
  24. I am using apt proxy on opi pc 20.11.1 buster. Te proxy was working fine but now it gives error for apt.armbian.com only, not for debian repos. Err:2 http://apt.armbian.com buster InRelease 500 INTERNAL SERVER ERROR [IP: 192.168.10.1 8080] Any hint? Edit: https works
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines