From ba744abae04037760b29e3846943bd30b5119b7c Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Mon, 3 Jul 2017 22:17:58 +0200 Subject: [PATCH 1/2] Show path to boot.img and description of commands after pmbootstrap install This change got lost in this PR merge: https://github.com/postmarketOS/pmbootstrap/pull/125 --- pmb/install/install.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pmb/install/install.py b/pmb/install/install.py index c3cd3a09..58c89b43 100644 --- a/pmb/install/install.py +++ b/pmb/install/install.py @@ -128,5 +128,21 @@ def install(args, show_flash_msg=True): logging.info("Run the following to flash your installation to the" " target device:") logging.info("* pmbootstrap flasher flash_kernel") + logging.info(" Flashes the kernel + initramfs to your device:") + logging.info(" " + args.work + "/chroot_rootfs_" + args.device + "/boot") + method = args.deviceinfo["flash_methods"] + if (method in pmb.config.flashers and "boot" in + pmb.config.flashers[method]["actions"]): + logging.info(" (NOTE: " + method + " also supports booting" + " the kernel/initramfs directly without flashing." + " Use 'pmbootstrap flasher boot' to do that.)") + if not args.sdcard: logging.info("* pmbootstrap flasher flash_system") + logging.info(" Flashes the system image, that has been" + " generated to your device:") + logging.info(" " + args.work + "/chroot_native/home/user/rootfs/" + + args.device + ".img") + logging.info(" (NOTE: This file has a partition table," + " which contains one currently unused boot" + " partition, and the root partition.)") From 6dfdf82429ef4a6cd376c88b34a33219a4145795 Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Mon, 3 Jul 2017 22:20:00 +0200 Subject: [PATCH 2/2] [titan] Removed duplicate deviceinfo_generate_bootimg in deviceinfo --- aports/device-motorola-titan/deviceinfo | 1 - 1 file changed, 1 deletion(-) diff --git a/aports/device-motorola-titan/deviceinfo b/aports/device-motorola-titan/deviceinfo index d1cf7760..b9bd51a4 100644 --- a/aports/device-motorola-titan/deviceinfo +++ b/aports/device-motorola-titan/deviceinfo @@ -18,7 +18,6 @@ deviceinfo_arch="armhf" # You can for example extract these from an existing boot.img -deviceinfo_generate_bootimg="true" deviceinfo_flash_offset_base="0" deviceinfo_flash_offset_kernel="0x00008000" deviceinfo_flash_offset_ramdisk="0x01000000"