commit
d96c6951b7
|
@ -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"
|
||||
|
|
|
@ -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.)")
|
||||
|
|
Loading…
Reference in New Issue