Fix last problem with rpi

Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
Pascal Vizeli
2018-06-09 18:04:18 +00:00
parent ac8ebea80c
commit f9f8b91b31
5 changed files with 5 additions and 3 deletions

View File

@@ -2,5 +2,5 @@
memcpy -d /tmp/rpi.dtb 0x02008000 0 0x8000
oftree -f -l /tmp/rpi.dtb
of_overlay /data/barebox-state-rpi.dtbo
of_overlay /env/data/barebox-state-rpi.dtbo
fix_bootargs

View File

@@ -5,6 +5,7 @@ CONFIG_ARM_UNWIND=y
CONFIG_MMU=y
CONFIG_MALLOC_TLSF=y
CONFIG_KALLSYMS=y
CONFIG_IMAGE_COMPRESSION_NONE=y
CONFIG_CMD_OF_OVERLAY=y
CONFIG_CMD_FIX_BOOTARGS=y
# CONFIG_SPI is not set

View File

@@ -33,7 +33,7 @@ cp -r ${BINARIES_DIR}/rpi-firmware/overlays ${BOOT_DATA}/
echo "dtparam=audio=on"
) > ${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_boot_image ${BINARIES_DIR}