mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 07:26:28 +00:00
Fix last problem with rpi
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
parent
ac8ebea80c
commit
f9f8b91b31
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
## Serial console
|
## Serial console
|
||||||
|
|
||||||
For access to terminal over serial console, add `console=ttyAMA0,115200` to `cmdline.txt`.
|
For access to terminal over serial console, add `console=ttyAMA0,115200` to `cmdline.txt` and `enable_uart=1` into `config.txt`.
|
||||||
|
@ -9,6 +9,7 @@ CONFIG_MENU=y
|
|||||||
CONFIG_BOOTM_SHOW_TYPE=y
|
CONFIG_BOOTM_SHOW_TYPE=y
|
||||||
CONFIG_BOOTM_OFTREE=y
|
CONFIG_BOOTM_OFTREE=y
|
||||||
CONFIG_FLEXIBLE_BOOTARGS=y
|
CONFIG_FLEXIBLE_BOOTARGS=y
|
||||||
|
CONFIG_DEFAULT_COMPRESSION_LZ4=y
|
||||||
|
|
||||||
# CONFIG_PARTITION_DISK_DOS is not set
|
# CONFIG_PARTITION_DISK_DOS is not set
|
||||||
CONFIG_PARTITION_DISK_EFI=y
|
CONFIG_PARTITION_DISK_EFI=y
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
memcpy -d /tmp/rpi.dtb 0x02008000 0 0x8000
|
memcpy -d /tmp/rpi.dtb 0x02008000 0 0x8000
|
||||||
oftree -f -l /tmp/rpi.dtb
|
oftree -f -l /tmp/rpi.dtb
|
||||||
of_overlay /data/barebox-state-rpi.dtbo
|
of_overlay /env/data/barebox-state-rpi.dtbo
|
||||||
fix_bootargs
|
fix_bootargs
|
||||||
|
@ -5,6 +5,7 @@ CONFIG_ARM_UNWIND=y
|
|||||||
CONFIG_MMU=y
|
CONFIG_MMU=y
|
||||||
CONFIG_MALLOC_TLSF=y
|
CONFIG_MALLOC_TLSF=y
|
||||||
CONFIG_KALLSYMS=y
|
CONFIG_KALLSYMS=y
|
||||||
|
CONFIG_IMAGE_COMPRESSION_NONE=y
|
||||||
CONFIG_CMD_OF_OVERLAY=y
|
CONFIG_CMD_OF_OVERLAY=y
|
||||||
CONFIG_CMD_FIX_BOOTARGS=y
|
CONFIG_CMD_FIX_BOOTARGS=y
|
||||||
# CONFIG_SPI is not set
|
# CONFIG_SPI is not set
|
||||||
|
@ -33,7 +33,7 @@ cp -r ${BINARIES_DIR}/rpi-firmware/overlays ${BOOT_DATA}/
|
|||||||
echo "dtparam=audio=on"
|
echo "dtparam=audio=on"
|
||||||
) > ${BOOT_DATA}/config.txt
|
) > ${BOOT_DATA}/config.txt
|
||||||
|
|
||||||
echo "dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200" > ${BOOT_DATA}/cmdline.txt
|
echo "dwc_otg.lpm_enable=0 console=tty1" > ${BOOT_DATA}/cmdline.txt
|
||||||
|
|
||||||
# Create other layers
|
# Create other layers
|
||||||
create_boot_image ${BINARIES_DIR}
|
create_boot_image ${BINARIES_DIR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user