mkinitfs: Introduce deviceinfo_append_dtb variable
We don't need to append the dtb to the kernel image in all cases, with e.g. the u-boot bootloader we can load the dtb seperately from the kernel image. Introduce a new variable deviceinfo_append_dtb, if set to "true", append the dtb, otherwise just copy the dtb file to the boot partition.
Fixes #260 (closed)
The WIP items are:
-
Some devices need the _mainline variable for the deviceinfo_dtb and deviceinfo_append_dtb variable now, as it's a hard fail now if the dtb file doesn't actually exist instead of just a warning. -
Change should be tested on the two Pine devices (should work fine though) -
The new variable has to be documented somewhere -
Maybe change the naming of the mkinitfs function as it now does something a bit different -
bump all the pkgrels
Edited by Administrator
Merge request reports
Activity
added 1 commit
- 975f773b - mkinitfs: Introduce deviceinfo_append_dtb variable
By Luca Weiss on 2019-05-27T15:54:57
- Resolved by Administrator
- Resolved by Administrator
added 9 commits
-
418b8dab...a4c298f8 - 8 commits from branch
master
- 1f1225f2 - mkinitfs: Introduce deviceinfo_append_dtb variable
By Luca Weiss on 2019-05-30T09:17:17
-
418b8dab...a4c298f8 - 8 commits from branch
added 1 commit
- 8724eee7 - mkinitfs: Introduce deviceinfo_append_dtb variable
By Luca Weiss on 2019-05-30T10:47:50
Looks good to me! Let's rename the function, document the option in the wiki, and ship it!
https://wiki.postmarketos.org/wiki/Deviceinfo
By Oliver Smith on 2019-05-30T23:00:28
- Resolved by Administrator
added 15 commits
-
8724eee7...07cbc8cf - 14 commits from branch
master
- b24d6243 - mkinitfs: Introduce deviceinfo_append_dtb variable
By Luca Weiss on 2019-05-31T09:22:00
-
8724eee7...07cbc8cf - 14 commits from branch
Please register or sign in to reply