DreamDreams

  • Posts

    24
  • Joined

  • Last visited

Reputation Activity

  1. Like
    DreamDreams got a reaction from geodirk in Building OpenWRT images for Orange Pi Zero with the Armbian kernel   
    You don't need to build OpenWRT yourself. Just use sunxi img from here: https://downloads.openwrt.org/chaos_calmer/15.05.1/sunxi/generic/ + /boot/ and /lib/modules/ from Armbian.
  2. Like
    DreamDreams reacted to hmartin in Orange Pi Zero went to the market   
    Okay, I have the XR819 driver compiling against https://github.com/megous/linux/(this is the kernel source Armbian appears to have switched to).
     

     
    Should I submit a pull request to the above repo, or to the Armbian repo?
     
    Not sure where the firmware for the radio comes from though, I just grabbed it out of the Armbian image.
     
    Pull request submitted to megous/linux...
  3. Like
    DreamDreams reacted to DreamDreams in Building OpenWRT images for Orange Pi Zero with the Armbian kernel   
    What I did is simple:
    1. Install Armbian
    2. delete everything except /boot and /lib/modules from rootfs
    3. copy over OpenWRT rootfs 
     
    And that's it. This means I use u-boot, kernel, initrd and all settings from Armbian, only userland from OpenWRT. 
     
    And one minor tweak. Since how OpenWRT organize kernel modules is different, I have to do following:
    1. symlink all .ko files to /lib/modules/3.4.112 using
    for x in `find -name *.ko` do ln -s $x . done 2. OpenWRT's /sbin/kmodloader seems trying to open all ko files at once for stat and Armbian has a lot of modules under /lib/modules/3.4.112 dir so kmodloader will run out of file handle. I'm lazy to try to figure out which one is needed, so I simply change ulimit before kmodloader is ran in /etc/init.d/boot. Add one line at line 40:
    ulimit -n 10000
  4. Like
    DreamDreams got a reaction from manuti in Building OpenWRT images for Orange Pi Zero with the Armbian kernel   
    What I did is simple:
    1. Install Armbian
    2. delete everything except /boot and /lib/modules from rootfs
    3. copy over OpenWRT rootfs 
     
    And that's it. This means I use u-boot, kernel, initrd and all settings from Armbian, only userland from OpenWRT. 
     
    And one minor tweak. Since how OpenWRT organize kernel modules is different, I have to do following:
    1. symlink all .ko files to /lib/modules/3.4.112 using
    for x in `find -name *.ko` do ln -s $x . done 2. OpenWRT's /sbin/kmodloader seems trying to open all ko files at once for stat and Armbian has a lot of modules under /lib/modules/3.4.112 dir so kmodloader will run out of file handle. I'm lazy to try to figure out which one is needed, so I simply change ulimit before kmodloader is ran in /etc/init.d/boot. Add one line at line 40:
    ulimit -n 10000
  5. Like
    DreamDreams reacted to Fadly Umar in macvlan not receiving unicast packets on Orange Pi One/Zero   
    i d0 same thing but i had different aproach to this., i want traffic udp converging to http via udpxy , still cannot get it work . i dunno why ,
     
    AFAIK , just try this #ifconfig "your_macvlan" promisc, and your sysctl.conf disable rp_filter. seems to be driver bugs , perhaps