Skip to content

Commit 6db2074

Browse files
Merge pull request #27 from o7-machinehum/armbian-integration
Armbian integration
2 parents e4c55f8 + 94d4762 commit 6db2074

15 files changed

Lines changed: 6711 additions & 265 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
[submodule "Bjorn-blackhat"]
77
path = package/bjorn/bjorn
88
url = git@github.com:o7-machinehum/Bjorn-blackhat.git
9+
[submodule "armbian"]
10+
path = armbian
11+
url = https://github.com/armbian/build

BLACKHAT_REFERENCE.md

Lines changed: 0 additions & 255 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For complete functionality reference and usage examples, see [BLACKHAT_REFERENCE
77
## Releases
88
The best way to get your hands on all the most recent features is the [nightly build](https://github.com/o7-machinehum/flipper-blackhat-os/actions) here. Just click the most recent "Nightly" and you will find the OS artifacts at the bottom. These can then be flashed to an SD card using unix dd, or whatever Windows application you would use to flash a RPI SD card.
99

10-
## Build
10+
## Build (Buildroot)
1111
Make sure submodules are initialized:
1212

1313
git submodule update --init
@@ -23,3 +23,9 @@ Initialize the configuration, including the defconfig and this external director
2323
And compile:
2424

2525
make
26+
27+
## Build (Armbian)
28+
The armbian build is pretty simple...
29+
./armbian_build.sh
30+
31+

armbian

Submodule armbian added at f9cf9ae
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Allwinner A33 quad core 512MB SoC module
2+
BOARD_NAME="Flipper Blackhat"
3+
BOARDFAMILY="sun8i"
4+
BOARD_MAINTAINER=""
5+
HAS_VIDEO_OUTPUT="no"
6+
7+
# U-Boot
8+
BOOTCONFIG="flipper_blackhat_defconfig"
9+
10+
# Kernel DTB that should be used by default
11+
BOOT_FDT_FILE="sun8i-a33-flipper-blackhat.dtb"
12+
13+
# Device-tree overlay prefix for this SoC family
14+
OVERLAY_PREFIX="sun8i-a33"
15+
16+
# Kernel flavours to build
17+
KERNEL_TARGET="current,edge,legacy"
18+
KERNEL_TEST_TARGET="edge"
19+
20+
# --- Enable Raspberry-Pi-style dual partition layout ---
21+
22+
BOOTFS_TYPE="fat"
23+
BOOTSIZE="256"
24+
BOOTFS_LABEL="BOOT"
25+
26+
ROOTFS_TYPE="ext4"
27+
ROOTFS_LABEL="ROOTFS"
28+
29+
IMAGE_PARTITION_TABLE_TYPE="dos"

0 commit comments

Comments
 (0)