2017-07-06 16:58:14 +00:00
|
|
|
# Reference: <https://postmarketos.org/deviceinfo>
|
|
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
2017-06-30 15:19:46 +00:00
|
|
|
|
|
|
|
deviceinfo_format_version="0"
|
2018-08-23 00:44:46 +00:00
|
|
|
deviceinfo_name="Sony Xperia Z1 Compact"
|
2017-06-30 15:19:46 +00:00
|
|
|
deviceinfo_manufacturer="Sony"
|
2018-12-25 19:25:32 +00:00
|
|
|
deviceinfo_codename="sony-amami"
|
2017-06-30 15:19:46 +00:00
|
|
|
deviceinfo_date=""
|
|
|
|
deviceinfo_keyboard="false"
|
|
|
|
deviceinfo_nonfree="????"
|
pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363)
* As discussed in IRC/matrix, we're removing `linux-postmarketos-lts`
for now. The kernel isn't used right now, and we save lots of
maintenance effort with not updating it every week or so.
* new config option `"kernel"` with possible values:
`"downstream", "mainline", "stable"` (downstream is always
`linux-$devicename`)
* ask for the kernel during `pmbootstrap init` if the device package
has kernel subpackages and install it in `_install.py`
* postmarketos-mkinitfs: display note instead of exit with error when
the `deviceinfo_dtb` file is missing (because we expect it to be
missing for downstream kernels)
* device-sony-amami:
* add kernel subpackages for downstream, mainline
* set `deviceinfo_dtb`
* device-qemu-amd64: add kernel subpackages for stable, lts, mainline
* test cases and test data for new functions
* test case that checks all aports for right usage of the feature:
* don't mix specifying kernels in depends *and* subpackages
* 1 kernel in depends is maximum
* kernel subpackages must have a valid name
* Test if devices packages reference at least one kernel
* Remove `_build_device_depends_note()` which informs the user that
`--ignore-depends` can be used with device packages to avoid building
the kernel. The idea was to make the transition easier after a change
we did months ago, and now the kernel doesn't always get built before
building the device package so it's not relevant anymore.
* pmb/chroot/other.py:
* Add autoinstall=True to kernel_flavors_installed(). When the flag
is set, the function makes sure that at least one kernel for the
device is installed.
* Remove kernel_flavor_autodetect() function, wherever it was used,
it has been replaced with kernel_flavors_installed()[0].
* pmb.helpers.frontend.py: remove code to install at least one kernel,
kernel_flavors_installed() takes care of that now.
2018-04-03 23:50:09 +00:00
|
|
|
deviceinfo_dtb="qcom-msm8974-sony-xperia-amami"
|
2017-06-30 15:19:46 +00:00
|
|
|
deviceinfo_modules_initfs=""
|
2018-03-07 22:35:02 +00:00
|
|
|
deviceinfo_external_storage="true"
|
2017-12-21 22:12:52 +00:00
|
|
|
deviceinfo_flash_method="fastboot"
|
2019-01-04 00:49:40 +00:00
|
|
|
deviceinfo_arch="armv7"
|
2017-08-18 18:14:06 +00:00
|
|
|
deviceinfo_generate_bootimg="true"
|
2017-06-30 15:19:46 +00:00
|
|
|
|
2017-07-23 12:50:40 +00:00
|
|
|
# Splash screen
|
|
|
|
deviceinfo_screen_width="720"
|
|
|
|
deviceinfo_screen_height="1280"
|
|
|
|
|
2017-07-06 16:58:14 +00:00
|
|
|
# Fastboot related
|
2017-08-18 18:14:06 +00:00
|
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
|
|
deviceinfo_flash_offset_ramdisk="0x02000000"
|
|
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
|
|
deviceinfo_flash_offset_tags="0x01e00000"
|
2017-06-30 15:19:46 +00:00
|
|
|
deviceinfo_flash_pagesize="2048"
|