mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +00:00
Add overlay initial support (#23)
* Add overlay initial support * Create load * Cleanup NL * Reorg dts files * Update update-dtb.sh
This commit is contained in:
parent
0638bac388
commit
9e141e782f
@ -10,6 +10,9 @@ for i in /env/init/*; do
|
||||
. $i
|
||||
done
|
||||
|
||||
# Overlays
|
||||
. /env/overlay/load
|
||||
|
||||
echo "- Hit m for menu or wait for autoboot -"
|
||||
timeout -a 1 -s -v key
|
||||
|
||||
|
5
buildroot-external/barebox-env/overlay/load
Normal file
5
buildroot-external/barebox-env/overlay/load
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in /env/overlay/*.dbto; do
|
||||
oftree -o $i
|
||||
done
|
@ -18,7 +18,7 @@ mkdir -p ${BOOT_DATA}/EFI/BOOT
|
||||
mkdir -p ${BOOT_DATA}/EFI/barebox
|
||||
|
||||
cp ${BINARIES_DIR}/barebox.bin ${BOOT_DATA}/EFI/BOOT/BOOTx64.EFI
|
||||
cp ${BOARD_DIR}/barebox-state.dtb ${BOOT_DATA}/EFI/barebox/state.dtb
|
||||
cp ${BR2_EXTERNAL_HASSOS_PATH}/fdt/barebox-state-efi.dtb ${BOOT_DATA}/EFI/barebox/state.dtb
|
||||
|
||||
# Create other layers
|
||||
create_boot_image ${BINARIES_DIR}
|
||||
|
@ -60,7 +60,6 @@
|
||||
|
||||
backend_state: state {
|
||||
partuuid = "33236519-7f32-4dff-8002-3390b62c309d";
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
dtc -O dtb -o buildroot-external/board/ova/barebox-state.dtb buildroot-external/board/ova/barebox-state.dts
|
||||
dtc -O dtb -o buildroot-external/fdt/barebox-state-efi.dtb buildroot-external/fdt/barebox-state-efi.dts
|
||||
|
Loading…
x
Reference in New Issue
Block a user