mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +00:00
Cleanup odroid
This commit is contained in:
parent
3b45011982
commit
9b170812d6
24
Documentation/development.md
Normal file
24
Documentation/development.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Development
|
||||||
|
|
||||||
|
## Boot system
|
||||||
|
|
||||||
|
`BOOT_SYS`:
|
||||||
|
- efi
|
||||||
|
- hyprid
|
||||||
|
- spl
|
||||||
|
- mbr
|
||||||
|
|
||||||
|
HassOS is basicly used GPT. But for use GPT we need own the first 1024 of
|
||||||
|
boot drive. Is that not possible, you can use MBR for your device, they work also with SPLs.
|
||||||
|
|
||||||
|
Hyprid and SPL use both a hyprid MBR/GPT table but SPL move the GPT header 8MB for give space to write SPL and boot images before.
|
||||||
|
|
||||||
|
`BOOTLOADER`:
|
||||||
|
- uboot
|
||||||
|
- barebox
|
||||||
|
|
||||||
|
We support mainly uboot but for uefi system we can also use barebox. In future we hope to remove barebox with uboot also on uefi.
|
||||||
|
|
||||||
|
`DISK_SIZE`:
|
||||||
|
Default 2. That is the size of end image in GB.
|
||||||
|
|
@ -5,3 +5,4 @@
|
|||||||
|-------|---------|
|
|-------|---------|
|
||||||
| Open Virtual Applicance | 4.14.59 |
|
| Open Virtual Applicance | 4.14.59 |
|
||||||
| Raspberry Pi | 4.14.58 |
|
| Raspberry Pi | 4.14.58 |
|
||||||
|
|
||||||
|
@ -5,11 +5,12 @@ SCRIPT_DIR=${BR2_EXTERNAL_HASSOS_PATH}/scripts
|
|||||||
BOARD_DIR=${2}
|
BOARD_DIR=${2}
|
||||||
BOOT_DATA=${BINARIES_DIR}/boot
|
BOOT_DATA=${BINARIES_DIR}/boot
|
||||||
|
|
||||||
|
. ${BR2_EXTERNAL_HASSOS_PATH}/meta
|
||||||
|
. ${BOARD_DIR}/meta
|
||||||
|
|
||||||
. ${SCRIPT_DIR}/hdd-image.sh
|
. ${SCRIPT_DIR}/hdd-image.sh
|
||||||
. ${SCRIPT_DIR}/name.sh
|
. ${SCRIPT_DIR}/name.sh
|
||||||
. ${SCRIPT_DIR}/ota.sh
|
. ${SCRIPT_DIR}/ota.sh
|
||||||
. ${BR2_EXTERNAL_HASSOS_PATH}/info
|
|
||||||
. ${BOARD_DIR}/info
|
|
||||||
|
|
||||||
# Init boot data
|
# Init boot data
|
||||||
rm -rf ${BOOT_DATA}
|
rm -rf ${BOOT_DATA}
|
@ -1,5 +1,5 @@
|
|||||||
BOARD_ID=tinker
|
BOARD_ID=tinker
|
||||||
BOARD_NAME="Tinker Board"
|
BOARD_NAME="Asus TinkerBoard"
|
||||||
CHASSIS=embedded
|
CHASSIS=embedded
|
||||||
BOOTLOADER=uboot
|
BOOTLOADER=uboot
|
||||||
KERNEL_FILE=zImage
|
KERNEL_FILE=zImage
|
@ -1,13 +0,0 @@
|
|||||||
BOARD_ID=odroid-c2
|
|
||||||
BOARD_NAME="Hardkernel Odroid-C2"
|
|
||||||
CHASSIS=embedded
|
|
||||||
BOOTLOADER=uboot
|
|
||||||
KERNEL_FILE=Image
|
|
||||||
BOOT_ENV=/dev/disk/by-partuuid/0d3e0000-09
|
|
||||||
BOOT_ENV_OFF=0x0000
|
|
||||||
BOOT_ENV_SIZE=0x2000
|
|
||||||
PART_BOOT=/dev/disk/by-partuuid/0d3e0000-01
|
|
||||||
PART_KERNEL_0=/dev/disk/by-partuuid/0d3e0000-05
|
|
||||||
PART_KERNEL_1=/dev/disk/by-partuuid/0d3e0000-07
|
|
||||||
PART_SYSTEM_0=/dev/disk/by-partuuid/0d3e0000-06
|
|
||||||
PART_SYSTEM_1=/dev/disk/by-partuuid/0d3e0000-08
|
|
7
buildroot-external/board/hardkernel/odroid-c2/meta
Normal file
7
buildroot-external/board/hardkernel/odroid-c2/meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
BOARD_ID=odroid-c2
|
||||||
|
BOARD_NAME="Hardkernel Odroid-C2"
|
||||||
|
CHASSIS=embedded
|
||||||
|
BOOTLOADER=uboot
|
||||||
|
KERNEL_FILE=Image
|
||||||
|
BOOT_SYS=mbr
|
||||||
|
BOOT_ENV_SIZE=0x2000
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user