Initial work on WiFi
Kernel module builds fine, and it's detected as a device. But it fails with mmc errors when starting wpa_supplicant
This commit is contained in:
parent
e296298201
commit
248244f600
@ -70,7 +70,12 @@ dmesg error: `spi-nor spi0.0: unrecognized JEDEC id bytes: 0b 40 18 0b 40 18`
|
|||||||
Working fine in linux. U-boot needs support
|
Working fine in linux. U-boot needs support
|
||||||
|
|
||||||
## WIFI
|
## WIFI
|
||||||
Not working
|
Dmesg errors:
|
||||||
|
```
|
||||||
|
Oct 19 06:11:31 nixos wpa_supplicant[926]: Successfully initialized wpa_supplicant
|
||||||
|
Oct 19 06:11:32 nixos kernel: sunxi-mmc 1c10000.mmc: data error, sending stop command
|
||||||
|
Oct 19 06:11:32 nixos kernel: sunxi-mmc 1c10000.mmc: send stop command failed
|
||||||
|
```
|
||||||
|
|
||||||
## Audio
|
## Audio
|
||||||
Is not in currently in DTB at all.
|
Is not in currently in DTB at all.
|
||||||
|
2
build.sh
2
build.sh
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
nix-build "<nixpkgs/nixos>" \
|
nix-build "<nixpkgs/nixos>" \
|
||||||
-I nixpkgs=https://github.com/danielfullmer/nixpkgs/archive/409e2f8cf43ba86b1de710308ca0e9aa29d5fc60.tar.gz \
|
-I nixpkgs=https://github.com/danielfullmer/nixpkgs/archive/e69838e006a7271006ab834b521187891bf93ff4.tar.gz \
|
||||||
-I nixos-config=./configuration.nix \
|
-I nixos-config=./configuration.nix \
|
||||||
-A config.system.build.sdImage
|
-A config.system.build.sdImage
|
||||||
|
@ -38,9 +38,23 @@ in
|
|||||||
# See: https://lore.kernel.org/patchwork/project/lkml/list/?submitter=22013&order=name
|
# See: https://lore.kernel.org/patchwork/project/lkml/list/?submitter=22013&order=name
|
||||||
boot.kernelPackages = pkgs.linuxPackages_5_9;
|
boot.kernelPackages = pkgs.linuxPackages_5_9;
|
||||||
boot.kernelPatches = [
|
boot.kernelPatches = [
|
||||||
{ name = "pine64-pinecube"; patch = ./Pine64-PineCube-support.patch; }
|
{ name = "pine64-pinecube";
|
||||||
|
patch = ./Pine64-PineCube-support.patch;
|
||||||
|
# sunxi_defconfig is missing wireless support
|
||||||
|
# TODO: Are all of these options needed here?
|
||||||
|
extraConfig = ''
|
||||||
|
CFG80211 m
|
||||||
|
WIRELESS y
|
||||||
|
WLAN y
|
||||||
|
RFKILL y
|
||||||
|
RFKILL_INPUT y
|
||||||
|
RFKILL_GPIO y
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.extraModulePackages = [ config.boot.kernelPackages.rtl8189es ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
alsaUtils
|
alsaUtils
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user