Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfcbe120b4 | ||
|
|
38a3af6a8d | ||
|
|
ed8f2489e0 | ||
|
|
fa05217ef2 | ||
|
|
f85402d781 |
@@ -10,6 +10,10 @@ Supported Hardware:
|
|||||||
| Raspberry Pi 2 B | rpi2 |
|
| Raspberry Pi 2 B | rpi2 |
|
||||||
| Raspberry Pi 3 B/B+ | rpi3 / rpi3-64 |
|
| Raspberry Pi 3 B/B+ | rpi3 / rpi3-64 |
|
||||||
|
|
||||||
|
## Limitation 64bit
|
||||||
|
|
||||||
|
The 64bit version is under development by RPi-Team. It work very nice but it could have some impacts. Actual we see that the SDcard access with ext4 are a bit slower than on 32bit.
|
||||||
|
|
||||||
## Serial console
|
## Serial console
|
||||||
|
|
||||||
For access to terminal over serial console, add `console=ttyAMA0,115200` to `cmdline.txt` and `enable_uart=1` into `config.txt`.
|
For access to terminal over serial console, add `console=ttyAMA0,115200` to `cmdline.txt` and `enable_uart=1` into `config.txt`.
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
# Network
|
# Network
|
||||||
|
|
||||||
HassOS uses NetworkManager to control the host network. In future releases, you can set up the configuration using the API/UI.
|
HassOS uses NetworkManager to control the host network. In future releases, you will be able to set up the configuration using the API/UI. Currently only manual configuration using NetworkManager connection files is supported. Without a configuration file, the device will use DHCP by default. These network connection files can be placed on a USB drive as described in [Configuration][configuration-usb].
|
||||||
Currently only manual configuration using NetworkManager connection files is supported. Without a configuration file, the device will use DHCP by default. These network connection files can be placed on a USB drive as described in [Configuration][configuration-usb].
|
|
||||||
|
|
||||||
## Configuration Examples
|
## Configuration Examples
|
||||||
|
|
||||||
You can look also into [Official Manual][keyfile] or there are a lot of examples accross internet. The system is read only, if you not want change the IP address every boot, you should set the uuid property with a generic [UUID4][uuid].
|
You can also read the [Official Manual][keyfile] or there are a lot of examples accross internet. The system is read only, if you don't want the IP address to change every boot, you should set the uuid property with a generic [UUID4][uuid].
|
||||||
|
|
||||||
### Default
|
### Default
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ setenv bootargs_b "root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype
|
|||||||
|
|
||||||
# Preserve origin bootargs
|
# Preserve origin bootargs
|
||||||
setenv bootargs_rpi
|
setenv bootargs_rpi
|
||||||
fdt addr ${fdt_addr}
|
setenv fdt_org ${fdt_addr}
|
||||||
|
fdt addr ${fdt_org}
|
||||||
fdt get value bootargs_rpi /chosen bootargs
|
fdt get value bootargs_rpi /chosen bootargs
|
||||||
|
|
||||||
setenv bootargs
|
setenv bootargs
|
||||||
@@ -35,6 +36,7 @@ for BOOT_SLOT in "${BOOT_ORDER}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
setenv fdt_addr
|
||||||
if test -n "${bootargs}"; then
|
if test -n "${bootargs}"; then
|
||||||
saveenv
|
saveenv
|
||||||
else
|
else
|
||||||
@@ -48,7 +50,7 @@ fi
|
|||||||
echo "Loading kernel"
|
echo "Loading kernel"
|
||||||
run load_kernel
|
run load_kernel
|
||||||
echo " Starting kernel"
|
echo " Starting kernel"
|
||||||
booti ${kernel_addr_r} - ${fdt_addr}
|
booti ${kernel_addr_r} - ${fdt_org}
|
||||||
|
|
||||||
echo "Fails on boot"
|
echo "Fails on boot"
|
||||||
reset
|
reset
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ setenv bootargs_b "root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype
|
|||||||
|
|
||||||
# Preserve origin bootargs
|
# Preserve origin bootargs
|
||||||
setenv bootargs_rpi
|
setenv bootargs_rpi
|
||||||
fdt addr ${fdt_addr}
|
setenv fdt_org ${fdt_addr}
|
||||||
|
fdt addr ${fdt_org}
|
||||||
fdt get value bootargs_rpi /chosen bootargs
|
fdt get value bootargs_rpi /chosen bootargs
|
||||||
|
|
||||||
setenv bootargs
|
setenv bootargs
|
||||||
@@ -35,6 +36,7 @@ for BOOT_SLOT in "${BOOT_ORDER}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
setenv fdt_addr
|
||||||
if test -n "${bootargs}"; then
|
if test -n "${bootargs}"; then
|
||||||
saveenv
|
saveenv
|
||||||
else
|
else
|
||||||
@@ -48,7 +50,7 @@ fi
|
|||||||
echo "Loading kernel"
|
echo "Loading kernel"
|
||||||
run load_kernel
|
run load_kernel
|
||||||
echo " Starting kernel"
|
echo " Starting kernel"
|
||||||
bootz ${kernel_addr_r} - ${fdt_addr}
|
bootz ${kernel_addr_r} - ${fdt_org}
|
||||||
|
|
||||||
echo "Fails on boot"
|
echo "Fails on boot"
|
||||||
reset
|
reset
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/board/ova/post-image.s
|
|||||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/ova"
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/ova"
|
||||||
BR2_LINUX_KERNEL=y
|
BR2_LINUX_KERNEL=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.41"
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.55"
|
||||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel.config $(BR2_EXTERNAL_HASSOS_PATH)/board/ova/kernel.config"
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel.config $(BR2_EXTERNAL_HASSOS_PATH)/board/ova/kernel.config"
|
||||||
BR2_LINUX_KERNEL_LZ4=y
|
BR2_LINUX_KERNEL_LZ4=y
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
VERSION_MAJOR=1
|
VERSION_MAJOR=1
|
||||||
VERSION_BUILD=6
|
VERSION_BUILD=7
|
||||||
|
|
||||||
HASSOS_NAME="HassOS"
|
HASSOS_NAME="HassOS"
|
||||||
HASSOS_ID="hassos"
|
HASSOS_ID="hassos"
|
||||||
|
|||||||
@@ -20,4 +20,9 @@ if [ -L /var/lib/systemd/timesync ]; then
|
|||||||
rm -f /var/lib/systemd/timesync
|
rm -f /var/lib/systemd/timesync
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# u-boot first stage device tree
|
||||||
|
if [ -e /usr/sbin/fw_setenv ]; then
|
||||||
|
fw_setenv fdt_addr
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user