forked from home-assistant/operating-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request home-assistant#5 from adeepn/jethome_5.7
Jethome 5.7 WiP
- Loading branch information
Showing
23 changed files
with
139 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...droot-external/board/jethome/jethub-d1/rootfs-overlay/usr/lib/firmware/brcm/BCM4345C0.hcd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../BCM4345C0.hcd |
1 change: 1 addition & 0 deletions
1
...ethome/jethub-d1/rootfs-overlay/usr/lib/firmware/brcm/brcmfmac43455-sdio.amlogic,s400.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
brcmfmac43455-sdio.txt |
1 change: 1 addition & 0 deletions
1
...ethome/jethub-d1/rootfs-overlay/usr/lib/firmware/brcm/brcmfmac43455-sdio.jethome,j100.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
brcmfmac43455-sdio.txt |
4 changes: 4 additions & 0 deletions
4
buildroot-external/board/jethome/jethub-d1/rootfs-overlay/usr/lib/firmware/brcm/config.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
PM=0 | ||
nv_by_chip=1 \ | ||
43362 1 nvram_ap6210.txt | ||
43430 0 nvram_ap6212.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
18 changes: 18 additions & 0 deletions
18
...ternal/board/jethome/jethub-d1/rootfs-overlay/usr/lib/systemd/system/jethome-swap.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=HassOS File swap for JetHome | ||
DefaultDependencies=no | ||
Requires=hassos-expand.service mnt-data.mount [email protected] | ||
After=hassos-expand.service mnt-data.mount [email protected] | ||
Wants=hassos-expand.service mnt-data.mount systemd-fsck@dev-disk-by\x2dlabel-hassos\x2ddata.service [email protected] | ||
#RefuseManualStart=true | ||
#RefuseManualStop=true | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/usr/lib/jethome/swap_file_maker | ||
TimeoutStartSec=15min | ||
RemainAfterExit=true | ||
#StandardOutput=null | ||
|
||
[Install] | ||
WantedBy=hassos-zram.target |
18 changes: 0 additions & 18 deletions
18
...-external/board/jethome/jethub-d1/rootfs-overlay/usr/lib/systemd/system/zram-swap.service
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...droot-external/board/jethome/jethub-d1/rootfs-overlay/usr/lib/udev/rules.d/aml-part.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
KERNEL=="mmcblk1p7", SYMLINK+="disk/by-partlabel/hassos-bootstate" | ||
KERNEL=="mmcblk1p8", SYMLINK+="disk/by-partlabel/hassos-kernel0" | ||
KERNEL=="mmcblk1p9", SYMLINK+="disk/by-partlabel/hassos-system0" | ||
KERNEL=="mmcblk1p10", SYMLINK+="disk/by-partlabel/hassos-kernel1" | ||
KERNEL=="mmcblk1p11", SYMLINK+="disk/by-partlabel/hassos-system1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
config BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6255 | ||
bool "AP6255 SDIO WiFi/BT" | ||
help | ||
Firmware files for AP6255 WiFi/BT combo chip. |
2 changes: 2 additions & 0 deletions
2
buildroot-external/package/armbian-firmware-ap6255/armbian-firmware-ap6255.hash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Locally calculated | ||
sha256 c347aa50b7fe6b4f6078ed310f6cdf3f4acbabb530ff3612be022ae24cfdc512 armbian-firmware-ap6255-292e1e5b5bc5756e9314ea6d494d561422d23264.tar.gz |
40 changes: 40 additions & 0 deletions
40
buildroot-external/package/armbian-firmware-ap6255/armbian-firmware-ap6255.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
################################################################################ | ||
# | ||
# armbian-firmware-ap6255 | ||
# | ||
################################################################################ | ||
|
||
ARMBIAN_FIRMWARE_AP6255_VERSION = 292e1e5b5bc5756e9314ea6d494d561422d23264 | ||
ARMBIAN_FIRMWARE_AP6255_SITE = https://github.com/armbian/firmware | ||
ARMBIAN_FIRMWARE_AP6255_SITE_METHOD = git | ||
|
||
# AP6255 WiFi/BT combo firmware | ||
ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6255),y) | ||
ARMBIAN_FIRMWARE_AP6255_FILES += \ | ||
BCM4345C0.hcd \ | ||
fw_bcm43455c0_ag.bin \ | ||
fw_bcm43455c0_ag_apsta.bin \ | ||
fw_bcm43455c0_ag_p2p.bin \ | ||
nvram_ap6255.txt \ | ||
brcm/brcmfmac43455-sdio.bin \ | ||
brcm/brcmfmac43455-sdio.clm_blob \ | ||
brcm/brcmfmac43455-sdio.txt \ | ||
brcm/config.txt \ | ||
|
||
define ARMBIAN_FIRMWARE_AP6255_INSTALL_FILES | ||
cd $(@D) && \ | ||
$(TAR) cf install.tar $(sort $(ARMBIAN_FIRMWARE_AP6255_FILES)) && \ | ||
$(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware | ||
endef | ||
|
||
ARMBIAN_FIRMWARE_AP6255_LICENSE = PROPRIETARY | ||
ARMBIAN_FIRMWARE_AP6255_REDISTRIBUTE = NO | ||
endif | ||
|
||
define ARMBIAN_FIRMWARE_AP6255_INSTALL_TARGET_CMDS | ||
mkdir -p $(TARGET_DIR)/lib/firmware | ||
$(ARMBIAN_FIRMWARE_AP6255_INSTALL_FILES) | ||
$(ARMBIAN_FIRMWARE_AP6255_INSTALL_DIRS) | ||
endef | ||
|
||
$(eval $(generic-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
################################################################################ | ||
# | ||
# jethome uboot loader | ||
# | ||
################################################################################ | ||
|
||
JETHOME_BOOT_VERSION = HEAD | ||
JETHOME_BOOT_SITE = https://github.com/adeepn/jethub-prebuilt-u-boot.git | ||
JETHOME_BOOT_SITE_METHOD = git | ||
JETHOME_BOOT_INSTALL_IMAGES = YES | ||
JETHOME_BOOT_DEPENDENCIES = uboot | ||
JETHOME_BOOT_BINS = u-boot.bin u-boot.bin.usb.tpl | ||
|
||
|
||
ifeq ($(BR2_PACKAGE_JETHOME_BOOT_JETHUB_D1),y) | ||
JETHOME_BOOT_DEVICE = jethub-j100 | ||
|
||
else ifeq ($(BR2_PACKAGE_JETHOME_BOOT_JETHUB_H1),y) | ||
JETHOME_BOOT_DEVICE = jethub-j80 | ||
|
||
endif | ||
|
||
define JETHOME_BOOT_INSTALL_IMAGES_CMDS | ||
$(foreach f,$(JETHOME_BOOT_BINS), \ | ||
cp -dpf $(@D)/hassos/$(JETHOME_BOOT_DEVICE)/$(f) $(BINARIES_DIR)/ | ||
) | ||
endef | ||
|
||
$(eval $(generic-package)) |