~ondrak/+git/lk:release/LA.HB.1.3.2-19600-8x96.0+uc

Last commit made on 2020-10-23
Get this branch:
git clone -b release/LA.HB.1.3.2-19600-8x96.0+uc https://git.launchpad.net/~ondrak/+git/lk
Only Ondrej Kubik can upload to this branch. If you are Ondrej Kubik please log in for upload directions.

Branch merges

Branch information

Name:
release/LA.HB.1.3.2-19600-8x96.0+uc
Repository:
lp:~ondrak/+git/lk

Recent commits

922d04e... by Ondrej Kubik

ubuntu: enable format for ubuntu core partition names

Signed-off-by: Ondrej Kubik <email address hidden>

236936f... by Ondrej Kubik

ubuntu: allow flashing of all partitions

Signed-off-by: Ondrej Kubik <email address hidden>

5bf6598... by Ondrej Kubik

ubuntu: add reference snappy_boot_v1.h header

Signed-off-by: Ondrej Kubik <email address hidden>

fe2112e... by Ondrej Kubik

ubuntu: add snappy boot support

Adding loggic and message passing capabilities betweek bootloader and snapd
Feature is controlled through compile flag:
  SNAPPY_BOOT=1

Signed-off-by: Ondrej Kubik <email address hidden>

80e6b97... by =?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= <email address hidden>

platform/msm8996: Increase memory area for load kernel

We only have space from 0x80080000 (kernel start) to 0x858000000
(where mem starts) [1], rearrange to provide more space to the
Kernel image.

0x80080000 - 0x85600000, kernel (85.5MB)
0x85600000 - 0x85800000, dtb (2MB)

[1] https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/tree/arch/arm64/boot/dts/qcom/msm8996.dtsi?h=release/qcomlt-4.14#n66

Signed-off-by: Aníbal Limón <email address hidden>

757f75f... by =?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= <email address hidden>

app/aboot: Use SCRATCH_ADDR for ramdisk

Use SCRATCH_AREA for ramdisk that currently is mapped to have 740MB [1]
[2], this area is used for fastboot as temporary when download images (boot,
rootfs) and can be used to load the ramdisk, it validates for max
download size [3] so buffer overruns are handled.

[1] https://git.linaro.org/landing-teams/working/qualcomm/lk.git/tree/target/msm8996/rules.mk?h=release/LA.HB.1.3.2-19600-8x96.0&id=15a6532d9fe4ac14e376036eee792cf85c9ada57#n17
[2] https://git.linaro.org/landing-teams/working/qualcomm/lk.git/tree/app/aboot/aboot.c?h=release/LA.HB.1.3.2-19600-8x96.0&id=15a6532d9fe4ac14e376036eee792cf85c9ada57#n3803
[3] https://git.linaro.org/landing-teams/working/qualcomm/lk.git/tree/app/aboot/fastboot.c?h=release/LA.HB.1.3.2-19600-8x96.0&id=15a6532d9fe4ac14e376036eee792cf85c9ada57#n476

Signed-off-by: Aníbal Limón <email address hidden>
Change-Id: I268c764b64d0f469e21697f596ab6e5480016879

15a6532... by Loic Poulain <email address hidden>

app: aboot: Get rid of 5s boot delay in ORANGE state

An annoying 5s delay is added when board is unlocked.
Remove it, and gain 5s at boot time.
Keep the warn message though.

Change-Id: I5de5d007d1c82feaaaff136c4db5519b4e82a5e5
Signed-off-by: Loic Poulain <email address hidden>
Signed-off-by: Nicolas Dechesne <email address hidden>

fc0864d... by Nicolas Dechesne <email address hidden>

msm8996: enable booting with large kernel image

Update the base addresses for ramdisk to allow larger kernel image to boot
properly. otherwise, uncompressing the kernel might end up overwritting the
ramdisk and/or dtb.

Change-Id: Iafa966b7636e342efb7a642df57db29163ab79a2
Signed-off-by: Nicolas Dechesne <email address hidden>

7a5154b... by Nicolas Dechesne <email address hidden>

assert: ensure DEBUG_LEVEL is set before it is used

When enabling DEBUG, assert.h is parsed before debug.h, so DEBUG_LEVEL is not
set.

Change-Id: I90219ea8c5c7806d41c2261389a6f383e61ea6d0
Signed-off-by: Nicolas Dechesne <email address hidden>

5e9adab... by Loic Poulain <email address hidden>

dev-tree: Support non-skales DTB if only one appended

If people append a unique DTB which has not been generated
with skales/dtbTool, we consider they expect to use it
without any compatibility check/filtering.

You can generate such boot.img with generic android mkbootimg tool:
$ gzip -c Image > Image.gz
$ cat Image.gz Image.dtb > Image.gz+dtb
$ mkbootimg --kernel ./Image.gz+dtb --ramdisk ./initrd.img \
  --output boot.img --pagesize 4096 --base 80000000
  --cmdline "root=/dev/disk/by-partlabel/system rw rootwait console=ttyMSM0,115200n8"

Change-Id: I2334b50136dcc6094fd1e58563a38f03542eadaa
Signed-off-by: Loic Poulain <email address hidden>
(cherry picked from commit 3be1d459a546a24f2bf10b9551663a3e69a8214e)