require at91bootstrap_3.5.inc PR = "r0" SRC_URI = "https://github.com/linux4sam/at91bootstrap/archive/v3.5.2.tar.gz \ file://at91bootstrap-3.5.2-add-install.patch" SRC_URI_append_mtocgd3 = " file://at91bootstrap-3.5.2-mtocgd3.patch \ file://at91sam9x5_4bit_pmecc_header.bin \ " SRC_URI[md5sum] = "5f818dcd0d4d0fe1f0447b35d3f050eb" SRC_URI[sha256sum] = "cea3d75470000f1eff64e1f9dd356a1d7264b0a33b8af9e9461ab64653a6b6fb" # generate a bootstrap file padded with the header needed for 4-bit PMECC # The padded file can be flashed via u-boot without any need to set the PMECC header using SAM-BA do_pad_4bit_pmecc() { cp -f ${WORKDIR}/at91sam9x5_4bit_pmecc_header.bin ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin cat ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin >> ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin } do_install_append_mtocgd3() { do_pad_4bit_pmecc }