Skip to content

Commit

Permalink
Merge pull request home-assistant#8 from adeepn/jethome_5.7
Browse files Browse the repository at this point in the history
Jethome 5.7 WiP
  • Loading branch information
adeepn authored Feb 4, 2021
2 parents b5e8396 + a024582 commit a498015
Show file tree
Hide file tree
Showing 15 changed files with 136 additions and 419 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Describe the Homme Assistant image you are using and the hardare environemnt
- [ ] ASUS Tinker [S]
- [ ] Intel NUC (or compatible)
- [ ] OVA (Open Virtualization Applicance, on Intel NUC or any other hardware, please add the Hypervisor you are using)
- [ ] JetHome (D1/H1)

**Home Assistant OS release:**
- [ ] Fresh installation of release x.y
Expand Down
2 changes: 2 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ categories:
label: 'board/odroid'
- title: 'ASUS Tinker'
label: 'board/tinker'
- title: 'JetHome'
label: 'board/jethome'
template: |
## Changes
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
- {"name": "rpi4", "output": "rpi4", "runner": "arm-runner"}
- {"name": "rpi4_64", "output": "rpi4-64", "runner": "aarch64-runner"}
- {"name": "tinker", "output": "tinker", "runner": "arm-runner"}
- {"name": "jethub_d1", "output": "jethub-d1", "runner": "aarch64-runner"}
- {"name": "jethub_h1", "output": "jethub-h1", "runner": "aarch64-runner"}
runs-on: ${{ matrix.board.runner }}

steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
- {"name": "rpi4", "output": "rpi4", "runner": "arm-runner"}
- {"name": "rpi4_64", "output": "rpi4-64", "runner": "aarch64-runner"}
- {"name": "tinker", "output": "tinker", "runner": "arm-runner"}
- {"name": "jethub_d1", "output": "jethub-d1", "runner": "aarch64-runner"}
- {"name": "jethub_h1", "output": "jethub-h1", "runner": "aarch64-runner"}
runs-on: ${{ matrix.board.runner }}

steps:
Expand Down
2 changes: 2 additions & 0 deletions Documentation/boards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ The following boards/devices are supported:
- QCOW2 ?
- JetHome
- JetHub D1
- JetHub H1

Notes:
- see ? above: are these currently supported? see ova documentation which explains issues with previous OVA distribution)
Expand All @@ -56,3 +57,4 @@ Notes:
|Tinker Board|`make tinker` |[tinker](../../buildroot-external/configs/tinker_defconfig)|[asus](./asus/)|
|OVA |`make ova` |[ova](../../buildroot-external/configs/ova_defconfig)|[ova](./ova/)|
|JetHub D1 |`make jethub_d1` |[jethub_d1](../../buildroot-external/configs/jethub_d1_defconfig)|[jethome](./jethome/)|
|JetHub H1 |`make jethub_h1` |[jethub_h1](../../buildroot-external/configs/jethub_h1_defconfig)|[jethome](./jethome/)|
1 change: 1 addition & 0 deletions Documentation/boards/jethome/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
| Device | Release Date | Support | Config |
|----------------|---------------|--------------|-----------|
| JetHub D1 | 2020 | experimental | [jethub_d1](../../../buildroot-external/configs/jethub_d1_defconfig) |
| JetHub H1 | 2020 | experimental | [jethub_h1](../../../buildroot-external/configs/jethub_h1_defconfig) |

See separate documentation for each board.
17 changes: 17 additions & 0 deletions Documentation/boards/jethome/jethub-d1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# JetHub D1

More information [JetHub D1 wiki](http://wiki.jethome.ru/jethub_d1) (Russian)

- 4-core CPU Amlogic A113X (ARM Cortex-A53) 1,4 ГГц;
- RAM 512 or 1024 MB DDR3;
- eMMC flash 8 Gbyte.

## Interfaces

- WiFi/Bluetooth AMPAK AP6255 (Broadcom BCM43455)
- Ethernet IEEE 802.3 10/100 Mbps
- ZigBee TI CC2538 + CC2592
- 1 x USB 2.0 high-speed
- 1 X 1-Wire
- 2 x RS-485
- 4 x inputs «dry contact»
- 3 х relay output

## MMC

MMC support is provided transparently. Just flash the image to the MMC board by http://update.jethome.ru/armbian/USB_Burning_Tool_v2.2.3.zip
Expand Down
39 changes: 39 additions & 0 deletions Documentation/boards/jethome/jethub-h1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# JetHub H1

More information [JetHub H1 wiki](http://wiki.jethome.ru/jethub_h1) (Russian)

- 4-core CPU Amlogic S905W (ARM Cortex-A53) 1,5 Ghz;
- RAM 1024 MB DDR3;
- eMMC flash 8 Gbyte.

## Interfaces

- WiFi/Bluetooth Realtek RTL8822CS
- MicroSD 2.x/3.x/4.x DS/HS card slot
- Ethernet IEEE 802.3 10/100 Mbps
- ZigBee TI CC2538 + CC2592
- 2 x USB 2.0 high-speed

## MMC

MMC support is provided transparently. Just flash the image to the MMC board by http://update.jethome.ru/armbian/USB_Burning_Tool_v2.2.3.zip

## Console

By default, console access is granted over the serial header. Certain startup messages will only appear on the serial console by default.

## USB

A long-standing kernel bug currently results in some odd behavior. To use the USB, a device must be plugged into one of the USB ports at hard boot. If all devices are removed from the USB ports, the USB will cease to function until a reboot.

### OTG

The OTG USB is untested.

## GPIO

Work in progress

## MMC

Uboot has MBR partition table autogeneration.
2 changes: 2 additions & 0 deletions Documentation/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Default 2. That is the size of end image in GB.
- raspberrypi3-64
- raspberrypi4-64
- tinker
- jethub-d1
- jethub-h1

`SUPERVISOR_ARCH`:

Expand Down
1 change: 1 addition & 0 deletions Documentation/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Default Kernel tree: 5.4
| Odroid-XU4 | 5.9.13 |
| Intel NUC | 5.4.82 |
| JetHub D1 | 5.7.16 |
| JetHub H1 | 5.7.16 |
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ new file mode 100644
index 000000000..cf0e6e742
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
@@ -0,0 +1,381 @@
@@ -0,0 +1,373 @@
+
+/dts-v1/;
+
+#include "meson-gxl-s905x.dtsi"
+#include "meson-gx-p23x-q20x.dtsi"
+#include "meson-gxl.dtsi"
+
+/ {
+ compatible = "amlogic,p281", "amlogic,s905w", "amlogic,meson-gxl";
Expand Down Expand Up @@ -142,10 +141,6 @@ index 000000000..cf0e6e742
+ clock-names = "ext_clock";
+ };
+
+ sound {
+ status = "disabled";
+ }
+
+ efusekey: efusekey {
+ keynum = <5>;
+ key0 = <&key_0>;
Expand Down Expand Up @@ -376,12 +371,9 @@ index 000000000..cf0e6e742
+ };
+};
+
+&acodec {
+ status = "disabled";
+};
+&hdmi_tx {
+ status = "disabled";
+};
+&ir {
+ status = "disabled";
+
+/* S905X only has access to its internal PHY */
+&ethmac {
+ phy-mode = "rmii";
+ phy-handle = <&internal_phy>;
+};
Loading

0 comments on commit a498015

Please sign in to comment.