[Librem-5-dev] Kernel and ATF update for devkits

Angus Ainslie angus.ainslie at puri.sm
Fri Oct 4 08:21:11 PDT 2019

Hi All,

We've had to introduce an ATF ( ARM Trusted firmware ) update in
preparation for some devfreq work in the kernel. This is also the
unified kernel that will be running on the phone when you get it. What
this means is that you will need to update your kernel and u-boot in
lockstep or flash a full image. The full images can be installed via
uuu[1] using the librem5-devkit-flash-image script[2] and is the
simplest way to update your devkit.

If you want to keep your rootfs intact instead of the full image flash
above, upgrade the kernel and u-boot as outlined below.

The kernel update is simply a matter of installing the deb package with
"apt-get update && apt-get upgrade" or downloading [3] it and installing
it directly using "dpkg -i".  Do this first before updating u-boot.

U-boot is a little trickier but there are uuu scripts to facilitate the
update. First you need to install uuu [1] and then clone the
librem5-devkit-tools repo[4]. cd to the librem5-devkit-tools directory
then copy the devkit u-boot artifacts [5] into the files sub-directory,
put the devkit into serial download mode and run  "uuu
uuu_scripts/u-boot_flash_librem5_devkit". Once that completes you should
be able to set the board to eMMC boot and you'll have the new kernel.

A heads up that there will be a lockstep kernel and mesa upgrade that
will be coming down soon to backport softpin to the 5.3 kernel.




[2] **


[4] https://source.puri.sm/Librem5/librem5-devkit-tools

[5] https://arm01.puri.sm/job/u-boot_builds/job/uboot_devkit_build/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.community.puri.sm/pipermail/librem-5-dev/attachments/20191004/904ee62b/attachment.html>

More information about the Librem-5-dev mailing list