Skip to content

Commit

Permalink
Merge pull request #29 from home-assistant/dev
Browse files Browse the repository at this point in the history
Release 0.5
  • Loading branch information
pvizeli authored Jun 12, 2018
2 parents 76a4376 + 73ac253 commit b9816f0
Show file tree
Hide file tree
Showing 14 changed files with 421 additions and 77 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,6 @@ Hass.io OS based on [buildroot](https://buildroot.org/). It's a hypervisor for D
- ZRAM LZ4 for /tmp, /var, swap
- Run every supervisor

## Schemas
![](misc/hassio-os-partition.png?raw=true)

# Customize

Provide a file with the name `hassos.json` in your data partition and the following structure:

```json
{
"supervisor": "repo/image",
"supervisor_args": "optional / custom docker arguments",
"cli": "repo/image",
"cli_args": "optional / custom docker arguments",
"hostname": "default hostname"
}
```

# Building
Running `sudo ./enter.sh` will get you into the build Docker container.
`make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external xy_defconfig`
Expand Down
5 changes: 5 additions & 0 deletions buildroot-external/board/raspberrypi/post-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ cp -r ${BINARIES_DIR}/rpi-firmware/overlays ${BOOT_DATA}/

echo "dwc_otg.lpm_enable=0 console=tty1" > ${BOOT_DATA}/cmdline.txt

# Enable 64bit support
if [ "$BOARD_ID" == "rpi3-64" ]; then
echo "arm_64bit=1" >> ${BOOT_DATA}/config.txt
fi

# Create other layers
create_boot_image ${BINARIES_DIR}
create_overlay_image ${BINARIES_DIR}
Expand Down
2 changes: 2 additions & 0 deletions buildroot-external/board/raspberrypi/rpi3-64/uboot.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_TARGET_RPI_3=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_DEFAULT_DEVICE_TREE="bcm2837-rpi-3-b"
CONFIG_PHYLIB=y
CONFIG_USB_ETHER_LAN78XX=y
2 changes: 2 additions & 0 deletions buildroot-external/board/raspberrypi/rpi3/uboot.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_TARGET_RPI_3_32B=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_DEFAULT_DEVICE_TREE="bcm2837-rpi-3-b"
CONFIG_PHYLIB=y
CONFIG_USB_ETHER_LAN78XX=y
2 changes: 0 additions & 2 deletions buildroot-external/board/raspberrypi/uboot.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_OF_EMBED=y
CONFIG_ENV_EXT4_INTERFACE="mmc"
CONFIG_DM_KEYBOARD=y
CONFIG_DM_MMC=y
CONFIG_MMC_SDHCI=y
Expand All @@ -19,7 +18,6 @@ CONFIG_PINCTRL=y
CONFIG_USB=y
CONFIG_DM_USB=y
CONFIG_USB_DWC2=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_SMSC95XX=y
Expand Down
2 changes: 1 addition & 1 deletion buildroot-external/info
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_MAJOR=0
VERSION_BUILD=4
VERSION_BUILD=5

HASSOS_NAME="HassOS"
HASSOS_ID="hassos"
Expand Down
Loading

0 comments on commit b9816f0

Please sign in to comment.