Jump to content

MichaIng

Members
  • Posts

    62
  • Joined

  • Last visited

Recent Profile Visitors

1511 profile views
  1. We found the same issue. It does boot with the dedicated rock-4se target, hence pretty surely an issue with the updated DDR blob. The Armbian repo ships functional U-Boot packages already: https://apt.armbian.com/pool/main/l/linux-u-boot-rock-4se-current/ But WiFi does not work. We tried with rk3399-rock-4se.dtb as well as rk3399-rock-pi-4b.dtb (as used in armbianEnv.txt with rock-4se target). Still trying to figure out what is missing: The correct brcmfmac driver loads. With ROCK 4 SE device tree, it tries to load the brcm/brcmfmac43455-sdio.radxa,rock-4se.bin, else brcm/brcmfmac43455-sdio.radxa,rockpi4b.bin, but actually it uses brcm/brcmfmac43455-sdio without the device-specific appendix anyway. Also creating symlinks for the device-specific suffix mutes the warning, but does not fix WiFi: The adapter is just not showing up in e.g. `ip link`. Does someone know why the ROCK 4B device tree is explicitly used for the ROCK 4 SE target? For the U-Boot config, there is a note that upstream U-Boot ROCK 4 SE target is/was broken, but no hint why the 4B device tree is used. I thought that some patches might patch the 4B device tree only, but as far as we tested, both device trees generally work, but with none of them onboard WiFi is working on the ROCK 4 SE.
  2. sudo sed -i '/^extraargs=/$/ ipv6.disable=1/' /boot/armbianEnv.txt Respectively add ipv6.disable=1 to the end of the "extraargs" line, separated with a space from other possible values. However, this disables IPv6 support completely kernel-wise, which some software has problems with. E.g. the default Apache2 config on Debian comes with a vhost which dynamically binds to IPv4 and/or IPv6 addresses based on whether it is active on the interface or not. This syntax requires the kernel to at least understand IPv6, otherwise the webserver fails to start. So it is generally safer to only disable IPv6 on all interfaces, but keeping the kernel module active: echo -e 'net.ipv6.conf.all.disable_ipv6=1\nnet.ipv6.conf.default.disable_ipv6=1' | tee /etc/sysctl.d/disable_ipv6.conf sudo sysctl -p /etc/sysctl.d/disable_ipv6.conf EDIT: Ah, now I see you basically tried this already. As this is universally functional on all Linux distros, it must actually work. Not sure how exactly to tried it, which exact command or config file? E.g. using the sysctl command itself is not boot-persistent, hence the config file.
  3. @SoSie And did you try to reset mixer settings as I suggested above? And it doesn't work on other host hardware either? I still do not believe it is possible to physically damage a USB device by changing ALSA mixer settings of an internal sound card. Probably just a coincidence, but I lack knowledge to rule it out for certain. At least we offer this setup (switching between HDMI and analogue jack) to a few hundred users and didn't receive such a feedback yet. @ricardovasc Did you try the linked/pasted steps (at best while not having any USB DAC attached)?
  4. Try this: We offer this and a similar amixer config to enforce HDMI audio since a while among a few hundred Odroid N2 users and so far didn't receive any negative feedback. But someone just posted here that this "burned" his/her USB DAC (plugged in concurrently), whatever was meant by that, but double check that card 0 is really the onboard sound card, as I mentioned below here: I basically found this via trial&error and at best only half understood, e.g. why this cyclic looking src/bus/dst linking is required, especially including explicitly device/card 0 while those are for card 0 in the first place (-c 0). Probably a conflicting device tree patch caused the issue in the first place, or a fundamental change with Linux 5.10 which broke a functional Armbian patch.
  5. @SoSie What do you mean by "burn"? You can always reset all mixer settings via rm /var/lib/alsa/asound.state alsactl init The commands explicitly change settings for audio device/card 0 (-c 0), so check first whether onboard audio is card 0 via aplay -l Usually it should be, but I read on recent kmod changelog (Debian Bookworm and above, probably Ubuntu Jammy already) Not sure how kmod shall have an effect on the order in which the kernel detects sound devices, but always good to double check. On USB DACs, the amixer commands should mostly just fail since either the controls are invalid, or the values. USB audio is not internally attached via I2S etc.
  6. Since Linux v5.10 it is a bit complicated to get it working. Try this: # Reset and re-initiate ALSA mixer states rm /var/lib/alsa/asound.state alsactl init # Enable 3.5mm output amixer -c 0 set 'TOACODEC OUT EN' 'on' # Use I2S B as source for 3.5mm output, I2C A is somehow not usable amixer -c 0 set 'TOACODEC SRC' 'I2S B' # Use ALSA device 0 as input for I2S B amixer -c 0 set 'TDMOUT_B SRC SEL' 'IN 0' # Enable I2S B (SRC 2) on device 0 (_A) amixer -c 0 set 'FRDDR_A SRC 2 EN' 'on' # Set output channels for device 0 (_A) amixer -c 0 set 'FRDDR_A SINK 1 SEL' 'OUT 0' amixer -c 0 set 'FRDDR_A SINK 2 SEL' 'OUT 1' amixer -c 0 set 'FRDDR_A SINK 3 SEL' 'OUT 2' # Set master volume to 85% amixer -c 0 set 'ACODEC' '85%'
  7. USB gadget mode does currently not work OOTB on Armbian, but it can be enabled easily with a device tree change or overlay: /dts-v1/; /plugin/; / { compatible = "radxa,zero", "amlogic,g12a"; fragment@0 { target = <&usb>; __overlay__ { dr_mode = "otg"; }; }; }; I can open a PR for adding this as device tree overlay, or enabling OTG OOTB on Radxa Zero, like vendor did: https://github.com/radxa/kernel/commit/775a467 The latter would be simple. In case of an overlay, I'd need some hint about how to do it best: Adding it to the general meson64 overlays patch seems to be right: https://github.com/armbian/build/blob/master/patch/kernel/archive/meson64-6.0/general-meson64-overlays.patch But how to prefix or set `compatible` attribute best to assure it can be applied, resp. make clear that it works on Radxa Zero only (as state of testing)?
  8. v21.08.2 (Linux 5.10) is the latest which works. U-boot seems irrelevant since only updating the kernel breaks it and updating/flashing U-boot doesn't solve it. It works on NanoPi NEO3 (same SoC), which probably indicates an issue with the device tree, if the USB3 host is the same?
  9. Since Linux 5.15, the USB3 port on ROCK64 does not work anymore with Armbian. The following kernel errors are shown: usb 5-1: USB disconnect, device number 2 [...] usb usb5-port1: Cannot enable. Maybe the USB cable is bad? This has been reported by multiple users with multiple drives and cables, also disabling UAS does not help. lsusb shows the drive/device, but lsblk does not. I know the ROCK64 is not currently supported by Armbian/has no maintainer, so I'm not expecting anything, just posting this as information and probably someone with more insights into the rockchip64 kernel build has an idea or workaround.
  10. I leave it to you whether a quicker RC-based release or little later stable-based release is feasible. I tested it with eMMC and SD card and it works pretty well. It does support being loaded from SPI flash as well? That is nice indeed, at least as backup bootloader, haven't tested this yet.
  11. The rk3399-opp-2ghz overlay is currently broken on all RK3399 SBCs since Linux 5.15 kernel btw (including both, "current" 5.15 and "edge" 5.18). Another report on this forum: And we replicated on NanoPi R4S and got reports on ROCK Pi 4 and NanoPi M4.
  12. That works, awesome! It's still a release candidate (now RC5 is available), I guess it is not feasible to use it for a new Armbian N2 U-Boot package before being a stable release right? But great to have a workaround, many thanks!
  13. I can confirm this and posted a serial console log here: EDIT: Ah sorry, I see my logs just match the ones that have been posted here already. It's also the same orange 16 GiB eMMC module. I'll try with edge firmware and upstream U-Boot when I find time. EDIT2: I cannot replicate ATM, but it indeed seems that it boots fine with at least one other eMMC module, reported by one of our users. Probably it's some sort of timing, i.e. the eMMC takes too long to become ready resp. the bootloader tries too early to read its partition table? The bootloader itself however was loaded successfully from that same eMMC obviously 🤔. I clearly lack if insights, just guessing around 😅.
  14. @Franky66 did you manage to boot from eMMC when flashing it directly there? I'm not able to get the recent Odroid N2 Bullseye image to boot from eMMC at all, regardless which way. Doing the exactly same on SD card works fine. I also tried it with a custom image build, installing the Armbian "current" kernel package (Linux 5.10.123) and flashing respective U-Boot via write_uboot_platform: Fails the same way when flashing to eMMC, works from SD card. Here is the log from serial console: It seems to have issues to detect the partitions on the eMMC, but of course they are fine when mounting and fscking the eMMC from a different system.
  15. At least Linux v5.15 by default has the old sysfs API disabled, so if anything depends on it (has not been migrated to use libgpiod) and it hasn't been explicitly enabled for the build like Armbian did now, then yes.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines