diff --git a/board/raspberrypi/config_common.txt b/board/raspberrypi/config_common.txt index fdcdff7..ff55c78 100644 --- a/board/raspberrypi/config_common.txt +++ b/board/raspberrypi/config_common.txt @@ -1,13 +1,12 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. # See http://buildroot.org/manual.html#rootfs-custom # and http://elinux.org/RPiconfig for a description of config.txt syntax start_file=start.elf fixup_file=fixup.dat +# Device tree to be used bu U-Boot: device_tree=bcm2835-rpi-b-plus.dtb +#device_tree=bcm2835-rpi-zero-w.dtb kernel=u-boot.bin # To use an external initramfs file diff --git a/board/raspberrypi/extlinux.conf b/board/raspberrypi/extlinux.conf index 3ea3f14..e2a0761 100644 --- a/board/raspberrypi/extlinux.conf +++ b/board/raspberrypi/extlinux.conf @@ -1,5 +1,9 @@ label buildroot kernel /zImage devicetree /bcm2835-rpi-b-plus.dtb +# devicetree /bcm2835-rpi-zero-w.dtb devicetree-overlay /ssd1306.dtbo append root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 + +# In Raspberry Pi Zero W, the mini-uart is used for console instead of the PL011: +# append root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyS1,115200 \ No newline at end of file