From: Duje Mihanović <duje.mihanovic@skole.hr> Date: Mon, 7 Apr 2025 20:00:08 +0000 (+0200) Subject: PXA1908: Update U-Boot notes X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;p=dujemihanovic.xyz.git PXA1908: Update U-Boot notes --- diff --git a/content/projects/pxa1908/index.md b/content/projects/pxa1908/index.md index e77cc0a..7138ff6 100644 --- a/content/projects/pxa1908/index.md +++ b/content/projects/pxa1908/index.md @@ -26,9 +26,7 @@ server. It's packaged into a bootimg just like Linux itself as seen below. Pay particular attention to the fact that the U-Boot binary is `gzip`ped and packed into an uImage. -*Note: By somewhat functional I mean working serial. It can also boot a FIT of -U-Boot, but some work on SD/MMC and maybe USB is needed to make it doable for -inclusion in the pmOS port.* +The port has been upstreamed since U-Boot v2025.04-rc3. ## Building outside pmbootstrap @@ -41,7 +39,11 @@ inclusion in the pmOS port.* 1. `make` the kernel and create a boot.img using the below script ## Script for creating boot.img -Written to be run from `out/arch/arm64/boot`. Adapt to your needs. +With U-Boot installed, creating an image consists of simply creating a FIT and +adding it into the U-Boot boot.img as the initramfs. + +The following script creates a Linux boot image without U-Boot. Alternatively, +it can also create an U-Boot boot.img. ```sh #!/bin/sh