Merge pull request #130 from PabloCastellano/develop

Small changes
This commit is contained in:
Oliver Smith 2017-07-04 20:37:19 +00:00 committed by GitHub
commit d96c6951b7
2 changed files with 16 additions and 1 deletions

View File

@ -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"

View File

@ -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.)")