From f78fd94f634da9295fbb447d470224dce681941d Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Fri, 12 Oct 2018 13:12:52 +0000 Subject: [PATCH] beagleboard/pocketbeagle: init --- README.md | 3 ++- beagleboard/pocketbeagle/default.nix | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 beagleboard/pocketbeagle/default.nix diff --git a/README.md b/README.md index 53d6463..3b3f34a 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ imports = [ | Apple MacBook Air 6,X | `` | | [Apple MacBook Pro 10,1][] | `` | | Apple MacBook Pro 12,1 | `` | +| BeagleBoard PocketBeagle | `` | | [Dell XPS 15 9550][] | `` | | [Inverse Path USB armory][] | `` | | Lenovo IdeaPad Z510 | `` | @@ -41,7 +42,7 @@ imports = [ | Lenovo ThinkPad X220 | `` | | Lenovo ThinkPad X230 | `` | | Lenovo ThinkPad X250 | `` | -| [Lenovo ThinkPad X260][] | `` | +| [Lenovo ThinkPad X260][] | `` | | Lenovo ThinkPad X270 | `` | | [Lenovo ThinkPad X1 (6th Gen)][] | ``| | [Microsoft Surface Pro 3][] | `` | diff --git a/beagleboard/pocketbeagle/default.nix b/beagleboard/pocketbeagle/default.nix new file mode 100644 index 0000000..bc42630 --- /dev/null +++ b/beagleboard/pocketbeagle/default.nix @@ -0,0 +1,10 @@ +{ lib, ... }: + +{ + boot.kernelParams = [ "console=ttyO0,115200n8" ]; + + boot.loader = { + generic-extlinux-compatible.enable = lib.mkDefault true; + grub.enable = lib.mkDefault false; + }; +}