diff --git a/PKGBUILD b/PKGBUILD index b41cb86..8ea3b66 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Kevin Mihelich pkgname=uboot-raspberrypi -pkgver=2021.10 +pkgver=2022.07 pkgrel=1 pkgdesc="U-Boot for Raspberry Pi 4" arch=('aarch64') @@ -13,7 +13,7 @@ makedepends=('bc' 'dtc' 'git') conflicts=('linux-rpi4' 'linux-rpi4-mainline' 'uboot') provides=('uboot') install=${pkgname}.install -_commit=a490197f0672d948860b2b807884ae65eabc4d4f +_commit=b179e7bf2b0c48577916043909c24173b2d129d1 #commit-rpi4b=b0f9870274333af93ecc5e779619bf51c092364d source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2" @@ -24,24 +24,20 @@ source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2" "https://github.com/raspberrypi/firmware/raw/${_commit}/boot/bcm2711-rpi-cm4.dtb" "https://github.com/raspberrypi/firmware/raw/${_commit}/boot/overlays/miniuart-bt.dtbo" "https://github.com/raspberrypi/firmware/raw/${_commit}/boot/overlays/dwc2.dtbo" - '0001-rpi-increase-space-for-kernel.patch' 'config.txt') -md5sums=('f1392080facf59dd2c34096a5fd95d4c' - '140a6706528e87482aee9dfdd490641b' - '89e5ef34bc9895ac60705d0fa4720971' - '0b43431f9c7a854cbcffd4a29d8d3e96' - 'b4ba6b95178a5d411fca7b0bf402234b' - 'ee9d76b20855e7469eebedc0c12cc0cb' - 'caef061ac48013d265d8376827f408ec' - '4aa9859b5d08c5f59112cf54b1f83932' - 'aeb43f1e01983ceb8675380338ec56e8' - '387a6a9909f954754ff0f7f39e1b1f89') +md5sums=('b41850031d6e1cbc14f973e085469154' + '19b12db61e0c5e9e1e592abd0ffe5e12' + '2b53428e6b0d38ee202bd24b2eb6ede9' + '8dcd9a5d77b859d138f9aa794e38ca23' + '16104d0705832fa65b80b5e4d01a218e' + '942b635b58306e91fb36bc54a192c647' + 'caef061ac48013d265d8376827f408ec' + '4aa9859b5d08c5f59112cf54b1f83932' + '0cdc73e4bc99c5cc2dafeca5f570548c') prepare() { cd u-boot-${pkgver/rc/-rc} - - patch -p1 -i ../0001-rpi-increase-space-for-kernel.patch } build() { diff --git a/config.txt b/config.txt index 51504ea..1bac003 100644 --- a/config.txt +++ b/config.txt @@ -25,3 +25,8 @@ dtoverlay=miniuart-bt # Enable dwc2 USB host for CM4 and 400 dtoverlay=dwc2,dr_mode=host + +# Enable uart +enable_uart=1 +earlycon=uart8250,mmio32,0xfe215040 +earlycon=pl011,mmio32,0xfe201000