[Librem-5-dev] Kernel and ATF update for devkits
angus.ainslie at puri.sm
Fri Oct 4 08:21:11 PDT 2019
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 using the librem5-devkit-flash-image script 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  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  and then clone the
librem5-devkit-tools repo. cd to the librem5-devkit-tools directory
then copy the devkit u-boot artifacts  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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Librem-5-dev