Message ID | 20110421131916.9911.15995.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'linaro_image_tools/media_create/boards.py' --- linaro_image_tools/media_create/boards.py 2011-04-20 14:42:47 +0000 +++ linaro_image_tools/media_create/boards.py 2011-04-21 12:54:25 +0000 @@ -255,6 +255,8 @@ "fatload mmc %(mmc_option)s %(initrd_addr)s uInitrd; " % replacements) if d_img_data is not None: + assert cls.dtb_addr is not None, ( + "Need a dtb_addr when passing d_img_data") boot_script += ( "fatload mmc %(mmc_option)s %(dtb_addr)s board.dtb; " "bootm %(kernel_addr)s %(initrd_addr)s %(dtb_addr)s"