GithubHelp home page GithubHelp logo

Comments (17)

luigi311 avatar luigi311 commented on August 16, 2024 2

Danct just released 6.9.5 and it has the latest bes2600 driver so we dont need to pull in the bes2600 repo and create a module out of it anymore. It should also be fine to set it to automatically load on startup now and is what arch is doing.

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024 2

big thank you!
allowed me to do my first successful nixos-install ... to emmc on this machine!

gonna try to work on a noob readable installation:
https://github.com/tromshusky/nixos/tree/pinetab2-minimal

from nixos-rockchip.

asonix avatar asonix commented on August 16, 2024 1

I think "has WiFi" is a bit of an overstatement. The WiFi still doesn't work, but the driver can be loaded

from nixos-rockchip.

nabam avatar nabam commented on August 16, 2024 1

Sorry folks, I didn't have much spare time maintain the repo recently. Builds has been failing for a while. I'll try to fix it this weekend and merge the PR.

from nixos-rockchip.

asonix avatar asonix commented on August 16, 2024 1

There's also a dedicated wifi driver repo I've been thinking about getting packaged up as a kernel module but haven't gotten around to yet. It might improve the situation over the current in-tree driver: https://github.com/cringeops/bes2600

edit: also linux 6.9 is out so i might try getting a PR ready for 6.9 on pinetab & other boards

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024 1

@asonix Did apply the dreemurrs patch like this:
guess there is a way to include the patch directly from their repo but didnt care

  boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_9.override {
    argsOverride = rec {
      src = builtins.fetchurl {
            url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.9.2.tar.gz";
            sha256 = "0vz45ag1bkar9ir6w9bjiw05k7q2g1d5myb5n60dmf2k32n823cx";
      };
      version = "6.9.2";
      modDirVersion = "6.9.2-danctnix1";
      };
  });

  boot.kernelPatches = [{
    name = "v6.9.2-danctnix1";
    patch = builtins.fetchurl {
      url = "https://raw.githubusercontent.com/tromshusky/nixos-rockchip/frankenstein/mynix/v6.9.2-danctnix1.patch";
      sha256 = "1pg4cml49ymywsqfw0lasfakjx4a9p4wxl95cpd5mql2z9nar1m8";
    };
  }];

Boots kernel but goes into emergency shell.

[   20.114815] dw-mipi-dsi-rockchip fe060000.dsi: [drm:dw_mipi_dsi_rockchip_probe [rockchipdrm]] *ERROR* fai7
[   20.187278] dw-mipi-dsi-rockchip fe060000.dsi: [drm:dw_mipi_dsi_rockchip_probe [rockchipdrm]] *ERROR* fai7

But working on it now to include those modules from
nixpkgs:

  boot.initrd.availableKernelModules =
  
# Rockchip
      "dw-hdmi"
      "dw-mipi-dsi"
      "rockchipdrm"
      "rockchip-rga"
      "phy-rockchip-pcie"
      "pcie-rockchip-host"

Renting an ARM vps to build caches

from nixos-rockchip.

asonix avatar asonix commented on August 16, 2024 1

6.9.6 has been merged with bes2600 auto-enabling on boot :)

from nixos-rockchip.

nabam avatar nabam commented on August 16, 2024

Sorry, I don't own PineTab myself, hardware support for PineTab was contributes by @asonix. I'm happy to accept contributions if you know how to solve it

from nixos-rockchip.

crabdancing avatar crabdancing commented on August 16, 2024

If I ever have time, I might take a look upstream and make a PR tested against my personal hardware. :)

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024

Whats up with pr #22? Will it get merged? It has wifi

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024

can be loaded? i tried but failed. (sudo modprobe bes2600 cant find module)

i used the last sd image from releases
https://github.com/nabam/nixos-rockchip/releases/tag/v23.11.20240317.614b461

but it is still using kernel 6.6, and doesnt have bes2600 in /run/... module folder.
tried to build my own images with 6.8 on a fork from the pull request #22, but getting stuck, because it tries to load a simplefb module that cannot be found, i guess because of some .nix configuration from nixpkgs for the sd-card installer.

my goal is to get a running nixos on emmc with wifi modprobe possible, but following the asonix flake, (changing kernel linux_6_5_pinetab to linux_6_6_pinetab) i got never further than running out of space while compiling the kernel on the second nixos-rebuild switch

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024

https://github.com/search?q=repo%3ANixOS%2Fnixpkgs+simplefb&type=commits
simplefb was changed around March23 this year, that might cause some failure

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024

Used a flake.lock from before March 25 and
got some Pietab2 image build successfully on my github
https://github.com/tromshusky/nixos-rockchip/releases/tag/v23.11.20240320.f091af0
Didn't test it

from nixos-rockchip.

nabam avatar nabam commented on August 16, 2024

Fixed the pipeline, merged the PR. St least the driver should be available now.

from nixos-rockchip.

crabdancing avatar crabdancing commented on August 16, 2024

Woah. Wait a minute, the driver's actually usable?

from nixos-rockchip.

tromshusky avatar tromshusky commented on August 16, 2024

Woah. Wait a minute, the driver's actually usable?

if you manage to boot 6.8, modprobe bes2600 works
you have to apply it after screen timeout again.

if you want you can use the pinetab2 release that i linked

from nixos-rockchip.

crabdancing avatar crabdancing commented on August 16, 2024

So you have to modprobe it again? Sounds like the sort of thing a script workaround could fix

from nixos-rockchip.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.