librem5-devkit-tools issueshttps://source.puri.sm/Librem5/librem5-devkit-tools/-/issues2023-11-27T10:04:04Zhttps://source.puri.sm/Librem5/librem5-devkit-tools/-/issues/10Place u-boot in the boot MMC area2023-11-27T10:04:04ZDorota CzaplejewiczPlace u-boot in the boot MMC areaFeature: https://source.puri.sm/Librem5/use-cases/issues/60
u-boot is a device-specific piece of code, and OS should be generic across different devices. To allow the OS to get flashed seamlessly without taking care of what happens on t...Feature: https://source.puri.sm/Librem5/use-cases/issues/60
u-boot is a device-specific piece of code, and OS should be generic across different devices. To allow the OS to get flashed seamlessly without taking care of what happens on the boot loader side, they should occupy separate areas. Unfortunately, the OS likes to control the partition table of the whole device it resides on, so it conflicts with the boot loader if that boot loader lives in the general usage space. This can be solved by moving the non-OS pieces to the boot area of the eMMC device, and u-boot is the most important of them.
The pieces affected should be:
- u-boot, to be able to run from the boot area ([done](https://source.puri.sm/Librem5/uboot-imx/merge_requests/4))
- either u-boot builder, or image builder, to create a flashable boot area image
- image builder, to create a flashable OS image (without things in boot area)
- update arm01 Jenkins pipelines to expose the two images
- update flashing scripts to download two images and flash them separately
When u-boot is moved away from the main area, it will be possible to use [GPT](https://source.puri.sm/Librem5/librem5-devkit-tools/issues/7#note_14635), as the SoC's load address otherwise conflicts with the partition table.
Additional consequences:
- when updating u-boot using the OS, some way to get the boot area read-write needs to be found
- boot data must be kept closely updated with the kernel, or very stable, in order to avoid non-booting kernels
* * *https://source.puri.sm/Librem5/librem5-devkit-tools/-/issues/9instructions for downloading devkit image files with standard tools like curl...2019-03-26T12:04:57Zjezrainstructions for downloading devkit image files with standard tools like curl or wgetThis is a more of a feature request.
It would be excellent if devkit image files could be downloaded with curl or wget in a similar fashion to how a user downloads every other GNU Linux or Android image. Ideally, the instructions would ...This is a more of a feature request.
It would be excellent if devkit image files could be downloaded with curl or wget in a similar fashion to how a user downloads every other GNU Linux or Android image. Ideally, the instructions would also include the steps for flashing the images onto the dev kit.