Jump to content

Heisath

Members
  • Posts

    308
  • Joined

  • Last visited

Posts posted by Heisath

  1. @Mangix because u-boot was maintained by the kobol team, which have given up supporting both their boards. I do not currently have the time to switch to another u-boot and test / fix upgrade and new image scenarios. But there are only a few patches https://github.com/armbian/build/tree/master/patch/u-boot/legacy/u-boot-helios4 and so it might be possible to go upstream. You are welcome to try and send a patch. 

     

    I might also try, once I find time + motivation for it.

  2. Hi,

     

    I just tested this on my helios4 with linux kernel 5.15.80 

    uname -a:
    Linux helios4 5.15.80-mvebu #22.11.1

     

    and both pwm controllers work just fine.

     

    Have you tried going back to make sure it is not a HW problem? Or tried swapping fans around? 

     

    Also make sure your /dev devices symlink to the correct path:
     

    /dev/fan-j10 -> /sys/devices/platform/j10-pwm/hwmon/hwmon3
    /dev/fan-j17 -> /sys/devices/platform/j17-pwm/hwmon/hwmon4

     

    EDIT:

    I just did a fresh build from armbian master, 23.02.0-trunk. PWM on both channels working fine.

    uname -a
    Linux helios4 5.15.88-mvebu #trunk SMP Sat Jan 14 13:47:38 CET 2023 armv7l GNU/Linux

     

    So you'd need to provide more info on how you built your kernel version to get to this problem.

     

  3. Yeah that should be no problem. Just compare these two files:

     

    (Clearfog configuration)
    https://github.com/armbian/build/blob/master/config/sources/families/include/mvebu-clearfog.inc 

     

    (Helios4 configuration)

    https://github.com/armbian/build/blob/master/config/sources/families/include/mvebu-helios4.inc

     

    Just provide a PR with added targets here https://github.com/armbian/build/blob/master/config/sources/families/include/mvebu-helios4.inc#L11
    Test it by building locally and we'll have sata uboot on the next release.

  4. Yeah you need to UP eth1.  You can even see this in your Arch listing, the lan ports are @eth1. Vs in your armbian listing eth1 is down so the dsa is unreachable.

     

    Example ip config via /etc/network/interfaces:

     

    # Loopback
    auto lo
    iface lo inet loopback
    
    # eth0 wan
    allow-hotplug eth0
    iface eth0 inet manual
    
    # eth1 switch dsa port
    auto eth1
    iface eth1 inet manual
    
    # eth2 sfp port
    allow-hotplug eth2
    iface eth2 inet manual
    
    # lan ports (dsa)
    auto lan1 lan2 lan3 lan4 lan5 lan6
    iface lan1 inet manual
    iface lan2 inet manual
    iface lan3 inet manual
    iface lan4 inet manual
    iface lan5 inet manual
    iface lan6 inet manual
    
    # bridge for local ports
    auto br0
    iface br0 inet static
            bridge_ports eth2 lan1 lan2 lan3 lan4 lan5 lan6
                    address 192.168.1.1
                    netmask 255.255.255.0
                    network 192.168.1.0
                    broadcast 192.168.1.255
                    gateway 192.168.1.2
                    dns-nameservers 1.1.1.1 1.0.0.1
    

     

     

    Clean armbian images are using network manager and should have working switched lan ports ootb.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines